/* BANDIT OS · página de venda v2 ("Site Vivo").
   Mesmo mundo do produto: azul-marinho, energia ciano, Rajdhani + Share Tech Mono.
   As cores do acento mudam com o modo (normal / combate / festa) em html[data-modo]. */

@property --ciano { syntax: '<color>'; inherits: true; initial-value: #5fd4ff; }
@property --ciano-forte { syntax: '<color>'; inherits: true; initial-value: #a8f2ff; }
@property --fundo { syntax: '<color>'; inherits: true; initial-value: #020814; }
@property --fundo-luz { syntax: '<color>'; inherits: true; initial-value: rgba(14, 60, 150, .45); }

:root {
  --ciano: #5fd4ff;
  --ciano-forte: #a8f2ff;
  --ciano-rgb: 95, 212, 255;
  --fundo: #020814;
  --fundo-luz: rgba(14, 60, 150, .45);
  --vidro: color-mix(in srgb, var(--fundo) 62%, rgba(20, 60, 120, .5));
  --borda: color-mix(in srgb, var(--ciano) 30%, transparent);
  --borda-forte: color-mix(in srgb, var(--ciano) 62%, transparent);
  --texto: #eaf6ff;
  --texto-2: #b9d0e4;
  --apagado: #86a2be;
  --verde: #7dffb2;
  --ambar: #ffd27a;
  --ui: 'Rajdhani', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Share Tech Mono', ui-monospace, Consolas, monospace;
  --lado: 16px;
  --raio: 16px;
  --saida: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
  transition: --ciano .7s, --ciano-forte .7s, --fundo .9s, --fundo-luz .9s;
}
@media (min-width: 720px) { :root { --lado: 32px; } }
@media (min-width: 1100px) { :root { --lado: 64px; } }

html[data-modo="combate"] {
  --ciano: #ff4766; --ciano-forte: #ffc2cc; --ciano-rgb: 255, 71, 102;
  --fundo: #120208; --fundo-luz: rgba(170, 12, 40, .5);
}
html[data-modo="festa"] {
  --ciano-rgb: 255, 92, 230; --fundo: #0b0320;
  animation: festa 5s linear infinite;
}
@keyframes festa {
  0%, 100% { --ciano: #ff5ce6; --ciano-forte: #ffc9f6; --fundo-luz: rgba(170, 30, 160, .5); }
  25% { --ciano: #ffd23f; --ciano-forte: #fff0b8; --fundo-luz: rgba(160, 110, 10, .42); }
  50% { --ciano: #3dff9e; --ciano-forte: #c4ffe0; --fundo-luz: rgba(10, 140, 80, .42); }
  75% { --ciano: #6aa8ff; --ciano-forte: #cfe2ff; --fundo-luz: rgba(40, 60, 190, .5); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: color-mix(in srgb, var(--ciano) 45%, #0b1a33) var(--fundo); accent-color: var(--ciano); caret-color: var(--ciano); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 500 18px/1.45 var(--ui); overflow-x: clip;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
img, canvas, video, svg { display: block; max-width: 100%; }
a { color: var(--ciano-forte); text-underline-offset: 4px; }
b { font-weight: 700; color: var(--texto); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.02; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
q { quotes: '“' '”'; }
::selection { background: color-mix(in srgb, var(--ciano) 40%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--ciano-forte); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 120; padding: 10px 14px; background: var(--ciano); color: #001222; font-weight: 700; border-radius: 8px; text-decoration: none; }
.pular:focus { top: 12px; }

/* ---------- palco 3D + atmosfera ---------- */
#palco3d, #orbe2d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.atmosfera > i { position: fixed; inset: 0; pointer-events: none; }
.vinheta { z-index: 0; background: radial-gradient(ellipse 80% 60% at 70% 40%, var(--fundo-luz), transparent 70%), radial-gradient(ellipse 120% 80% at 50% 120%, color-mix(in srgb, var(--fundo-luz) 50%, transparent), transparent 60%); }
@media (max-width: 899px) { .vinheta { background: radial-gradient(ellipse 120% 55% at 50% 22%, var(--fundo-luz), transparent 70%); } }
.grao { z-index: 90; overflow: hidden; opacity: .07; mix-blend-mode: overlay; }
.grao::before { content: ''; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grao .9s steps(4) infinite; }
@keyframes grao { 0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); } 50% { transform: translate(5%, -7%); } 75% { transform: translate(-3%, 8%); } }
.linhas { z-index: 89; opacity: .22; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .55) 0 1px, transparent 1px 3px); }

main, .hero, .rodape, .faixa { position: relative; z-index: 2; }

/* cursor: luz que segue o mouse (só com mouse) */
.cursor-luz { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-luz { display: block; position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--ciano) 16%, transparent), transparent 62%); mix-blend-mode: screen; opacity: 0; transition: opacity .4s; will-change: transform; }
  .cursor-luz i { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ciano) 70%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--ciano) 50%, transparent); transition: transform .25s var(--saida); }
  .cursor-luz.ligada { opacity: 1; }
  .cursor-luz.em-botao i { transform: scale(1.9); }
}

/* onda de choque do disparo (tela inteira) */
.onda { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; --ox: 50%; --oy: 40%; }
.onda i { position: absolute; left: var(--ox); top: var(--oy); width: 120px; height: 120px; margin: -60px; border-radius: 50%; opacity: 0;
  border: 3px solid var(--ciano-forte); box-shadow: 0 0 40px var(--ciano), inset 0 0 30px var(--ciano); }
.onda b { position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at var(--ox) var(--oy), rgba(255, 255, 255, .85), color-mix(in srgb, var(--ciano) 40%, transparent) 30%, transparent 65%); }
.onda.ativa i { animation: anel 1.1s var(--saida) forwards; }
.onda.ativa i + i { animation-delay: .12s; animation-duration: 1.4s; }
.onda.ativa b { animation: clarao .7s ease-out forwards; }
@keyframes anel { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(18); border-width: 1px; } }
@keyframes clarao { 0% { opacity: .9; } 100% { opacity: 0; } }
body.tremer main, body.tremer .hero { animation: tremer .45s linear; }
@keyframes tremer { 10%, 50%, 90% { transform: translate(-3px, 1px); } 30%, 70% { transform: translate(3px, -2px); } }

/* ---------- abertura (boot) ---------- */
.boot { display: none; }
.com-boot .boot { display: grid; place-items: center; position: fixed; inset: 0; z-index: 110; background: #01040b; padding: 24px;
  animation: boot-some .4s 3.4s forwards; /* segurança: se o JS falhar, some sozinho */ }
.com-boot .boot.aguardando { animation: none; } /* movimento.js carregou: espera o toque */
@keyframes boot-some { to { opacity: 0; visibility: hidden; } }
.boot.fechando { opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.boot-caixa { width: min(440px, 100%); display: grid; gap: 14px; }
.boot-marca { font: 700 15px/1 var(--mono); letter-spacing: .5em; color: var(--ciano-forte); text-shadow: 0 0 16px var(--ciano); }
.boot-linhas { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-height: 0; font: 14px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--texto-2); }
.boot-linhas li { display: flex; justify-content: space-between; gap: 12px; }
.boot-linhas li b { color: var(--verde); font-weight: 400; }
.boot-linhas li.online { margin-top: 8px; justify-content: center; font: 700 22px/1 var(--ui); letter-spacing: .4em; color: var(--ciano-forte); text-shadow: 0 0 24px var(--ciano); }
.boot-barra { height: 3px; background: color-mix(in srgb, var(--ciano) 18%, transparent); overflow: hidden; }
.boot-barra i { display: block; height: 100%; background: var(--ciano); box-shadow: 0 0 12px var(--ciano); transform-origin: left; transform: scaleX(var(--k, 0)); }
.boot.glitch .boot-caixa { animation: glitch .32s steps(2) 2; }
@keyframes glitch { 0% { transform: translate(0); clip-path: inset(0 0 0 0); } 25% { transform: translate(-6px, 2px); clip-path: inset(10% 0 55% 0); filter: hue-rotate(60deg); } 50% { transform: translate(5px, -1px); clip-path: inset(50% 0 10% 0); } 75% { transform: translate(-2px, 0); clip-path: inset(0 0 80% 0); filter: hue-rotate(-40deg); } 100% { transform: translate(0); clip-path: inset(0 0 0 0); } }
/* botão "Ligar o sistema": esfera com anéis girando */
.boot-ligar { position: relative; justify-self: center; display: grid; place-items: center; width: 210px; height: 210px; margin: 18px 0 6px; border-radius: 50%; border: 0; cursor: pointer; color: var(--ciano-forte);
  background: radial-gradient(circle, rgba(240, 252, 255, .9) 0, rgba(var(--ciano-rgb), .55) 18%, rgba(var(--ciano-rgb), .12) 46%, transparent 68%);
  box-shadow: 0 0 60px rgba(var(--ciano-rgb), .35), inset 0 0 40px rgba(var(--ciano-rgb), .25); animation: ligar-pulsa 1.8s ease-in-out infinite; }
.boot-ligar span { position: relative; top: 128px; font: 700 18px/1 var(--ui); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 0 18px var(--ciano); }
.boot-anel { position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed rgba(var(--ciano-rgb), .6); animation: gira 9s linear infinite; }
.boot-anel.b2 { inset: 18px; border-style: solid; border-color: rgba(var(--ciano-rgb), .35) transparent; animation-duration: 3.5s; animation-direction: reverse; }
.boot-ligar:hover, .boot-ligar:focus-visible { outline: none; box-shadow: 0 0 90px rgba(var(--ciano-rgb), .6), inset 0 0 50px rgba(var(--ciano-rgb), .35); }
@keyframes ligar-pulsa { 50% { transform: scale(1.05); } }
.com-boot .boot .boot-marca { text-align: center; }
.boot:not(.ligando) .boot-barra { visibility: hidden; } /* a barra só aparece quando a abertura começa */
.boot-dica { margin: 40px 0 0; text-align: center; font: 13px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--texto-2); }
.boot.ligando .boot-ligar { pointer-events: none; animation: ligar-acende .9s ease-out forwards; }
.boot.ligando .boot-dica, .boot.ligando .boot-pular { opacity: 0; transition: opacity .2s; }
@keyframes ligar-acende { to { transform: scale(.55); opacity: .25; } }
.boot-pular { position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--borda); background: transparent; color: var(--texto-2); font: 15px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }

/* ---------- barra de status (HUD) ---------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: calc(54px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--lado) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 13px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--apagado);
  background: color-mix(in srgb, var(--fundo) 82%, transparent); /* sólido o bastante pro texto que passa por baixo não brigar com a marca */
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--borda) 60%, transparent);
}
.hud-marca { font: 700 17px/1 var(--ui); letter-spacing: .3em; color: var(--ciano-forte); text-shadow: 0 0 14px var(--ciano); text-decoration: none; padding: 12px 0; }
.hud-modo { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--texto-2); }
.hud-hora { color: var(--ciano-forte); }
.hud-dir { display: inline-flex; align-items: center; gap: 12px; }
.hud-som { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 8px; border: 1px solid var(--borda); background: transparent; cursor: pointer; }
.hud-som svg { width: 20px; height: 20px; fill: none; stroke: var(--ciano-forte); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hud-som .corte-som { display: none; }
.hud-som[aria-pressed="false"] { opacity: .7; }
.hud-som[aria-pressed="false"] .ondas-som { display: none; }
.hud-som[aria-pressed="false"] .corte-som { display: inline; }
@media (max-width: 380px) { .hud-hora { display: none; } }
.hud-marca { white-space: nowrap; }
@media (max-width: 460px) { .hud-hora { display: none; } .hud-marca { letter-spacing: .2em; } .hud-modo { letter-spacing: .12em; } } /* com o botão de som não cabe a hora */
.ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 8px var(--verde); animation: pisca 2s ease-in-out infinite; }
html[data-modo="combate"] .ponto { background: var(--ciano); box-shadow: 0 0 10px var(--ciano); animation-duration: .5s; }
@keyframes pisca { 50% { opacity: .35; } }

/* ---------- botões ---------- */
.botao {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 28px; border-radius: 12px; border: 0; cursor: pointer;
  font: 700 19px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: transform .25s var(--saida), box-shadow .25s, background .25s, filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.botao-principal { background: linear-gradient(180deg, var(--ciano-forte), var(--ciano)); color: #00121f; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.botao-principal:hover { filter: brightness(1.08); transform: translateY(-2px); }
.botao-principal:active { transform: scale(.98); }
.botao-zap { background: #25d366; color: #032611; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .8); }
.botao-zap:hover { transform: translateY(-2px); background: #34e077; }
.botao-largo { width: 100%; }

/* botão com energia: borda girando + brilho pulsando */
.botao-energia { color: #00121f; background: linear-gradient(180deg, var(--ciano-forte), var(--ciano)); isolation: isolate;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ciano-forte) 70%, transparent), 0 14px 40px -12px color-mix(in srgb, var(--ciano) 80%, transparent), 0 18px 30px -14px rgba(0, 0, 0, .9); }
.botao-energia::before { content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: 15px; padding: 3px;
  background: conic-gradient(from var(--giro, 0deg), transparent 0 65%, #fff 75%, var(--ciano) 82%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: giro 2.6s linear infinite; }
.botao-energia::after { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: 12px; box-shadow: 0 0 30px 4px var(--ciano); opacity: .45; animation: respira 2.2s ease-in-out infinite; }
.botao-energia:hover { transform: translateY(-2px); filter: brightness(1.06); }
.botao-energia span { position: relative; }
@property --giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes giro { to { --giro: 360deg; } }
@keyframes respira { 50% { opacity: .85; box-shadow: 0 0 46px 8px var(--ciano); } }

/* ---------- 1. abertura ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--lado) calc(36px + env(safe-area-inset-bottom));
}
.hero-texto { position: relative; max-width: 700px; }
.titulo-hero { font-size: clamp(40px, 11.2vw, 86px); line-height: .98; text-shadow: 0 2px 30px rgba(2, 8, 20, .9); }
.titulo-hero .linha { display: block; }
.brilho { color: var(--ciano-forte); text-shadow: 0 0 28px color-mix(in srgb, var(--ciano) 60%, transparent); }
.subtitulo { margin: 16px 0 24px; font-size: clamp(19px, 4.8vw, 24px); color: var(--texto-2); font-weight: 600; max-width: 34ch; }
.hero-acoes { display: grid; gap: 6px; }
.hero-acoes .botao { width: 100%; }
.link-hero { justify-self: center; display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; color: var(--texto-2); font-weight: 600; font-size: 17px; }
.prova-hero { margin-top: 10px; font-size: 17px; line-height: 1.4; color: var(--texto-2); max-width: 44ch; }
.prova-hero b { color: var(--ciano-forte); }
.chip-movimento { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--borda); background: color-mix(in srgb, var(--fundo) 70%, transparent); color: var(--texto-2); font-size: 16px; font-weight: 600; cursor: pointer; }
.chip-movimento svg { width: 20px; height: 20px; fill: none; stroke: var(--ciano); stroke-width: 1.6; stroke-linecap: round; }

/* letras do título: decodificação (cada letra troca até assentar) */
.dec-palavra { display: inline-block; white-space: nowrap; }
.dec-letra { display: inline-block; position: relative; }
.dec-letra.embaralhada { color: transparent; }
.dec-letra.embaralhada::after { content: attr(data-g); position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--ciano); font-family: var(--mono); font-weight: 400; text-shadow: 0 0 10px var(--ciano); }

.leituras { position: absolute; inset: 0; pointer-events: none; font: 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.leitura { position: absolute; display: grid; gap: 3px; padding-left: 10px; border-left: 1px solid var(--borda-forte); color: var(--apagado); }
.leitura b { font-weight: 400; color: var(--ciano-forte); font-size: 14px; }
.l1 { left: var(--lado); top: 76px; } .l2 { right: var(--lado); top: 76px; text-align: right; border-left: 0; border-right: 1px solid var(--borda-forte); padding: 0 10px 0 0; }
.l3, .l4 { display: none; }
@media (max-height: 700px) and (max-width: 899px) { .leituras { display: none; } }

.janela-viva { display: none; }
.rolar-dica { display: none; }

@media (min-width: 900px) {
  .hero { justify-content: center; padding-bottom: 0; }
  .hero-texto { max-width: min(660px, 48vw); }
  .titulo-hero { font-size: clamp(48px, 5.6vw, 92px); }
  .hero-acoes { display: flex; align-items: center; gap: 18px; }
  .hero-acoes .botao { width: auto; min-width: 330px; }
  .l1 { left: auto; right: 34vw; top: 18vh; } .l2 { right: 6vw; top: 22vh; }
  .l3 { display: grid; right: 32vw; bottom: 16vh; } .l4 { display: grid; right: 8vw; bottom: 22vh; }
  .rolar-dica { display: flex; position: absolute; left: var(--lado); bottom: 28px; align-items: center; gap: 12px; font: 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--apagado); }
  .rolar-dica i { width: 1px; height: 46px; background: linear-gradient(var(--ciano), transparent); animation: desce 1.8s var(--saida) infinite; transform-origin: top; }
}
@keyframes desce { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 1200px) {
  .janela-viva { display: block; position: absolute; right: var(--lado); bottom: 40px; width: 300px; border: 1px solid var(--borda-forte); border-radius: 12px; overflow: hidden; background: #01060f;
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9), 0 0 0 4px color-mix(in srgb, var(--ciano) 8%, transparent); }
  .janela-viva video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .janela-topo, .janela-legenda { display: flex; justify-content: space-between; padding: 8px 12px; font: 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--apagado); }
  .rec::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #ff4766; vertical-align: 1px; animation: pisca 1.2s infinite; }
}

/* ---------- faixa infinita de comandos ---------- */
.faixa { overflow: hidden; padding: 16px 0; border-block: 1px solid var(--borda); background: color-mix(in srgb, var(--fundo) 80%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.faixa-trilho { display: flex; width: max-content; gap: 0; animation: faixa 38s linear infinite; }
.faixa-trilho span { flex: none; padding: 0 22px; font: 600 22px/1.1 var(--ui); letter-spacing: .02em; color: var(--texto-2); white-space: nowrap; }
.faixa-trilho span::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 44px; vertical-align: middle; background: var(--ciano); transform: rotate(45deg); box-shadow: 0 0 10px var(--ciano); }
.faixa-inversa .faixa-trilho { animation-direction: reverse; animation-duration: 30s; }
.faixa-inversa span { font: 15px/1.3 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--ciano-forte); }
.reverso { animation-direction: reverse !important; }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- cenas (presas na tela enquanto rola) ---------- */
.cena { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; padding: calc(64px + env(safe-area-inset-top)) var(--lado) 28px; overflow: hidden; }
.cena-dentro { width: 100%; max-width: 1180px; margin: 0 auto; display: grid; gap: 22px; }
.cena h2, .secao h2 { font-size: clamp(36px, 9.6vw, 72px); }
.lead { margin-top: 12px; font-size: 19px; line-height: 1.4; color: var(--texto-2); max-width: 54ch; }
@media (min-width: 900px) {
  .cena-dentro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; }
  .lead { font-size: 21px; }
}

/* moldura das gravações reais */
.moldura-video { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #01060f; border: 1px solid var(--borda-forte);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .95), 0 0 40px -10px color-mix(in srgb, var(--ciano) 40%, transparent); }
.moldura-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #01060f; }
.moldura-video figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; font: 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--apagado); border-top: 1px solid var(--borda); }
.moldura-video figcaption span:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #ff4766; vertical-align: 1px; animation: pisca 1.2s infinite; }
.moldura-video::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, transparent 0 40%, color-mix(in srgb, var(--ciano) 14%, transparent) 50%, transparent 60%); background-size: 100% 300%; animation: varre 4.5s linear infinite; mix-blend-mode: screen; }
@keyframes varre { from { background-position: 0 100%; } to { background-position: 0 -200%; } }

/* --- voz --- */
.voz-palco { position: relative; display: grid; gap: 10px; }
.voz-onda { width: 100%; height: 96px; }
.falas { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: f; }
.falas li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--borda); background: color-mix(in srgb, var(--fundo) 72%, transparent); transition: border-color .3s, background .3s, opacity .3s; }
.falas q { --k: 100%; font: 600 21px/1.15 var(--ui); color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, var(--texto) var(--k), color-mix(in srgb, var(--texto) 22%, transparent) var(--k)); }
.falas .resposta { flex: none; font: 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--verde); }
.falas .resposta::before { content: ''; display: inline-block; width: 9px; height: 5px; margin-right: 7px; border: solid var(--verde); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
.falas li.ativa { border-color: var(--ciano); background: color-mix(in srgb, var(--ciano) 14%, var(--fundo)); box-shadow: 0 0 24px -6px var(--ciano); }
@media (max-width: 899px) { .falas li:nth-child(n+6) { display: none; } .falas q { font-size: 19px; } }

/* --- mãos --- */
.poderes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.poderes li { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--borda); font: 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); transition: color .3s, border-color .3s, background .3s; }
.poderes li.ativo { color: #00121f; background: var(--ciano); border-color: var(--ciano); }
.maos-palco { position: relative; height: min(56svh, 470px); }
.mao-raio { position: absolute; left: 50%; top: 0; height: 88%; width: auto; transform: translateX(-50%); overflow: visible; }
.mao-raio .osso { fill: none; stroke: var(--ciano-forte); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--ciano)); }
.mao-raio .carne { fill: none; stroke: color-mix(in srgb, var(--ciano) 22%, transparent); stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.mao-raio .junta { fill: #eaffff; filter: drop-shadow(0 0 5px var(--ciano)); }
.mao-raio .ponta { fill: none; stroke: var(--ciano); stroke-width: 1.5; }
.mao-raio .rotulo-dedo { fill: var(--ciano-forte); font: 13px var(--mono); }
.carga { position: absolute; left: 50%; top: 52%; width: 0; height: 0; }
.carga-bola { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; transform: scale(var(--c, .15)); opacity: calc(var(--c, 0) * 1.2);
  background: radial-gradient(circle, #fff 0 12%, var(--ciano-forte) 25%, color-mix(in srgb, var(--ciano) 60%, transparent) 45%, transparent 70%); filter: blur(1px); mix-blend-mode: screen; }
.carga-txt { position: absolute; left: 0; top: 0; display: grid; gap: 6px; padding-left: 10px; border-left: 1px solid var(--borda-forte); font: 13px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ciano-forte); transition: opacity .3s; }
.carga-txt > span:first-child { color: var(--apagado); font-size: 11px; }
.carga-txt b { font-weight: 400; font-size: 26px; color: #fff; }
.moldura-maos { position: absolute; left: 0; right: 0; bottom: 0; }
@media (min-width: 900px) { .maos-palco { height: min(70svh, 600px); } .moldura-maos { left: auto; width: 74%; } }

/* --- rosto --- */
.rosto-palco { display: grid; grid-template-columns: 150px 1fr; grid-template-areas: 'alvo status' 'video video'; gap: 16px 18px; align-items: center; }
.rosto-alvo { grid-area: alvo; position: relative; padding: 12px; }
.rosto-svg { width: 100%; overflow: visible; }
.rosto-malha path { fill: none; stroke: color-mix(in srgb, var(--ciano) 30%, transparent); stroke-width: .7; }
.rosto-contorno { fill: none; stroke: var(--ciano-forte); stroke-width: 1.6; filter: drop-shadow(0 0 4px var(--ciano)); }
.rosto-pontos circle { fill: var(--ciano-forte); }
.rosto-ligacoes { fill: none; stroke: color-mix(in srgb, var(--ciano-forte) 60%, transparent); stroke-width: .8; }
.rosto-varredura { fill: var(--ciano-forte); filter: drop-shadow(0 0 8px var(--ciano)) drop-shadow(0 0 16px var(--ciano)); transform: translateY(var(--vy, 200px)); }
.mira { position: absolute; width: 18px; height: 18px; border: 2px solid var(--ciano); }
.m1 { left: 0; top: 0; border-right: 0; border-bottom: 0; } .m2 { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.m3 { left: 0; bottom: 0; border-right: 0; border-top: 0; } .m4 { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.rosto-status { grid-area: status; font: 15px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--texto-2); }
.rosto-status b { font-weight: 400; color: var(--ciano-forte); font-size: 30px; display: inline-block; margin-top: 6px; }
.rosto-status #rosto-status { display: block; }
.cena-rosto.confirmado .rosto-contorno, .cena-rosto.confirmado .rosto-pontos circle { stroke: var(--verde); fill: var(--verde); filter: drop-shadow(0 0 6px var(--verde)); }
.cena-rosto.confirmado .rosto-contorno { fill: none; }
.cena-rosto.confirmado .mira { border-color: var(--verde); }
.cena-rosto.confirmado .rosto-status, .cena-rosto.confirmado .rosto-status b { color: var(--verde); }
.moldura-rosto { grid-area: video; }
@media (min-width: 900px) { .rosto-palco { grid-template-columns: 240px 1fr; } }

/* --- modos --- */
.modos-palco { display: grid; gap: 18px; }
.modo-nome { position: relative; height: 1.05em; font: 700 clamp(46px, 13vw, 110px)/1 var(--ui); letter-spacing: -.01em; text-transform: uppercase; }
.modo-n { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; color: var(--ciano-forte); text-shadow: 0 0 34px var(--ciano); transition: opacity .25s; }
html[data-modo="normal"] .modo-n[data-m="normal"], html[data-modo="combate"] .modo-n[data-m="combate"], html[data-modo="festa"] .modo-n[data-m="festa"] { opacity: 1; animation: glitch .3s steps(2) 1; }
.moldura-modos { aspect-ratio: auto; }
.moldura-modos video { transition: opacity .4s; }
.moldura-modos .v-festa { position: absolute; left: 0; top: 0; opacity: 0; }
html[data-modo="festa"] .moldura-modos .v-festa { opacity: 1; }

/* ---------- seções comuns ---------- */
.secao { position: relative; z-index: 2; padding: 84px var(--lado); overflow-x: clip; }
@media (min-width: 900px) { .secao { padding: 120px var(--lado); } }
.conteudo { max-width: 1180px; margin: 0 auto; }
.conteudo-estreito { max-width: 780px; }
/* risco de luz que atravessa o topo de cada seção quando ela chega */
.secao::before, .cena::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--ciano-forte), transparent) no-repeat; background-size: 30% 100%; background-position: -40% 0; opacity: 0; }
.em-vista::before { animation: risco 1.3s var(--saida) forwards; }
@keyframes risco { 0% { opacity: 1; background-position: -40% 0; } 100% { opacity: .0; background-position: 140% 0; } }

/* ---------- utilidades (cartões holográficos) ---------- */
.holos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; perspective: 1000px; }
.holo { position: relative; grid-column: span 2; padding: 14px 14px 20px; border-radius: var(--raio); overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ciano) 12%, transparent), color-mix(in srgb, var(--fundo) 85%, transparent) 55%);
  border: 1px solid var(--borda); transform-style: preserve-3d; transition: transform .5s var(--saida), border-color .3s;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.holo::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--brilho, 0); transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ciano) 22%, transparent), transparent 45%); }
.holo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 3px, color-mix(in srgb, var(--ciano) 5%, transparent) 3px 4px); }
.holo:hover { border-color: var(--borda-forte); }
.holo h3 { margin: 16px 2px 0; font-size: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.holo p { margin: 6px 2px 0; color: var(--texto-2); font-size: 17px; line-height: 1.4; }
.holo-timer, .holo-cotacao, .holo-jogos, .holo-notas { grid-column: span 1; }
.holo-timer h3, .holo-cotacao h3, .holo-jogos h3, .holo-notas h3 { font-size: 21px; }
.holo-timer p, .holo-cotacao p, .holo-jogos p, .holo-notas p { font-size: 16px; }
.holo-midia { border-radius: 10px; overflow: hidden; border: 1px solid var(--borda); }
.holo-midia video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.holo-wiki .holo-midia video { object-position: 70% 40%; }
.selo { font: 700 13px/1 var(--ui); letter-spacing: .04em; color: var(--ciano-forte); padding: 6px 8px; border: 1px solid var(--borda-forte); border-radius: 6px; }

.timer-anel { position: relative; width: 96px; height: 96px; }
.timer-anel svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-anel circle { fill: none; stroke: color-mix(in srgb, var(--ciano) 18%, transparent); stroke-width: 5; }
.timer-anel .timer-falta { stroke: var(--ciano); stroke-linecap: round; stroke-dasharray: 276.5; animation: timer 8s linear infinite; filter: drop-shadow(0 0 4px var(--ciano)); }
.timer-anel span { position: absolute; inset: 0; display: grid; place-items: center; font: 18px var(--mono); color: var(--ciano-forte); }
@keyframes timer { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 276.5; } }
.moedas-holo { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; height: 96px; align-items: center; }
.moedas-holo li { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--borda-forte); font: 700 17px/1 var(--ui); color: var(--ciano-forte); animation: moeda 3s var(--saida) infinite; }
.moedas-holo li:nth-child(2) { animation-delay: .25s; } .moedas-holo li:nth-child(3) { animation-delay: .5s; }
@keyframes moeda { 0% { transform: translateY(0) rotateY(0); } 35% { transform: translateY(-8px) rotateY(360deg); } 70%, 100% { transform: translateY(0) rotateY(360deg); } }
.dado-holo { position: relative; width: 70px; height: 70px; margin: 13px 0; border-radius: 14px; border: 2px solid var(--ciano); box-shadow: 0 0 20px -4px var(--ciano), inset 0 0 18px -6px var(--ciano); animation: dado 3.2s var(--saida) infinite; }
.dado-holo i { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--ciano-forte); box-shadow: 0 0 8px var(--ciano); }
.dado-holo i:nth-child(1) { left: 12px; top: 12px; } .dado-holo i:nth-child(2) { right: 12px; top: 12px; } .dado-holo i:nth-child(3) { left: 27.5px; top: 27.5px; }
.dado-holo i:nth-child(4) { left: 12px; bottom: 12px; } .dado-holo i:nth-child(5) { right: 12px; bottom: 12px; }
@keyframes dado { 0% { transform: rotate(0) scale(1); } 22% { transform: rotate(200deg) scale(.86); } 30%, 100% { transform: rotate(180deg) scale(1); } }
.notas-holo { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-height: 96px; align-content: center; font: 14px/1.2 var(--mono); color: var(--texto-2); }
.notas-holo li { display: flex; align-items: center; gap: 8px; }
.notas-holo li::before { content: ''; flex: none; width: 13px; height: 13px; border: 1.5px solid var(--ciano); border-radius: 3px; }
.notas-holo li.feita { color: var(--apagado); text-decoration: line-through; }
.notas-holo li.feita::before { background: var(--ciano); box-shadow: 0 0 8px var(--ciano); }
.baloes { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.balao { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 18px; line-height: 1.25; }
.balao.eu { align-self: flex-end; background: color-mix(in srgb, var(--ciano) 16%, transparent); border: 1px solid var(--borda); border-bottom-right-radius: 4px; }
.balao.ele { align-self: flex-start; background: color-mix(in srgb, var(--fundo) 90%, transparent); border: 1px solid var(--borda-forte); border-bottom-left-radius: 4px; color: var(--ciano-forte); }
.holo-conversa p.balao { margin: 0; color: inherit; font-size: 18px; }
@media (min-width: 900px) {
  .holos { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .holo-wiki { grid-column: span 4; grid-row: span 2; } .holo-hora { grid-column: span 2; grid-row: span 2; }
  .holo-timer, .holo-cotacao, .holo-jogos { grid-column: span 2; } .holo-notas { grid-column: span 2; } .holo-conversa { grid-column: span 4; }
  .holo-hora .holo-midia video { aspect-ratio: 4 / 3; object-position: 75% 30%; }
  .holo { padding: 18px 18px 24px; }
}

/* ---------- teste agora (console) ---------- */
.demo-grade { display: grid; gap: 26px; }
@media (min-width: 900px) { .demo-grade { grid-template-columns: 5fr 7fr; align-items: center; gap: 56px; } }
.console { position: relative; border-radius: 16px; border: 1px solid var(--borda-forte); background: color-mix(in srgb, var(--fundo) 86%, transparent);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95), 0 0 60px -20px color-mix(in srgb, var(--ciano) 45%, transparent); overflow: hidden; }
.console-topo { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--borda); font: 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--apagado); }
.console-topo span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--ciano-forte); }
.console-log { min-height: 132px; max-height: 190px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; font: 16px/1.35 var(--mono); }
.console-log p { color: var(--texto-2); }
.console-log .voce { color: var(--texto); }
.console-log .voce::before { content: 'você › '; color: var(--apagado); }
.console-log .ele { color: var(--ciano-forte); }
.console-log .ele::before { content: 'ele › '; color: var(--apagado); }
.console-log .sis { color: var(--apagado); }
.console-cartao { margin: 0 16px 6px; padding: 16px; border-radius: 12px; border: 1px solid var(--borda-forte); background: color-mix(in srgb, var(--ciano) 8%, var(--fundo)); animation: surge .5s var(--saida); }
.console-cartao .rotulo { font: 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--apagado); }
.console-cartao .grande { margin-top: 8px; font: 700 64px/1 var(--ui); color: var(--ciano-forte); text-shadow: 0 0 30px var(--ciano); }
.console-cartao .data { margin-top: 6px; color: var(--texto-2); font-size: 18px; }
.console-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
.chip { min-height: 48px; padding: 0 16px; border-radius: 24px; border: 1px solid var(--borda-forte); background: color-mix(in srgb, var(--ciano) 7%, transparent); color: var(--texto); font: 600 18px/1 var(--ui); cursor: pointer; transition: background .2s, transform .2s var(--saida), border-color .2s; -webkit-tap-highlight-color: transparent; }
.chip:hover { background: color-mix(in srgb, var(--ciano) 18%, transparent); }
.chip:active { transform: scale(.96); }
.chip.ativo { background: var(--ciano); color: #00121f; border-color: var(--ciano); }
.console-mic { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); margin: 0 16px 16px; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px dashed var(--borda-forte); background: transparent; color: var(--texto-2); font-size: 17px; font-weight: 600; cursor: pointer; }
.console-mic svg { width: 22px; height: 22px; fill: none; stroke: var(--ciano); stroke-width: 1.7; stroke-linecap: round; }
.console-mic[aria-pressed="true"] { border-style: solid; color: var(--texto); background: color-mix(in srgb, var(--ciano) 12%, transparent); }
.console-mic[aria-pressed="true"] svg { animation: pisca .8s infinite; }

/* ---------- prova ---------- */
.prova { padding-bottom: 40px; overflow: hidden; }
.prova .conteudo { text-align: center; }
.contador { font: 700 clamp(104px, 32vw, 280px)/.86 var(--ui) !important; letter-spacing: -.03em; color: var(--ciano-forte); text-shadow: 0 0 60px color-mix(in srgb, var(--ciano) 55%, transparent); }
.contador-mil { font-size: .42em; letter-spacing: 0; color: var(--texto); text-shadow: none; }
.contador-rotulo { margin-top: 10px; font: 16px/1.3 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--texto-2); }
.prova-lead { margin: 22px auto 0; text-align: center; }
.faixa-dupla { margin-top: 56px; display: grid; gap: 14px; }

/* ---------- 9. teste ---------- */
.secao-teste { background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--fundo-luz) 70%, transparent), transparent 60%); }
.painel {
  position: relative; margin-top: 30px; padding: 22px 18px 18px; border-radius: 18px;
  background: color-mix(in srgb, var(--fundo) 84%, transparent); border: 1px solid var(--borda-forte);
  box-shadow: 0 30px 70px -26px rgba(0, 0, 0, .9), 0 0 50px -24px var(--ciano);
}
.painel::before, .painel::after { content: ''; position: absolute; width: 22px; height: 22px; border: 2px solid var(--ciano); pointer-events: none; }
.painel::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.painel::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.quiz-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.quiz-passo { font: 14px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ciano); white-space: nowrap; }
.progresso { display: flex; gap: 6px; flex: 0 1 160px; }
.progresso i { flex: 1; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ciano) 18%, transparent); transition: background .3s, box-shadow .3s; }
.progresso i.feito { background: var(--ciano); box-shadow: 0 0 10px var(--ciano); }

.pergunta { border: 0; margin: 0; padding: 0; min-width: 0; animation: entra .4s var(--saida); }
.pergunta legend { padding: 0; font: 700 clamp(26px, 6.6vw, 34px)/1.1 var(--ui); margin-bottom: 20px; outline: none; text-wrap: balance; }
@keyframes entra { from { opacity: 0; transform: translateX(16px); filter: blur(4px); } }
.opcoes { display: grid; gap: 10px; }
.opcao {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px; text-align: left; cursor: pointer;
  background: color-mix(in srgb, var(--fundo) 80%, transparent); border: 1px solid var(--borda); border-radius: 12px; font-size: 21px; font-weight: 600; line-height: 1.2;
  transition: border-color .15s, background .15s, transform .15s; -webkit-tap-highlight-color: transparent;
}
.opcao:hover { border-color: var(--borda-forte); background: color-mix(in srgb, var(--ciano) 10%, var(--fundo)); }
.opcao:active { transform: scale(.99); }
.opcao.escolhida { border-color: var(--ciano); background: color-mix(in srgb, var(--ciano) 16%, transparent); box-shadow: inset 0 0 0 1px var(--ciano); }
.opcao kbd { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--borda-forte); font: 15px/1 var(--mono); color: var(--ciano-forte); }
.quiz-rodape { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.voltar { min-height: 48px; padding: 0 14px; margin-left: -8px; background: none; border: 0; border-radius: 10px; color: var(--texto-2); font-size: 18px; font-weight: 600; cursor: pointer; }
.voltar:hover:not(:disabled) { color: var(--texto); background: color-mix(in srgb, var(--ciano) 8%, transparent); }
.voltar:disabled { opacity: .35; cursor: default; }
.dica-teclado { display: none; font-size: 16px; color: var(--apagado); }
@media (hover: hover) and (pointer: fine) { .dica-teclado { display: block; } }
@media (min-width: 720px) { .painel { padding: 30px 32px 22px; } }

/* narrador */
.narrador { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; margin: -4px 0 18px; padding: 10px 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--fundo) 80%, transparent); border: 1px solid var(--borda); }
#mini-orbe { width: 56px; height: 56px; }
.narrador-fala { font: 600 18px/1.3 var(--ui); color: var(--texto-2); min-height: 2.6em; display: flex; align-items: center; }
.narrador-fala.falando { color: var(--ciano-forte); }
.narrador-som { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--borda); background: color-mix(in srgb, var(--ciano) 8%, transparent); cursor: pointer; }
.narrador-som svg { width: 22px; height: 22px; fill: none; stroke: var(--ciano-forte); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.narrador-som .corte-som { display: none; }
.narrador-som[aria-pressed="false"] { opacity: .65; }
.narrador-som[aria-pressed="false"] .ondas-som { display: none; }
.narrador-som[aria-pressed="false"] .corte-som { display: inline; }
@media (min-width: 720px) { .narrador-fala { font-size: 20px; } }

/* passo do nome */
.passo-nome { display: grid; gap: 14px; animation: entra .4s var(--saida); }
.nome-pergunta { font: 700 clamp(26px, 6.6vw, 34px)/1.1 var(--ui); text-wrap: balance; }
.nome-linha { display: grid; gap: 10px; }
.nome-linha input { min-height: 60px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--borda-forte); background: color-mix(in srgb, var(--fundo) 90%, transparent);
  color: var(--texto); font: 600 22px/1 var(--ui); outline: none; }
.nome-linha input:focus { border-color: var(--ciano); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ciano) 22%, transparent); }
.nome-linha input::placeholder { color: var(--apagado); }
.passo-nome .link-texto { justify-self: start; }
@media (min-width: 720px) { .nome-linha { grid-template-columns: 1fr auto; } }
.passo-trat { display: grid; gap: 16px; animation: entra .4s var(--saida); }
.privacidade { font-size: 15px; line-height: 1.35; color: var(--apagado); }
.trocar-pessoa { margin: -10px 0 8px; min-height: 36px; font-size: 16px; }

/* resultado */
.resultado { margin-top: 30px; outline: none; }
.cartao-versao {
  position: relative; padding: 24px 18px 22px; border-radius: 18px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ciano) 12%, var(--fundo)), color-mix(in srgb, var(--fundo) 92%, transparent));
  border: 1px solid var(--borda-forte);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9), 0 0 60px -26px var(--ciano), inset 0 1px 0 color-mix(in srgb, var(--ciano-forte) 20%, transparent);
  animation: materializa .8s var(--saida);
}
@keyframes materializa { 0% { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(8px); clip-path: inset(0 0 100% 0); } 60% { filter: blur(0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes surge { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.cartao-versao .seu { font: 700 18px/1 var(--ui); color: var(--verde); }
.cartao-versao h3 { margin-top: 12px; font-size: clamp(44px, 12vw, 66px); color: var(--ciano-forte); text-shadow: 0 0 26px color-mix(in srgb, var(--ciano) 50%, transparent); }
.cartao-versao .pra-quem { margin-top: 8px; font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--texto); }
.porque { margin-top: 12px; font-size: 18px; line-height: 1.45; color: var(--texto-2); }
.lista-faz { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.lista-faz li { position: relative; padding-left: 22px; font-size: 18px; color: var(--texto-2); }
.lista-faz li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--ciano); transform: rotate(45deg); }
.aviso { margin-top: 16px; color: var(--texto-2); font-size: 17px; font-style: italic; }

.requisitos { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 210, 122, .45); }
.requisitos h4 { margin: 0 0 14px; font: 700 20px/1.2 var(--ui); color: var(--ambar); }
.requisitos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.requisitos li { display: flex; gap: 12px; font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--texto); }
.requisitos li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 1px; border: 2px solid var(--ambar); border-radius: 5px; }
.requisitos .nao-precisa { margin-top: 14px; font-size: 17px; color: var(--texto-2); }
.claude-code { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--borda); background: color-mix(in srgb, var(--ciano) 6%, transparent); font-size: 17px; line-height: 1.4; color: var(--texto); }

.compra { margin-top: 24px; display: grid; gap: 12px; }
.compra .botao { white-space: nowrap; }
.preco { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.preco strong { font: 700 54px/1 var(--ui); color: var(--texto); letter-spacing: -.01em; }
.preco span { font-size: 17px; line-height: 1.3; color: var(--texto-2); }
.garantia { font-size: 16px; line-height: 1.4; color: var(--texto-2); text-align: center; }

.acoes-resultado { padding: 0 4px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 18px; }
.link-texto { min-height: 48px; padding: 0 4px; background: none; border: 0; color: var(--ciano-forte); font-size: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-texto.discreto { color: var(--texto-2); }

.outras { display: grid; gap: 14px; margin-top: 10px; }
.cartao-mini { padding: 20px 18px; border-radius: 14px; background: color-mix(in srgb, var(--fundo) 86%, transparent); border: 1px solid var(--borda); animation: surge .5s var(--saida); }
.cartao-mini h3 { margin-top: 10px; font-size: 32px; color: var(--texto); }
.cartao-mini .pra-quem { margin-top: 4px; font-size: 19px; color: var(--texto); font-weight: 600; }
.cartao-mini .porque { font-size: 17px; }
.cartao-mini .requisitos { margin-top: 16px; padding-top: 16px; }
.cartao-mini .requisitos h4 { font-size: 17px; }
.cartao-mini .requisitos li { font-size: 18px; }
.cartao-mini .requisitos li::before { width: 18px; height: 18px; }
.cartao-mini .compra { grid-template-columns: 1fr; }
.cartao-mini .preco strong { font-size: 40px; }
@media (min-width: 720px) {
  .cartao-versao { padding: 34px 34px 28px; }
  .compra { grid-template-columns: minmax(180px, auto) 1fr; align-items: center; gap: 16px 28px; }
  .compra .garantia { grid-column: 1 / -1; }
  .cartao-mini .compra { grid-template-columns: auto 1fr; }
}
.ia-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--borda-forte); font: 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ciano-forte); }
.ia-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ciano); box-shadow: 0 0 8px var(--ciano); }

/* prévia do instalador do Dev */
.instalador { margin-top: 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--borda); background: #010610; font: 15px/1.3 var(--mono); }
.instalador-topo { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--apagado); }
.instalador ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.instalador li { display: flex; align-items: center; gap: 10px; color: var(--texto-2); }
.instalador li i { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; }
.instalador li i::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--borda-forte); animation: gira 1s linear infinite, passo-anel 7s calc(var(--i) * .9s) infinite both; }
.instalador li i::after { content: ''; position: absolute; left: 3px; top: 2px; width: 7px; height: 4px; border: solid #00121f; border-width: 0 0 2px 2px; transform: rotate(-45deg); opacity: 0; }
.instalador li { animation: passo-cor 7s calc(var(--i) * .9s) infinite both; }
.instalador li i { animation: passo-ok 7s calc(var(--i) * .9s) infinite both; } /* só o anel (::before) gira; o check fica parado */
.instalador li i::after { animation: passo-check 7s calc(var(--i) * .9s) infinite both; }
.instalador-fim { margin-top: 10px; font: 700 18px/1 var(--ui); letter-spacing: .3em; text-transform: uppercase; color: var(--verde); text-shadow: 0 0 16px var(--verde); animation: passo-fim 7s calc(var(--i) * .9s) infinite both; }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes passo-cor { 0%, 10% { color: var(--apagado); } 12%, 88% { color: var(--texto); } 100% { color: var(--apagado); } }
@keyframes passo-ok { 0%, 10% { background: transparent; box-shadow: none; } 12%, 88% { background: var(--verde); box-shadow: 0 0 10px var(--verde); } 100% { background: transparent; box-shadow: none; } }
@keyframes passo-anel { 0%, 10% { opacity: 1; } 12%, 88% { opacity: 0; } 100% { opacity: 1; } }
@keyframes passo-check { 0%, 10% { opacity: 0; } 12%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes passo-fim { 0%, 8% { opacity: 0; transform: translateY(4px); } 12%, 84% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- 10. níveis (por que cada versão custa o que custa) ---------- */
.niveis-grade { display: grid; gap: 16px; margin-top: 34px; perspective: 1200px; }
.nivel { position: relative; display: flex; flex-direction: column; padding: 22px 18px 20px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(170deg, color-mix(in srgb, var(--ciano) 13%, var(--fundo)) 0%, color-mix(in srgb, var(--fundo) 92%, transparent) 50%);
  border: 1px solid var(--borda-forte); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--saida); }
.nivel::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--brilho, 0); transition: opacity .3s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--ciano) 20%, transparent), transparent 45%); }
.nivel::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ciano-forte), transparent); opacity: .8; }
.nivel-topo { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nivel-preco { font: 700 44px/1 var(--ui); color: var(--texto); letter-spacing: -.01em; }
.nivel h3 { margin-top: 18px; font-size: 38px; color: var(--ciano-forte); text-shadow: 0 0 24px color-mix(in srgb, var(--ciano) 45%, transparent); }
.nivel .pra-quem { margin-top: 8px; font-size: 20px; font-weight: 600; line-height: 1.25; }
.nivel .porque { font-size: 17px; }
.nivel .requisitos { margin-top: 20px; padding-top: 16px; }
.nivel .requisitos h4 { font-size: 17px; margin-bottom: 12px; }
.nivel .requisitos li { font-size: 18px; }
.nivel .requisitos li::before { width: 18px; height: 18px; }
.nivel-compra { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.niveis-teste { margin-top: 26px; text-align: center; font-size: 19px; color: var(--texto-2); }
.niveis-teste a { font-weight: 700; }
@media (min-width: 1000px) { .niveis-grade { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

/* sem webcam → Shopee (link de afiliado), secundário: não compete com o botão de compra */
.shopee-botao { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; min-height: 48px; border-radius: 12px;
  background: transparent; border: 1px solid rgba(238, 77, 45, .75); color: #ff9a80; text-decoration: none; font: 700 16px/1.2 var(--ui); }
.shopee-botao:hover { background: rgba(238, 77, 45, .12); }
.shopee-logo { width: 26px; height: 26px; flex: none; color: #ee4d2d; }
.shopee-nota { margin-top: 6px; font-size: 13px; color: var(--apagado); }

/* ---------- 11. perguntas ---------- */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--borda); border-radius: 12px; background: color-mix(in srgb, var(--fundo) 84%, transparent); transition: border-color .3s; }
.faq details[open] { border-color: var(--borda-forte); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 18px; cursor: pointer; font-size: 22px; font-weight: 700; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 14px; height: 14px; border: solid var(--ciano); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--saida); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 18px 18px; color: var(--texto-2); font-size: 19px; }

/* ---------- rodapé ---------- */
.rodape { padding: 40px var(--lado) calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--borda); text-align: center; display: grid; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--apagado); background: var(--fundo); }
.rodape a { color: var(--texto-2); }
.rodape > a { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; }
.assinatura { font-weight: 700; color: var(--ciano-forte) !important; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  width: max-content; max-width: calc(100vw - 32px); text-align: center; padding: 14px 20px; border-radius: 12px;
  background: color-mix(in srgb, var(--ciano) 14%, var(--fundo)); border: 1px solid var(--borda-forte); color: var(--texto); font-weight: 700; font-size: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.mostra { opacity: 1; transform: translate(-50%, 0); }

/* ---------- sem animação de rolagem (sem JS, sem GSAP ou movimento reduzido): tudo empilhado e legível ---------- */
html:not(.js) .cena, html.sem-movimento .cena { min-height: 0; padding-top: 84px; }
html:not(.js) .maos-palco, html.sem-movimento .maos-palco { height: auto; display: grid; gap: 16px; }
html:not(.js) .mao-raio, html.sem-movimento .mao-raio { position: relative; left: auto; transform: none; height: 240px; margin: 0 auto; }
html:not(.js) .carga, html.sem-movimento .carga, html:not(.js) .carga-txt, html.sem-movimento .carga-txt { display: none; }
html:not(.js) .moldura-maos, html.sem-movimento .moldura-maos { position: relative; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grao { animation: none; }
  .faixa-trilho { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .faixa-trilho span:nth-child(n+7) { display: none; }
  .instalador li i { background: var(--verde); }
  .instalador li i::before { opacity: 0; }
  .instalador li i::after, .instalador-fim { opacity: 1 !important; }
  html[data-modo="festa"] { --ciano: #ff5ce6; --ciano-forte: #ffc9f6; }
}

/* Dev: opção de instalação feita pelo Junior (+ R$ 100) */
.instalo-eu { margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--borda-forte); font-size: 16px; line-height: 1.45; color: var(--texto-2); }
.instalo-eu b, .instalo-eu strong { color: var(--texto); }
.instalo-eu-link { display: inline-block; margin-top: 8px; color: var(--ciano-forte); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* teste grátis (31/10): link pro bandit-os-teste.vercel.app no topo, na demonstração e nas versões */
.link-gratis { color: var(--ciano-forte); }
.demo-gratis { margin: 14px 0 0; color: var(--texto-2); font-size: 17px; }
.demo-gratis a, .niveis-teste a[target] { color: var(--ciano-forte); font-weight: 700; }
.link-hero { white-space: nowrap; }
@media (min-width: 900px) { .hero-acoes { flex-wrap: wrap; row-gap: 4px; } }
