/* Kwaba v2026 — estilos compartilhados */
/* ============ TOKENS ============ */
:root {
    --bg: #ffffff;
    --surface: #fcfbfe;
    --ink: #21033f;
    --ink-2: #4a3a5c;
    --muted: #7a6d88;
    --line: #ece6f3;

    --purple: #522B78;
    --purple-2: #6c3ea0;
    --purple-3: #8a62b8;
    --lilac: #B6A6C6;
    --lilac-soft: #f2edf8;
    --orange: #EE8B3D;
    --orange-2: #d9722a;
    --orange-soft: #fff1e6;
    --coral: #ff7a59;

    /* sombras em camadas — a base do neoskeumorfismo */
    --sh-sm: 0 1px 1px rgba(33, 3, 63, .05), 0 3px 6px rgba(33, 3, 63, .06);
    --sh-md: 0 1px 1px rgba(33, 3, 63, .04), 0 4px 8px rgba(33, 3, 63, .05), 0 12px 24px rgba(33, 3, 63, .07), 0 28px 48px rgba(33, 3, 63, .06);
    --sh-lg: 0 2px 2px rgba(33, 3, 63, .04), 0 8px 16px rgba(33, 3, 63, .06), 0 24px 48px rgba(33, 3, 63, .09), 0 48px 96px rgba(82, 43, 120, .10);
    --hl: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 0 rgba(33, 3, 63, .04);

    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 32px;

    --container: 1440px;
    --gutter: clamp(16px, 4.5vw, 72px);
    --space-section: clamp(120px, 13vw, 200px);

    /* fundos por seção (trocados no scroll) */
    --bg-light: #ffffff;
    --bg-lilac: #f5effb;
    --bg-peach: #fff4ea;
    --bg-dark: #240a3d;

    --display: 'Bevan', Georgia, serif;
    --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .9s ease;
}
body[data-bg="lilac"] { background-color: var(--bg-lilac); }
body[data-bg="peach"] { background-color: var(--bg-peach); }
body[data-bg="dark"] { background-color: var(--bg-dark); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--container); padding-inline: var(--gutter); margin-inline: auto; }
.eyebrow {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--purple-2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 22px; height: 8px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--orange), var(--orange-2));
    box-shadow: 0 2px 4px rgba(217, 114, 42, .35), var(--hl);
}
.section { padding: var(--space-section) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(30px, 4.2vw, 48px);
    margin-top: 18px;
    color: var(--ink);
}
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 18px; }

/* ============ BOTÕES (táteis) ============ */
.btn {
    --btn-bg: var(--purple);
    --btn-edge: #3a1c58;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15.5px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, var(--purple-2), var(--btn-bg));
    box-shadow: 0 4px 0 var(--btn-edge), 0 10px 22px rgba(82, 43, 120, .30), inset 0 1px 0 rgba(255, 255, 255, .25);
    transform: translateY(0);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge), 0 16px 30px rgba(82, 43, 120, .32), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge), 0 4px 10px rgba(82, 43, 120, .25), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-orange { --btn-bg: var(--orange-2); --btn-edge: #b4561a; background: linear-gradient(180deg, #f6a15c, var(--orange)); box-shadow: 0 4px 0 #b4561a, 0 10px 22px rgba(238, 139, 61, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-orange:hover { box-shadow: 0 6px 0 #b4561a, 0 16px 30px rgba(238, 139, 61, .38), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost {
    color: var(--purple);
    background: linear-gradient(180deg, #fff, #f7f3fb);
    box-shadow: 0 4px 0 #ddd2ea, 0 10px 22px rgba(33, 3, 63, .08), var(--hl);
}
.btn-ghost:hover { box-shadow: 0 6px 0 #ddd2ea, 0 16px 30px rgba(33, 3, 63, .1), var(--hl); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ============ NAV ============ */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(33, 3, 63, .05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand-sep { width: 1px; height: 26px; background: var(--line); }
.brand-name { font-weight: 700; font-size: 15px; line-height: 1.15; color: var(--ink); }
.brand-name small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2);
    padding: 9px 14px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--lilac-soft); color: var(--purple); }
.nav-cta { padding: 11px 20px !important; font-size: 14.5px; }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; background: linear-gradient(180deg, var(--purple-2), var(--purple)); }
.nav-toggle { display: none; }

/* ============ HERO ============ */
.hero { padding: 88px 0 var(--space-section); position: relative; overflow: hidden; }
.hero::before {
    /* grade suave, herança do "laboratório" */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(circle at 1px 1px, rgba(82, 43, 120, .10) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 {
    font-family: var(--display); font-weight: 400;
    font-size: clamp(34px, 4.3vw, 56px);
    line-height: 1.06; margin-top: 22px;
}
.hero h1 .hl { color: var(--purple); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
    content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .28em; z-index: -1;
    border-radius: 6px; background: linear-gradient(180deg, #ffd2ad, #ffbf8c);
}
.hero-lead { margin-top: 26px; font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero-lead strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tag {
    font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
    padding: 7px 13px; border-radius: 999px;
    background: linear-gradient(180deg, #fff, #f8f5fb);
    box-shadow: var(--sh-sm), var(--hl);
}

/* --- composição 3D --- */
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; margin-left: auto; }
.obj { position: absolute; }
.float { animation: float 7s ease-in-out infinite; }
.float.d1 { animation-delay: -1.5s; }
.float.d2 { animation-delay: -3s; }
.float.d3 { animation-delay: -4.5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.floor {
    left: 8%; right: 8%; bottom: 4%; height: 14%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(82, 43, 120, .18), transparent 70%);
    filter: blur(6px);
}
/* cartão de interface em camadas */
.ui-card {
    left: 6%; top: 18%; width: 62%;
    background: #fff; border-radius: var(--r-md); padding: 18px;
    box-shadow: var(--sh-lg), var(--hl);
    rotate: -4deg;
}
.ui-card::before, .ui-card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
}
.ui-card::before { background: var(--lilac-soft); translate: 14px 14px; box-shadow: var(--sh-md); }
.ui-card::after { background: var(--lilac); translate: 28px 28px; z-index: -2; opacity: .55; }
.ui-dots { display: flex; gap: 6px; margin-bottom: 14px; }
.ui-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ui-dots i:first-child { background: var(--orange); }
.ui-row { height: 10px; border-radius: 6px; background: var(--line); margin-bottom: 9px; }
.ui-row.w60 { width: 60%; } .ui-row.w80 { width: 80%; } .ui-row.w40 { width: 40%; }
.ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 82px; margin-top: 16px; padding: 10px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 2px 6px rgba(33, 3, 63, .06); }
.ui-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--purple-3), var(--purple)); box-shadow: 0 3px 6px rgba(82, 43, 120, .25), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ui-bars span:nth-child(4) { background: linear-gradient(180deg, #f6a15c, var(--orange-2)); }

/* esfera */
.sphere {
    width: 26%; aspect-ratio: 1; right: 6%; top: 6%; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #ffd7b5 0%, var(--orange) 42%, #b9531a 100%);
    box-shadow: 0 30px 50px rgba(217, 114, 42, .35), inset -10px -14px 24px rgba(120, 40, 0, .25);
}
/* toggle tátil (homenagem à pirâmide útil/rápido/barato) */
.toggle-obj {
    right: 0; top: 36%; width: 40%; padding: 14px 16px;
    background: #fff; border-radius: 22px; box-shadow: var(--sh-lg), var(--hl);
    display: grid; gap: 10px; rotate: 3deg;
}
.tg { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tg b {
    width: 40px; height: 22px; border-radius: 99px; position: relative;
    background: linear-gradient(180deg, var(--purple-2), var(--purple));
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25);
}
.tg b::after {
    content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%;
    background: linear-gradient(180deg, #fff, #eee6f6); box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
/* cubo isométrico */
.cube { left: 14%; bottom: 8%; width: 26%; }
/* pílula / ponto de dado */
.chip-obj {
    left: 44%; bottom: 6%; padding: 12px 16px; border-radius: 16px; background: #fff;
    box-shadow: var(--sh-lg), var(--hl); display: flex; align-items: center; gap: 12px; rotate: -2deg;
}
.chip-obj strong { display: block; white-space: nowrap; margin-bottom: 4px; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--purple); line-height: 1; }
.chip-obj span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.chip-obj em {
    width: 34px; height: 34px; border-radius: 10px; flex: none;
    background: linear-gradient(180deg, #8de0a6, #3bb36a);
    box-shadow: 0 4px 10px rgba(59, 179, 106, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
    display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800;
}

/* ============ PROVAS (números) ============ */
.proof { padding: 0 0 24px; }
.proof-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    padding: 22px; border-radius: var(--r-lg);
    background: linear-gradient(180deg, #fbf9fd, #f4eff9);
    box-shadow: inset 0 2px 8px rgba(33, 3, 63, .05), inset 0 -1px 0 #fff;
}
.stat {
    display: block; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease;
    background: #fff; border-radius: var(--r-md); padding: 22px 22px 20px;
    box-shadow: var(--sh-md), var(--hl);
}
.stat strong { display: block; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 34px); color: var(--purple); line-height: 1.1; }
.stat strong .arrow { display: inline; margin: 0; font-size: inherit; color: var(--orange); }
.stat span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

/* ============ GANHOS ============ */
.gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gain {
    position: relative; isolation: isolate; border-radius: var(--r-md); padding: 30px 28px 26px;
    transition: transform .25s ease;
    display: flex; flex-direction: column;
}
.gain::before, .gain::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
}
/* camada inferior que "descola" no hover */
.gain::before { z-index: -2; background: var(--tint, var(--lilac-soft)); transition: translate .25s ease; }
/* face do cartão (o .reveal cria contexto de empilhamento, então o fundo branco vive aqui) */
.gain::after { z-index: -1; background: #fff; box-shadow: var(--sh-md), var(--hl); transition: box-shadow .25s ease; }
.gain:hover { transform: translate(-4px, -6px); }
.gain:hover::after { box-shadow: var(--sh-lg), var(--hl); }
.gain:hover::before { translate: 10px 12px; }
.gain.is-orange { --tint: var(--orange-soft); }
.gain-icon {
    width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
    background: linear-gradient(160deg, var(--purple-3), var(--purple));
    box-shadow: 0 5px 0 #3a1c58, 0 14px 24px rgba(82, 43, 120, .3), inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #fff; margin-bottom: 26px;
}
.gain.is-orange .gain-icon {
    background: linear-gradient(160deg, #f8b07a, var(--orange-2));
    box-shadow: 0 5px 0 #b4561a, 0 14px 24px rgba(238, 139, 61, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.gain-icon svg { width: 30px; height: 30px; }
.gain h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; }
.gain p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }
.gain .evidence {
    margin-top: auto; padding-top: 22px;
}
.evidence-inner {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 13px 14px; border-radius: 14px;
    background: var(--surface); box-shadow: inset 0 2px 5px rgba(33, 3, 63, .06), inset 0 -1px 0 #fff;
    font-size: 14px; color: var(--ink-2); line-height: 1.45;
}
.evidence-inner b { color: var(--ink); }
.evidence-inner .pin {
    flex: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 99px; color: var(--purple); background: #fff; box-shadow: var(--sh-sm);
    margin-top: 1px;
}

/* ============ PARA QUEM ============ */
.audience-band { background: none; } /* o fundo agora vem do body, trocado no scroll */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.aud {
    background: #fff; border-radius: var(--r-md); padding: 26px 24px;
    box-shadow: var(--sh-md), var(--hl); text-decoration: none; display: block;
    transition: transform .2s ease, box-shadow .2s ease;
}
.aud:hover { transform: translateY(-4px); box-shadow: var(--sh-lg), var(--hl); }
.aud .shape { height: 74px; margin-bottom: 20px; }
.aud h3 { font-size: 19px; font-weight: 800; }
.aud p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.aud .more { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--purple-2); display: inline-flex; gap: 6px; }

/* ============ COMO TRABALHO ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 46px; height: 6px; border-radius: 99px;
    background: var(--lilac-soft); box-shadow: inset 0 2px 3px rgba(33, 3, 63, .08);
}
.step { position: relative; z-index: 1; text-align: left; }
.step-key {
    width: 92px; height: 92px; border-radius: 26px; position: relative;
    background: linear-gradient(180deg, #fff, #f3eef8);
    box-shadow: 0 7px 0 #ddd2ea, 0 18px 30px rgba(33, 3, 63, .12), var(--hl);
    display: grid; place-items: center; margin-bottom: 30px;
}
.step-key::before {
    counter-increment: step; content: "0" counter(step);
    font-family: var(--display); font-size: 30px; color: var(--purple);
}
.step:nth-child(4) .step-key { background: linear-gradient(180deg, #f8b07a, var(--orange)); box-shadow: 0 7px 0 #b4561a, 0 18px 30px rgba(238, 139, 61, .3), inset 0 1px 0 rgba(255, 255, 255, .45); }
.step:nth-child(4) .step-key::before { color: #fff; }
.step h3 { font-size: 20px; font-weight: 800; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

/* ============ TRAJETÓRIA ============ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-card {
    position: relative; border-radius: var(--r-lg); padding: 36px;
    background: linear-gradient(160deg, var(--purple-2), var(--purple) 60%, #3f1f60);
    color: #fff; box-shadow: var(--sh-lg);
    overflow: hidden;
}
.about-card::after {
    content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -70px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #ffd7b5 0%, var(--orange) 45%, #b9531a 100%);
    box-shadow: inset -12px -16px 30px rgba(120, 40, 0, .3);
    opacity: .95;
}
.about-card blockquote {
    margin: 0; font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; position: relative; z-index: 1;
}
.about-card .sig { margin-top: 26px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; opacity: .85; position: relative; z-index: 1; }
.about-text p { color: var(--ink-2); font-size: 17.5px; }
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--ink); }

.timeline { margin-top: 40px; display: grid; gap: 12px; }
.tl {
    display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center;
    padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--sh-sm), var(--hl);
}
.tl time { font-family: var(--mono); font-size: 13px; color: var(--purple-2); }
.tl span { font-size: 15.5px; color: var(--ink-2); }
.tl span b { color: var(--ink); }

/* ============ DEPOIMENTOS ============ */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.quote {
    position: relative; background: #fff; border-radius: var(--r-md); padding: 30px 30px 26px;
    box-shadow: var(--sh-md), var(--hl);
}
.quote::before {
    content: "“"; position: absolute; top: -22px; left: 24px; width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center; font-family: var(--display); font-size: 34px; line-height: 1; padding-top: 14px;
    color: #fff; background: linear-gradient(160deg, #f8b07a, var(--orange-2));
    box-shadow: 0 4px 0 #b4561a, 0 10px 20px rgba(238, 139, 61, .3);
}
.quote p { font-size: 16.5px; color: var(--ink-2); margin-top: 14px; }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-weight: 700; font-size: 15px; }
.quote cite small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }

/* ============ CTA FINAL ============ */
.cta-box {
    position: relative; border-radius: 40px; padding: 72px 56px; overflow: hidden;
    background: linear-gradient(180deg, #fff, #f7f2fb);
    box-shadow: var(--sh-lg), var(--hl);
    display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta-box h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); }
.cta-box p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.cta-art { position: relative; height: 240px; }
.cta-art .s1 { position: absolute; width: 150px; height: 150px; right: 30px; top: 0; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #e3d4f3 0%, var(--purple-3) 40%, var(--purple) 100%); box-shadow: 0 30px 50px rgba(82, 43, 120, .3), inset -10px -14px 24px rgba(20, 0, 40, .3); }
.cta-art .s2 { position: absolute; width: 90px; height: 90px; left: 20px; bottom: 10px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ffd7b5 0%, var(--orange) 42%, #b9531a 100%); box-shadow: 0 24px 40px rgba(217, 114, 42, .35), inset -8px -10px 20px rgba(120, 40, 0, .25); }
.cta-art .s3 { position: absolute; width: 120px; height: 46px; right: 0; bottom: 30px; border-radius: 99px; background: linear-gradient(180deg, #fff, #efe8f6); box-shadow: 0 5px 0 #ddd2ea, 0 16px 30px rgba(33, 3, 63, .12); }

/* ============ FOOTER ============ */
footer { padding: 72px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.foot p, .foot a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--purple); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot .brand img { height: 34px; }
.copy { padding-top: 26px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ============ REVEAL ============ */
.reveal {
    opacity: 0; translate: 0 48px; scale: .97;
    transition: opacity .8s ease, translate .9s cubic-bezier(.2, .7, .2, 1), scale .9s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.out-up { translate: 0 -48px; transition-delay: 0s; }
.reveal.in { opacity: 1; translate: 0 0; scale: 1; }

@media (prefers-reduced-motion: reduce) {
    .float { animation: none; }
    .reveal { opacity: 1; translate: none; scale: none; transition: none; }
    body { transition: none; }
    [data-speed], .hero-copy, .stage { transform: none !important; opacity: 1 !important; }
    html { scroll-behavior: auto; }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 1024px) {
    .gains { grid-template-columns: repeat(2, 1fr); }
    .aud-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .steps::before { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: grid; position: absolute; top: 76px; left: 16px; right: 16px; gap: 4px;
        padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--sh-lg);
    }
    .nav-links.open a { display: block; }
    .nav-toggle {
        display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 14px; cursor: pointer;
        background: linear-gradient(180deg, #fff, #f6f2fa); box-shadow: var(--sh-sm), var(--hl); color: var(--purple);
    }
    .hero-grid { grid-template-columns: 1fr; }
    .stage { margin: 8px auto 0; max-width: 440px; }
    .cta-box { grid-template-columns: 1fr; padding: 48px 28px; }
    .cta-art { display: none; }
    .quotes { grid-template-columns: 1fr; }
    .foot { grid-template-columns: 1fr; }
    :root { --space-section: 104px; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .gains, .aud-grid, .steps { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr 1fr; padding: 12px; gap: 12px; }
    .stat { padding: 16px; }
    .brand-sep, .brand-name { display: none; }
    .tl { grid-template-columns: 1fr; gap: 2px; }
    .hero h1 .hl { white-space: normal; }
}

/* ============ FOTO / AVATAR ============ */
.hero-avatar {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 5px 16px 5px 5px; border-radius: 999px;
    background: linear-gradient(180deg, #fff, #f8f5fb); box-shadow: var(--sh-sm), var(--hl);
}
.hero-avatar img {
    width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
    box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(33, 3, 63, .2);
}
.hero-avatar .eyebrow::before { display: none; }

.photo-stack { position: relative; max-width: 440px; margin-inline: auto; padding: 0 28px 28px 0; }
.photo-stack::before, .photo-stack::after {
    content: ""; position: absolute; border-radius: var(--r-lg);
}
.photo-stack::before { inset: 28px 0 0 28px; background: var(--lilac); opacity: .55; }
.photo-stack::after { inset: 14px 14px 14px 14px; background: var(--lilac-soft); box-shadow: var(--sh-md); }
.photo-frame {
    position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 4 / 5; box-shadow: var(--sh-lg);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-sphere {
    position: absolute; z-index: 2; width: 96px; height: 96px; right: -6px; top: -26px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #ffd7b5 0%, var(--orange) 42%, #b9531a 100%);
    box-shadow: 0 22px 40px rgba(217, 114, 42, .35), inset -8px -12px 20px rgba(120, 40, 0, .25);
}
.photo-quote {
    position: absolute; z-index: 3; left: -28px; right: 40px; bottom: -8px;
    padding: 20px 22px; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-lg), var(--hl);
}
.photo-quote blockquote { margin: 0; font-family: var(--display); font-size: 17px; line-height: 1.38; color: var(--purple); }
.photo-quote .sig { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }

/* ============ SUBPÁGINAS ============ */
.page-hero { padding: 72px 0 var(--space-section); position: relative; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(circle at 1px 1px, rgba(82, 43, 120, .10) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 60% 60% at 80% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 80% 40%, #000 20%, transparent 75%);
}
.crumbs { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--purple-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; margin-top: 20px; }
.page-hero h1 .hl { color: var(--purple); }

/* pilha de "sinais" — cartões em camadas com interruptor */
.signals { position: relative; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(180deg, #fbf9fd, #f3eef9); box-shadow: inset 0 2px 8px rgba(33, 3, 63, .05), inset 0 -1px 0 #fff; }
.signals-title { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 4px 6px 16px; }
.signal {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--sh-md), var(--hl);
    font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.signal + .signal { margin-top: 12px; }
.signal:nth-child(odd) { translate: 10px 0; }
.signal b {
    flex: none; width: 42px; height: 24px; border-radius: 99px; position: relative;
    background: linear-gradient(180deg, #f6a15c, var(--orange-2)); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2);
}
.signal b::after {
    content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: linear-gradient(180deg, #fff, #f3ece6); box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

/* formatos de trabalho — "teclas" */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.format {
    padding: 24px 22px; border-radius: var(--r-md);
    background: linear-gradient(180deg, #fff, #f6f2fa);
    box-shadow: 0 6px 0 #e3d9ee, 0 16px 30px rgba(33, 3, 63, .09), var(--hl);
}
.format .fk { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-2); }
.format h3 { margin-top: 10px; font-size: 18px; font-weight: 800; }
.format p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* caso em destaque */
.case {
    display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
    padding: 48px; border-radius: 36px; position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--purple-2), var(--purple) 60%, #3f1f60); color: #fff; box-shadow: var(--sh-lg);
}
.case::after {
    content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #ffd7b5 0%, var(--orange) 45%, #b9531a 100%);
    box-shadow: inset -12px -16px 30px rgba(120, 40, 0, .3); opacity: .9;
}
.case .eyebrow { color: #e6dcf2; }
.case h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.8vw, 34px); margin-top: 16px; }
.case p { margin-top: 14px; color: #e9e1f3; font-size: 16.5px; max-width: 620px; }
.case-stats { display: grid; gap: 14px; position: relative; z-index: 1; }
.case-stat { padding: 18px 20px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 16px 30px rgba(20, 0, 40, .3), var(--hl); }
.case-stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--purple); line-height: 1.1; white-space: nowrap; }
.case-stat span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }

/* seletor segmentado (Educação) */
.seg {
    display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; margin-bottom: 40px;
    background: #f1ecf6; box-shadow: inset 0 2px 6px rgba(33, 3, 63, .08), inset 0 -1px 0 #fff;
}
.seg button {
    border: 0; cursor: pointer; font: 700 15px var(--sans); color: var(--ink-2);
    padding: 12px 22px; border-radius: 999px; background: transparent; transition: background .2s, box-shadow .2s, color .2s;
}
.seg button[aria-selected="true"] { background: linear-gradient(180deg, #fff, #f8f5fb); color: var(--purple); box-shadow: var(--sh-md), var(--hl); }
.seg-panel[hidden] { display: none; }
#panel-prof .gains { grid-template-columns: repeat(2, 1fr); }

.quote-single { max-width: 820px; margin-inline: auto; }

@media (max-width: 1024px) {
    .formats { grid-template-columns: repeat(2, 1fr); }
    .case { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 860px) {
    .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .signal:nth-child(odd) { translate: 0 0; }
    .photo-quote { left: 0; right: 0; }
}
@media (max-width: 560px) {
    .formats { grid-template-columns: 1fr; }
    #panel-prof .gains { grid-template-columns: 1fr; }
    .seg { display: flex; width: 100%; }
    .seg button { flex: 1; padding: 12px 10px; font-size: 14px; }
}

/* ============ MOVIMENTO LIGADO AO SCROLL ============ */
/* parallax: o JS escreve --py conforme a posição do elemento na tela */
[data-speed] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* topo da página se dissolve ao rolar (--p vai de 0 a 1) */
.hero-copy, .page-hero-copy {
    opacity: calc(1 - var(--p, 0) * .85);
    transform: translate3d(0, calc(var(--p, 0) * -70px), 0);
}
.stage { transform: translate3d(0, calc(var(--p, 0) * 60px), 0) scale(calc(1 - var(--p, 0) * .08)); }

/* linha do método que se preenche */
.steps::after {
    content: ""; position: absolute; left: 6%; top: 46px; height: 6px; border-radius: 99px;
    width: calc(88% * var(--sp, 0));
    background: linear-gradient(90deg, var(--purple-3), var(--orange));
    box-shadow: 0 2px 8px rgba(238, 139, 61, .35);
}
.step-key { transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.step.lit .step-key { transform: translateY(-6px); }

/* seção escura: textos acompanham a troca de fundo */
.section-head h2, .section-head p, .step h3, .step p, .eyebrow { transition: color .7s ease; }
body[data-bg="dark"] [data-bg="dark"] .section-head h2,
body[data-bg="dark"] [data-bg="dark"] .step h3 { color: #fff; }
body[data-bg="dark"] [data-bg="dark"] .section-head p,
body[data-bg="dark"] [data-bg="dark"] .step p { color: #d6c8e6; }
body[data-bg="dark"] [data-bg="dark"] .eyebrow { color: #f6b27c; }
body[data-bg="dark"] [data-bg="dark"] .steps::before { background: rgba(255, 255, 255, .1); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .3); }
body[data-bg="dark"] .nav { background: rgba(255, 255, 255, .9); }

@media (max-width: 1024px) {
    .steps::after { display: none; }
}

/* ============ FOTOS COM RECORTE ============ */
/* tratamento comum: moldura branca "impressa", sombra em camadas e um véu da paleta
   que harmoniza a luz colorida das fotos antigas */
.ph {
    position: relative; overflow: hidden; margin: 0;
    box-shadow: 0 0 0 6px #fff, var(--sh-lg);
    background: var(--lilac-soft);
}
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); transition: scale .8s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.ph::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(160deg, rgba(82, 43, 120, .16), rgba(238, 139, 61, .10) 70%, rgba(33, 3, 63, .22));
    mix-blend-mode: multiply; transition: opacity .5s;
}
.ph:hover img { scale: 1.05; filter: saturate(1) contrast(1.02); }
.ph:hover::after { opacity: .4; }

.clip-round { border-radius: var(--r-lg); }
.clip-circle { border-radius: 50%; }
.clip-pill { border-radius: 999px; }
.clip-leaf { border-radius: 120px 24px 120px 24px; }
.clip-arch { border-radius: 999px 999px 24px 24px; }
.clip-squircle { border-radius: 38%; }

/* foto no topo das subpáginas, com o cartão de sinais sobreposto */
.hero-media { position: relative; padding: 0 0 120px 40px; }
.hero-media::before {
    content: ""; position: absolute; top: 28px; right: -18px; bottom: 148px; left: 68px;
    border-radius: var(--r-lg); background: var(--lilac); opacity: .45;
}
.hero-media .ph { aspect-ratio: 4 / 3; rotate: 1.5deg; }
.hero-media .signals {
    position: absolute; left: 0; bottom: 0; width: min(440px, 88%);
    background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--sh-lg), var(--hl);
}
.hero-media .signal { padding: 12px 14px; font-size: 14.5px; }
.hero-media .signal + .signal { margin-top: 8px; }
.hero-media .photo-sphere { right: -14px; top: -30px; width: 84px; height: 84px; }
.ph-caption {
    position: absolute; z-index: 2; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px;
    font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: rgba(255, 255, 255, .9); box-shadow: var(--sh-sm);
}

/* galeria em bento com recortes variados */
.bento-block + .bento-block { margin-top: 88px; }
.bento-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.bento-head h3 { font-size: 22px; font-weight: 800; }
.bento-head span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.bento {
    display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; gap: 26px;
}
.bento .ph:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.bento .ph:nth-child(2) { grid-column: span 1; }
.bento .ph:nth-child(3) { grid-column: span 2; }
.bento .ph:nth-child(4) { grid-column: span 2; }
.bento .ph:nth-child(5) { grid-column: span 1; }
.bento.flip .ph:nth-child(1) { grid-column: 4 / span 3; grid-row: 1 / span 2; }
.bento.flip .ph:nth-child(2) { grid-column: 1 / span 1; grid-row: 1; }
.bento.flip .ph:nth-child(3) { grid-column: 2 / span 2; grid-row: 1; }
.bento.flip .ph:nth-child(4) { grid-column: 1 / span 2; grid-row: 2; }
.bento.flip .ph:nth-child(5) { grid-column: 3 / span 1; grid-row: 2; }

@media (max-width: 860px) {
    .hero-media { padding: 0 0 150px 0; }
    .hero-media::before { left: 24px; right: -8px; }
    .hero-media .signals { width: 92%; }
    .bento, .bento.flip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 18px; }
    .bento .ph:nth-child(n), .bento.flip .ph:nth-child(n) { grid-column: auto / span 1; grid-row: auto / span 1; }
    .bento .ph:nth-child(1), .bento.flip .ph:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
    .bento .ph:nth-child(5), .bento.flip .ph:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .hero-media .signals { position: relative; width: 100%; margin-top: -60px; }
    .hero-media { padding: 0; }
    .hero-media::before { display: none; }
}

/* ============ JETBRAINS MONO: subtítulos, títulos de cartão e números ============ */
/* subtítulos das seções e do topo */
.section-head p, .hero-lead {
    font-family: var(--mono); font-weight: 400; font-size: 16px; line-height: 1.7; letter-spacing: -.01em;
}
.hero-lead { font-size: 16.5px; }
.hero-lead strong { font-weight: 700; }
.cta-box p, .case p { font-family: var(--mono); font-size: 15.5px; line-height: 1.7; letter-spacing: -.01em; }

/* títulos dos cartões */
.gain h3, .aud h3, .step h3, .format h3, .bento-head h3 {
    font-family: var(--mono); font-weight: 700; letter-spacing: -.03em; line-height: 1.25;
}
.gain h3 { font-size: 18.5px; }
.aud h3 { font-size: 17px; }
.step h3 { font-size: 18px; }
.format h3 { font-size: 16.5px; }
.bento-head h3 { font-size: 20px; }

/* números e provas */
.stat strong, .chip-obj strong, .case-stat strong {
    font-family: var(--mono); font-weight: 800; letter-spacing: -.05em;
}
.stat strong { font-size: clamp(26px, 2.6vw, 36px); }
.chip-obj strong { font-size: 19px; }
.case-stat strong { font-size: 26px; }
.step-key::before { font-family: var(--mono); font-weight: 800; letter-spacing: -.04em; font-size: 28px; }

/* ============ LINKS PARA OS CASOS ============ */
a.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-lg), var(--hl); }
a.stat:hover strong { color: var(--purple-2); }
.ev-link {
    display: inline-block; white-space: nowrap; margin-left: 2px;
    font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: -.01em;
    color: var(--purple-2); text-decoration: underline; text-decoration-color: rgba(108, 62, 160, .35); text-underline-offset: 3px;
    transition: color .2s, text-decoration-color .2s;
}
.ev-link:hover { color: var(--orange-2); text-decoration-color: currentColor; }
.tl .ev-link { font-size: inherit; font-family: inherit; font-weight: 700; margin-left: 0; white-space: normal; }
.case-link { margin-top: 26px; position: relative; z-index: 1; }
