@charset "UTF-8";

/* DESIGN TOKENS */
:root {
    /* Cores - Paleta Terrosa e Sóbria para Especialista (Claras) */
    --color-bg: #FAFAF8;
    --color-bg-dark: #1C1F1A;
    --color-text-dark: #FAFAF8;
    /* Branco Quebrado Quente */
    --color-bg-alt: #F2EFEB;
    /* Bege Sutil para seções e cards */
    --color-text: #1C1F1A;
    /* Chumbo Especialista/Abertura de paletó */
    --color-text-light: #5A6054;
    --color-accent: #8FA882;
    /* Verde-sage */
    --color-accent-dark: #3F4D32;
    /* Verde musgo Escurecido */
    --color-white: #FFFFFF;

    /* Tipografia (Mix Serif - Contraste Authority) */
    /* Headlines em Playfair Display, body texto Inter */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Espaçamento */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
}

/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Garante que todas as seções tenham seu próprio contexto de empilhamento */
section {
    position: relative;
    z-index: 1;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.1;
}

.headline {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--color-text);
}

.headline em {
    font-style: italic;
    color: #25D366;
}

.italic-serif {
    font-style: italic;
    font-weight: 400;
    color: #25D366;
}

.subheadline {
    font-size: clamp(1.1rem, 1.2vw, 1.25rem);
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    max-width: 90%;
    line-height: 1.6;
}

/* COMPONENTES */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-accent-dark);
    color: var(--color-white);
    padding: 1.15rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    border-radius: 4px;
    /* Botões padronizados com verde do CTA por padrão */
    background-color: #25D366;
    animation: pulseWhatsapp 2s infinite;
}

.btn-primary:hover {
    background-color: var(--color-text);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* HERO AREA - SPOTLIGHT / EDITORIAL */
.page-wrapper {
    overflow: hidden;
}

.hero-editorial {
    padding-top: calc(var(--space-xl) * 1.2);
    padding-bottom: var(--space-xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-editorial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/.netlify/images?url=/images/hero-bg.png&w=1920&q=40');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    /* Sutil para não atrapalhar a leitura */
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero-editorial::before {
        background-image: url('/.netlify/images?url=/images/hero-bg.png&w=800&q=40');
    }
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        /* 55% Text / 45% Visual */
        gap: clamp(4rem, 8vw, 8rem);
    }
}

.hero-text-content {
    position: relative;
    z-index: 2;
}

/* Badge Superior */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-dark);
    border-radius: 50%;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .cta-group {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}

.trusted-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.trusted-proof svg {
    color: var(--color-accent);
}

/* Visual e Imagem */
.hero-visual {
    position: relative;
}

/* Arch Frame (Imagem arredondada no topo como um arco/portal) */
.arch-frame {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 300px 300px 10px 10px;
    overflow: hidden;
    position: relative;
    /* Sombras e bordas que conferem robustez */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
}

/* Badge Flutuante (Constraint Específico) */
.floating-badge {
    position: absolute;
    bottom: 50px;
    left: -40px;
    /* Avança sobre o texto em Desktop */
    background-color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 3;
    border-top: 3px solid var(--color-accent);
}

@media (max-width: 991px) {
    .floating-badge {
        left: 20px;
        bottom: 20px;
    }
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-content .strong {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.badge-content .small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}


/* SEÇÃO PROBLEMA - Minimal / Clean Box */
.section-problem {
    background-color: #1C1F1A;
    color: #FAFAF8;
    padding: var(--space-xl) 0;
}

.section-problem .section-title {
    color: #FAFAF8;
}

.section-problem .section-title em {
    color: #25D366;
}

.section-problem .section-desc {
    color: rgba(250, 250, 248, 0.7);
}

.section-problem .problem-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #25D366;
}

.section-problem .clean-list li {
    color: #FAFAF8;
}

.section-problem .clean-list li strong {
    color: #FFFFFF;
}

.section-problem .box-label {
    color: #25D366;
}

.section-problem .alert-box {
    background-color: rgba(255, 255, 255, 0.08);
}

.section-problem .alert-box p {
    color: #FAFAF8;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 900px) {
    .problem-grid {
        grid-template-columns: 8fr 7fr;
        gap: clamp(4rem, 8vw, 6rem);
    }
}

.problem-intro {
    padding-top: var(--space-md);
}

.section-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
    letter-spacing: -0.5px;
    color: var(--color-text);
}

.section-title em {
    font-style: italic;
    color: var(--color-accent-dark);
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 90%;
}

.problem-box {
    background-color: var(--color-bg-alt);
    padding: clamp(2rem, 4.5vw, 3.5rem);
    border-radius: 8px;
    /* Constraint: Esquerda Sangrada com Border em destaque */
    border-left: 4px solid var(--color-accent-dark);
}

.box-label {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-dark);
    margin-bottom: 1.5rem;
}

.clean-list {
    list-style: none;
    margin-bottom: 2rem;
}

.clean-list li {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.clean-list li:hover {
    transform: translateX(8px);
    color: var(--color-accent-dark);
}

.clean-list li strong {
    font-weight: 600;
    color: var(--color-text);
}

.clean-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.alert-box {
    display: flex;
    gap: 15px;
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.alert-box svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-light);
    font-weight: 500;
}

/* SEÇÃO SOLUÇÃO - Sticky / Progressive Reveal */
.section-solution {
    background-color: #FAFAF8;
    position: relative;
}

.section-solution .section-title em {
    color: #25D366;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

@media (min-width: 900px) {
    .solution-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(4rem, 8vw, 8rem);
    }
}

.solution-sticky-content {
    position: sticky;
    top: 20vh;
    padding-bottom: var(--space-xl);
}

.solution-sticky-content .section-title {
    margin-bottom: var(--space-md);
}

.solution-conclusion {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-accent-dark);
}

.solution-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: 50px;
}

.solution-card-item {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    opacity: 0;
    /* Começa invisível p/ o GSAP ScrollTrigger */
    transform: translateY(100px);
}

.solution-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(143, 168, 130, 0.1);
    /* --color-accent translucido */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.solution-card-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-top: 8px;
    /* Alinhar com ícone */
}

/* SEÇÃO BENTO BOX (Para quem é) */
.section-bento {
    background-color: #1C1F1A;
    padding: var(--space-xl) 0;
}

/* Ajustes de texto p/ dobra escura */
.section-bento .section-title {
    color: #FAFAF8;
}

.section-bento .section-title em {
    color: #25D366;
}

.section-bento .bento-footer .micro-copy {
    color: rgba(250, 250, 248, 0.7);
}

.section-bento .bento-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-bento .bento-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #25D366;
}

.section-bento .bento-content h3 {
    color: #FAFAF8;
}

.section-bento .bento-icon {
    background-color: rgba(255, 255, 255, 0.08);
    color: #25D366;
}

.bento-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl) auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-item:nth-child(4),
    .bento-item:nth-child(5) {
        grid-column: span 1.5;
        /* Aproximação no grid de 3 para centralizar 2 items */
    }

    /* Para resolver os 2 items finais de forma elegante no grid de 3 */
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .bento-item {
        grid-column: span 2;
    }

    .bento-item:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .bento-item:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.bento-item {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: default;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    transition: all 0.4s ease;
}

.bento-icon svg {
    transition: all 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(63, 77, 50, 0.1);
}

.bento-item:hover .bento-icon {
    background-color: rgba(63, 77, 50, 0.05);
    /* Verde-Militar light */
}

.bento-item:hover .bento-icon svg {
    transform: scale(1.1);
    color: var(--color-accent-dark);
}

.bento-content h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.bento-footer {
    text-align: center;
    margin-top: var(--space-xl);
}

.micro-copy {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* SEÇÃO SOBRE O ADVOGADO - Split Vertical Documentário */
.section-about {
    background-color: #FAFAF8;
    /* Branco quebrado quente - diferente do verde escuro antes e do bege de depoimentos */
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 5fr 7fr;
        min-height: 800px;
    }
}

.about-image {
    position: relative;
    height: 400px;
}

@media (min-width: 992px) {
    .about-image {
        height: 100%;
        position: sticky;
        top: 0;
    }
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.8s ease;
}



.about-content {
    padding: var(--space-xl) var(--space-md);
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .about-content {
        padding: var(--space-xl) clamp(4rem, 6vw, 6rem);
    }
}

/* Marca d'água gigante no fundo do texto */
.about-watermark {
    position: absolute;
    top: 50px;
    right: 0;
    font-family: var(--font-heading);
    font-size: clamp(8rem, 15vw, 15rem);
    color: rgba(0, 0, 0, 0.02);
    line-height: 0.8;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.about-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-dark);
    margin-bottom: 0.5rem;
}

.about-title {
    margin-bottom: 0.5rem;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.oab-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.about-text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.about-splits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .about-splits {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Coluna única quando Foco de Atuação é removido */
.about-splits-single {
    grid-template-columns: 1fr !important;
    max-width: 520px;
}

.about-splits h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about-list {
    list-style: none;
}

.about-list li {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-list li svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* SEÇÃO FEEDBACK - Carrossel Kinético */
.section-feedback {
    background-color: #1C1F1A;
    padding: var(--space-xl) 0;
    overflow: hidden;
    position: relative;
}

/* Ajustes de texto p/ dobra escura de depoimentos */
.section-feedback .section-title {
    color: #FAFAF8;
}

.section-feedback .section-title em {
    color: #25D366;
}

.section-feedback .section-desc {
    color: rgba(250, 250, 248, 0.7);
}

.feedback-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Efeito de fade nas bordas p/ a suavidade de tela transbordando */
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #1C1F1A, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #1C1F1A, transparent);
}

.marquee-content {
    display: flex;
    gap: 24px;
    /* Animação infinita */
    animation: slideMarquee 40s linear infinite;
    padding-left: 24px;
}

/* PAUSE ON HOVER REQUISITADO */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes slideMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 24px));
    }
}

.feedback-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem;
    min-width: 400px;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .feedback-card {
        min-width: 320px;
        max-width: 320px;
        padding: 2rem;
    }
}

.stars {
    color: #F59E0B;
    /* Dourado padrão p/ estrela */
    display: flex;
    gap: 4px;
}

.feedback-text {
    font-size: 1.1rem;
    color: #FAFAF8;
    font-style: italic;
    line-height: 1.6;
    flex-grow: 1;
}

.feedback-author {
    font-family: var(--font-body);
    font-weight: 600;
    color: #FAFAF8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.central-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

/* Variante empilhada: texto + botão em coluna centralizada */
.central-cta--column {
    flex-direction: column;
    align-items: center;
}

.central-cta--column p {
    max-width: 560px;
}

/* SEÇÃO 7: COMO FUNCIONA - Timeline Linear */
.section-process {
    background-color: #FAFAF8;
    padding: var(--space-xl) 0;
}

.section-process .section-title em {
    color: #25D366;
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: var(--space-md);
}

/* Timeline Center SVG Line/Bar */
.timeline-track-wrap {
    position: absolute;
    top: 0;
    left: 40px;
    /* Alinhamento left p/ mobile */
    bottom: 0;
    width: 2px;
    background-color: rgba(0, 0, 0, 0.05);
    /* Track de fundo */
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-track-wrap {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-track-progress {
    width: 100%;
    height: 0%;
    /* Animado pelo GSAP */
    background-color: var(--color-accent-dark);
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .timeline-step {
        justify-content: space-between;
    }

    .timeline-step:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.timeline-node {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .timeline-node {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: all 0.5s ease;
}

/* Estado Ativo GSAP */
.step-number.active {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
}

.timeline-content-wrapper {
    width: calc(100% - 80px);
    /* Mobile compensa icone left */
}

@media (min-width: 768px) {
    .timeline-content-wrapper {
        width: 45%;
    }
}

.timeline-box {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.timeline-box h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.timeline-box p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}


/* SEÇÃO 8: FAQ ANIMADO - Explorable Accordion */
.section-faq {
    background-color: #1C1F1A;
    padding: var(--space-xl) 0;
}

.section-faq .section-title {
    color: #FAFAF8;
}

.section-faq .faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-faq .faq-question {
    color: #FAFAF8;
}

.section-faq .faq-answer-inner p {
    color: rgba(250, 250, 248, 0.7);
}

.section-faq .faq-item.active {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #25D366;
}

.section-faq .central-cta p {
    color: rgba(250, 250, 248, 0.7);
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background-color: var(--color-white);
    transition: background-color 0.4s ease;
}

/* Hover Sensorial Requisitado */
.faq-item:hover {
    background-color: rgba(143, 168, 130, 0.03);
    /* Transparente->color-bg */
}

.faq-item:hover .faq-question {
    color: var(--color-accent-dark);
}

.faq-item:hover .faq-icon {
    transform: rotate(-90deg) scale(1.1);
    color: var(--color-accent-dark);
}

/* Active State */
.faq-item.active {
    background-color: rgba(143, 168, 130, 0.05);
    border-color: rgba(143, 168, 130, 0.2);
}

.faq-item.active .faq-question {
    color: var(--color-accent-dark);
}

.faq-item.active .faq-icon {
    transform: rotate(-180deg) scale(1.1);
    color: var(--color-accent-dark);
}

.faq-trigger {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.4s ease;
    padding-right: 20px;
}

.faq-icon {
    color: var(--color-text-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animacao de Abertura Reveal Nativa Segura (Zero Jump Script) */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 400ms ease;
}

.faq-item.active .faq-answer-inner {
    opacity: 1;
    transform: translateY(0);
}

.faq-answer-inner p {
    padding: 0 2rem 1.5rem 2rem;
    /* Usa padding-bottom no filho interno p/ zero jump border */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* SEÇÃO 9 - CTA FINAL (Full Screen Impact Reverse) */
.section-cta {
    background-color: #FAFAF8;
    color: #1C1F1A;
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-centralizer {
    max-width: 800px;
    margin: 0 auto;
}

.section-cta .section-title {
    color: #1C1F1A;
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: -1px;
}

.section-cta .section-title em {
    color: #25D366;
}

.section-cta .section-desc {
    color: var(--color-text-light);
    font-size: 1.25rem;
    margin: 0 auto var(--space-lg) auto;
}

/* WhatsApp Especial / Pulsante */
.btn-whatsapp {
    background-color: #25D366;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 1.15rem 2.25rem;
    border-radius: 4px;
    /* Manter sobrio */
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulseWhatsapp 2s infinite;
    white-space: nowrap;
    /* Garante tudo em uma linha */
}

.btn-whatsapp:hover {
    background-color: #1EBE5D;
    transform: translateY(-4px);
    animation: none;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

@keyframes pulseWhatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* FOOTER SIMPLES */
.site-footer {
    background-color: #111;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* FAB - Floating Ambient Button */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 9999;
    /* Elevadissimo constraint */
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulseWhatsappSmall 2.5s infinite;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* ANIMAÇÕES GERAIS NATIVAS */
@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================
   MODAL DE FORMULÁRIO CRM GHL
========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: none; /* Alterado de flex para none para evitar bloqueio de cliques */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.modal-overlay.active {
    display: flex; /* Ativa o flex apenas quando aberto */
    opacity: 1;
    visibility: visible;
}

/* Garante que o conteúdo dentro do modal receba o clique normalmente */
.modal-overlay.active * {
    pointer-events: auto;
}

.modal-content {
    position: relative;
    background-color: var(--color-white);
    width: 90%;
    max-width: 600px; /* Largura ideal pro formulário inline não esticar */
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100; /* Aumentado para garantir clique acima de qualquer conteúdo do iframe */
    color: var(--color-text-light);
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1); /* Mais visível */
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--color-text);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem 1rem 1rem 1rem;
    height: 100%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .modal-body {
        padding: 3rem 2rem 2rem 2rem;
    }
}

/* Custom Scrollbar pro corpo do modal se o iframe ficar muito grande */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@keyframes pulseWhatsappSmall {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .fab-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* =====================================================
   AJUSTES MOBILE - versão celular
   ===================================================== */
@media (max-width: 767px) {

    /* --- HERO: reduz espaço no topo --- */
    .hero-editorial {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
        min-height: 600px; /* Altura fixa garantida conforme regra de performance */
    }

    /* --- SEÇÃO PROBLEMA: comprime espaçamento --- */
    .section-problem {
        padding: var(--space-lg) 0;
    }

    .problem-grid {
        gap: var(--space-lg);
    }

    /* --- SEÇÃO SOLUÇÃO: comprime espaçamento, centraliza botão e reduz margem dos cards --- */
    .section-solution {
        padding: var(--space-lg) 0 var(--space-lg) 0;
        /* Aumentado padding no topo e no fundo */
    }

    .solution-grid {
        padding: var(--space-md) 0 var(--space-lg) 0;
        /* Ajustado padding interno */
        gap: 3rem;
        /* Espaço entre texto e cards */
    }

    .solution-sticky-content {
        position: static;
        padding-bottom: 0;
    }

    .solution-sticky-content .btn-primary {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .solution-sticky-content .section-title {
        margin-bottom: 2rem;
    }

    .solution-sticky-content .section-desc {
        margin-bottom: 2rem;
    }

    .solution-conclusion {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
    }

    .solution-cards {
        padding-top: var(--space-sm);
        gap: var(--space-sm);
    }

    .solution-card-item {
        padding: 1.5rem 1.25rem;
    }

    /* Fix: texto da seção solução muito próximo da margem lateral */
    .section-solution .container {
        padding: 0 2rem;
    }

    .solution-sticky-content {
        padding-bottom: 0;
    }

    .solution-card-item {
        padding: 1.75rem 1.5rem;
    }

    /* --- SEÇÃO PARA QUEM É: comprime espaçamento --- */
    .section-bento {
        padding: var(--space-lg) 0;
    }

    .bento-header {
        margin-bottom: var(--space-lg);
    }

    .bento-footer {
        margin-top: var(--space-lg);
    }

    /* --- SEÇÃO DR. WILSON: centraliza botão --- */
    .about-content .btn-primary {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    /* --- SEÇÃO DEPOIMENTOS: cards menores para 2 por linha --- */
    .section-feedback {
        padding: var(--space-lg) 0;
    }

    .feedback-header {
        margin-bottom: var(--space-lg);
    }

    .feedback-card {
        min-width: 260px;
        max-width: 260px;
        padding: 1.5rem;
        gap: 1rem;
    }

    .feedback-text {
        font-size: 0.95rem;
    }

    /* --- SEÇÃO COMO FUNCIONA: comprime espaçamento --- */
    .section-process {
        padding: var(--space-lg) 0;
    }

    .process-header {
        margin-bottom: var(--space-lg);
    }

    .timeline-step {
        margin-bottom: var(--space-md);
    }

    /* --- SEÇÃO FAQ: comprime espaçamento + corrige cor da pergunta ativa --- */
    .section-faq {
        padding: var(--space-lg) 0;
    }

    .faq-header {
        margin-bottom: var(--space-lg);
    }

    /* Correção: pergunta ativa estava sumindo no fundo escuro */
    .section-faq .faq-item.active .faq-question {
        color: #FFFFFF;
    }

    .section-faq .faq-item:hover .faq-question {
        color: #25D366;
    }
}