/* Página de captação em cenas (v2). Cores e medidas vêm de tokens.css; aqui só o que é desta página.
   Regra de movimento: todo estado inicial "escondido" vive dentro de (prefers-reduced-motion: no-preference)
   e depende de .js-pronto, que só existe quando o script roda. Sem script ou com movimento reduzido,
   a página mostra os estados finais. */
:root {
  --topo-h: 68px; --larg: 1180px; --px: clamp(20px, 5vw, 72px);
  --breu: #061A2E;                 /* fundo do topo e do fecho, igual à capa da apresentação */
  --ato-a: #E7E9ED; --ato-b: #DEE1E7; --ato-cartao: #F3F4F6; --casa-parede: #BDC2CB; --casa-parede-2: #C9CDD5; --casa-telhado: #99A1AE; --casa-vao: #878F9D;   /* cenas do problema: papel frio, mais baixo que o resto */
  --virada: radial-gradient(85% 115% at 20% 46%, #FFF1C9 0%, #F5F8E8 44%, #FDFCFA 100%);
  --convite: radial-gradient(110% 80% at 82% 0%, color-mix(in srgb, var(--sol) 16%, var(--fundo)) 0%, var(--fundo) 62%);
}
:root[data-tema="escuro"] {
  --ato-a: #0F1826; --ato-b: #131D2C; --ato-cartao: #18232F; --casa-parede: #2A3545; --casa-parede-2: #313D4F; --casa-telhado: #3D495B; --casa-vao: #0A111B;
  --virada: radial-gradient(85% 115% at 20% 46%, #2D5A3A 0%, #1C3B2E 46%, #18212F 100%);
}
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-tema])) {
    --ato-a: #0F1826; --ato-b: #131D2C; --ato-cartao: #18232F; --casa-parede: #2A3545; --casa-parede-2: #313D4F; --casa-telhado: #3D495B; --casa-vao: #0A111B;
    --virada: radial-gradient(85% 115% at 20% 46%, #2D5A3A 0%, #1C3B2E 46%, #18212F 100%);
  }
}
/* Cenas com foto de fundo: escuras nos dois temas (mesmos valores do tema escuro de tokens.css). */
.noite {
  color-scheme: dark;
  --fundo: #18212F; --cartao: #212C3C; --sup-2: #293648; --sup-3: #324156; --borda: #344256; --borda-ctrl: #808B9B;
  --t1: #F1F4F8; --t2: #C6CEDA; --t3: #A3AEBD;
  --sol: #4ED46B; --sol-forte: #72DF89; --sobre-sol: #06270F; --sol-texto: #8CE5A0; --sol-suave: #1C3A29;
  --ruim: #F0907F; --foco: #8DB6E8;
  color: var(--t1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; background: var(--fundo); color: var(--t1); font: 400 17px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
em { font-style: normal; color: var(--sol-texto); }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.so-leitor, .pular:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular:focus { position: fixed; left: 12px; top: 12px; z-index: 60; padding: 12px 16px; background: var(--sol); color: var(--sobre-sol); border-radius: var(--raio-pilula); font-weight: 650; }
.sem-js { margin: 0; padding: 16px var(--px); font-size: 15px; color: var(--t2); }

/* ---------- cabeçalho ---------- */
.topo { position: absolute; inset: 0 0 auto 0; z-index: 30; height: var(--topo-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(14px, 3vw, 32px);
  background: color-mix(in srgb, var(--fundo) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--borda); transition: background .35s, border-color .35s; }
.js-pronto .topo { position: fixed; }
.no-topo .topo { background: linear-gradient(#061a2ed9, #061a2e00) border-box no-repeat; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.marca { display: flex; align-items: center; justify-content: center; flex: none; min-width: 44px; min-height: 44px; border-radius: 8px; }
.marca img { height: 30px; width: auto; }
.marca-clara, .marca-simbolo { display: none; }
[data-tema="claro"] body:not(.no-topo) .topo .marca-escura, [data-tema="claro"] .rodape .marca-escura { display: none; }
[data-tema="claro"] body:not(.no-topo) .topo .marca-clara, [data-tema="claro"] .rodape .marca-clara { display: block; }
.topo-acoes { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; }
.seletor { position: relative; display: flex; align-items: center; height: 44px; padding-left: 13px; border: 1px solid var(--borda-ctrl); border-radius: var(--raio-pilula); background: color-mix(in srgb, var(--cartao) 70%, transparent); color: var(--t1); transition: border-color .2s; }
.seletor:hover, .seletor:focus-within { border-color: var(--sol); }
.seletor svg { width: 18px; height: 18px; flex: none; color: var(--sol-texto); }
.seletor select { appearance: none; -webkit-appearance: none; height: 42px; margin: 0; padding: 0 34px 0 8px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a96a8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 16px; color: inherit; font: 600 15px "Inter", system-ui, sans-serif; cursor: pointer; border-radius: var(--raio-pilula); }
select option { color: #0A2540; background: #fff; }
.no-topo .seletor { border-color: #ffffff59; background: #0a254073; color: #fff; }
.no-topo .seletor svg { color: #8CE5A0; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 20px; border: 1px solid var(--borda-ctrl); border-radius: var(--raio-pilula); background: transparent; color: var(--t1); font: 650 15px "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--curva-saida), background .2s, border-color .2s; }
.botao:hover { border-color: var(--sol); transform: translateY(-1px); }
.botao:active { transform: translateY(0) scale(.98); }
.botao.principal { background: var(--sol); border-color: var(--sol); color: var(--sobre-sol); }
.botao.principal:hover { background: var(--sol-forte); border-color: var(--sol-forte); }
.botao.grande { min-height: 58px; padding: 0 26px; font-size: 17px; }
.botao svg { width: 20px; height: 20px; flex: none; }
.curto { display: none; }
.trilho { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; pointer-events: none; }
#progresso { display: block; height: 100%; background: var(--sol); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- índice lateral ---------- */
.indice { position: fixed; z-index: 20; right: clamp(8px, 1.3vw, 22px); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; color: var(--t2); }
.js-pronto .indice { display: flex; }
.indice a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 24px; padding: 0 6px; text-decoration: none; border-radius: var(--raio-pilula); }
.indice i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .42; transition: transform .25s var(--curva-saida), opacity .25s, background .25s; }
.indice a:hover i { opacity: 1; transform: scale(1.3); }
.indice a[aria-current] i { background: var(--sol); opacity: 1; transform: scale(1.55); }
.indice span { opacity: 0; transform: translateX(6px); transition: opacity .18s, transform .18s; white-space: nowrap; padding: 5px 12px; border-radius: var(--raio-pilula); background: var(--cartao); border: 1px solid var(--borda); color: var(--t1); font-size: 13px; font-weight: 600; pointer-events: none; box-shadow: var(--sombra-cartao); }
.indice a:hover span, .indice a:focus-visible span { opacity: 1; transform: none; }
.indice.sobre-noite { color: #fff; }
.indice.sobre-noite a[aria-current] i { background: #4ED46B; }

/* ---------- cenas: base ---------- */
.cena { position: relative; display: flex; align-items: center; min-height: 92svh; padding: clamp(100px, 12vh, 132px) var(--px) clamp(84px, 12vh, 132px); overflow: hidden; overflow: clip; }
.miolo { position: relative; z-index: 2; width: 100%; max-width: var(--larg); margin: 0 auto; }
.dois { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.dois.foto-dir { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.dois.foto-dir.estreita { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.texto > * + * { margin-top: 24px; }
h1, h2 { margin: 0; font-family: "Inter", system-ui, sans-serif; font-weight: 750; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; color: var(--t1); font-size: clamp(30px, 4.4vw, 64px); }
h2.longo { font-size: clamp(27px, 3.25vw, 46px); line-height: 1.08; letter-spacing: -.026em; }
.etiqueta { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-texto); }
.etiqueta::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.apoio { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--t2); max-width: 46ch; text-wrap: pretty; }
.apoio [data-m], .apoio b { color: var(--t1); font-weight: 650; white-space: nowrap; }
[data-m], [data-conta] { font-variant-numeric: tabular-nums; }
h2 [data-m] { white-space: nowrap; }

.ato { background: var(--ato-a); --cartao: var(--ato-cartao); --t3: #525D6E; --borda: #CDD2DA; --sup-3: #D2D6DD; }
.ato.alt { background: var(--ato-b); }
[data-tema="escuro"] .ato { --t3: #95A0B0; --borda: #2A3648; --sup-3: #263245; }
@media (prefers-color-scheme: dark) { :root:where(:not([data-tema])) .ato { --t3: #95A0B0; --borda: #2A3648; --sup-3: #263245; } }

/* molduras de foto */
.moldura { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--sombra-destaque); background: var(--sup-3); }
.moldura.larga { aspect-ratio: 5 / 3.2; }
.moldura.alta { aspect-ratio: 4 / 4.9; }
.moldura.quadrada { aspect-ratio: 1 / 1.04; }
.moldura img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; max-width: none; object-fit: cover; object-position: var(--foco, 50% 50%); will-change: transform; }
.moldura figcaption, .ilustrativa { font-size: 12px; line-height: 1.3; }
.moldura figcaption { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; border-radius: var(--raio-pilula); background: #06182acc; color: #e6edf5; }
.ilustrativa { position: absolute; z-index: 2; right: clamp(16px, 3vw, 32px); bottom: 16px; padding: 4px 10px; border-radius: var(--raio-pilula); background: #06182a99; color: #e6edf5; }

/* ---------- cena 1: a pergunta ---------- */
.capa { min-height: 100vh; min-height: 100svh; align-items: flex-end; padding-top: calc(var(--topo-h) + 40px); padding-bottom: clamp(56px, 9vh, 92px); background: var(--breu); }
.fundo { position: absolute; inset: 0; overflow: hidden; }
.capa .fundo { inset: -6% 0 -6% 0; }
.capa .fundo picture, .capa .fundo img, .capa .fundo video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 64% 50%; }
.capa .fundo video { opacity: 0; transition: opacity 1.4s ease; }
.capa .fundo video.tocando { opacity: 1; }
.capa::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #061a2ef2 0%, #061a2ed1 30%, #061a2e66 56%, #061a2e00 80%), linear-gradient(0deg, #061a2eeb 0%, #061a2e00 44%), linear-gradient(180deg, #061a2e8c 0%, #061a2e00 22%); }
.capa h1 { font-size: clamp(33px, 5vw, 72px); max-width: 17ch; color: #fff; }
.capa em, .capa .etiqueta { color: #8CE5A0; }
.capa .miolo > * + * { margin-top: 24px; }
.capa .apoio { color: #D9E1EC; max-width: 40ch; }
.descer { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; margin-top: 30px !important; padding-right: 8px; color: #fff; font-size: 17px; font-weight: 650; text-decoration: none; border-radius: var(--raio-pilula); }
.descer i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #ffffff73; background: #0a254066; transition: background .25s, border-color .25s, color .25s, transform .35s var(--curva-saida); }
.descer svg { width: 22px; height: 22px; }
.descer:hover i { background: #4ED46B; border-color: #4ED46B; color: #06270F; transform: translateY(4px); }

/* ---------- cena 2: a rua de vinte casas ---------- */
#cena-2 h2 { max-width: 15ch; }
.rua20 { position: relative; margin: clamp(36px, 7vh, 68px) min(0px, calc((100% - min(1400px, 100vw - 112px)) / 2)) clamp(30px, 5vh, 52px); }
.rua20::after { content: ""; display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--casa-telhado) 8%, var(--casa-telhado) 92%, transparent); }
.rua20-casas { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: clamp(3px, .6vw, 10px); align-items: end; padding: 0 2%; }
.casa { position: relative; display: block; aspect-ratio: 10 / 11; --parede: var(--casa-parede); --telhado: var(--casa-telhado); --vao: var(--casa-vao); --luz: #FFC766;
  background:
    linear-gradient(var(--vao), var(--vao)) 50% 100% / 19% 31% no-repeat,
    linear-gradient(var(--vao), var(--vao)) 21% 63% / 17% 15% no-repeat,
    linear-gradient(var(--vao), var(--vao)) 79% 63% / 17% 15% no-repeat,
    linear-gradient(var(--parede), var(--parede)) 50% 100% / 82% 57% no-repeat; }
.casa::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 46%; background: var(--telhado); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.casa::after { content: ""; position: absolute; inset: 0; opacity: 0;
  background:
    linear-gradient(var(--luz), var(--luz)) 21% 63% / 17% 15% no-repeat,
    linear-gradient(var(--luz), var(--luz)) 79% 63% / 17% 15% no-repeat; }
.casa.acesa { aspect-ratio: 10 / 11.6 !important; --parede: color-mix(in srgb, var(--sol) 58%, var(--ato-a)); --telhado: var(--sol); --vao: color-mix(in srgb, var(--sol) 70%, #06270F); --luz: #FFF2B8; filter: drop-shadow(0 0 clamp(8px, 1.2vw, 18px) rgb(60 203 90 / .6)); z-index: 1; }
.casa.acesa::after { opacity: 1; }
.casa:nth-child(even) { --parede: var(--casa-parede-2); }
.casa:nth-child(3n) { aspect-ratio: 10 / 12.4; }
.casa:nth-child(4n+1) { aspect-ratio: 10 / 10; }
.casa.acesa s { position: absolute; z-index: 1; left: 34%; top: 20%; width: 32%; height: 17%; border-radius: 1px; background: linear-gradient(90deg, #0A2540 46%, #9fc3ee 46% 54%, #0A2540 54%); box-shadow: 0 0 0 1px #d8f7df; }
.rua20-texto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5.5vw, 88px); align-items: start; }
.linha-cidade { font-size: clamp(23px, 2.5vw, 34px); font-weight: 720; letter-spacing: -.025em; line-height: 1.22; color: var(--t1); }
.linha-cidade b { font-weight: inherit; color: var(--sol-texto); white-space: nowrap; font-variant-numeric: tabular-nums; }
.linha-cidade small { display: block; margin-top: 12px; font-size: 13px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: var(--t3); }
.cidade-frase { display: inline-block; }
.cidade-frase select { appearance: none; -webkit-appearance: none; min-height: 44px; margin: 0; padding: 0 30px 0 2px; border: 0; border-bottom: 2px solid var(--sol); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FB14B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center / 20px; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }

/* ---------- cena 3: o que não é ---------- */
.suspeitos { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.suspeitos li { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 24px 24px 28px; border-radius: 22px; background: var(--cartao); border: 1px solid var(--borda); overflow: hidden; }
.susp-icone { position: relative; display: grid; place-items: center; width: 68px; height: 68px; flex: none; border-radius: 50%; background: var(--sup-3); color: var(--t1); }
.susp-icone svg { width: 34px; height: 34px; stroke-width: 1.8; opacity: .78; }
.suspeitos p { font-size: 19px; line-height: 1.34; font-weight: 600; letter-spacing: -.01em; color: var(--t1); text-wrap: pretty; }
.risco { position: absolute; left: 50%; top: 50%; width: 92px; height: 3px; margin: -1.5px 0 0 -46px; border-radius: 3px; background: var(--ruim); box-shadow: 0 0 0 2px var(--sup-3); transform: rotate(-45deg); }
.fecho-cena { margin-top: clamp(40px, 7vh, 72px); }
.fecho-cena em, #t9 em, #t4 em { display: block; }

/* ---------- cena 4: por trás da placa ---------- */
.trinca { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.trinca li { padding: 2px clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--borda); }
.trinca li:first-child { padding-left: 0; border-left: 0; }
.trinca b { display: block; font-size: clamp(21px, 2vw, 28px); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; color: var(--t1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trinca span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--t2); }
.fecho-linha { padding-top: 22px; border-top: 1px solid var(--borda); font-size: clamp(19px, 1.6vw, 23px); font-weight: 650; letter-spacing: -.015em; line-height: 1.35; color: var(--t1); max-width: 34ch; text-wrap: pretty; }

/* ---------- cena 5: o elo ---------- */
.elo { background: #0B0F17; }
.elo .fundo img { position: absolute; right: -4%; top: 0; width: 76%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
.elo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #0b0f17 0%, #0b0f17eb 30%, #0b0f1700 68%), linear-gradient(0deg, #0b0f17b3 0%, #0b0f1700 30%); }
.elo .texto { max-width: 580px; }
.elo h2 { font-size: clamp(30px, 3.7vw, 54px); }
.dez { display: grid; gap: 14px; max-width: 500px; padding: 20px 22px; border-radius: 20px; background: #ffffff0f; border: 1px solid #ffffff24; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dez-pontos { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); }
.dez-pontos i { aspect-ratio: 1; border-radius: 50%; background: #ffffff29; }
.dez-pontos .fica { background: var(--sol); }
.dez-pontos .sai { background: transparent; box-shadow: inset 0 0 0 2px var(--sol); }
.dez p { font-size: 16px; line-height: 1.45; color: var(--t2); }
.dez p b { color: var(--t1); }
.linha-fila { max-width: 44ch; padding-left: 16px; border-left: 3px solid var(--sol); font-size: 16px; line-height: 1.5; color: var(--t2); }

/* ---------- cena 6: quando algo sai do roteiro ---------- */
.destaque { max-width: 46ch; padding: 20px 24px; border-radius: 20px; background: var(--cartao); border: 1px solid var(--borda); border-left: 4px solid var(--ruim); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.48; color: var(--t1); text-wrap: pretty; }
.destaque b { color: var(--ruim); white-space: nowrap; }

/* ---------- cena 7: a virada ---------- */
.virada { background: var(--virada); }
#t7 { font-size: clamp(30px, 3.7vw, 56px); }
#t7 span, #t7 em { display: block; }
.duelo { display: grid; gap: 14px; max-width: 540px; padding: 20px 22px; border-radius: 22px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra-cartao); }
.duelo-linha { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: baseline; }
.duelo-linha > span { font-size: 15px; line-height: 1.3; color: var(--t2); }
.duelo-linha b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 750; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.duelo-linha i { grid-column: 1 / -1; height: 14px; width: var(--w, 100%); border-radius: 7px; background: var(--sol); transform-origin: 0 50%; }
.duelo-linha.par i { background: var(--dado-instalado); }
.duelo-saldo { padding: 13px 16px; border-radius: var(--raio-m); background: var(--sol-suave); font-size: 17px; font-weight: 600; color: var(--t1); }
.duelo-saldo b { color: var(--sol-texto); font-size: 21px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.duelo-saldo small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--t2); }

/* ---------- cena 8: por que pagam ---------- */
.prova { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; max-width: 620px; padding: 18px 22px; border-radius: 22px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra-cartao); }
.prova > p { font-size: 16px; line-height: 1.48; color: var(--t2); }
.prova > p b { color: var(--t1); }
.anel { position: relative; width: 116px; height: 116px; flex: none; }
.anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anel .seg { stroke: var(--sol); stroke-width: 9; stroke-linecap: butt; }
.anel .seg.fora { stroke: var(--sup-3); }
.anel p { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.anel p b { font-size: 34px; font-weight: 750; letter-spacing: -.04em; color: var(--t1); font-variant-numeric: tabular-nums; }
.anel p span { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--t3); }

/* ---------- cena 9: na contramão ---------- */
.cena.alt:not(.ato) { background: color-mix(in srgb, var(--cartao) 55%, var(--fundo)); }
.contramao { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.versus { width: 100%; margin-top: 14px; border-collapse: separate; border-spacing: 0 8px; table-layout: fixed; }
.versus th { padding: 0 18px 4px; text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--t3); }
.versus th:last-child { color: var(--sol-texto); padding-left: 46px; }
.versus td { padding: 14px 18px; font-size: 16px; line-height: 1.32; vertical-align: middle; }
.versus td:first-child { border-radius: 14px 0 0 14px; background: var(--sup-2); color: var(--t2); text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--ruim) 75%, transparent); }
.versus td:last-child { padding-left: 46px; border-radius: 0 14px 14px 0; background: var(--sol-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FB14B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500'/%3E%3C/svg%3E") no-repeat 16px center / 20px; color: var(--t1); font-weight: 650; }

/* ---------- cena 10: o convite ---------- */
.convite { background: var(--convite); }
.convite .miolo { display: block; }
.convite-grade { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px !important; }
.dados-link { margin-top: 10px !important; }
.dados-link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--t2); text-decoration: underline; text-decoration-color: var(--borda-ctrl); text-underline-offset: 5px; }
.dados-link a:hover { color: var(--sol-texto); text-decoration-color: currentColor; }
.cresce { padding: clamp(18px, 2.2vw, 28px); border-radius: 28px; background: var(--cartao); border: 1px solid var(--borda); box-shadow: var(--sombra-cartao); }
.cresce-rua { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: clamp(3px, .42vw, 6px); }
.cresce-rua i { aspect-ratio: 1; background: var(--sol); clip-path: polygon(50% 2%, 100% 44%, 100% 100%, 0 100%, 0 44%); }
.cresce-rua i.nova { background: color-mix(in srgb, var(--sol) 46%, var(--cartao)); }
.cresce-rua:empty { display: none; }
.marcos { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--borda); display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; }
.cresce-rua:empty + .marcos { margin-top: 0; padding-top: 0; border-top: 0; }
.marcos li { padding: 0 0 0 clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--borda); }
.marcos li:first-child { padding-left: 0; border-left: 0; }
.marcos b { display: block; font-size: clamp(19px, 1.65vw, 25px); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; color: var(--t1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.marcos li:last-child b { color: var(--sol-texto); }
.marcos li > span { display: block; margin-top: 5px; font-size: 14px; color: var(--t2); }
.cresce-nota { margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--t3); }
.assina { margin-top: clamp(40px, 7vh, 72px); padding-top: 26px; border-top: 1px solid var(--borda); }
.assina > * + * { margin-top: 12px; }
.assinatura { font-size: 16px; color: var(--t2); }
.assinatura b { color: var(--t1); }
.legal { max-width: 92ch; font-size: 14px; line-height: 1.55; color: var(--t2); }
.fundador-video { margin: 0 0 24px; max-width: 560px; }
.fundador-video figcaption { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-texto); }
.fundador-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; background: #000; box-shadow: var(--sombra-destaque); }

/* ---------- fecho e rodapé ---------- */
.faixa-final { position: relative; padding: clamp(88px, 16vh, 168px) var(--px); background: radial-gradient(90% 120% at 85% 110%, #12452b 0%, #061A2E 58%); }
.faixa-final .pergunta { max-width: 36ch; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; color: var(--t2); }
.faixa-final .resposta { margin-top: 20px; max-width: 19ch; font-size: clamp(30px, 4.6vw, 68px); font-weight: 750; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; color: #fff; }
.rodape { padding: 26px var(--px); border-top: 1px solid var(--borda); background: var(--fundo); }
.rodape .miolo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.rodape .marca img { height: 26px; }
.rodape small { margin-right: auto; font-size: 13px; color: var(--t3); }
.cta-fixo { display: none !important; } /* botão fixo do rodapé retirado a pedido do dono (28/11/2026): o cabeçalho fixo já tem "Apresentação" */

/* ---------- movimento (só com script e sem preferência por menos movimento) ---------- */
@keyframes zoom-lento { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes sobe { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tenta { 0% { opacity: 0; } 22% { opacity: .95; } 38% { opacity: .1; } 58% { opacity: .75; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .capa .fundo img { animation: zoom-lento 26s cubic-bezier(.2, .6, .2, 1) both; }
  .capa .miolo > * { animation: sobe .95s var(--curva-saida) both; }
  .capa .miolo > :nth-child(2) { animation-delay: .1s; } .capa .miolo > :nth-child(3) { animation-delay: .22s; } .capa .miolo > :nth-child(4) { animation-delay: .34s; }

  .js-pronto [data-entra] > * { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--curva-saida), transform .75s var(--curva-saida); }
  .js-pronto [data-entra].entrou > * { opacity: 1; transform: none; }
  .js-pronto [data-entra].entrou > :nth-child(2) { transition-delay: .08s; } .js-pronto [data-entra].entrou > :nth-child(3) { transition-delay: .16s; }
  .js-pronto [data-entra].entrou > :nth-child(4) { transition-delay: .24s; } .js-pronto [data-entra].entrou > :nth-child(5) { transition-delay: .32s; }
  .js-pronto [data-entra].entrou > :nth-child(6) { transition-delay: .4s; }

  .js-pronto .rua20.entrou .casa:not(.acesa)::after { animation: tenta .78s calc(var(--i) * 17ms + .25s) both; }
  .js-pronto .rua20 .casa.acesa { transition: filter .8s .2s; }
  .js-pronto .rua20:not(.entrou) .casa.acesa { filter: drop-shadow(0 0 0 rgb(60 203 90 / 0)); }

  .js-pronto .suspeitos .risco { clip-path: inset(-4px); transition: clip-path .42s cubic-bezier(.6, 0, .2, 1) calc(var(--i) * .15s + .35s); }
  .js-pronto .suspeitos:not(.entrou) .risco { clip-path: inset(-4px 100% -4px -4px); }
  .js-pronto .suspeitos .susp-icone svg { transition: opacity .4s calc(var(--i) * .15s + .55s); }
  .js-pronto .suspeitos:not(.entrou) .susp-icone svg { opacity: 1; }

  .js-pronto .dez-pontos .sai { transition: background .55s calc(var(--i) * .12s + .25s); }
  .js-pronto .dez:not(.entrou) .dez-pontos .sai { background: var(--sol); }

  .js-pronto .duelo-linha i { transition: transform .95s var(--curva-saida) .15s; }
  .js-pronto .duelo-linha.par i { transition-delay: .3s; }
  .js-pronto .duelo:not(.entrou) .duelo-linha i { transform: scaleX(0); }

  .js-pronto .anel .seg { transition: stroke .3s calc(var(--i) * 36ms + .15s); }
  .js-pronto .prova:not(.entrou) .anel .seg { stroke: var(--sup-3); }

  .js-pronto .versus td { transition: opacity .55s var(--curva-saida) calc(var(--i) * 90ms + .1s), transform .55s var(--curva-saida) calc(var(--i) * 90ms + .1s); }
  .js-pronto .versus td:last-child { transition-delay: calc(var(--i) * 90ms + .22s); }
  .js-pronto .versus:not(.entrou) td { opacity: 0; transform: translateY(14px); }

  .js-pronto .cresce-rua i.nova { transition: opacity .4s var(--d, 0s), transform .4s var(--curva-saida) var(--d, 0s); }
  .js-pronto .cresce-rua:not(.entrou) i.nova { opacity: 0; transform: scale(.5); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- telas largas e baixas (notebook) ---------- */
@media (min-width: 961px) and (max-height: 800px) {
  .cena { padding-top: clamp(100px, 14.5vh, 112px); padding-bottom: clamp(56px, 9vh, 80px); }
  .capa { padding-bottom: 52px; }
  .capa h1 { font-size: clamp(33px, 4.5vw, 64px); }
  h2.longo { font-size: clamp(27px, 2.9vw, 42px); }
  .texto > * + * { margin-top: 20px; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) { .js-pronto .indice { display: none; } }
@media (max-width: 960px) {
  .cena { min-height: 0; padding: 96px var(--px) 76px; }
  .capa { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--topo-h) + 32px); }
  .dois, .dois.foto-dir, .dois.foto-dir.estreita, .contramao, .convite-grade { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foto-dir .lado-foto { order: -1; }
  .moldura.larga, .moldura.alta, .moldura.quadrada { aspect-ratio: 3 / 2; }
  .moldura img { top: 0; height: 100%; }
  .suspeitos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .elo { display: block; padding-top: 0; }
  .elo .fundo { position: relative; inset: auto; height: clamp(220px, 52vw, 420px); margin: 0 calc(var(--px) * -1) 8px; }
  .elo .fundo img { right: 0; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .elo::after { display: none; }
  .elo .ilustrativa { top: calc(var(--topo-h) + 12px); bottom: auto; }
  .elo .texto { max-width: none; }
  .versus th:last-child, .versus td:last-child { padding-left: 42px; }
}

/* ---------- celular ---------- */
@media (max-width: 720px) {
  :root { --topo-h: 60px; }
  body { font-size: 16px; }
  .topo { gap: 8px; }
  .topo-acoes { gap: 8px; }
  .topo .marca-escura, .topo .marca-clara { display: none !important; }
  .topo .marca-simbolo { display: block; height: 38px; border-radius: 10px; }
  .seletor select { max-width: 31vw; font-size: 14px; padding-right: 28px; background-position: right 9px center; text-overflow: ellipsis; }
  #topo-cta { padding: 0 15px; font-size: 14px; }
  #topo-cta .largo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #topo-cta .curto { display: inline; }
  .cena { padding: 88px var(--px) 64px; }
  .capa { padding-top: calc(var(--topo-h) + 24px); padding-bottom: 60px; }
  .capa .fundo { inset: 0; }
  .capa .fundo picture, .capa .fundo img, .capa .fundo video { object-position: 58% 0%; }
  .capa::after { background: linear-gradient(0deg, #061a2efa 0%, #061a2ef0 40%, #061a2e8c 62%, #061a2e26 82%, #061a2e73 100%); }
  .capa .ilustrativa { bottom: 12px; }
  .capa .miolo > * + * { margin-top: 18px; }
  .descer { margin-top: 22px !important; }
  .texto > * + * { margin-top: 20px; }
  .moldura { border-radius: 22px; }
  .rua20 { margin: 32px 0 28px; }
  .rua20-casas { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 16px 5px; padding: 0; }
  .rua20-texto { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .suspeitos { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
  .suspeitos li { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 84px; padding: 16px 18px; flex-direction: row; border-radius: 18px; }
  .susp-icone { width: 52px; height: 52px; }
  .susp-icone svg { width: 28px; height: 28px; }
  .risco { width: 70px; margin-left: -35px; }
  .suspeitos p { font-size: 17px; }
  .trinca { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .trinca li, .trinca li:first-child { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-left: 0; border-top: 1px solid var(--borda); }
  .trinca b { min-width: 5.2em; }
  .trinca span { margin: 0; font-size: 15px; }
  .dez { padding: 16px 18px; }
  .prova { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
  .anel { width: 104px; height: 104px; }
  .versus { border-spacing: 0 6px; }
  .versus th { padding: 0 12px 2px; font-size: 12px; letter-spacing: .06em; }
  .versus td { padding: 12px; font-size: 15px; }
  .versus th:last-child { padding-left: 12px; }
  .versus td:last-child { padding-left: 12px; background-image: none; }
  .acoes { flex-direction: column; }
  .acoes .botao { width: 100%; white-space: normal; text-align: center; padding: 10px 20px; }
  .marcos { grid-template-columns: minmax(0, 1fr); padding-top: 6px; }
  .marcos li, .marcos li:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-left: 0; border-top: 1px solid var(--borda); }
  .marcos li:first-child { border-top: 0; }
  .marcos b { font-size: 22px; }
  .marcos li > span { margin: 0; font-size: 15px; }
  .rodape { padding-bottom: 32px; }
  .rodape small { margin-right: 0; flex-basis: 100%; order: 3; }
}
@media (max-width: 359px) {
  .seletor svg { display: none; }
  .seletor { padding-left: 6px; }
  .versus td { font-size: 14px; padding: 10px; }
}
