/* butia.app: uma página, sem framework. Geist (SIL OFL) auto-hospedada, tokens no :root, só tema claro (papel quente,
   o laranja do butiá como único acento), cantos suaves, muito ar, títulos com peso amigável. As cenas do produto são
   SVG/CSS desenhados à mão; o movimento delas vem de /scenes.js (Web Animations), pausa fora da tela e vira um quadro
   parado com movimento reduzido. */

/* ── Fonte ──────────────────────────────────────────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens (um tema só: o claro) ───────────────────────────────────────────────────────────────────────────────── */
:root {
  --bg: #fcf9f4;
  --bg-2: #f5f0e7;
  --surface: #ffffff;
  --ink: #1a1814;
  --ink-2: #514c44;
  --ink-3: #6d675d;
  --line: rgb(26 24 20 / 9%);
  --line-2: rgb(26 24 20 / 16%);
  --accent: #e4870a;
  --accent-soft: rgb(228 135 10 / 14%);
  /* O laranja do butiá não tem contraste para texto sobre o claro: o texto usa um tom queimado. */
  --accent-ink: #9a5800;
  --button: #1a1814;
  --on-button: #fcf9f4;
  --ok: #2f7a4b;
  --error: #b3402f;
  --shadow: 0 1px 2px rgb(26 24 20 / 4%), 0 24px 60px -32px rgb(26 24 20 / 24%);
  --shadow-soft: 0 1px 2px rgb(26 24 20 / 3%), 0 16px 40px -28px rgb(26 24 20 / 18%);
  /* O quadro do widget sobre páginas claras: escurecimento tênue, anel branco, contorno fraco. */
  --scrim: rgb(0 0 0 / 16%);
  --ring: #ffffff;
  --ring-opacity: 1;
  --faint-opacity: .16;
  --radius: 20px;
  --radius-s: 14px;
  --font: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────────────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); font-feature-settings: 'ss01'; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; padding: 8px 12px; border-radius: 8px; background: var(--button); color: var(--on-button); }
.skip:focus { top: 12px; }
main, .top, .foot { position: relative; z-index: 1; }

/* ── Topo ───────────────────────────────────────────────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand.small { font-size: 15px; }
.brand-mark { width: 22px; height: 22px; fill: var(--accent); }
.top-nav { display: flex; gap: 4px; margin-left: auto; font-size: 15px; }
.top-nav a { padding: 7px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.top-nav a:hover { color: var(--ink); background: var(--bg-2); }
.top-nav a[aria-current] { color: var(--ink); }
/* O seletor de idioma: dois links de verdade ("EN | PT"); o atual fica marcado; no celular o alvo de toque tem 44 px. */
.lang { display: flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; }
.lang a { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; padding: 0 6px; border-radius: 999px; color: var(--ink-3); text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.lang a:hover { color: var(--ink); background: var(--bg-2); }
.lang a[aria-current] { color: var(--ink); background: var(--bg-2); }
.lang-sep { color: var(--line-2); font-weight: 300; }

/* ── Botões: pílulas, uma primária escura e uma fantasma ───────────────────────────────────────────────────────── */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--button); border-radius: 999px; background: var(--button); color: var(--on-button); font: 500 15.5px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgb(26 24 20 / 45%); }
.button.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.button.ghost:hover { border-color: var(--ink); box-shadow: none; }
.button.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.button:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }
.button:hover .arrow { transform: translateX(2px); }

/* ── Tipografia ─────────────────────────────────────────────────────────────────────────────────────────────────── */
/* O rótulo-pílula, em caixa normal, com o ponto do butiá (hoje só na página 404). */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 14px 7px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 500; line-height: 1; letter-spacing: -0.005em; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px var(--accent-soft); } }
h1 { max-width: 13ch; font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 560; text-wrap: balance; }
h2 { max-width: 20ch; font-size: clamp(1.9rem, 1.1rem + 2.5vw, 3.15rem); line-height: 1.08; letter-spacing: -0.028em; font-weight: 560; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 560; }
.lead { max-width: 34em; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; letter-spacing: -0.008em; }
.section-lead { margin-top: 18px; max-width: 36em; color: var(--ink-2); font-size: 17.5px; letter-spacing: -0.005em; }
.fine { margin-top: 14px; color: var(--ink-3); font-size: 13px; }

/* ── Hero ───────────────────────────────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding: 104px 0 64px; }

/* ── Atmosfera: a luz do butiá atrás do hero (WebGL em /atmosphere.js) ──────────────────────────────────────────────
   O canvas cobre o alto da seção e esmaece antes do fim do palco; entra em fade quando o módulo confirma o
   WebGL. Sem JS, sem WebGL, ou com o contexto perdido, o ::after abaixo é o brilho CSS equivalente, parado. */
.atmosphere { position: absolute; inset: 0 0 25%; z-index: -2; display: block; width: 100%; height: 75%; opacity: 0; transition: opacity 900ms ease; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); }
[data-atmosphere="webgl"] > .atmosphere, [data-atmosphere="still"] > .atmosphere { opacity: 1; }
.hero::after { content: ''; position: absolute; inset: 0 0 25%; z-index: -2; background: radial-gradient(52% 46% at 76% 20%, var(--accent-soft), transparent 70%); transition: opacity 900ms ease; pointer-events: none; }
.hero[data-atmosphere="webgl"]::after, .hero[data-atmosphere="still"]::after { opacity: 0; }
/* A reprise, mais discreta, atrás do convite final. */
#access { position: relative; isolation: isolate; }
#access > .atmosphere { inset: 0; height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent); }
.hero .lead { margin-top: 28px; }
.hero .actions { margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* O palco: a janela com o campo que fala com o guia e, ao lado, o que ele fez em palavras simples. */
.stage { margin-top: 64px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.stage-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.stage-url { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stage-status { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.stage-status[data-status="online"] i { background: var(--ok); box-shadow: 0 0 0 3px rgb(47 122 75 / 16%); }
.stage-status[data-status="offline"] i { background: var(--error); }
.stage-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.ask { padding: 30px; }
.ask-label { display: block; margin-bottom: 14px; font-size: 16px; font-weight: 560; letter-spacing: -0.01em; }
.ask-row { display: flex; gap: 8px; }
.ask-row input { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink); font: 17px var(--font); letter-spacing: -0.01em; transition: border-color 160ms ease; }
.ask-row input::placeholder { color: var(--ink-3); }
.ask-row input:focus { outline: none; border-color: var(--ink); }
.ask-send { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--button); border-radius: 50%; background: var(--button); color: var(--on-button); cursor: pointer; transition: transform 160ms ease; }
.ask-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ask-send:hover { transform: translateX(1px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13.5px; cursor: pointer; transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease; }
.chip:hover { border-color: var(--ink); color: var(--ink); background: var(--bg); }
.ask-hint { margin-top: 18px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
/* O que o guia fez: frases, não um registro; cada gesto tem a sua cor de ponto. */
.did { display: flex; flex-direction: column; border-left: 1px solid var(--line); background: var(--bg-2); }
.did-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 560; }
.did-count { min-width: 22px; padding: 2px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); font-size: 12px; font-weight: 500; text-align: center; }
.did-list { flex: 1; margin: 0; padding: 14px 20px; list-style: none; font-size: 14px; line-height: 1.5; color: var(--ink-2); min-height: 150px; }
.did-list li { position: relative; padding: 5px 0 5px 20px; animation: rise 360ms cubic-bezier(.2, .7, .2, 1) both; word-break: break-word; }
.did-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.did-list li[data-kind="ask"]::before { background: var(--ink); }
.did-list li[data-kind="navigate"]::before, .did-list li[data-kind="route"]::before { background: var(--accent); }
.did-list li[data-kind="point"]::before { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.did-list li[data-kind="error"]::before { background: var(--error); }
/* O exemplo: mesmo desenho, cor esmaecida (mas com contraste), sem animação. */
.did-example { color: var(--ink-3); animation: none !important; }
.did-example::before { opacity: .5; }
.did-foot { padding: 12px 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }

/* ── Seções ─────────────────────────────────────────────────────────────────────────────────────────────────────── */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
/* Cabeçalho editorial: rótulo em cima, título à esquerda, linha de apoio alinhada embaixo à direita. */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 64px; align-items: end; }
.section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.section-head h2 { grid-column: 1; }
.section-head .section-lead { grid-column: 2; margin-top: 0; padding-bottom: 6px; }
#faq .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
#faq .section-head { grid-template-columns: 1fr; position: sticky; top: 96px; }

/* ── Como ajuda: cartões soltos, com ar, uma cena por capacidade ───────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.cell { grid-column: span 2; display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); overflow: hidden; }
.cell.wide { grid-column: span 3; }
.cell-text { padding: 20px 24px 24px; }
.cell-text p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* ── Cenas: o produto desenhado à mão. Estado parado = o quadro final, legível; /scenes.js coreografa ─────────────── */
.scene { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; max-height: 340px; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); contain: content; }
.scene > svg { display: block; width: 100%; height: 100%; }
.scene text { font-family: var(--font); font-size: 12px; fill: var(--ink); letter-spacing: -0.01em; }
.scene .s-url { font-size: 10.5px; fill: var(--ink-3); letter-spacing: 0; }
.scene .s-strong { font-weight: 560; }
.scene .s-on-ink { fill: var(--on-button); }
.f-surface { fill: var(--surface); }
.f-side { fill: var(--bg-2); }
.f-ink { fill: var(--ink); }
.f-line { fill: var(--line); }
.f-line2 { fill: var(--line-2); }
.f-ghost { fill: var(--surface); stroke: var(--line-2); }
.f-card { fill: var(--surface); stroke: var(--line-2); filter: drop-shadow(0 14px 22px rgb(0 0 0 / 14%)); }
.f-bubble { fill: var(--bg-2); }
.f-field { fill: var(--bg); stroke: var(--line-2); }
.f-accent { fill: var(--accent); }
.k-line { stroke: var(--line); }
.k-on-accent { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.g-ink stop { stop-color: var(--ink); }
/* O traço e o quadro: a linguagem do próprio widget (linha com gradiente sobre um sublinhado claro, ponta com brilho,
   anel na chegada; quadro com anel claro, contorno tênue e quatro cantos). */
.t-under { fill: none; stroke: var(--surface); stroke-opacity: .7; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; }
.t-line { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; }
[data-scene="points"] .t-line { stroke: url(#pt-ink); }
[data-scene="navigates"] .t-line { stroke: url(#nv-ink); }
.t-mark { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; }
.t-glow { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 22; stroke-linecap: round; stroke-dasharray: 0.002 2; stroke-dashoffset: -1; opacity: 0; }
.t-dot { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.002 2; stroke-dashoffset: -1; opacity: 0; }
.t-ring { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.t-scrim { fill: var(--scrim); }
.t-halo { fill: none; stroke: #fff; stroke-width: 5; opacity: 0; }
.t-ringwhite { fill: none; stroke: var(--ring); stroke-opacity: var(--ring-opacity); stroke-width: 3; }
.t-faint { fill: none; stroke: var(--ink); stroke-opacity: var(--faint-opacity); stroke-width: 1; }
.t-corner { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; }
.scene g[data-s="frame"], .scene g[data-s="card"] { transform-box: fill-box; transform-origin: center; }
.s-verified path { stroke-dasharray: 1; }

/* As cenas em HTML: um cartão do widget em miniatura. */
.s-card { width: min(340px, 86%); padding: 14px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; letter-spacing: -0.005em; }
.s-msg { width: fit-content; max-width: 88%; margin: 0; padding: 7px 12px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: var(--surface); }
.s-me { margin-left: auto; border-color: transparent; border-radius: 16px 16px 4px 16px; background: var(--button); color: var(--on-button); }
.s-slot { position: relative; margin-top: 8px; }
.s-think { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 4px; height: 36px; margin: 0; padding: 0 14px; border-radius: 16px 16px 16px 4px; background: var(--bg-2); opacity: 0; }
.s-think i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.s-w { display: inline-block; }
.s-verified { display: flex; align-items: center; gap: 6px; margin: 10px 0 0 4px; color: var(--accent-ink); font-size: 12px; font-weight: 500; }
.s-verified svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* O campo de texto do widget, parado, no pé do cartão. */
.s-field { display: flex; align-items: center; justify-content: flex-end; height: 34px; margin-top: 14px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); }
.s-field i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); }

.s-call { padding: 12px 14px 14px; }
.s-call-bar { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.s-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.s-nav { margin-left: auto; color: var(--accent-ink); }
.s-wave { display: flex; align-items: center; justify-content: space-between; height: 44px; margin: 12px 0 10px; transform: scaleY(.6); }
.s-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--ink); transform: scaleY(.3); }
.s-line { margin: 0; }
.s-line-me { color: var(--ink-3); text-align: right; }
.s-line-ai { margin-top: 2px; }

.scene-tours { gap: 22px; padding: 18px; }
.s-mocks { position: relative; flex: none; display: grid; gap: 14px; width: 136px; }
.s-mock { display: block; height: 30px; border-radius: 10px; }
.s-mock-field { border: 1px solid var(--line-2); background: var(--surface); }
.s-mock-card { border: 1px solid var(--line-2); background: var(--surface); }
.s-mock-button { background: var(--accent); }
.s-frame { position: absolute; left: -8px; top: -8px; width: 152px; height: 46px; overflow: visible; }
.s-frame .t-corner { stroke-dasharray: none; }
.s-tour { flex: 1; min-width: 0; width: auto; max-width: 250px; padding: 12px 14px 14px; }
.s-tour-head { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.s-count { display: inline-grid; }
.s-count span { grid-area: 1 / 1; opacity: 0; }
.s-count span:first-child { opacity: 1; }
.s-steps { position: relative; height: 54px; margin-top: 10px; }
.s-step { position: absolute; inset: 0; display: grid; gap: 2px; align-content: start; opacity: 0; }
.s-step:first-child { opacity: 1; }
.s-step b { font-weight: 560; font-size: 14px; letter-spacing: -0.01em; }
.s-step span { color: var(--ink-2); font-size: 12px; }
.s-progress { display: flex; gap: 4px; margin-top: 4px; }
.s-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.s-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.s-progress span:first-child i { transform: none; }
.s-tour-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--ink-3); font-size: 12px; }
.s-next { padding: 4px 11px; border-radius: 999px; background: var(--button); color: var(--on-button); }

/* ── Como começar: três passos em cartões, com o número numa bolha quente ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 52px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step { padding: 26px 26px 28px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 16px; font-weight: 600; }
.step h3 { max-width: 14em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

/* Como responde (#how): uma frase humana e, ao lado, três perguntas de exemplo; a gota cai até a linha que resolve. */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 56px; align-items: center; margin-top: 16px; padding: 32px 36px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); }
.how-text p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.cascade { position: relative; padding-left: 26px; }
.cascade-rows { margin: 0; padding: 0; list-style: none; }
.cascade-rows li { position: relative; display: grid; gap: 2px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.cascade-rows li:last-child { border-bottom: 0; }
/* A luz da linha que resolveu (criada por /scenes.js): só opacidade. */
.cascade-light { position: absolute; inset: 2px 0; border-radius: 12px; background: var(--surface); opacity: 0; pointer-events: none; }
.cascade-rows b { position: relative; z-index: 1; font-weight: 560; }
.cascade-what { position: relative; z-index: 1; color: var(--ink-2); font-size: 14px; }
.cascade::before { content: ''; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 1px; background: var(--line-2); }
.cascade-drop { position: absolute; left: 6px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* FAQ */
.faq { margin-top: 6px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 560; font-size: 18px; letter-spacing: -0.012em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--ink-3); font-weight: 300; font-size: 22px; line-height: 1; transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 42em; color: var(--ink-2); }

/* Acesso antecipado */
.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.access-form { display: grid; gap: 8px; padding: 30px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.access-form label { margin-top: 8px; font-size: 14.5px; font-weight: 560; }
.optional { color: var(--ink-3); font-weight: 400; }
.access-form input, .access-form textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--bg); color: var(--ink); font: 16px var(--font); transition: border-color 160ms ease; }
.access-form input:focus, .access-form textarea:focus { outline: none; border-color: var(--ink); }
.access-form textarea { resize: vertical; }
.access-form .button { margin-top: 14px; }
.form-status { min-height: 1.5em; font-size: 14px; }
.form-status[data-state="ok"] { color: var(--ok); }
.form-status[data-state="error"] { color: var(--error); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Rodapé, com a privacidade como uma linha que abre */
.foot { border-top: 1px solid var(--line); }
.privacy { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.privacy summary { display: flex; align-items: center; gap: 12px; font-weight: 560; cursor: pointer; list-style: none; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy-tag { padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 12.5px; font-weight: 500; }
.privacy summary::after { content: '+'; margin-left: auto; color: var(--ink-3); font-size: 20px; font-weight: 300; line-height: 1; transition: transform 200ms ease; }
.privacy[open] summary::after { transform: rotate(45deg); }
.privacy p { margin-top: 12px; max-width: 64em; color: var(--ink-2); }
.foot-row { display: flex; align-items: center; gap: 24px; padding: 28px 0 48px; color: var(--ink-3); font-size: 14px; }
.foot .brand { color: var(--ink); }
.foot-note { margin-left: auto; font-size: 13px; }
.foot-nav { display: flex; gap: 18px; }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }

/* ── Revelação ao rolar (só com JS; sem JS tudo fica visível) ──────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ── O widget herda a tipografia, o acento e os cantos do site ──────────────────────────────────────────────────── */
butia-guide { --butia-font: var(--font); --butia-accent: var(--accent); --butia-radius: 18px; }

/* ── Responsivo ─────────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { padding: 72px 0 52px; }
  .stage-body { grid-template-columns: 1fr; }
  .did { border-left: 0; border-top: 1px solid var(--line); }
  .did-list { min-height: 120px; }
  .access { grid-template-columns: 1fr; }
  .section-head, #faq .wrap { grid-template-columns: 1fr; }
  .section-head h2, .section-head .section-lead { grid-column: 1; }
  .section-head .section-lead { margin-top: 18px; padding-bottom: 0; }
  #faq .section-head { position: static; }
  .faq { margin-top: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .cell.wide { grid-column: span 1; }
  .cell:last-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .top-nav { display: none; }
  .lang { margin-left: auto; }
  .lang a { min-width: 44px; min-height: 44px; }
  .section { padding: 88px 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  /* Marca, "EN | PT" (44 px cada) e o botão numa linha de 358 px: menos ar entre eles, e o botão não quebra. */
  .top-row { gap: 10px; }
  .lang { gap: 0; }
  .top .button.small { padding: 0 12px; white-space: nowrap; }
  .hero { padding: 52px 0 44px; }
  .section { padding: 72px 0; }
  .ask { padding: 22px; }
  .ask-row input, .ask-send { height: 50px; }
  .ask-send { width: 50px; }
  .stage-status [data-status-text] { display: none; }
  .cards { grid-template-columns: 1fr; }
  .cell:last-child { grid-column: span 1; }
  .scene { aspect-ratio: 4 / 3; }
  .s-card { width: min(340px, 92%); }
  .scene-tours { gap: 14px; padding: 14px; }
  .s-mocks { width: 96px; }
  .s-frame { width: 112px; }
  .how { padding: 22px 18px; }
  .cascade { padding-left: 20px; }
  .cascade-rows li { padding: 12px 12px; }
  .cascade::before { left: 6px; }
  .cascade-drop { left: 3px; }
  .access-form { padding: 22px; }
  .foot-row { flex-wrap: wrap; gap: 14px; }
  .foot-note { margin-left: 0; width: 100%; order: 3; }
}

/* ── Movimento reduzido: nada anima, tudo já está no lugar (as cenas param num quadro legível, em /scenes.js) ────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, ::before, ::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
