:root {
    /* Color Palette */
    --primary: #4A5D23;
    /* Deep Sage */
    --primary-light: #7A8D53;
    --accent: #D9E4DD;
    /* Soft Sage/Greyish white */
    --bg-light: #F9F7F2;
    /* Creamy White */
    --text-dark: #2C3333;
    /* Slate Dark */
    --text-muted: #5E6E6E;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1140px;
    --radius: 16px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 93, 35, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    width: auto;
    min-width: 250px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    animation: pulse-green 2s infinite;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
    color: white;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.w-full {
    width: 100%;
}

/* Header */
header {
    position: absolute;
    /* Static at top, scrolls with page */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

/* header.scrolled styling removed or ignored since it won't be triggered/visible */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

/* Mobile Menu hidden on desktop */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-light);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-link:hover {
    color: var(--primary);
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 50px;
}

.badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero h1 span {
    font-style: italic;
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.hero .btn-whatsapp,
.faq-cta .btn-whatsapp {
    width: 90%;
    max-width: 380px;
}

.glass-card {
    background: var(--glass);
    padding: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    border-radius: calc(var(--radius) - 5px);
    height: 600px;
    width: 450px;
    object-fit: cover;
}

/* Features - Atuação Clínica */
/* Features - Atuação Clínica */
.features {
    padding: var(--section-padding);
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

/* Accordion Styles */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-light);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 93, 35, 0.1);
}

.accordion-item.active {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.accordion-header {
    display: flex;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    justify-content: space-between;
    transition: background-color 0.2s;
}

/* Header Content (Icon + Title) */
.accordion-header h3 {
    flex: 1;
    margin: 0 0 0 20px;
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.accordion-header .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(74, 93, 35, 0.08);
    /* Transparent primary */
    border-radius: 50%;
    /* Circle icons as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    margin-bottom: 0;
    /* Override old margin */
}

/* Toggle Icon (Chevron) */
.toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--primary);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.accordion-item.active .toggle-icon {
    transform: rotate(180deg);
    /* Flips chevron up */
    color: var(--white);
    background-color: var(--primary);
    /* Optional: filled button when active */
}

/* Accordion Body (Description) */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease;
    opacity: 0;
    padding: 0 32px;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    /* Approximate max height */
    opacity: 1;
    padding-bottom: 32px;
}

.accordion-body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Benefits - Caminhos */
/* Benefits - Caminhos */
.benefits {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    position: relative;
    padding: 30px 20px;
    text-align: center;
}

.benefit-item::after {
    /* Decorative line */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-light);
    opacity: 0.3;
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--primary-light);
    opacity: 0.2;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.benefit-item p {
    font-size: 16px;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        /* Space for scrollbar if visible */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .benefits-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .benefit-item {
        min-width: 100%;
        /* Show one item at a time */
        scroll-snap-align: center;
        padding: 0 10px;
        /* Slight padding to prevent edge touching */
    }

    /* Carousel Dots */
    .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #D9E4DD;
        /* Inactive color (Accent) */
        transition: background-color 0.3s ease;
    }

    .dot.active {
        background-color: #4A5D23;
        /* Active color (Primary) */
        transform: scale(1.2);
    }
}

@media (max-width: 600px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Approach */
.approach {
    padding: var(--section-padding);
    background-color: var(--accent);
    position: relative;
}

.approach-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.approach-intro {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.step-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.quote-card {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.quote-card p {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--primary);
}

.quote-card cite {
    font-weight: 600;
    display: block;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* Bio */
.bio {
    padding: var(--section-padding);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.profile-frame {
    position: relative;
}

.profile-frame::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}

.profile-frame img {
    border-radius: var(--radius);
    height: 550px;
    width: 100%;
    object-fit: cover;
}

.bio-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.bio-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.stat-item strong {
    font-size: 48px;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 600;
}

.stat-item span {
    font-size: 24px;
    color: var(--primary);
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 30px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.faq-cta p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.faq-cta .hero-btns {
    justify-content: center;
    align-items: center;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid #eee;
    color: var(--text-muted);
}

.emergency-notice {
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero .container,
    .grid,
    .approach-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero h1 {
        font-size: 42px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn-whatsapp {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        width: 100%;
        height: 350px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .stats {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .quote-card {
        padding: 30px;
    }

    .quote-card p {
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .profile-frame img {
        height: 400px;
    }

    .bio-content h2 {
        font-size: 32px;
        text-align: center;
    }

    .bio-content p {
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }

    .badge {
        font-size: 12px;
    }


}

/* New CTA Styles */
.section-cta,
.bio-cta {
    text-align: center;
    margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 991px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 5px;
        margin: 0 -5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .testimonial-card {
        min-width: 85%;
        scroll-snap-align: center;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
    color: #FFC107;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-card .patient-name {
    font-weight: 600;
    color: var(--primary);
    display: block;
}

.testimonial-card .source {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.google-badge-container {
    text-align: center;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.google-badge:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}



/* TABLET & DESKTOP OVERRIDES */
@media (min-width: 992px) {
    :root {
        --section-padding: 100px 0;
    }

    .btn-whatsapp {
        width: auto;
    }

    header {
        padding: 20px 0;
    }

    .nav-links {
        display: flex;
        gap: 40px;
        align-items: center;
    }

    .logo {
        margin: 0;
        font-size: 28px;
    }

    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        text-align: left;
        padding-top: 80px;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 60px;
        max-width: 850px;
        line-height: 1.1;
    }

    .hero p {
        margin: 0 0 40px;
        font-size: 18px;
    }

    .hero-image {
        order: 2;
        margin-bottom: 0;
    }

    .hero-image img {
        height: 600px;
        width: 450px;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .approach-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 70px;
    }

    .profile-frame img {
        height: 550px;
    }

    .bio-content h2 {
        text-align: left;
        font-size: 42px;
    }

    .stats {
        flex-direction: row;
        gap: 50px;
        text-align: left;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        scroll-snap-type: none;
    }

    .testimonial-card {
        min-width: 0;
    }


}