/* ============================================
   Zanotto Inteligência Digital — Global Styles
   Paleta oficial (brandbook):
     --espresso: #544F48  (marrom escuro / autoridade)
     --cacau:    #7C7163  (marrom médio / texto e CTA)
     --taupe:    #BAB0A2  (bege médio / bordas)
     --areia:    #D3CBB4  (bege quente)
     --creme:    #E2DED5  (bege claro / fundo principal)
     --offwhite: #F4F1EA  (bege extra claro / cards)
   ============================================ */

:root {
    --brand-espresso: #544F48;
    --brand-cacau:    #7C7163;
    --brand-taupe:    #BAB0A2;
    --brand-areia:    #D3CBB4;
    --brand-creme:    #E2DED5;
    --brand-offwhite: #F4F1EA;
}

/* ------- Fontes locais -------- */
@font-face {
    font-family: 'Archivo';
    src: url('../assets/fonts/Archivo.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Archivo';
    src: url('../assets/fonts/Archivo-Italic.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Clarisa Stories';
    src: url('../assets/fonts/ClarisaStories-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Clarisa Stories';
    src: url('../assets/fonts/ClarisaStories-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ------- Base -------- */
body {
    background-color: var(--brand-creme);
    color: var(--brand-espresso);
    font-family: 'Archivo', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-weight: 400;
}

::selection { background: var(--brand-cacau); color: var(--brand-offwhite); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--brand-creme); }
::-webkit-scrollbar-thumb { background: var(--brand-taupe); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-cacau); }

/* ------- Backgrounds decorativos -------- */
.pattern-bg {
    background-image: url('../assets/img/pattern.png');
    background-size: 480px auto;
    background-repeat: repeat;
    opacity: 0.05;
    mix-blend-mode: multiply;
}

.grain-overlay {
    background-image:
        linear-gradient(to right, rgba(84,79,72,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(84,79,72,0.04) 1px, transparent 1px);
    background-size: 120px 180px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

/* ------- Hero watermark (logotipo "zanotto" de fundo) -------- */
.hero-watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: clamp(1rem, 6vw, 6rem);
    overflow: hidden;
}
.hero-watermark img {
    width: clamp(300px, 40vw, 600px);
    height: auto;
    max-height: 120%;
    opacity: 0.08;
    mix-blend-mode: multiply;
    transform: translateX(12%);
    user-select: none;
}
@media (max-width: 1024px) {
    .hero-watermark {
        justify-content: center;
        padding-right: 0;
    }
    .hero-watermark img {
        opacity: 0.06;
        transform: none;
    }
}

.text-glow { text-shadow: 0 0 30px rgba(84, 79, 72, 0.15); }

/* ------- SVG Animations -------- */
.beam-line { stroke-dasharray: 80 1000; stroke-linecap: round; }

@keyframes sonar-wave {
    0% { r: 10px; opacity: 0.8; stroke-width: 1px; }
    100% { r: 80px; opacity: 0; stroke-width: 0px; }
}
.animate-sonar { animation: sonar-wave 3s cubic-bezier(0, 0, 0.2, 1) infinite; }

@keyframes beam {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}
.animate-beam { animation: beam 3s linear infinite; }

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.animate-pulse-soft { animation: pulse-soft 3s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes spin-slow { to { transform: rotate(360deg); } }
.animate-spin-slow { animation: spin-slow 20s linear infinite; transform-origin: center; }

/* ------- Marquee -------- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 48s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }
.mask-gradient-fade {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* ------- Hero 3D cards -------- */
@media (min-width: 768px) {
    .dash-3d {
        transform: rotateY(-8deg) rotateX(4deg);
        transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .dash-3d:hover { transform: rotateY(-6deg) rotateX(2deg) scale(1.01); }
    .float-card { animation: float 6s ease-in-out infinite; }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ------- CTAs -------- */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.shiny-cta {
    --gradient-angle: 0deg;
    position: relative;
    overflow: hidden;
    border-radius: 9999px;
    padding: 1.15rem 2.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-offwhite);
    background:
        linear-gradient(var(--brand-espresso), var(--brand-espresso)) padding-box,
        conic-gradient(
            from calc(var(--gradient-angle)),
            transparent 0%,
            var(--brand-taupe) 5%,
            var(--brand-creme) 15%,
            var(--brand-taupe) 30%,
            transparent 40%,
            transparent 100%
        ) border-box;
    border: 2px solid transparent;
    box-shadow: 0 8px 28px rgba(84, 79, 72, 0.18);
    cursor: pointer;
    font-family: 'Archivo', sans-serif;
    animation: border-spin 3s linear infinite;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.02em;
}
@keyframes border-spin { to { --gradient-angle: 360deg; } }
.shiny-cta:hover {
    box-shadow: 0 14px 40px rgba(84, 79, 72, 0.28);
    transform: translateY(-2px) scale(1.01);
}

.secondary-cta {
    border: 1px solid rgba(84, 79, 72, 0.18);
    background: rgba(244, 241, 234, 0.6);
    color: var(--brand-espresso);
    backdrop-filter: blur(8px);
}
.secondary-cta:hover {
    background: var(--brand-offwhite);
    border-color: rgba(84, 79, 72, 0.4);
}

/* ------- Service cards -------- */
.card-service {
    background: rgba(244, 241, 234, 0.75);
    border: 1px solid rgba(186, 176, 162, 0.4);
    backdrop-filter: blur(6px);
    transition: all 0.5s;
}
.card-service:hover {
    background: var(--brand-offwhite);
    border-color: var(--brand-cacau);
    transform: translateY(-3px);
}

.spotlight-card { --mouse-x: 50%; --mouse-y: 50%; }

/* ------- Ecosystem flowchart (método Zanotto, com loop de fidelização) -------- */
.ecosystem-canvas {
    position: relative;
    width: 1180px;
    max-width: 100%;
    height: 600px;
    margin: 0 auto;
    contain: layout style;
}

.ecosystem-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

/* Linhas: traço fino, opacidade baixa, sem dash — leveza máxima */
.eco-line {
    fill: none;
    stroke: var(--brand-cacau);
    stroke-width: 1.1;
    stroke-opacity: 0.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.eco-line-loop {
    stroke-opacity: 0.4; /* loop ainda mais sutil — sugere ciclo, não corta */
}

/* Partículas: pequenas, com glow leve, fluxo constante */
.eco-dot {
    fill: var(--brand-cacau);
    opacity: 0.9;
    filter: drop-shadow(0 0 3px rgba(124, 113, 99, 0.5));
}
.eco-dot-loop {
    fill: var(--brand-espresso);
    opacity: 0.78;
}

/* --- Cards: rótulo simples, borda fina, fundo transparente --- */
.eco-node {
    position: absolute;
    z-index: 3;
    width: 130px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
    background: rgba(244, 241, 234, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(124, 113, 99, 0.55);
    border-radius: 10px;
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--brand-espresso);
    letter-spacing: -0.005em;
    line-height: 1.1;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.3s,
                box-shadow 0.3s,
                background 0.3s;
}
.eco-node:hover {
    transform: translateY(-2px);
    border-color: var(--brand-espresso);
    background: var(--brand-offwhite);
    box-shadow: 0 6px 18px rgba(84, 79, 72, 0.12);
    z-index: 5;
}

/* Variantes — destaques sutis sem quebrar a unidade visual */
.node-start {
    border-color: var(--brand-espresso);
    background: var(--brand-offwhite);
}
.node-pivot {
    border-color: rgba(84, 79, 72, 0.7);
    box-shadow: 0 2px 8px rgba(84, 79, 72, 0.06);
}
.node-final {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
    color: var(--brand-offwhite);
    box-shadow:
        0 0 0 1px rgba(60, 46, 38, 0.35),
        0 6px 22px rgba(60, 46, 38, 0.22),
        0 0 36px rgba(124, 113, 99, 0.18);
}
.node-final:hover {
    background: var(--brand-espresso);
    color: var(--brand-offwhite);
    box-shadow:
        0 0 0 1px rgba(60, 46, 38, 0.45),
        0 10px 28px rgba(60, 46, 38, 0.28),
        0 0 48px rgba(124, 113, 99, 0.25);
}
.node-loop {
    border-style: dashed;
    border-color: rgba(124, 113, 99, 0.55);
    background: rgba(244, 241, 234, 0.55);
    font-style: italic;
}

/* --- Mobile fallback --- */
.ecosystem-mobile { display: none; }

@media (max-width: 1200px) {
    .ecosystem-canvas { display: none; }

    .ecosystem-mobile {
        display: flex;
        flex-direction: column;
        gap: 14px;
        max-width: 480px;
        margin: 0 auto;
    }
    .em-step {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 16px;
        background: var(--brand-offwhite);
        border: 1px solid rgba(124, 113, 99, 0.45);
        border-radius: 12px;
        box-shadow: 0 1px 2px rgba(84, 79, 72, 0.04), 0 8px 20px rgba(84, 79, 72, 0.06);
    }
    .em-num {
        font-family: 'Clarisa Stories', Georgia, serif;
        font-size: 1.05rem;
        color: var(--brand-cacau);
        letter-spacing: 0.04em;
        flex-shrink: 0;
        min-width: 28px;
    }
    .em-body { flex: 1; }
    .em-title {
        font-family: 'Clarisa Stories', Georgia, serif;
        font-size: 1rem;
        color: var(--brand-espresso);
        line-height: 1.15;
    }
    .em-desc {
        margin-top: 4px;
        font-family: 'Archivo', sans-serif;
        font-size: 0.78rem;
        color: var(--brand-cacau);
        line-height: 1.45;
    }
    .em-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        position: relative;
    }
    .em-split.em-three {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .em-half {
        padding: 12px;
    }
    .em-half .em-title { font-size: 0.92rem; }
    .em-half .em-desc { font-size: 0.7rem; }
    .em-pivot {
        border-color: var(--brand-espresso);
    }
    .em-result {
        background: var(--brand-espresso);
        border-color: var(--brand-espresso);
    }
    .em-result .em-num,
    .em-result .em-title { color: var(--brand-offwhite); }
    .em-loop {
        border-style: dashed;
        background: rgba(244, 241, 234, 0.6);
    }
    .em-loop .em-title { font-style: italic; }
}

/* ------- S1 · Sobre Kerolin -------- */
.founder-portrait {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.portrait-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    background: var(--brand-espresso);
    border: 1px solid rgba(84, 79, 72, 0.4);
    box-shadow:
        0 1px 2px rgba(84, 79, 72, 0.05),
        0 24px 50px rgba(84, 79, 72, 0.14);
}
.portrait-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    /* tratamento editorial sutil: leve desaturação + brilho, sem descaracterizar */
    filter: saturate(0.95) contrast(1.02) brightness(1.01);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s;
}
.portrait-frame:hover .portrait-photo {
    transform: scale(1.02);
    filter: saturate(1) contrast(1.03) brightness(1.02);
}
.portrait-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 2px;
}
.portrait-name {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 1.15rem;
    color: var(--brand-espresso);
    line-height: 1.1;
}
.portrait-role {
    font-family: 'Archivo', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.bio-copy p { font-feature-settings: "kern" 1, "liga" 1; }

.credential-list {
    border-top: 1px solid rgba(186, 176, 162, 0.5);
    padding-top: 24px;
}
.credential-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.credential-label {
    font-family: 'Archivo', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.22em;
}
.credential-value {
    font-family: 'Archivo', sans-serif;
    font-size: 0.92rem;
    color: var(--brand-espresso);
    line-height: 1.45;
    margin: 0;
}
.credential-value strong { font-weight: 600; }

.founder-signature {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
}
.signature-swash {
    color: var(--brand-taupe);
    margin-right: 4px;
}

@media (max-width: 640px) {
    .portrait-photo { object-position: center 15%; }
    .credential-list { grid-template-columns: 1fr; gap-y: 16px; }
}

/* ------- Scroll reveal base (reuso em todas as novas seções) -------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ------- S5 · Processo de Onboarding (ScrollStack) -------- */
.scroll-stack {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.scroll-stack-inner {
    position: relative;
    padding-top: 4vh;
    padding-bottom: 10vh;
}

.scroll-stack-card {
    position: relative;
    width: 100%;
    min-height: 320px;
    padding: 48px 56px;
    background: var(--brand-offwhite);
    border: 1px solid rgba(186, 176, 162, 0.55);
    border-radius: 24px;
    box-shadow:
        0 1px 2px rgba(84, 79, 72, 0.04),
        0 24px 60px rgba(84, 79, 72, 0.08);
    transform-origin: top center;
    will-change: transform, filter;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
}
/* z-index crescente garante que cards posteriores pintam POR CIMA dos anteriores */
.scroll-stack-card:nth-child(1) { z-index: 1; }
.scroll-stack-card:nth-child(2) { z-index: 2; }
.scroll-stack-card:nth-child(3) { z-index: 3; }
.scroll-stack-card:nth-child(4) { z-index: 4; }
.scroll-stack-card:nth-child(5) { z-index: 5; }
.scroll-stack-card:nth-child(6) { z-index: 6; }

.scroll-stack-card + .scroll-stack-card {
    margin-top: 100px;
}

.stack-card-body {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.stack-num {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}
.stack-num span {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: clamp(5rem, 9vw, 8rem);
    color: var(--brand-espresso);
    letter-spacing: -0.03em;
    line-height: 0.9;
}
.stack-num em {
    font-family: 'Archivo', sans-serif;
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brand-cacau);
    letter-spacing: 0.05em;
    padding-bottom: 8px;
}

.stack-title {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    color: var(--brand-espresso);
    line-height: 1.2;
    margin: 0 0 8px;
}
.stack-meta {
    font-family: 'Archivo', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 18px;
}
.stack-desc {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--brand-cacau);
    max-width: 520px;
    margin: 0;
}

.scroll-stack-end {
    width: 100%;
    height: 1px;
    pointer-events: none;
}

/* Mobile: desabilita o efeito de empilhamento — cards rolam normais */
@media (max-width: 900px) {
    .scroll-stack-inner { padding-top: 0; padding-bottom: 0; }
    .scroll-stack-card {
        min-height: auto;
        padding: 32px 28px;
        transform: none !important;
        filter: none !important;
    }
    .scroll-stack-card + .scroll-stack-card { margin-top: 20px; }
    .stack-card-body { grid-template-columns: 1fr; gap: 16px; }
    .stack-num span { font-size: 3.4rem; }
    .stack-num em { display: none; }
    .stack-title { font-size: 1.4rem; }
    .stack-desc { font-size: 0.96rem; }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-stack-card {
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .scroll-stack-inner { padding-top: 0; padding-bottom: 0; }
}

/* ------- S2 · Prova Social -------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(186, 176, 162, 0.5);
    border-bottom: 1px solid rgba(186, 176, 162, 0.5);
}
.stat-cell {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}
.stat-cell + .stat-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: rgba(186, 176, 162, 0.5);
}
.stat-num {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--brand-espresso);
    line-height: 0.95;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.stat-prefix {
    font-style: normal;
    font-size: 0.55em;
    color: var(--brand-cacau);
    margin-right: 4px;
    font-family: 'Clarisa Stories', Georgia, serif;
}
.stat-label {
    font-family: 'Archivo', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.3;
    margin-top: 8px;
}
.stat-extra {
    font-family: 'Archivo', sans-serif;
    font-size: 0.72rem;
    color: var(--brand-cacau);
    opacity: 0.8;
    line-height: 1.4;
    max-width: 200px;
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-cell + .stat-cell::before { display: none; }
    .stat-cell { border-top: 1px solid rgba(186, 176, 162, 0.35); }
    .stat-cell:nth-child(1),
    .stat-cell:nth-child(2) { border-top: none; }
    .stat-cell:nth-child(odd) + .stat-cell::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 24px;
        bottom: 24px;
        width: 1px;
        background: rgba(186, 176, 162, 0.5);
    }
}
@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-cell { border-top: 1px solid rgba(186, 176, 162, 0.35); }
    .stat-cell:first-child { border-top: none; }
    .stat-cell + .stat-cell::before { display: none; }
}

/* Cases */
.case-card {
    background: var(--brand-offwhite);
    border: 1px solid rgba(186, 176, 162, 0.55);
    border-radius: 14px;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}
.case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(84,79,72,0.05), 0 18px 40px rgba(84,79,72,0.12);
}
.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(186, 176, 162, 0.4);
}
.case-tag {
    font-family: 'Archivo', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    padding: 4px 10px;
    border: 1px solid rgba(186, 176, 162, 0.6);
    border-radius: 999px;
}
.case-period {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 0.95rem;
    color: var(--brand-espresso);
}
.case-headline {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    line-height: 1.2;
    color: var(--brand-espresso);
    margin: 0;
}
.case-arc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}
.case-arc-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: start;
}
.arc-label {
    font-family: 'Archivo', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding-top: 4px;
}
.arc-text {
    font-size: 0.92rem;
    color: var(--brand-espresso);
    line-height: 1.5;
}
.case-arc-result .arc-text { color: var(--brand-espresso); }
.case-arc-result .arc-text strong { font-weight: 600; color: var(--brand-espresso); }
.case-impact {
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(186, 176, 162, 0.4);
    font-family: 'Clarisa Stories', Georgia, serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--brand-cacau);
    line-height: 1.5;
}

/* Logos strip */
.logos-strip-wrapper {
    border-top: 1px solid rgba(186, 176, 162, 0.4);
    padding-top: 32px;
    text-align: center;
}
.logos-eyebrow {
    font-family: 'Archivo', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--brand-cacau);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
}
.logos-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    opacity: 0.7;
}
.logo-placeholder {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 1.05rem;
    color: var(--brand-cacau);
    letter-spacing: 0.02em;
    padding: 10px 18px;
    border: 1px dashed rgba(124, 113, 99, 0.4);
    border-radius: 6px;
    min-width: 120px;
    text-align: center;
}

/* ------- S3 · Depoimentos -------- */
.testimonials-stage {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 20px;
    align-items: center;
}
.testimonial-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(186, 176, 162, 0.55);
    background: var(--brand-offwhite);
    color: var(--brand-cacau);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, background 0.25s, color 0.25s;
}
.testimonial-nav:hover {
    border-color: var(--brand-espresso);
    color: var(--brand-espresso);
    transform: scale(1.05);
}
.testimonial-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.testimonials-viewport {
    overflow: hidden;
    position: relative;
}
.testimonials-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.testimonial-slide {
    flex: 0 0 100%;
    padding: 24px 24px 32px;
    position: relative;
}
.testimonial-quote-mark {
    position: absolute;
    top: -10px;
    left: 8px;
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--brand-espresso);
    opacity: 0.18;
    pointer-events: none;
}
.testimonial-quote {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-style: italic;
    color: var(--brand-espresso);
    line-height: 1.35;
    margin: 0 0 28px;
    padding: 16px 8px 0;
    max-width: 640px;
}
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(186, 176, 162, 0.4);
    max-width: 480px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-areia);
    border: 1px solid rgba(186, 176, 162, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cacau);
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-name {
    font-family: 'Archivo', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-espresso);
}
.testimonial-role {
    font-family: 'Archivo', sans-serif;
    font-size: 0.72rem;
    color: var(--brand-cacau);
    letter-spacing: 0.02em;
}

.testimonial-dots {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--brand-taupe);
    background: transparent;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, border-color 0.25s;
    padding: 0;
}
.testimonial-dot.is-active {
    background: var(--brand-espresso);
    border-color: var(--brand-espresso);
    transform: scale(1.25);
}

.testimonials-disclaimer {
    text-align: center;
    margin-top: 32px;
    font-family: 'Archivo', sans-serif;
    font-size: 0.72rem;
    color: var(--brand-cacau);
    font-style: italic;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

@media (max-width: 640px) {
    .testimonials-stage { grid-template-columns: 32px 1fr 32px; gap: 10px; }
    .testimonial-nav { width: 32px; height: 32px; font-size: 0.95rem; }
    .testimonial-slide { padding: 16px 8px 24px; }
    .testimonial-quote-mark { font-size: 4rem; }
    .testimonial-quote { font-size: 1.15rem; padding-top: 8px; }
}

/* ------- S4 · FAQ -------- */
.faq-side-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 18px;
    border: 1px solid rgba(84, 79, 72, 0.5);
    border-radius: 999px;
    font-family: 'Archivo', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--brand-espresso);
    text-decoration: none;
    background: var(--brand-offwhite);
    transition: background 0.3s, border-color 0.3s, transform 0.25s;
}
.faq-side-cta:hover {
    background: var(--brand-espresso);
    color: var(--brand-offwhite);
    border-color: var(--brand-espresso);
    transform: translateY(-1px);
}
.faq-side-cta i { font-size: 1rem; }

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(186, 176, 162, 0.45);
}
.faq-item {
    border-bottom: 1px solid rgba(186, 176, 162, 0.45);
}
.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: color 0.25s;
}
.faq-trigger:hover .faq-question { color: var(--brand-espresso); }

.faq-question {
    font-family: 'Clarisa Stories', Georgia, serif;
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    color: var(--brand-espresso);
    line-height: 1.35;
    transition: color 0.25s;
    flex: 1;
}
.faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--brand-cacau);
    border-radius: 1px;
    transition: background 0.25s;
}
.faq-icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1.2px;
    transform: translateY(-50%);
}
.faq-icon::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.2px;
    transform: translateX(-50%);
}
.faq-trigger[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}
.faq-trigger[aria-expanded="true"] .faq-icon::before,
.faq-trigger[aria-expanded="true"] .faq-icon::after {
    background: var(--brand-espresso);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
}
.faq-panel p {
    padding: 0 4px 22px;
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--brand-cacau);
    max-width: 640px;
    margin: 0;
}
.faq-panel p strong { color: var(--brand-espresso); font-weight: 600; }

.faq-trigger[aria-expanded="true"] + .faq-panel {
    opacity: 1;
}

/* ------- WhatsApp flutuante -------- */
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 60;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    animation: wa-pulse 2.4s ease-out infinite;
    transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.08); }

.wa-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand-espresso);
    color: var(--brand-offwhite);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    font-family: 'Archivo', sans-serif;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ------- Modal Lead -------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(84, 79, 72, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-backdrop.open { display: flex; }

.modal-box {
    background: var(--brand-offwhite);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    max-height: 92vh;
    overflow-y: auto;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-espresso);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--brand-taupe);
    border-radius: 10px;
    background: #fff;
    color: var(--brand-espresso);
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-cacau);
    box-shadow: 0 0 0 3px rgba(124, 113, 99, 0.15);
}
.form-field textarea {
    resize: vertical;
    min-height: 82px;
}

/* ------- Acessibilidade -------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------- Custom Select (dropdown on-brand) -------- */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 11px 40px 11px 14px;
    border: 1px solid var(--brand-taupe);
    border-radius: 10px;
    background: #fff;
    color: var(--brand-espresso);
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select-trigger:focus,
.custom-select-trigger.is-open {
    outline: none;
    border-color: var(--brand-cacau);
    box-shadow: 0 0 0 3px rgba(124, 113, 99, 0.15);
}
.custom-select-trigger[data-empty="true"] .custom-select-value {
    color: rgba(124, 113, 99, 0.55);
}
.custom-select-trigger.has-error {
    border-color: #b4462a;
    box-shadow: 0 0 0 3px rgba(180, 70, 42, 0.12);
}

.custom-select-chevron {
    font-size: 18px;
    color: var(--brand-cacau);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.custom-select-trigger.is-open .custom-select-chevron {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: var(--brand-offwhite);
    border: 1px solid var(--brand-taupe);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(84, 79, 72, 0.18);
    z-index: 120;
    max-height: 260px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.custom-select-options[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-option {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--brand-espresso);
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    user-select: none;
}
.custom-select-option:hover,
.custom-select-option.is-focused {
    background: var(--brand-areia);
}
.custom-select-option.is-selected {
    background: var(--brand-cacau);
    color: var(--brand-offwhite);
}
.custom-select-option.is-selected.is-focused {
    background: var(--brand-espresso);
}

.custom-select-error {
    display: none;
    margin-top: 6px;
    color: #b4462a;
    font-size: 12px;
    font-weight: 500;
}
.custom-select.has-error .custom-select-error {
    display: block;
}
