:root {
    --primary-color: #5f7f68;
    --primary-dark: #3f5f48;
    --primary-light: #d9e4d8;
    --secondary-color: #e77f91;
    --secondary-dark: #c95f73;
    --secondary-light: #f8d7df;
    --accent-color: #e77f91;
    --gold-color: #e77f91;
    --gold-light: #f3b4bf;
    --gold-dark: #c95f73;
    --dark-color: #2f3f35;
    --light-gray: #fdf8f9;
    --medium-gray: #9ca3af;
    --white: #ffffff;
    --text-dark: #2f3f35;
    --text-light: #6f7f75;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background: #fff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-dark);
    }

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(231, 127, 145, .35);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 18px rgba(95, 127, 104, 0.12);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 24px rgba(95, 127, 104, 0.18);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

    .navbar-brand:hover {
        transform: scale(1.05);
    }

.logo-img {
    height: 45px;
    margin-right: 12px;
}

.logo-text {
    color: var(--primary-dark);
    font-weight: 700;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover {
        color: var(--secondary-color);
    }

        .nav-link:hover::after {
            width: 80%;
        }

.btn-login {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 127, 145, 0.28);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 127, 145, 0.42);
        color: #fff !important;
    }

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fdf8f9 0%, #f8d7df 45%, #d9e4d8 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(231,127,145,.18), transparent 30%), radial-gradient(circle at 80% 30%, rgba(95,127,104,.16), transparent 35%), radial-gradient(circle at 50% 85%, rgba(248,215,223,.45), transparent 35%);
    opacity: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: none;
}

    .hero-title span,
    .hero-title .text-white {
        color: var(--secondary-color) !important;
        text-shadow: none;
    }

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

    .hero-wave svg {
        display: block;
    }

/* Foto / Logo */
.doctor-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.doctor-photo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--secondary-color);
    box-shadow: 0 20px 60px rgba(231, 127, 145, 0.28);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.doctor-photo-frame {
    position: absolute;
    width: 450px;
    height: 450px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.25;
    z-index: 1;
}

.hero-logo-wrapper {
    position: relative;
}

.hero-logo-frame {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 40px rgba(231, 127, 145, 0.22) !important;
}

.hero-logo-img {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 20px 60px rgba(231, 127, 145, 0.28) !important;
    background: rgba(255,255,255,.5) !important;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(231, 127, 145, 0.25);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-image-wrapper {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(95, 127, 104, 0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

    .floating-card i {
        font-size: 2rem;
        color: var(--secondary-color);
    }

    .floating-card span {
        font-weight: 600;
        color: var(--text-dark);
    }

.card-1 {
    top: 50px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: 50px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 100px;
    left: 30px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Features */
.features-banner {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(95, 127, 104, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(248, 215, 223, .75);
}

    .feature-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(231, 127, 145, 0.20);
    }

.feature-icon-large {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.feature-box p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Sections */
.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.section-label {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* About */
.about-main-image {
    position: relative;
    z-index: 2;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(231, 127, 145, 0.30);
    z-index: 3;
}

    .about-badge i {
        font-size: 2.5rem;
    }

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 20px;
    opacity: 0.65;
    z-index: 1;
}

.about-stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .about-stat-box:hover {
        background: var(--white);
        box-shadow: 0 5px 20px rgba(95, 127, 104, 0.12);
        transform: translateY(-5px);
    }

    .about-stat-box i {
        color: var(--secondary-color);
    }

/* Services */
.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 22px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(95, 127, 104, 0.10);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(231, 127, 145, 0.18);
        border-color: var(--secondary-light);
    }

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    box-shadow: 0 5px 20px rgba(231, 127, 145, 0.28);
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

    .service-link:hover {
        color: var(--secondary-dark);
        transform: translateX(5px);
    }

/* Decorative Shapes */
.decorative-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-light);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: -150px;
    left: -150px;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: var(--secondary-light);
    top: -250px;
    left: -250px;
}

/* Carousel */
.carousel-item {
    height: 500px;
}

    .carousel-item img {
        height: 100%;
        object-fit: cover;
        filter: brightness(0.82);
    }

.carousel-caption {
    background: rgba(95, 127, 104, 0.78);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    bottom: 40px;
}

    .carousel-caption h5 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
    }

    .carousel-caption i {
        color: var(--secondary-light);
    }

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(95, 127, 104, 0.10);
    height: 100%;
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(231, 127, 145, 0.15);
    }

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

.stars i {
    color: var(--secondary-color) !important;
}

/* Contact */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .contact-info-item:hover {
        background: var(--white);
        box-shadow: 0 5px 20px rgba(95, 127, 104, 0.12);
        transform: translateX(10px);
    }

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(95, 127, 104, 0.12);
    border: 1px solid rgba(248, 215, 223, .85);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

    .contact-form .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.2rem rgba(231, 127, 145, 0.12);
    }

.contact-form textarea.form-control {
    resize: none;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 127, 145, 0.28);
    color: #fff;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(231, 127, 145, 0.38);
        background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
        color: #fff;
    }

.btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255,255,255,.35);
}

    .btn-outline-light:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

    .footer h5 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 1rem;
    }

    .footer p {
        color: rgba(255,255,255,.84);
        margin-bottom: 0.5rem;
    }

    .footer a {
        color: rgba(255,255,255,.84);
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--secondary-light);
        }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255, 0.14);
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    color: #fff;
}

    .social-icons a:hover {
        background: var(--secondary-color);
        color: #fff;
        transform: translateY(-3px);
    }

/* CTA */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

    .cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 28%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.15), transparent 30%);
    }

    .cta-section h2 {
        color: var(--white);
    }

    .cta-section .lead {
        color: rgba(255, 255, 255, 0.9);
    }

    .cta-section .btn-light {
        background: var(--white);
        color: var(--primary-dark);
        border: none;
        font-weight: 600;
    }

        .cta-section .btn-light:hover {
            background: var(--secondary-light);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(231, 127, 145, 0.28);
            color: var(--primary-dark);
        }

/* Blocos específicos da Home */
.specializations-highlight {
    background: linear-gradient(135deg, rgba(248,215,223,0.55), rgba(217,228,216,0.45)) !important;
    border-left: 4px solid var(--secondary-color) !important;
}

.methodology-badge {
    background: white;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(95, 127, 104, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .methodology-badge:hover {
        border-color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(231, 127, 145, 0.18);
    }

    .methodology-badge i {
        color: var(--secondary-color);
    }

.empty-state-light {
    padding: 3rem 2rem;
    text-align: center;
}

    .empty-state-light i {
        font-size: 4rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
        display: block;
    }

    .empty-state-light p {
        color: var(--text-light);
        font-size: 1.1rem;
        margin: 0 0 0.5rem;
    }

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 4px 15px rgba(95, 127, 104, 0.12);
    }

    .doctor-photo {
        width: 300px;
        height: 300px;
    }

    .doctor-photo-frame {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .about-badge {
        position: static;
        display: inline-block;
        margin-top: 1rem;
    }

    .doctor-photo-wrapper {
        height: 350px;
    }

    .doctor-photo {
        width: 250px;
        height: 250px;
    }

    .doctor-photo-frame {
        width: 300px;
        height: 300px;
    }

    .features-banner {
        margin-top: 0;
        padding-top: 2rem;
    }
}
