@font-face { font-family: "General Sans"; src: url(fonts/general-sans-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(fonts/general-sans-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(fonts/general-sans-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(fonts/general-sans-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Bank Mídia · padrão "Brasil ao vivo": escuro, General Sans, teal e menta */
:root {
  --bg: #061012; --panel: #0c1a1d; --panel-2: #13272b; --line: #1b3236;
  --ink: #eaf4f3; --soft: #b9c9c8; --muted: #7f9796;
  --teal: #1fb3c4; --teal-ink: #032227; --mint: #6ec6a0; --mint-ink: #06261b; --deep: #0b5e66;
  --m: clamp(16px, 2.4vw, 40px);
  --sec: clamp(120px, 14vw, 220px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: "General Sans", system-ui, sans-serif; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p, h1, h2, ol, ul { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--teal); color: var(--teal-ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.x { color: var(--teal); }
.h2 { font-weight: 600; font-size: clamp(44px, 5.6vw, 100px); line-height: .92; letter-spacing: -.045em; }

/* marca */
/* símbolo: recorte da fita inteira (mark.png). Antes era um recorte da logo completa reduzida ~9x pelo navegador,
   em posição fracionada (borda borrada), e cortava a direita e o pé do B */
.mark { width: 22px; height: 29px; flex: none; display: inline-block; background: url(assets/brand/mark.png) center / contain no-repeat; }
.mark.sm { width: 15px; height: 20px; }

/* barra */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 32px; padding: 18px var(--m); transition: background-color .4s, transform .5s var(--ease); }
.bar.solid { background: rgba(6, 16, 18, .92); }
.bar.hide { transform: translateY(-100%); }
.brand { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
/* a marca do topo: pronta no tamanho exato para cada densidade de tela, o navegador não reduz nada */
.brand .mark { background-image: image-set(url(assets/brand/mark-29.png) 1x, url(assets/brand/mark-58.png) 2x, url(assets/brand/mark-87.png) 3x); background-size: 100% 100%; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.btn { height: 46px; padding: 0 20px; border-radius: 12px; background: var(--teal); color: var(--teal-ink); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { background: #3fc4d3; }
.btn:active { transform: scale(.96); }
.btn-dark { background: var(--teal-ink); color: #fff; height: 60px; padding: 0 30px; font-size: 18px; border-radius: 14px; }
.btn-dark:hover { background: #07363d; }
.btn-ghost { background: transparent; color: var(--teal-ink); height: 60px; padding: 0 30px; font-size: 18px; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--teal-ink); }
.btn-ghost:hover { background: rgba(3, 34, 39, .08); }

/* chips (padrão do mapa) */
.chip { border: 0; cursor: pointer; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--panel); color: #cfdedd; font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; transition: background-color .25s, color .25s, transform .15s; }
.chip:hover { background: var(--panel-2); }
.chip:active { transform: scale(.96); }
.chip .sw { width: 30px; height: 18px; border-radius: 9px; background: #21363a; position: relative; transition: background-color .25s; }
.chip .sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--ease), background-color .25s; }
.chip[aria-pressed="true"] { background: #0f3438; color: #fff; }
.chip[aria-pressed="true"] .sw { background: var(--teal); }
.chip[aria-pressed="true"] .sw::after { transform: translateX(12px); background: #fff; }

/* ---------- 1 · mapa ---------- */
.mapwrap { height: 380vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; z-index: 0; }
/* passagem mapa → plateia: o ponto da região vira o telefone. A plateia sobe 100vh e fica por cima do mapa preso */
.plateia { margin-top: -100vh; }
.mapdim { position: absolute; inset: 0; z-index: 7; background: var(--bg); opacity: 0; pointer-events: none; }
.dive { position: absolute; left: 0; top: 0; z-index: 8; display: none; background: #fff; pointer-events: none; will-change: transform; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; }
.copy { position: absolute; left: var(--m); top: 50%; transform: translateY(-50%); width: min(680px, 48vw); z-index: 5; }
h1 { font-weight: 600; font-size: clamp(44px, 5.2vw, 96px); line-height: .92; letter-spacing: -.045em; }
.copy p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--soft); max-width: 36ch; margin: 22px 0 30px; }
.sim { position: absolute; left: var(--m); bottom: 3vh; font-size: 12px; color: var(--muted); z-index: 5; }
/* aviso de rolagem: entra depois do título e some no primeiro movimento */
.hint { position: fixed; left: 50%; bottom: calc(6vh + env(safe-area-inset-bottom, 0px)); z-index: 47; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 22px; border-radius: 23px; background: rgba(15, 40, 44, .82); box-shadow: inset 0 0 0 1px rgba(110, 198, 160, .35); font-size: 15px; font-weight: 600; color: #fff; white-space: nowrap; transform: translateX(-50%); animation: hint-in 1s var(--ease) 1.6s backwards; transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.hint svg { width: 16px; height: 16px; color: var(--mint); animation: hint-bob 1.4s ease-in-out infinite; }
.hint.gone { opacity: 0; transform: translate(-50%, 12px); }
/* progresso da página: fio no topo, só transform */
.prog { position: fixed; inset: 0 0 auto; z-index: 51; height: 3px; background: rgba(255, 255, 255, .08); pointer-events: none; }
.prog i { display: block; height: 100%; background: var(--mint); transform: scaleX(0); transform-origin: 0 50%; }
@keyframes hint-in { from { opacity: 0; translate: 0 12px; } }
@keyframes hint-bob { 50% { transform: translateY(4px); } }
@keyframes hint-bob-up { 0%, 100% { transform: rotate(180deg); } 50% { transform: rotate(180deg) translateY(4px); } }
/* voltar ao topo: aparece depois da plateia; o pulo acontece por trás da cortina (sem rodar as animações ao contrário) */
.totop { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 48; width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 40, 44, .9); box-shadow: inset 0 0 0 1px rgba(110, 198, 160, .35), 0 8px 24px rgba(0, 0, 0, .35); color: var(--mint); cursor: pointer; opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease), background-color .2s; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: #134047; }
.totop:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.totop svg { width: 20px; height: 20px; }
.veil { position: fixed; inset: 0; z-index: 49; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s; }
.veil.on { opacity: 1; pointer-events: auto; }
.pops { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.pop { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; color: #10181a; white-space: nowrap; transform-origin: 0 100%; }
.pop .ck { width: 28px; height: 28px; border-radius: 50%; background: #1f9d63; color: #fff; display: grid; place-items: center; flex: none; }
.pop .tx { display: grid; line-height: 1.15; }
.pop .tx b { font-size: 14px; font-weight: 600; }
.pop .tx span { font-size: 12px; color: #5c6b6d; font-variant-numeric: tabular-nums; }
.zoomcopy { position: absolute; right: var(--m); top: 50%; transform: translateY(-50%); z-index: 6; text-align: right; opacity: 0; }
.zoomcopy h2 { font-weight: 600; font-size: clamp(44px, 6vw, 104px); letter-spacing: -.045em; line-height: .92; margin-bottom: 16px; }
.zoomcopy p { color: var(--soft); font-size: 19px; max-width: 30ch; margin-left: auto; }

/* ---------- 2 · plateia (cena do celular) ---------- */
.plateia { height: 560vh; position: relative; }
.pl-stage { position: sticky; top: 0; z-index: 1; height: 100vh; overflow: hidden; display: grid; place-items: center; background: var(--bg); }
/* cores de fundo dos 3 momentos: camadas de cor sólida que só mudam de opacidade (sem repintar a tela) */
.pl-bg { position: absolute; inset: 0; opacity: 0; will-change: opacity; pointer-events: none; }
.pl-title { position: absolute; top: 13vh; left: 0; right: 0; text-align: center; font-weight: 600; font-size: clamp(48px, 7.4vw, 136px); letter-spacing: -.05em; line-height: .9; z-index: 1; }
.pl-phone { position: relative; z-index: 2; height: 84vh; aspect-ratio: 300 / 620; border-radius: 56px; background: #0b1214; padding: 14px; box-shadow: 0 0 0 2px #1f3337; }
.pl-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; background: #fff; color: #10181a; overflow: hidden; }
.pl-s { position: absolute; inset: 0; padding: 64px 24px 24px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.pl-s2, .pl-s3 { opacity: 0; }
.pl-s .muted { color: #5c6b6d; font-size: 15px; }
.pl-s .center { text-align: center; margin-top: 4px; }
.pl-s .big { font-weight: 700; font-size: 44px; letter-spacing: -.04em; line-height: 1; margin: 2px 0 8px; }
.pl-s .row { display: flex; justify-content: space-between; font-size: 15px; padding: 10px 0; border-bottom: 1px dashed #d5dbda; }
.pl-s .row span:first-child { color: #5c6b6d; }
.pl-s .ok { color: #1a7f52; font-weight: 600; }
.pl-ad { border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.pl-ad small { font-size: 12px; opacity: .8; }
.pl-ad b { font-weight: 700; font-size: 30px; line-height: .98; letter-spacing: -.035em; }
.pl-ad1 { margin-top: 10px; background: var(--teal); color: var(--teal-ink); }
.pl-ad2 { flex: 1; background: var(--teal-ink); color: #eaf7f6; justify-content: flex-end; }
.pl-ad2 b { font-size: 44px; }
.pl-cta { align-self: flex-start; margin-top: 10px; background: var(--teal); color: var(--teal-ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.pl-ad3 { margin-top: auto; background: var(--deep); color: #eaf7f6; }
.pl-btn { margin-top: auto; height: 54px; border-radius: 16px; background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: 600; }
.pl-prog { height: 6px; border-radius: 6px; background: #e3e9ea; overflow: hidden; }
.pl-prog i { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.pl-caps { position: absolute; left: var(--m); top: 50%; transform: translateY(-50%); width: min(30vw, 440px); height: 260px; z-index: 3; }
.pl-cap { position: absolute; inset: 0; opacity: 0; }
.pl-cap b { display: block; font-weight: 600; font-size: clamp(40px, 4.4vw, 80px); letter-spacing: -.045em; line-height: .92; margin-bottom: 18px; }
.pl-cap p { font-size: 19px; line-height: 1.5; max-width: 30ch; }
/* etapas da cena: discretas, no mesmo peso do fio de progresso do topo */
.pl-dots { position: absolute; right: var(--m); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 3; opacity: 0; }
.pl-dots i { width: 2px; height: 32px; border-radius: 1px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.pl-dots b { display: block; width: 100%; height: 100%; background: rgba(255, 255, 255, .55); transform: scaleY(0); transform-origin: top; }

/* ---------- 3 · teste ---------- */
.teste { padding: var(--sec) var(--m); }
.teste-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 40px; align-items: end; }
.teste-head p { font-size: 19px; line-height: 1.5; color: var(--soft); }
.typer { position: relative; margin-top: 72px; background: var(--panel); border-radius: 22px; padding: 28px 32px; }
.typer input { width: 100%; border: 0; background: transparent; outline: none; caret-color: transparent; font-weight: 600; font-size: clamp(34px, 5vw, 88px); letter-spacing: -.045em; line-height: 1.1; color: var(--ink); }
.caret { position: absolute; top: calc(28px + .14em); left: 32px; width: 4px; height: .9em; font-size: clamp(34px, 5vw, 88px); background: var(--teal); animation: blink 1.05s steps(1) infinite; transition: transform .12s var(--ease); }
@keyframes blink { 50% { opacity: 0; } }
.typer:focus-within { box-shadow: inset 0 0 0 2px var(--teal); }
.examples { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
/* imagem do anúncio: um envio por formato, com o tamanho escrito */
.ups { margin-top: 40px; }
.ups-h { font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.ups-h span { display: block; margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }
.ups-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.up { position: relative; }
.up-btn { display: grid; gap: 3px; padding: 16px 18px; border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.up-btn:hover { box-shadow: inset 0 0 0 1px var(--teal); }
.up-btn:focus-within { box-shadow: inset 0 0 0 2px var(--teal); }
.up-btn b { font-weight: 600; font-size: 15px; }
.up-btn b::before { content: "+ "; color: var(--teal); }
.up.on .up-btn b::before { content: "✓ "; color: var(--mint); }
.up-btn span { font-size: 14px; color: var(--soft); }
.up-btn strong { color: var(--ink); font-weight: 600; }
.up-btn em { font-style: normal; font-size: 12px; color: var(--muted); }
.up-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.up-x:hover { background: #1d3a3f; }
.up-msg { min-height: 1em; margin-top: 6px; font-size: 13px; color: var(--muted); }
.up-msg.warn { color: #e8b86a; }
/* anúncio com imagem: o bloco assume a proporção do formato e a imagem preenche (corta o que sobrar) */
.mini-s .ms-ad.has-img { background: var(--img) center / cover no-repeat, #e3e9ea; padding: 0; justify-content: flex-start; flex: none; position: relative; }
.ms-ad.has-img > :not(small) { display: none; }
.ms-ad.has-img small { position: absolute; left: calc(8 * var(--u)); top: calc(8 * var(--u)); padding: calc(3 * var(--u)) calc(7 * var(--u)); border-radius: calc(6 * var(--u)); background: rgba(6, 16, 18, .72); color: #fff; font-size: calc(10 * var(--u)); opacity: 1; }
.ms-ad.a1.has-img { aspect-ratio: 16 / 5; }
.ms-ad.a2.has-img { aspect-ratio: 2 / 3; margin-top: calc(4 * var(--u)); }
.ms-ad.a3.has-img { aspect-ratio: 6 / 5; }
.minis { margin-top: 56px; }
/* os 3 aparelhos juntos e centralizados (em tela larga, colunas cheias deixavam um vão grande entre eles) */
.minis-pin { --phw: calc(min(70vh, 640px) * 300 / 620); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: calc(var(--phw) * 3 + 120px); margin-inline: auto; }
.mini { display: flex; flex-direction: column; align-items: center; }
.mini-k { font-size: 14px; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
/* aparelho: mesma proporção do telefone da plateia (o voador pousa só encolhendo). Moldura e cantos vêm do JS,
   na mesma proporção da plateia; estes são só o ponto de partida */
.mini-ph { width: min(100%, calc(min(70vh, 640px) * 300 / 620)); aspect-ratio: 300 / 620; padding: 12px; border-radius: 44px; background: #0b1214; box-shadow: 0 0 0 2px #1f3337; transition: transform .35s var(--ease); }
.mini:hover .mini-ph { transform: translateY(-8px) rotate(-1deg); }
/* tela do aparelho: tudo dentro dela é medido em --u = 1px de um celular real (conteúdo de 288px = tela de 320px com 16px de margem),
   então as letras ficam na proporção de um celular de verdade em qualquer tamanho (antes eram tamanhos de cartão: ~30% maiores) */
.mini-s { container-type: inline-size; --u: calc(100cqw / 288); height: 100%; background: #fff; color: #10181a; border-radius: var(--sr, 34px); padding: 30px 16px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; overflow: hidden; }
.mini-s > * { font-size: calc(14 * var(--u)); }
.mini-s .ms-top { font-weight: 600; font-size: calc(15 * var(--u)); }
.ms-muted { color: #5c6b6d; }
.mini-s .ms-big { font-weight: 700; font-size: calc(34 * var(--u)); letter-spacing: -.035em; line-height: 1; }
.ms-row { display: flex; justify-content: space-between; gap: calc(12 * var(--u)); padding: calc(9 * var(--u)) 0; border-bottom: 1px dashed #d5dbda; }
.ms-row span:first-child { color: #5c6b6d; }
.ms-ok { color: #1a7f52; font-weight: 600; }
.ms-ad { border-radius: calc(16 * var(--u)); padding: calc(16 * var(--u)); display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.ms-ad small { font-size: calc(11 * var(--u)); opacity: .8; }
.ms-ad b { font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1.02; letter-spacing: -.03em; overflow-wrap: anywhere; transition: opacity .15s; }
.ms-ad.a1 { background: var(--deep); color: #eaf7f6; margin-top: calc(6 * var(--u)); }
.ms-ad.a2 { flex: 1; background: var(--teal); color: var(--teal-ink); justify-content: flex-end; }
.ms-ad.a2 b { font-size: calc(32 * var(--u)); }
.ms-ad.a3 { margin-top: auto; background: var(--mint); color: var(--mint-ink); }
.ms-cta { align-self: flex-start; margin-top: calc(6 * var(--u)); background: var(--teal-ink); color: #fff; padding: calc(8 * var(--u)) calc(14 * var(--u)); border-radius: calc(10 * var(--u)); font-weight: 600; font-size: calc(14 * var(--u)); }
.ms-cta.l { background: none; color: inherit; padding: 0; }
.ms-btn { margin-top: auto; height: calc(46 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: 600; }
.ms-prog { height: calc(6 * var(--u)); border-radius: calc(6 * var(--u)); background: #e3e9ea; overflow: hidden; }
.ms-prog i { display: block; height: 100%; background: var(--teal); transform-origin: left; animation: prog 2.6s cubic-bezier(.76, 0, .24, 1) infinite; }
@keyframes prog { 0% { transform: scaleX(0); } 80%, 100% { transform: scaleX(1); } }
.minis.typing [data-ad] { opacity: .55; }

/* ---------- 4 · como funciona ---------- */
.como { height: 420vh; position: relative; }
.como-stage { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 6vw; align-items: center; padding: 0 var(--m); }
.steps { list-style: none; padding: 0; margin-top: 48px; display: grid; gap: 6px; }
.step { padding: 18px 22px; border-radius: 16px; display: grid; gap: 4px; color: var(--muted); transition: background-color .4s, color .4s; }
.step b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.step span { font-size: 16px; }
.step.on { background: var(--panel); color: var(--ink); }
.step.on span { color: var(--soft); }
.step.done b { color: var(--mint); }
.builder { background: var(--panel); border-radius: 28px; padding: 26px; display: grid; gap: 14px; }
.bd-top { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.bd-status { margin-left: auto; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: var(--panel-2); color: var(--soft); transition: background-color .3s, color .3s; }
.bd-status.live { background: var(--mint); color: var(--mint-ink); }
.bd-block { background: var(--bg); border-radius: 18px; padding: 16px 18px; }
.bd-block small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.bd-acc-row { display: flex; gap: 12px; align-items: center; }
.bd-acc-row div { display: grid; }
.bd-acc-row span:not(.bd-avatar) { font-size: 13px; color: var(--muted); }
.bd-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--deep); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chip { font-size: 14px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); color: var(--muted); transition: background-color .3s, color .3s; }
.bd-chip.on { background: #0f3438; color: #fff; box-shadow: inset 0 0 0 1px var(--teal); }
.bd-qty-row { display: flex; align-items: baseline; gap: 8px; }
.bd-qty-row b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bd-qty-row span { color: var(--muted); }
.bd-track { height: 8px; border-radius: 8px; background: var(--panel-2); margin-top: 10px; overflow: hidden; }
.bd-track i { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.bd-chart { width: 100%; height: 90px; display: block; }
.bd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.bd-kpis b { display: block; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bd-kpis span { font-size: 12px; color: var(--muted); }

/* ---------- 5 · simulador ---------- */
.simulador { min-height: 100vh; background: var(--teal); color: var(--teal-ink); padding: var(--sec) var(--m) 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 80px; }
.sim-top { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 40px; align-items: end; }
.slider-head { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 8px; }
.slider-head output { font-weight: 700; font-variant-numeric: tabular-nums; }
.slider input { width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.slider input::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: rgba(3, 34, 39, .22); }
.slider input::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(3, 34, 39, .22); }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--teal-ink); transition: transform .14s var(--ease); }
.slider input::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--teal-ink); }
.slider input:active::-webkit-slider-thumb { transform: scale(1.2); }
.sim-bottom { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 40px; align-items: end; }
.figure { font-weight: 600; font-size: clamp(80px, 15vw, 280px); line-height: .82; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.figure .unit { display: block; font-size: clamp(20px, 2vw, 32px); letter-spacing: -.02em; margin-top: 14px; line-height: 1.2; }
.sim-note { font-size: 17px; line-height: 1.5; }

/* ---------- 6 · fila de comprovantes ---------- */
.rail { height: 380vh; position: relative; }
.rail-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6vh; }
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding: 0 var(--m); }
.rail-head p { color: var(--soft); font-size: 18px; max-width: 30ch; }
.rail-track { display: flex; gap: 24px; padding: 0 var(--m); width: max-content; will-change: transform; }
.card { width: 300px; height: 440px; flex: none; background: #fff; color: #10181a; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card .ct { font-weight: 600; font-size: 15px; }
.card .ok { color: #1a7f52; font-weight: 600; font-size: 14px; }
.card .val { font-weight: 700; font-size: 38px; letter-spacing: -.04em; line-height: 1; margin: 2px 0 6px; }
.card .ms-row { font-size: 14px; }
.card .ad { margin-top: auto; border-radius: 18px; padding: 16px; min-height: 160px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.card .ad small { font-size: 11px; opacity: .8; }
.card .ad b { font-weight: 700; font-size: 26px; line-height: .98; letter-spacing: -.035em; }
.card .fmt { font-size: 12px; color: #5c6b6d; }

/* ---------- 7 · perguntas ---------- */
.faq { padding: var(--sec) var(--m); display: grid; grid-template-columns: 1fr 1.2fr; gap: 6vw; align-items: start; }
.qs { display: grid; gap: 8px; }
.qs details { background: var(--panel); border-radius: 18px; padding: 22px 24px; transition: background-color .3s; }
.qs details[open] { background: var(--panel-2); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-size: 19px; font-weight: 500; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); position: relative; transition: transform .35s var(--ease), background-color .3s; }
.qs summary i::before, .qs summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.qs summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.qs details[open] summary i { background: var(--teal); transform: rotate(180deg); }
.qs details[open] summary i::after { transform: rotate(0); }
.qs details p { margin-top: 14px; color: var(--soft); font-size: 17px; line-height: 1.55; max-width: 56ch; }
.qs details[open] p { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 8 · contato ---------- */
.end { min-height: 100vh; background: var(--teal); color: var(--teal-ink); display: grid; place-content: center; text-align: center; padding: var(--sec) var(--m); }
.end h2 { font-weight: 600; font-size: clamp(56px, 10vw, 184px); letter-spacing: -.05em; line-height: .86; margin-bottom: 44px; }
.end-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* rodapé */
.foot { position: relative; overflow: hidden; padding: 96px var(--m) 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-claim { font-size: clamp(24px, 2.4vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; max-width: 18ch; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 10px; align-content: start; }
.foot ul a { text-decoration: none; color: var(--soft); transition: color .2s; }
.foot ul a:hover { color: var(--teal); }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; font-size: 13px; color: var(--muted); }
.foot-word { font-weight: 700; font-size: clamp(56px, 8vw, 140px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; margin: 56px 0 48px; display: flex; align-items: center; gap: .12em; color: #16353a; }
.mark.xl { width: .61em; height: .8em; }

/* ---------- telefone voador (seção 2 → 3) ---------- */
/* tamanho fixo, montado uma vez: o voo inteiro é só transform/opacity (nada de layout ou repintura por quadro) */
.fly { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; display: none; perspective: 1800px; transform-origin: 50% 50%; will-change: transform, opacity; }
.fly-card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.fly-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; will-change: transform; }
.fly-front { background: #0b1214; box-shadow: 0 0 0 2px #1f3337; }
.fly-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.fly-a, .fly-c { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.fly-a { background: #fff; overflow: hidden; }
.fly-a .pl-s { transition: none; }
.fly-c { margin: 0; transition: none; border-radius: 0; visibility: hidden; }
.fly-front { transform: translateZ(calc(var(--t, 0px) / 2)); }
.fly-back { transform: rotateY(180deg) translateZ(calc(var(--t, 0px) / 2)); container-type: size; background: radial-gradient(120% 60% at 20% 0%, #1b2d31 0%, transparent 60%), linear-gradient(115deg, #0d1719 0%, #152327 38%, #0b1416 39%, #0a1214 100%); box-shadow: inset 0 0 0 1.5px #2a4146, inset 0 0 0 4px #0b1214; color: #3d6268; }
/* módulo de câmera: ilha com três lentes e flash, como num telefone de verdade */
.fly-cam { position: absolute; top: 4cqw; left: 4cqw; width: 42cqw; height: 42cqw; border-radius: 12cqw; background: linear-gradient(145deg, #1d3034, #0e191c); box-shadow: inset 0 0 0 1px #34525a, 0 1cqw 3cqw rgba(0, 0, 0, .45); }
.fly-cam i { position: absolute; width: 15cqw; height: 15cqw; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #6fb9c4 0 6%, #16343b 14%, #050a0b 46%, #0c1416 64%); box-shadow: 0 0 0 1.6cqw #222f33, 0 0 0 2cqw #3a5156; }
.fly-cam i:nth-child(1) { top: 5.5cqw; left: 5.5cqw; }
.fly-cam i:nth-child(2) { top: 21.5cqw; left: 5.5cqw; }
.fly-cam i:nth-child(3) { top: 13.5cqw; left: 21.5cqw; }
.fly-cam em { position: absolute; top: 6.5cqw; right: 6.5cqw; width: 4.5cqw; height: 4.5cqw; border-radius: 50%; background: radial-gradient(circle, #fff6d8, #c9b98a 70%); }
.fly-logo { position: absolute; left: 0; right: 0; top: 56%; display: flex; flex-direction: column; align-items: center; gap: 3cqw; font-weight: 700; letter-spacing: -.02em; font-size: 6.5cqw; }
.fly-logo .mark { transform: scale(2); margin-bottom: 5cqw; opacity: .9; }
/* espessura: fatias da moldura de metal entre a frente e as costas */
.fly-edges { position: absolute; inset: 0; transform-style: preserve-3d; container-type: size; }
/* anéis vazados: só a borda tem pixels (o miolo transparente não ocupa memória de vídeo; a frente/costas cobrem o resto) */
.fly-edges i { position: absolute; inset: 0; border: 4cqw solid #2a4247; border-radius: inherit; will-change: transform; }
.fly-edges i:nth-child(odd) { border-color: #1b2c30; }
/* laterais: planos de 1px escalados pela espessura, girados 90° na borda (origem na própria borda) */
.fly-edges .side { position: absolute; background: linear-gradient(90deg, #1b2c30, #2f4a50 50%, #1b2c30); will-change: transform; }
.side-l, .side-r { top: var(--r); bottom: var(--r); width: 1px; transform-origin: 0 50%; }
.side-l { left: 0; } .side-r { left: 100%; }
.side-t, .side-b { left: var(--r); right: var(--r); height: 1px; transform-origin: 50% 0; background: linear-gradient(180deg, #1b2c30, #2f4a50 50%, #1b2c30); }
.side-t { top: 0; } .side-b { top: 100%; }

/* entradas */
.js [data-rv] { opacity: 0; transform: translateY(28px); }

/* tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .bar .btn { margin-left: auto; }
  .pl-caps { width: 34vw; }
}
/* celular */
@media (max-width: 760px) {
  /* o palco tem 100vh, mas a barra do navegador cobre o pé dele: o que fica embaixo é medido a partir da parte sempre
     visível (100vh - 100svh = o que a barra cobre). A 1ª linha de cada um é para navegadores sem svh */
  .copy { top: auto; bottom: calc(6vh + 46px + 48px); bottom: calc(100vh - 100svh + 128px); transform: none; width: auto; right: var(--m); }
  .hint { bottom: calc(44px + env(safe-area-inset-bottom, 0px)); }
  .sim { bottom: 3vh; bottom: calc(100vh - 100svh + 14px); }
  /* no dedo: deslizar para cima, seta para cima */
  .hint svg { transform: rotate(180deg); animation-name: hint-bob-up; }
  .copy p { display: none; }
  .chip { height: 40px; font-size: 13px; }
  .zoomcopy { top: 18vh; transform: none; }
  .bar.solid { background: var(--bg); } /* no celular ela fica sempre na tela: opaca, o texto não aparece por trás */
  .mapwrap { height: 340vh; } /* o ponto vira o telefone mais depressa que no computador */
  .pl-title { top: max(11vh, 104px); } /* abaixo do menu, que no celular fica sempre na tela (82px) */
  .pl-phone { height: 62vh; border-radius: 40px; padding: 10px; }
  .pl-screen { border-radius: 32px; }
  .pl-s { padding: 40px 14px 14px; gap: 5px; font-size: 12px; }
  .pl-s .big { font-size: 28px; }
  .pl-s .row, .pl-s .muted { font-size: 11px; padding: 6px 0; }
  .pl-ad { padding: 12px; border-radius: 14px; }
  .pl-ad b { font-size: 18px; }
  .pl-ad2 b { font-size: 26px; }
  .pl-btn { height: 38px; border-radius: 12px; }
  .pl-caps { left: var(--m); right: var(--m); top: auto; bottom: 3vh; transform: none; width: auto; height: 120px; text-align: center; }
  .pl-cap b { font-size: 32px; margin-bottom: 8px; }
  .pl-cap p { font-size: 15px; margin: 0 auto; }
  .pl-dots { display: none; }
  .teste-head, .sim-top, .sim-bottom, .faq, .foot-grid { grid-template-columns: 1fr; }
  .typer { padding: 20px; margin-top: 40px; }
  .ups-row { grid-template-columns: 1fr; }
  .caret { top: calc(20px + .14em); left: 20px; }
  /* aparelhos empilhados, menores, sem fileira de arrastar (o dedo rola a página) */
  .minis { margin-top: 40px; }
  .minis-pin { grid-template-columns: 1fr; gap: 36px; }
  .mini:hover .mini-ph { transform: none; }
  .mini-ph { width: min(88%, calc(72vh * 300 / 620)); }
  .como { height: 380vh; }
  .como-stage { grid-template-columns: 1fr; align-content: center; gap: 20px; }
  .como-left .h2 { font-size: 36px; }
  .steps { margin-top: 16px; }
  .step { display: none; padding: 12px 16px; }
  .step.on { display: grid; }
  .builder { padding: 16px; gap: 10px; }
  .bd-block { padding: 12px 14px; }
  .bd-chart { height: 60px; }
  .rail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .card { width: 250px; height: 380px; }
  .foot-legal { flex-direction: column; }
  .foot-word { font-size: 13vw; margin: 40px 0 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-rv] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
