/* Ballas · recrutamento — capa de GTA (painéis com moldura creme), pôr do sol de Vice City em roxo e HUD de missão */

@font-face { font-family: 'Big Shoulders'; src: url('/fontes/bigshoulders.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fontes/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fontes/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fontes/barlow-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fontes/barlow-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Marker'; src: url('/fontes/marker.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --noite: #07040c;
  --noite-2: #110a1c;
  --noite-3: #1a1029;
  --roxo: #6c2bd9;
  --roxo-mascara: #5b2a86;
  --roxo-claro: #a875ff;
  --magenta: #ff2d8f;
  --laranja: #ff8a3d;
  --sol: #ffc35a;
  --ouro: #f6b51c;
  --creme: #f1e4cc;
  --creme-2: #c9bca6;
  --creme-3: rgba(241, 228, 204, 0.16);
  --tinta: #0a0710;
  --erro: #ff6b8b;
  --vice: linear-gradient(100deg, #ffc35a 0%, #ff8a3d 20%, #ff2d8f 50%, #a875ff 80%, #6c2bd9 100%);
  --display: 'Big Shoulders', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --corpo: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --rabisco: 'Marker', 'Comic Sans MS', cursive;
  --neon: 0 0 28px rgba(255, 45, 143, 0.35), 0 0 70px rgba(108, 43, 217, 0.35);
  --mola: cubic-bezier(0.2, 0.9, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--creme);
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.45;
  background:
    radial-gradient(120% 60% at 80% -10%, rgba(108, 43, 217, 0.45), transparent 60%),
    radial-gradient(90% 50% at 0% 110%, rgba(255, 45, 143, 0.28), transparent 60%),
    radial-gradient(70% 40% at 100% 100%, rgba(255, 138, 61, 0.14), transparent 60%),
    var(--noite);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* granulado + linhas de TV por cima de tudo */
.grao {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.13; mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: chiado 0.9s steps(4) infinite;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 41; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 2px, rgba(0, 0, 0, 0.16) 2px 3px);
  opacity: 0.35;
}
@keyframes chiado { 0% { background-position: 0 0; } 25% { background-position: -37px 23px; } 50% { background-position: 29px -41px; } 75% { background-position: -17px -11px; } 100% { background-position: 0 0; } }

.tela {
  position: relative;
  width: min(1180px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ═════════════ CAPA ═════════════ */
.dica {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 10px 14px 10px 10px;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 6px;
  font-weight: 600; font-size: 14px; line-height: 1.25;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  animation: deslizar 0.7s var(--mola) 1.2s both;
}
.dica b { color: var(--sol); font-weight: 800; }
.dica-tecla {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border: 2px solid var(--creme); border-radius: 5px; font-size: 11px;
}
.dica-teclado { display: none; }
@media (hover: hover) and (pointer: fine) { .dica-toque { display: none; } .dica-teclado { display: inline; } }

.capa-grade {
  display: grid;
  gap: 6px;
  padding: 6px;
  background: var(--creme);
  border-radius: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: 'ceu ceu' 'oitenta procura' 'titulo titulo';
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), var(--neon);
}
.painel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--noite-2);
  animation: revelar 0.9s var(--mola) both;
}
.painel-ceu { grid-area: ceu; aspect-ratio: 5 / 4; animation-delay: 0.05s; }
.painel-80 { grid-area: oitenta; animation-delay: 0.2s; }
.painel-procura { grid-area: procura; animation-delay: 0.3s; }
.painel-titulo { grid-area: titulo; animation-delay: 0.4s; overflow: visible; }
@keyframes revelar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-120px); } }

/* céu de Vice City em roxo */
.painel-ceu {
  background: linear-gradient(180deg, #12052a 0%, #2c0a57 28%, #6d1a8c 50%, #c4236f 66%, #ff6a4d 80%, #ffb347 92%, #ffd07a 100%);
}
.painel-ceu::after { /* retícula de gibi no alto do céu */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(10, 7, 16, 0.45) 1.1px, transparent 1.7px) 0 0 / 7px 7px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}
.sol {
  position: absolute; left: 50%; bottom: 14%; width: 62%; aspect-ratio: 1; transform: translateX(-28%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff5c4 0%, #ffd36e 30%, #ff8a3d 62%, #ff2d8f 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 74%, transparent 74% 80%, #000 80% 85%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0 52%, transparent 52% 56%, #000 56% 63%, transparent 63% 68%, #000 68% 74%, transparent 74% 80%, #000 80% 85%, transparent 85%);
  filter: drop-shadow(0 0 40px rgba(255, 138, 61, 0.6));
  animation: nascer 1.6s var(--mola) 0.3s both;
}
@keyframes nascer { from { transform: translate(-28%, 30%); opacity: 0; } to { transform: translate(-28%, 0); opacity: 1; } }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26%; fill: var(--tinta); }
.palmeira { position: absolute; bottom: 0; color: var(--tinta); transform-origin: 50% 100%; animation: balanco 6s ease-in-out infinite; }
.palmeira.p1 { left: -4%; width: 34%; height: 78%; }
.palmeira.p2 { right: -6%; width: 26%; height: 60%; transform: scaleX(-1); animation-name: balanco-inv; animation-delay: -2s; }
@keyframes balanco { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
@keyframes balanco-inv { 0%, 100% { transform: scaleX(-1) rotate(-1.5deg); } 50% { transform: scaleX(-1) rotate(1.5deg); } }
.mascara-capa {
  position: absolute; left: 50%; bottom: 7%; width: 46%; height: 82%; translate: -50% 0;
  color: var(--roxo-mascara);
  filter: drop-shadow(0 18px 24px rgba(10, 7, 16, 0.55)) drop-shadow(0 0 30px rgba(168, 117, 255, 0.45));
  animation: flutuar 4.5s ease-in-out 1.3s infinite, entrar-mascara 1s var(--mola) 0.5s both;
}
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes entrar-mascara { from { opacity: 0; translate: -50% 30%; } to { opacity: 1; translate: -50% 0; } }
.local {
  position: absolute; right: 12px; top: 10px;
  font-family: var(--display); font-weight: 900; font-size: clamp(16px, 4.6vw, 26px); letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--creme); -webkit-text-stroke: 1.2px var(--tinta); paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--tinta);
  transform: skewX(-8deg);
}

/* 80 membros (confia) */
.painel-80 {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px 14px 30px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #6c32a0, var(--roxo-mascara) 45%, #321452);
  min-height: 150px;
}
.numero-80 {
  font-family: var(--display); font-weight: 900; line-height: 0.78;
  font-size: clamp(92px, 30vw, 190px); letter-spacing: -0.02em;
  color: var(--creme); text-shadow: 5px 5px 0 var(--tinta);
}
.rotulo { font-weight: 800; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--creme); opacity: 0.86; }
.rabisco { font-family: var(--rabisco); color: var(--magenta); }
.rabisco-80 { position: absolute; right: 10px; top: 12px; font-size: clamp(18px, 5vw, 28px); transform: rotate(-9deg); text-shadow: 2px 2px 0 var(--tinta); }

/* procura-se */
.painel-procura {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 14px 12px 30px;
  background:
    radial-gradient(circle, rgba(168, 117, 255, 0.22) 1.2px, transparent 1.8px) 0 0 / 8px 8px,
    radial-gradient(120% 80% at 50% 0%, #2a1145, var(--tinta) 70%);
}
.estrelas-capa { display: flex; gap: 3px; margin-bottom: auto; padding-top: 4px; }
.estrelas-capa svg {
  width: 20%; max-width: 30px; aspect-ratio: 1; fill: var(--creme);
  filter: drop-shadow(0 0 8px rgba(255, 195, 90, 0.7)); stroke: var(--tinta); stroke-width: 1.5;
  animation: piscar 1.1s steps(2) infinite;
}
.estrelas-capa svg:nth-child(2) { animation-delay: 0.1s; } .estrelas-capa svg:nth-child(3) { animation-delay: 0.2s; }
.estrelas-capa svg:nth-child(4) { animation-delay: 0.3s; } .estrelas-capa svg:nth-child(5) { animation-delay: 0.4s; }
@keyframes piscar { 50% { fill: var(--sol); } }
.procura-num {
  font-family: var(--display); font-weight: 900; line-height: 0.9; text-transform: uppercase;
  font-size: clamp(30px, 9.6vw, 64px);
  background: var(--vice); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* título da capa */
.painel-titulo { background: var(--creme); color: var(--tinta); padding: 20px 16px 18px; }
.tag {
  position: absolute; left: 12px; top: -0.95em;
  font-family: var(--rabisco); font-size: clamp(28px, 9vw, 46px); line-height: 1;
  color: var(--roxo-claro); -webkit-text-stroke: 1.5px var(--tinta); paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--tinta);
  transform: rotate(-7deg);
  animation: pichar 0.6s var(--mola) 1s both;
}
@keyframes pichar { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.painel-titulo h1 {
  margin: 6px 0 8px;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 20vw, 150px); line-height: 0.82; letter-spacing: -0.01em;
  transform: skewX(-6deg);
}
.painel-titulo h1 span { display: block; }
.vinte {
  display: inline-block !important;
  background: var(--vice); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 3px var(--tinta); paint-order: stroke fill;
  filter: drop-shadow(4px 4px 0 var(--tinta));
}
.sub { margin: 0; font-weight: 700; font-size: clamp(17px, 4.6vw, 22px); line-height: 1.25; }
.sub sup { color: var(--roxo); font-weight: 800; }

.capa-acoes { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; animation: subir 0.7s var(--mola) 0.8s both; }
.capa-acoes .hud-rotulo, .capa-acoes .hud-membros b small { color: #5e5170; }
.capa-acoes .hud-membros b { color: var(--tinta); }
.capa-acoes .barra { background: rgba(10, 7, 16, 0.12); border-color: var(--tinta); }
.hud-membros { display: flex; align-items: center; gap: 12px; }
.hud-rotulo { font-weight: 800; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--creme-2); }
.hud-membros .barra { flex: 1; }
.hud-membros b { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; }
.hud-membros b small { font-size: 16px; color: var(--creme-2); }
.barra {
  position: relative; display: block; height: 12px; overflow: hidden;
  background: rgba(0, 0, 0, 0.55); border: 2px solid rgba(241, 228, 204, 0.35); border-radius: 2px;
}
.barra i {
  position: absolute; inset: 0 auto 0 0; width: var(--p, 0%);
  background: var(--vice);
  box-shadow: 0 0 14px rgba(255, 45, 143, 0.6);
  transition: width 0.6s var(--mola);
}
.hud-membros .barra i { width: 80%; animation: encher 1.4s var(--mola) 1s both; }
@keyframes encher { from { width: 0; } }
.rodape { margin: 4px 0 0; text-align: center; font-size: 12px; color: var(--creme-2); opacity: 0.75; }

/* ═════════════ BOTÕES ═════════════ */
.botao-principal, .botao-secundario {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 12px 24px; border: 0; background: none;
  text-decoration: none; text-transform: uppercase; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--mola), filter 0.18s;
}
.botao-principal {
  color: var(--tinta);
  font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: 0.02em; line-height: 1;
  filter: drop-shadow(0 8px 18px rgba(255, 45, 143, 0.35));
}
.botao-principal::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--vice); background-size: 160% 100%; background-position: 0 0;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background-position 0.4s var(--mola);
}
.botao-principal:hover::before { background-position: 100% 0; }
.botao-principal:hover { transform: translateY(-2px); filter: drop-shadow(0 12px 26px rgba(255, 45, 143, 0.5)); }
.botao-principal:active { transform: translateY(1px) scale(0.985); }
.botao-principal:disabled { cursor: wait; filter: grayscale(0.6) brightness(0.8); transform: none; }
.botao-grande { width: 100%; min-height: 66px; font-size: 32px; }
.botao-secundario {
  color: var(--creme);
  font-weight: 800; font-size: 15px; letter-spacing: 0.12em;
  border: 2px solid var(--creme-3); border-radius: 4px;
}
.botao-secundario:hover { border-color: var(--creme); }
.botao-principal:focus-visible, .botao-secundario:focus-visible { outline: 3px solid var(--creme); outline-offset: 4px; }
.seta { width: 24px; height: 24px; flex: none; transition: transform 0.2s var(--mola); }
.botao-principal:hover .seta { transform: translateX(4px); }
.seta-volta { transform: scaleX(-1); width: 18px; height: 18px; }

/* ═════════════ MISSÃO ═════════════ */
.missao { gap: 0; padding-top: 0; }
.hud {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 calc(-1 * max(16px, env(safe-area-inset-left)));
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(7, 4, 12, 0.96), rgba(7, 4, 12, 0.82));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(241, 228, 204, 0.08);
}
.hud-missao { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hud-missao > div { min-width: 0; }
.hud-mascara { width: 34px; height: 40px; color: var(--roxo-mascara); filter: drop-shadow(0 0 10px rgba(168, 117, 255, 0.6)); flex: none; }
.hud-missao small, .respeito small { display: block; font-weight: 800; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sol); }
.hud-missao strong { display: block; font-family: var(--display); font-weight: 900; font-size: 20px; line-height: 1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-direita { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.procurado { display: flex; gap: 2px; }
.procurado svg { width: 18px; height: 18px; fill: rgba(241, 228, 204, 0.12); stroke: rgba(241, 228, 204, 0.4); stroke-width: 1.2; transition: fill 0.3s, transform 0.3s var(--mola); }
.procurado svg.cheia { fill: var(--creme); stroke: var(--tinta); filter: drop-shadow(0 0 6px rgba(255, 195, 90, 0.8)); }
.procurado.alerta svg.cheia { animation: piscar 0.5s steps(2) 6; }
.respeito { display: flex; align-items: center; gap: 8px; }
.respeito .barra { width: 96px; height: 9px; }
@media (max-width: 430px) { .respeito small { display: none; } .respeito .barra { width: 76px; } .hud-missao strong { font-size: 18px; } }

.progresso { display: flex; gap: 5px; margin: 16px 0 0; }
.progresso span { flex: 1; height: 7px; background: rgba(241, 228, 204, 0.1); transform: skewX(-24deg); transition: background 0.3s; }
.progresso span.feito { background: var(--vice); box-shadow: 0 0 10px rgba(255, 45, 143, 0.45); }
.progresso span.atual { background: var(--creme); animation: pulsar 1.2s ease-in-out infinite; }
@keyframes pulsar { 50% { opacity: 0.45; } }

.form-pergunta, .form-envio { display: flex; flex-direction: column; flex: 1; }
.passo { margin: 22px 0 6px; font-weight: 800; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--creme-2); }
.passo b { font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; color: var(--creme); }
.passo-total { letter-spacing: 0.02em; }
.palco { flex: 1; }

.pergunta { border: 0; margin: 0; padding: 0; min-width: 0; animation: entrar-pergunta 0.5s var(--mola) both; }
.palco.voltando .pergunta { animation-name: entrar-pergunta-volta; }
@keyframes entrar-pergunta { from { opacity: 0; transform: translateX(28px) skewX(-6deg); } to { opacity: 1; transform: none; } }
@keyframes entrar-pergunta-volta { from { opacity: 0; transform: translateX(-28px) skewX(6deg); } to { opacity: 1; transform: none; } }
.pergunta-titulo {
  display: block; padding: 0; margin: 0 0 6px;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 12.5vw, 84px); line-height: 0.88; letter-spacing: -0.005em;
  color: var(--creme); text-shadow: 4px 4px 0 var(--roxo);
  outline: none;
}
.pergunta-titulo.longo { font-size: clamp(36px, 10vw, 68px); }
.pergunta-contexto { display: block; margin: 0 0 12px; font-family: var(--corpo); font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; text-transform: none; text-shadow: none; color: var(--creme-2); }
.pergunta-nota { margin: 8px 0 0; font-family: var(--rabisco); font-size: 19px; line-height: 1.3; color: var(--magenta); transform: rotate(-1.2deg); transform-origin: left; }
.pergunta-opcional { display: inline-block; margin-top: 8px; font-weight: 800; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--creme-2); border: 1px solid var(--creme-3); padding: 3px 8px; border-radius: 3px; }

.opcoes { display: grid; gap: 10px; margin-top: 22px; }
.opcoes.varias { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opcoes.varias { grid-template-columns: 1fr 1fr; } }
.opcao {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  min-height: 62px; padding: 12px 14px;
  border: 2px solid var(--creme-3); border-radius: 6px;
  background: linear-gradient(135deg, rgba(108, 43, 217, 0.16), rgba(255, 255, 255, 0.02));
  cursor: pointer;
  transition: transform 0.18s var(--mola), border-color 0.18s, background 0.18s, box-shadow 0.18s;
  animation: entrar-opcao 0.45s var(--mola) both;
  -webkit-tap-highlight-color: transparent;
}
.opcao:nth-child(2) { animation-delay: 0.04s; } .opcao:nth-child(3) { animation-delay: 0.08s; } .opcao:nth-child(4) { animation-delay: 0.12s; }
.opcao:nth-child(5) { animation-delay: 0.16s; } .opcao:nth-child(6) { animation-delay: 0.2s; } .opcao:nth-child(7) { animation-delay: 0.24s; }
.opcao:nth-child(8) { animation-delay: 0.28s; } .opcao:nth-child(9) { animation-delay: 0.32s; } .opcao:nth-child(10) { animation-delay: 0.36s; }
@keyframes entrar-opcao { from { opacity: 0; transform: translateY(10px); } }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao:hover { border-color: rgba(168, 117, 255, 0.7); transform: translateX(3px); }
.opcao:has(input:focus-visible) { outline: 3px solid var(--creme); outline-offset: 3px; }
.opcao:has(input:checked) {
  border-color: transparent;
  background: linear-gradient(var(--noite-3), var(--noite-3)) padding-box, var(--vice) border-box;
  box-shadow: var(--neon);
  transform: translateX(3px) skewX(-3deg);
}
.tecla {
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 2px solid var(--creme-3); border-radius: 5px;
  font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--creme-2);
  transition: all 0.18s;
}
.opcao:has(input:checked) .tecla { border-color: transparent; background: var(--vice); color: var(--tinta); }
.opcao-texto { font-weight: 700; font-size: 18px; line-height: 1.2; }
.marca {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--creme-3);
  display: grid; place-items: center; transition: all 0.2s var(--mola);
}
.varias .marca { border-radius: 4px; }
.marca::after { content: ''; width: 11px; height: 6px; border-left: 3px solid var(--tinta); border-bottom: 3px solid var(--tinta); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--mola); }
.opcao:has(input:checked) .marca { background: var(--creme); border-color: var(--creme); }
.opcao:has(input:checked) .marca::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.amostra { position: absolute; inset: 0; border-radius: 4px; z-index: -1; opacity: 0.55; }
.opcao-cor { overflow: hidden; isolation: isolate; min-height: 72px; }
.opcao-cor .opcao-texto { font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; text-shadow: 2px 2px 0 var(--tinta); }
.amostra-1 { background: linear-gradient(110deg, #5b2a86, #3a1660); }
.amostra-2 { background: linear-gradient(110deg, #6c2bd9, #4b1f99); }
.amostra-3 { background: linear-gradient(110deg, #a875ff, #6c2bd9); }

.campo { display: block; margin-top: 26px; }
.campo input, .campo textarea {
  width: 100%; border: 0; outline: none; color: var(--creme); caret-color: var(--magenta);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.campo input {
  padding: 8px 2px 10px; background: transparent;
  border-bottom: 3px solid rgba(241, 228, 204, 0.28);
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 8.5vw, 46px); line-height: 1.1; text-transform: uppercase;
}
.campo textarea {
  min-height: 170px; resize: vertical; padding: 14px 16px;
  background: rgba(0, 0, 0, 0.38); border: 2px solid var(--creme-3); border-radius: 6px;
  font-weight: 600; font-size: 19px; line-height: 1.4;
}
.campo input::placeholder, .campo textarea::placeholder { color: rgba(241, 228, 204, 0.28); }
.campo input:focus { border-bottom-color: var(--magenta); box-shadow: 0 10px 22px -14px rgba(255, 45, 143, 0.9); }
.campo textarea:focus { border-color: var(--roxo-claro); background: rgba(0, 0, 0, 0.5); box-shadow: var(--neon); }
.contador { display: block; margin-top: 8px; text-align: right; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: var(--creme-2); }

.erro { min-height: 1.5em; margin: 14px 0 0; font-weight: 800; color: var(--erro); }
.erro.tremer { animation: tremer 0.4s; }
@keyframes tremer { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.navegacao {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; gap: 12px; align-items: stretch;
  margin: 10px calc(-1 * max(16px, env(safe-area-inset-left))) 0;
  padding: 14px max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, transparent, rgba(7, 4, 12, 0.92) 30%);
}
.navegacao .botao-principal { flex: 1; }
.form-envio .navegacao { flex-direction: column-reverse; }
.form-envio .botao-principal { min-height: 62px; }

.toasts { position: fixed; top: 86px; right: max(16px, env(safe-area-inset-right)); z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.toast {
  font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--creme); -webkit-text-stroke: 1.5px var(--tinta); paint-order: stroke fill;
  text-shadow: 2px 2px 0 var(--tinta), 0 0 18px rgba(255, 45, 143, 0.6);
  animation: toast 1.4s var(--mola) both;
}
.toast.ouro { color: var(--ouro); }
.toast { max-width: calc(100vw - 32px); text-align: right; line-height: 1; }
.toast.longo { font-size: 20px; }
@keyframes toast { 0% { opacity: 0; transform: translateY(10px) scale(0.9); } 18% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }

/* ═════════════ FICHA ═════════════ */
.ficha { max-width: 880px; }
.ficha .passo { margin-top: 8px; }
.ficha-chamada { margin: 0 0 8px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 12vw, 80px); line-height: 0.88; text-shadow: 4px 4px 0 var(--roxo); }
.ficha-card {
  position: relative; overflow: hidden;
  background: var(--creme); color: var(--tinta);
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65), var(--neon);
  animation: subir 0.6s var(--mola) both;
}
.ficha-topo { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--tinta); color: var(--creme); font-weight: 800; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.carimbo {
  position: absolute; right: 12px; top: 54px; z-index: 2;
  padding: 4px 10px; border: 4px double var(--magenta); border-radius: 4px;
  font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--magenta); opacity: 0.85; transform: rotate(9deg);
  mix-blend-mode: multiply;
  animation: carimbar 0.45s var(--mola) 0.5s both;
}
@keyframes carimbar { from { opacity: 0; transform: rotate(9deg) scale(2.2); } to { opacity: 0.85; transform: rotate(9deg) scale(1); } }
.ficha-corpo { display: grid; gap: 18px; padding: 18px 16px 4px; }
.mugshot { position: relative; margin: 0; width: min(260px, 72%); }
.mugshot svg { display: block; width: 100%; height: auto; border: 3px solid var(--tinta); }
.mugshot-alturas { font-family: var(--corpo); font-weight: 700; font-size: 11px; }
.placa {
  position: absolute; left: 50%; bottom: -14px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; min-width: 78%;
  padding: 6px 12px; background: var(--tinta); color: var(--creme); border-radius: 2px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.placa b { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }
.placa span { font-weight: 800; font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sol); }
.ficha-dados { margin: 14px 0 0; display: grid; gap: 0; }
.ficha-dados > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(10, 7, 16, 0.25); }
.ficha-dados dt { font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #5e5170; padding-top: 3px; }
.ficha-dados dd { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.estrelas-ficha { display: inline-flex; gap: 1px; vertical-align: -3px; margin-left: 6px; }
.estrelas-ficha svg { width: 16px; height: 16px; fill: rgba(10, 7, 16, 0.15); }
.estrelas-ficha svg.cheia { fill: var(--magenta); }
.ficha-habilidades, .ficha-porque { margin: 0; padding: 14px 16px 4px; }
.ficha-habilidades h3, .ficha-porque h3 { margin: 0 0 10px; font-weight: 800; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #5e5170; }
.ficha-habilidades ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ficha-habilidades li {
  padding: 5px 10px; border: 2px solid var(--roxo); border-radius: 3px; color: var(--roxo);
  font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.ficha-habilidades li:nth-child(3n + 1) { transform: rotate(-2.5deg); }
.ficha-habilidades li:nth-child(3n + 2) { transform: rotate(1.5deg); }
.ficha-habilidades li.vazio { border-style: dashed; color: #5e5170; border-color: #5e5170; }
.ficha-porque { padding-bottom: 20px; }
.ficha-porque p { position: relative; margin: 0; padding-left: 30px; font-weight: 600; font-size: 18px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.ficha-porque p::before { content: '“'; position: absolute; left: 0; top: -8px; font-family: var(--rabisco); font-size: 46px; line-height: 1; color: var(--roxo); }

.form-envio { margin-top: 18px; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.concordo { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px; border: 2px solid var(--creme-3); border-radius: 6px; cursor: pointer; background: rgba(0, 0, 0, 0.3); }
.concordo input { position: absolute; opacity: 0; }
.concordo:has(input:focus-visible) { outline: 3px solid var(--creme); outline-offset: 3px; }
.caixa { width: 28px; height: 28px; margin-top: 2px; border: 2px solid var(--creme); border-radius: 4px; display: grid; place-items: center; transition: background 0.2s; }
.caixa::after { content: ''; width: 12px; height: 7px; border-left: 3px solid var(--tinta); border-bottom: 3px solid var(--tinta); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform 0.2s var(--mola); }
.concordo input:checked + .caixa { background: var(--vice); border-color: transparent; }
.concordo input:checked + .caixa::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.concordo-texto b { display: block; font-weight: 800; font-size: 17px; line-height: 1.3; }
.concordo-texto small { display: block; margin-top: 4px; font-size: 13px; color: var(--creme-2); }

/* ═════════════ MISSION PASSED ═════════════ */
.passed { align-items: center; justify-content: center; text-align: center; gap: 10px; overflow: hidden; }
.passed-raios {
  position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(246, 181, 28, 0.08) 0 8deg, transparent 8deg 20deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 60%);
  mask-image: radial-gradient(circle, #000 0, transparent 60%);
  animation: girar 30s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.passed-titulo {
  margin: 0;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 19vw, 168px); line-height: 0.85; letter-spacing: 0.01em;
  color: var(--ouro); -webkit-text-stroke: 3px var(--tinta); paint-order: stroke fill;
  text-shadow: 0 6px 0 var(--tinta), 0 0 50px rgba(246, 181, 28, 0.35);
  animation: pop 0.9s cubic-bezier(0.2, 1.5, 0.3, 1) 0.1s both;
}
@keyframes pop { from { opacity: 0; transform: scale(2.4); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.passed-respeito {
  margin: 0;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(32px, 9vw, 62px); line-height: 1;
  color: var(--creme); -webkit-text-stroke: 2px var(--tinta); paint-order: stroke fill; text-shadow: 0 4px 0 var(--tinta);
  animation: subir 0.6s var(--mola) 0.9s both;
}
.passed-texto { max-width: 34ch; margin: 14px 0 6px; font-weight: 600; font-size: 19px; animation: subir 0.6s var(--mola) 1.2s both; }
.passed-botoes { display: flex; flex-direction: column; gap: 12px; width: min(420px, 100%); animation: subir 0.6s var(--mola) 1.4s both; }

@keyframes subir { from { opacity: 0; transform: translateY(16px); } }
@keyframes deslizar { from { opacity: 0; transform: translateX(-20px); } }

.sem-js { position: fixed; inset: auto 16px 16px; padding: 14px; background: var(--tinta); border: 2px solid var(--magenta); border-radius: 6px; font-weight: 700; text-align: center; z-index: 60; }

/* ═════════════ TELAS GRANDES ═════════════ */
@media (min-width: 900px) {
  .tela { padding: 28px 32px 32px; gap: 22px; }
  .capa-grade {
    grid-template-columns: 1.15fr 1.15fr 0.85fr;
    grid-template-rows: 225px 225px auto;
    grid-template-areas: 'ceu ceu oitenta' 'ceu ceu procura' 'titulo titulo titulo';
    transform: rotate(-0.6deg);
  }
  .painel-ceu { aspect-ratio: auto; }
  .painel-80, .painel-procura { padding-bottom: 14px; }
  .numero-80 { font-size: 170px; }
  .procura-num { font-size: 58px; }
  .painel-titulo { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 40px; padding: 30px 34px 26px; }
  .painel-titulo h1 { grid-row: 1 / span 2; align-self: end; font-size: 136px; margin: 0; }
  .sub { align-self: end; font-size: 26px; max-width: 22ch; }
  .capa-acoes { align-self: start; }
  .tag { left: 24px; font-size: 52px; }
  .botao-grande { min-height: 70px; }
  .missao, .ficha { max-width: 820px; }
  .hud { margin: 0 -32px; padding: 14px 32px; }
  .navegacao { margin: 18px -32px 0; padding: 16px 32px 20px; }
  .ficha-corpo { grid-template-columns: 250px 1fr; align-items: start; padding: 22px 22px 8px; }
  .mugshot { width: 100%; }
  .ficha-habilidades, .ficha-porque { padding-left: 22px; padding-right: 22px; }
  .passed-botoes { flex-direction: row; justify-content: center; width: auto; }
  .form-envio .navegacao { flex-direction: row; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .grao { animation: none; }
}
