:root {
    /* Colors */
    --light: #faf7f7;
    --dark: #312222;
    --medium: #656363;
    --secondary: #80c285;
    --bg-top: #fafafa;
    --bg-mid: #fff0ed;

    /* Fonts */
    --font-primary: 'Belleza', sans-serif;
    --font-secondary: 'Public Sans', sans-serif;
    --font-serif: 'Source Serif 4', sans-serif;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark);
    background: var(--bg-top);
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45.19%, var(--bg-top) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Typography elements */
h1,
h2,
h3,
h4,
.about-text {
    font-family: var(--font-primary);
    color: var(--dark);
    font-weight: 400;
    /* Belleza only has 400 weight */
}

h1 {
    font-size: 56px;
    line-height: normal;
    letter-spacing: -1.12px;
}

h2 {
    font-size: 32px;
    line-height: normal;
    letter-spacing: -0.64px;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

/* Layout Utilities */
.page-wrapper {
    max-width: 1366px;
    margin: 0 auto;
    position: relative;
}

/* Desktop Header */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 1320px;
    max-width: 95%;
    background-color: var(--light);
    border-radius: 16px;
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-desktop {
    display: block;
    height: 48px;
    width: auto;
}

.logo-mobile {
    display: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 6.5px;
    width: 211px;
}

.logo-typography {
    height: 18.5px;
    width: auto;
}

.logo-tagline {
    height: 12.9px;
    width: 165px;
}

.desktop-nav {
    display: flex;
    gap: 40px;
    font-family: var(--font-primary);
    font-size: 20px;
    color: #281c1b;
    letter-spacing: -0.4px;
    margin-right: 20px;
}

.desktop-nav a {
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.mobile-menu-btn {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 16px 32px;
    border-radius: 16px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background-color: #6eb573;
}

/* Main Sections Padding */
.section {
    padding-top: 120px;
    /* Base padding between sections */
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-section {
    padding-top: 192px;
    /* Top margin from header */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 677px;
    gap: 40px;
    margin-bottom: 72px;
}

.hero-content {
    width: 573px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-content p {
    font-size: 20px;
    color: var(--medium);
    line-height: 32px;
}

.hero-image {
    width: 624px;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA 1 (Ansiedade) */
.cta-section {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    margin-bottom: 120px;
}

.cta-card {
    width: 100%;
    background: linear-gradient(180deg, var(--light), #fcf6f5);
    padding: 80px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    position: relative;
}

.cta-card h2 {
    text-align: center;
    max-width: 800px;
}

.cta-card p {
    font-size: 16px;
    color: var(--dark);
    line-height: 32px;
    text-align: center;
    max-width: 800px;
    letter-spacing: -0.08px;
}

.cta-decoration {
    position: absolute;
    top: -105px;
    left: 0;
    width: 100%;
    pointer-events: none;
}


/* Expectativas Grid */
.expectativas-section {
    margin-bottom: 120px;
}

.expectativas-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.expectativa-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 298px;
    text-align: center;
}

.expectativa-icon {
    width: 96px;
    height: 96px;
}

.expectativa-card p {
    font-size: 16px;
    color: var(--medium);
    line-height: 24px;
    letter-spacing: -0.08px;
}

/* Como Funciona Section (novo layout 2x2) */
.como-funciona-section {
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    margin-bottom: 120px;
    display: flex;
    justify-content: center;
}

.como-funciona-content {
    max-width: 1280px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: center;
    justify-content: space-between;
}

.como-funciona-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.como-funciona-text h2 {
    font-size: 56px;
    line-height: normal;
    letter-spacing: -1.12px;
}

.como-funciona-text p {
    font-size: 20px;
    line-height: 32px;
    color: var(--medium);
}

.como-funciona-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.como-funciona-card {
    background-color: #fffafa;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.como-funciona-card .card-number {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 12px;
}

.como-funciona-card h3 {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.como-funciona-card p {
    font-size: 15px;
    color: var(--dark);
    line-height: 1.5;
}

/* Split Section (Sobre) */
.split-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    margin-bottom: 120px;
}



.split-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
}

.split-content h2 {
    font-size: 56px;
    letter-spacing: -1.12px;
}

.split-content p {
    font-size: 20px;
    color: var(--medium);
    line-height: 32px;
}

.split-content .btn {
    font-weight: 900;
    font-size: 16px;
}

.split-image {
    width: 818px;
    /* Based on figma 9:238 */
    height: 600px;
    /* Approximate based on layout */
    border-radius: 24px;
    overflow: hidden;
}

.split-image img {

    object-fit: contain;
    border-radius: 32px;
}

/* Sobre Section */
.about-section {
    margin-bottom: 120px;
}

.about-image-wrapper {
    width: 537px;
    height: 512px;
    position: relative;
    flex-shrink: 0;
}

.about-stamp-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stamp-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stamp-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 316px;
    height: auto;
}

.about-photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 327px;
    height: auto;
    object-fit: cover;
    border-radius: 1000px 1000px 0 0;
}

.about-text {
    font-size: 40px !important;
    color: #281c1b !important;
    line-height: normal !important;
    letter-spacing: -0.8px !important;
}

/* Depoimentos */
.depoimentos-section {
    margin-bottom: 120px;
}

.depoimentos-container {
    display: flex;
    gap: 16px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    margin-bottom: 16px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.depoimentos-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.depoimento-card {
    background-color: #fffafa;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 322px;
    min-width: 322px;
    min-height: 282px;
}

.depoimento-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 32px;
}

.depoimento-name {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    color: #281c1b;
}

.depoimento-date {
    font-family: var(--font-secondary);
    font-size: 13px;
    color: rgba(46, 22, 20, 0.62);
}

.depoimento-text {
    font-size: 15px;
    line-height: 20px;
    color: #281c1b;
    letter-spacing: -0.075px;
}

.depoimentos-dots {
    width: 64px;
    height: 16px;
    display: flex;
    justify-content: center;
}

/* Especialidades Grid */
.especialidades-grid-section {
    margin-bottom: 120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.especialidades-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: 32px;
}

.especialidades-grid-3 .faq-item-container {
    height: fit-content;
}

.especialidades-grid-3 .faq-answer ul {
    margin-top: 12px;
    padding-left: 20px;
}

.especialidades-grid-3 .faq-answer li {
    margin-bottom: 8px;
}

.especialidades-grid-3 .faq-question {
    color: #6a9572;
}

.especialidades-grid-3 .faq-icon {
    color: #6a9572;
}

.especialidades-grid-section .section-title {
    color: #281c1b;
    font-size: 28px;
}

/* FAQ */
.faq-section {
    margin-bottom: 120px;
    max-width: 900px;
    /* Usually FAQ is not full width */
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.faq-item {
    background-color: var(--light);
    border-radius: 16px;
    padding: 32px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #f0ebeb;
}

.faq-question {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    color: var(--dark);
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* We don't have the explicit answer text in the figma output. 
   We will add a placeholder FAQ body that is revealed via JS. */
.faq-answer {
    display: none;
    padding: 0 20px 24px 20px;
    font-size: 16px;
    line-height: 24px;
    color: var(--medium);
}

.faq-item-container {
    background-color: var(--light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-container .faq-item {
    background-color: transparent;
}

/* Contato Section */
.contato-section {
    margin-bottom: 120px;
}

.contato-card {
    background: linear-gradient(180deg, var(--light), #fcf6f5);
    border-radius: 24px;
    padding: 64px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
    width: 100%;
}

.contato-card h2 {
    font-size: 40px;
}

.contato-card p {
    font-size: 16px;
    color: var(--medium);
    line-height: 24px;
    max-width: 600px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.btn-social {
    background-color: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-social:hover {
    background-color: var(--secondary);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-icon {
    margin-right: 8px;
}

/* Footer */
.footer {
    background-color: #fffafa;
    padding: 96px 43px 32px 43px;
    width: 100%;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: var(--font-primary);
    font-size: 28px;
    color: rgba(46, 22, 20, 0.62);
    letter-spacing: -0.56px;
}

.company-ad {
    text-align: center;
    padding: 24px 0;
}

.company-ad .copyright {
    font-size: 14px;
}

.footer .btn {
    font-weight: 500;
    font-size: 16px;
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(49, 34, 34, 0.5);
    /* backdrop dark */
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-content {
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--light);
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    align-self: flex-end;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 24px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav a {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 12px;
}

/* SMALL DESKTOP / IPAD PRO (max-width: 1024px) */
@media (max-width: 1024px) {
    .header {
        width: calc(100% - 20px);
        max-width: 984px;
        padding: 24px 20px;
    }

    .section {
        width: 100%;
        max-width: 984px;
    }

    /* Hero */
    .hero-section {
        gap: 32px;
    }

    /* Expectativas */
    .expectativas-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    /* Como Funciona */
    .como-funciona-content {
        flex-direction: column;
        gap: 48px;
    }

    .como-funciona-text {
        align-items: center;
        text-align: center;
    }

    /* Sobre Section */
    .split-section {
        gap: 32px;
    }

    .split-content {
        flex: 1;
    }

    .split-content h2 {
        font-size: 40px;
    }

    .split-image {
        flex: 1;
        width: auto;
        height: 500px;
    }

    /* Sobre */
    .about-image-wrapper {
        width: 393px;
        height: 374px;
    }



    .about-photo {
        width: 239px;
        height: auto;
        bottom: 0;
    }

    .about-text {
        font-size: 32px !important;
    }

    /* Testimonials */
    .depoimentos-container {
        padding-bottom: 16px;
        /* Allow scrolling if they don't fit securely */
    }

    /* Especialidades */
    .especialidades-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TABLET (max-width: 900px, matches Figma 768px design) */
@media (max-width: 900px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    .btn {
        font-size: 16px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        width: 32px;
        height: 32px;
    }

    .mobile-menu-btn svg {
        width: 100%;
        height: 100%;
    }

    .header {
        width: calc(100% - 20px);
        max-width: 728px;
        padding: 24px 20px;
    }

    .section {
        padding-top: 56px;
        width: 100%;
        max-width: 768px;
        padding: 56px 20px 0 20px;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 192px;
        flex-direction: row;
        align-items: center;
        height: auto;
        gap: 16px;
        margin-bottom: 72px;
    }

    .hero-content {
        width: auto;
        flex: 1;
        gap: 24px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .hero-image {
        width: auto;
        flex: 1;
        height: 557px;
    }

    /* CTA Ansiedade */
    .cta-section {
        margin-bottom: 72px;
    }

    .cta-card {
        padding: 32px;
    }

    .cta-card h2 {
        font-size: 32px;
    }

    /* Expectativas */
    .expectativas-section {
        margin-bottom: 72px;
    }

    .expectativas-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .expectativa-card {
        width: 298px;
    }

    /* Como Funciona */
    .como-funciona-grid {
        grid-template-columns: 1fr;
    }

    .como-funciona-text h2 {
        font-size: 40px;
    }

    /* Sobre Section */
    .split-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-bottom: 72px;
    }

    .split-content {
        flex: none;
        width: 100%;
        align-items: flex-start;
    }

    .split-content h2 {
        font-size: 32px;
    }

    .split-image {
        flex: none;
        width: 100%;
        height: 502px;
        order: -1;
    }

    /* Sobre */
    .about-section {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .about-image-wrapper {
        width: 537px;
        height: 512px;
        order: -1;
    }

    .about-photo {
        width: 327px;
        height: auto;
    }

    .about-text {
        font-size: 32px !important;
        text-align: left;
    }

    /* Footer */
    .footer {
        padding: 96px 43px 32px 43px;
    }

    .footer-content {
        flex-direction: row;
    }
}

/* MOBILE (max-width: 600px, matches Figma 360px design) */
@media (max-width: 600px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block !important;
        width: 61px;
        height: 48px;
    }

    .header {
        width: calc(100% - 20px);
    }

    .section {
        padding-top: 56px;
        width: 100%;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 156px;
        /* Ajuste pro header fixed */
        flex-direction: column;
        height: auto;
        gap: 16px;
        margin-bottom: 56px;
    }

    .hero-content {
        width: 100%;
        flex: none;
        gap: 24px;
    }

    .hero-image {
        width: 100%;
        height: 310px;
        flex: none;
        border-radius: 16px;
    }

    /* CTA / Você sente */
    .cta-section {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 56px;
    }

    .cta-card {
        padding: 32px 20px;
        gap: 32px;
        border-radius: 0;
    }

    .cta-decoration {
        top: -60px;
    }

    /* Expectativas */
    .expectativas-section {
        margin-bottom: 56px;
    }

    /* Como Funciona */
    .como-funciona-section {
        margin-bottom: 56px;
    }

    /* Sobre Section */
    .split-section {
        margin-bottom: 56px;
    }

    .split-content {
        gap: 48px;
    }

    .split-image {
        height: auto;
        border-radius: 16px;
    }

    /* Sobre */
    .about-image-wrapper {
        width: 322px;
        height: 307px;
    }

    .about-photo {
        width: 70%;
        height: auto;
        bottom: 0;
    }

    .about-text {
        font-size: 24px !important;
        text-align: center;
    }

    .depoimento-card {
        width: 322px;
        min-width: 322px;
    }

    /* Especialidades */
    .especialidades-grid-3 {
        grid-template-columns: 1fr;
    }

    .faq-section {
        width: 100%;
    }

    .faq-accordion {
        padding: 0;
    }

    /* Contato */
    .contato-section {
        margin-bottom: 56px;
    }

    .contato-card {
        padding: 48px 20px;
        gap: 24px;
        border-radius: 16px;
    }

    .contato-card h2 {
        font-size: 32px;
        line-height: normal;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .btn-social {
        width: 100%;
    }

    .footer {
        padding: 96px 20px 32px 20px;
    }

    .footer .btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer .btn {
        width: 100%;
        font-size: 16px;
    }
}