/* ============================================================
   SIMULADO RAIO-X · MISSÃO FARDA
   ============================================================ */
:root {
  --bg: #0b0b0b;
  --bg-2: #141414;
  --card: #0f0f0f;
  --linha: #2a2a2a;
  --linha-forte: #3a3a3a;
  --ouro: #e2b341;
  --ouro-hover: #efc65f;
  --ouro-fundo: #16130a;
  --branco: #f5f5f5;
  --texto-claro: #d2d2d2;
  --cinza: #a6a6a6;
  --placeholder: #7c7c7c;
  --alerta: #d64535;
  --ok: #3f9a5c;

  /* área da prova (fundo claro, para ler 80 questões sem cansar) */
  --papel: #fbfaf6;
  --papel-2: #f1eee6;
  --tinta: #141414;
  --tinta-2: #55524c;
  --borda-papel: #dcd7cb;

  --titulo: "Anton", "Arial Narrow", Impact, sans-serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --raio: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texto); font-size: 17px; line-height: 1.6; font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; text-transform: uppercase; line-height: 1.12; letter-spacing: .01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.centro { text-align: center; }
.ouro { color: var(--ouro); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

.aviso-demo { position: relative; z-index: 20; background: var(--ouro); color: #111; font-size: 14px; text-align: center; padding: 8px 16px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 61px; padding: 0 35px; border: 0; border-radius: var(--raio);
  background: var(--ouro); color: #111; text-decoration: none; cursor: pointer;
  font: 800 17px/1.15 var(--texto); text-transform: uppercase; letter-spacing: .005em; text-align: center;
  transition: background .15s ease;
}
.btn:hover { background: var(--ouro-hover); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn--largo { width: 100%; }
.btn--contorno { background: transparent; color: var(--ouro); border: 1.5px solid var(--ouro); }
.btn--contorno:hover { background: rgba(226, 179, 65, .1); }

.eyebrow { font: 700 13px/1.3 var(--texto); letter-spacing: .2em; text-transform: uppercase; color: var(--ouro); margin: 0 0 16px; }

/* ============================================================
   PÁGINA DE CAPTURA
   ============================================================ */
.lp { background: var(--bg); color: var(--branco); }
.lp em, .oferta em { font-style: normal; color: var(--ouro); }

.lp-topo { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.lp-topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 110px; }
.aviso-demo:not([hidden]) + .lp-topo { top: 37px; }
.marca { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; white-space: nowrap; }
.marca-logo { display: block; height: 45px; width: auto; }
.pill {
  display: inline-flex; align-items: center; height: 43px; padding: 0 21px;
  border: 1.5px solid var(--ouro); border-radius: 999px; color: var(--ouro);
  font: 700 14px/1 var(--texto); text-decoration: none; white-space: nowrap; transition: background .15s;
}
.pill:hover { background: rgba(226, 179, 65, .1); }

/* topo */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__foto { position: absolute; top: 0; bottom: 0; right: max(0px, calc(50% - 673px)); width: 645px; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero__foto::before, .hero__foto::after { content: ""; position: absolute; pointer-events: none; }
.hero__foto::before { inset: 0 auto 0 0; width: 34%; background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 11, .55) 45%, rgba(11, 11, 11, 0) 100%); }
.hero__foto::after { inset: auto 0 0 0; height: 22%; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 11, 0) 100%); }
.hero .wrap { position: relative; z-index: 2; }
.hero__txt { max-width: 640px; padding: 199px 0 140px; }
.hero h1 { font-size: 74px; line-height: 1.12; margin: 0 0 24px; }
.hero__sub { font-size: 20px; line-height: 1.5; color: #dcdcdc; max-width: 610px; margin: 0 0 26px; }
.hero__info { font-size: 14px; color: #c4c4c4; margin: 15px 0 0; }
.hero__autores { font-size: 14px; color: #c4c4c4; margin: 26px 0 0; }
.hero__autores b { color: var(--branco); font-weight: 700; }

/* seções */
.sec { padding: 96px 0; }
.sec--alt { background: var(--bg-2); }
.titulo-sec { font-size: clamp(30px, calc(5vw - 4px), 50px); text-align: center; }
.sub-sec { font-size: 18px; color: var(--texto-claro); text-align: center; margin: 10px 0 32px; }
.cta-sec { margin: 48px 0 0; }

/* três cartões */
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pilar {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--linha); border-top: 3px solid var(--ouro); border-radius: 14px;
  padding: 30px 32px 30px;
}
.pilar h3 { font-size: clamp(16px, calc(2.8vw - 8.6px), 25px); line-height: 1.15; white-space: nowrap; margin: 0 0 14px; }
.pilar p { font-size: 17px; line-height: 1.65; color: var(--texto-claro); text-align: justify; -webkit-hyphens: auto; hyphens: auto; margin: 0 0 22px; }
.pilar .pilar__lema { margin: auto 0 0; color: var(--ouro); font-weight: 700; font-size: 15px; line-height: 1.3; text-align: left; -webkit-hyphens: none; hyphens: none; }

/* quem comanda */
.comando { display: grid; grid-template-columns: 480px 1fr; gap: 56px; align-items: center; }
.comando__foto { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.comando h2 { font-size: clamp(30px, 3.6vw, 50px); padding-bottom: 16px; border-bottom: 1px solid var(--linha); margin: 0 0 25px; }
.comando .eyebrow { margin-bottom: 12px; }
.historia { border-bottom: 1px solid var(--linha); padding-bottom: 20px; margin-bottom: 25px; }
.historia h3 { font-size: 29px; line-height: 1.1; margin: 0 0 14px; }
.historia p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--texto-claro); text-align: justify; -webkit-hyphens: auto; hyphens: auto; margin: 0 0 14px; }
.historia p b { color: var(--branco); }
.historia blockquote { margin: 0; padding: 1px 0 1px 17px; border-left: 3px solid var(--ouro); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--branco); }
.comando__fecho { font-size: 18px; line-height: 1.68; text-align: justify; -webkit-hyphens: auto; hyphens: auto; margin: 0 0 22px; color: var(--branco); }
.comando__fecho b { font-weight: 700; }

/* aprovados */
/* carrosséis (fotos e prints) */
.carrossel { position: relative; }
.carrossel__trilho {
  display: flex; gap: 16px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho > * { scroll-snap-align: start; flex: none; }
.carrossel__seta {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(11, 11, 11, .88); border: 1.5px solid var(--ouro); color: var(--ouro);
  transition: background .15s, opacity .15s;
}
.carrossel__seta:hover { background: var(--ouro); color: #111; }
.carrossel__seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carrossel__seta--ant { left: -24px; }
.carrossel__seta--prox { right: -24px; }
.carrossel__dica { display: none; }

.aprovados li { width: calc((100% - 64px) / 5); aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #1c1c1c; }
.aprovados img { width: 100%; height: 100%; object-fit: cover; }
.mais-200 { margin: 46px 0 0; }
.titulo-wa { font-size: 38px; text-align: center; margin: 56px 0 32px; }

/* prints do WhatsApp */
.wa { gap: 20px; align-items: center; }
/* prints com a mesma altura, cada um na sua largura: sem buracos entre eles */
.wa img { height: 280px; width: auto; border: 1px solid var(--linha); border-radius: 10px; background: #1c1c1c; }

/* formulário */
.form-card {
  max-width: 640px; margin: 0 auto; background: var(--bg-2);
  border: 1px solid var(--linha); border-radius: 16px; padding: 38px 32px 38px;
}
.form-card h2 { font-size: 44px; text-align: center; }
.form-card__sub { text-align: center; font-size: 16px; color: var(--texto-claro); margin: 6px 0 18px; }
.campo { margin: 0 0 13px; }
.campo label { display: block; font: 700 14px/1.4 var(--texto); color: var(--branco); margin: 0 0 8px; }
.campo input, .campo select {
  display: block; width: 100%; height: 48px; padding: 0 16px;
  background: var(--bg); color: var(--branco); border: 1px solid var(--linha-forte); border-radius: var(--raio);
  font: 16px/1.2 var(--texto);
}
.campo select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d2d2d2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.campo select option { background: #141414; color: var(--branco); }
.campo input::placeholder { color: var(--placeholder); opacity: 1; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(226, 179, 65, .18); }
.campo.erro input, .campo.erro select { border-color: #e2685b; }
.aceite { display: flex; align-items: center; gap: 13px; margin: 20px 0 16px; padding-left: 4px; font-size: 13px; line-height: 1.4; color: #c8c8c8; cursor: pointer; }
.aceite input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ouro); cursor: pointer; }
.erro-form { color: #ff8a7d; font-size: 15px; margin: 0 0 12px; }
.erro-form:empty { display: none; }
.form-card__nota { text-align: center; font-size: 13px; color: var(--cinza); margin: 16px 0 0; }

.sucesso h2 { font-size: 44px; text-align: center; margin-bottom: 12px; }
.sucesso p { color: var(--texto-claro); text-align: center; }
.sucesso .btn { margin-top: 8px; }
.sucesso .btn + .btn { margin-top: 12px; }
.sucesso__acesso { margin-top: 22px; padding: 16px; border: 1px solid var(--linha); border-radius: var(--raio); font-size: 14px; }
.sucesso__acesso b { color: var(--branco); }

/* perguntas */
.faq { max-width: 800px; }
.faq h2 { font-size: 44px; text-align: center; margin: 0 0 32px; }
.faq__item { padding: 25px 0 20px; border-bottom: 1px solid var(--linha); }
.faq__item:first-of-type { padding-top: 6px; }
.faq__item:last-child { border-bottom: 0; }
.faq__item h3 { font: 700 18px/1.4 var(--texto); text-transform: none; letter-spacing: 0; color: var(--branco); margin: 0 0 6px; }
.faq__item p { margin: 0; font-size: 17px; line-height: 1.65; color: #cacaca; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.faq__item a { color: var(--ouro); text-underline-offset: 3px; }

/* chamada final */
.final { text-align: center; padding: 114px 0 110px; }
.final h2 { font-size: 52px; line-height: 1.14; max-width: 860px; margin: 0 auto 36px; }

/* rodapé */
.rodape { border-top: 1px solid var(--linha); padding: 24px 0 28px; color: var(--cinza); }
.rodape .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rodape__logo { height: 32px; width: auto; flex: none; }
.rodape__aviso { max-width: 560px; margin: 0; font-size: 13px; line-height: 1.35; }
.rodape__aviso a { color: var(--cinza); }
.rodape__insta { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; white-space: nowrap; }
.rodape__insta a { display: inline-flex; align-items: center; gap: 5px; color: var(--ouro); text-underline-offset: 2px; }
.rodape__insta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.rodape__insta svg .cheio { fill: currentColor; stroke: none; }

/* barra fixa (só no celular) */
.barra-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: none;
  align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 11, .94); backdrop-filter: blur(6px); border-top: 1px solid var(--linha);
  transform: translateY(110%); transition: transform .25s ease;
}
.barra-fixa span { font-size: 14px; color: var(--texto-claro); }
.barra-fixa .btn { min-height: 46px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.barra-fixa.on { transform: none; }

.so-celular { display: none; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .hero h1 { font-size: 64px; }
  .hero__txt { max-width: 560px; }
  .hero__foto { width: 560px; }
  .comando { grid-template-columns: 400px 1fr; gap: 44px; }
}
@media (max-width: 1020px) {
  .hero__foto { width: 480px; opacity: .85; }
  .hero__txt { max-width: 520px; }
  .hero h1 { font-size: 56px; }
  .pilares { gap: 16px; }
  .pilar { padding: 26px 24px; }
  .aprovados li { width: calc((100% - 48px) / 4); }
  .wa img { height: 250px; }
  .carrossel__seta--ant { left: -8px; }
  .carrossel__seta--prox { right: -8px; }
}

/* ---------- celular ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .so-desktop { display: none; }
  .so-celular { display: inline; }
  .lp-topo .wrap { height: 76px; }
  .marca-logo { height: 36px; }
  .pill { height: 38px; padding: 0 16px; font-size: 13px; }
  .pill__curto { display: inline-block; }
  .pill__curto::first-letter { text-transform: uppercase; }

  /* foto em cima, texto entrando no degradê */
  .hero__foto { position: relative; right: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .hero__foto img { object-position: 50% 8%; }
  .hero__foto::before { inset: 0 0 auto 0; width: auto; height: 30%; background: linear-gradient(180deg, rgba(11, 11, 11, .75), rgba(11, 11, 11, 0)); }
  .hero__foto::after { height: 45%; }
  .hero__txt { max-width: none; padding: 0 0 56px; margin-top: -84px; }
  .hero h1 { font-size: clamp(34px, 10vw, 58px); margin-bottom: 18px; }
  .hero__sub { font-size: 17px; }
  .hero .btn { width: 100%; }
  .hero__autores { margin-top: 18px; }

  .sec { padding: 64px 0; }
  .titulo-sec { font-size: clamp(30px, 8.4vw, 46px); }
  .sub-sec { font-size: 16px; }
  .pilares { grid-template-columns: 1fr; gap: 16px; }
  .pilar h3 { font-size: clamp(18px, calc((100vw - 88px) / 12.2), 25px); }
  .cta-sec { margin-top: 32px; }
  .cta-sec .btn, .comando .btn, .final .btn { width: 100%; }

  .comando { grid-template-columns: 1fr; gap: 32px; }
  .comando__foto { max-width: 480px; }
  .comando h2 { font-size: clamp(30px, 8.4vw, 46px); }
  .historia h3 { font-size: 26px; }

  .carrossel__trilho { gap: 12px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
  .aprovados li { width: 44%; border-radius: 10px; }
  .carrossel__seta { width: 40px; height: 40px; }
  .carrossel__seta--ant { left: 4px; }
  .carrossel__seta--prox { right: 4px; }
  .carrossel__dica { display: block; text-align: center; font-size: 13px; color: var(--cinza); margin: 12px 0 0; }
  .titulo-wa { font-size: clamp(28px, 7.6vw, 36px); margin-top: 48px; }

  .wa img { height: auto; width: 82%; }
  .wa { align-items: center; }

  .eyebrow { font-size: 11px; letter-spacing: .13em; }
  .btn { font-size: 15px; padding: 0 18px; min-height: 56px; }
  .campo input, .campo select { padding-left: 14px; }

  .form-card { padding: 30px 18px; border-radius: 14px; }
  .form-card h2, .sucesso h2 { font-size: clamp(32px, 9vw, 42px); }
  .faq h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .final { padding: 72px 0 88px; }
  .final h2 { font-size: clamp(30px, 8.2vw, 46px); }

  .rodape .wrap { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rodape__insta { flex-wrap: wrap; }
  .lp .rodape { padding-bottom: 96px; }
  .barra-fixa { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .barra-fixa { transition: none; }
}

/* ============================================================
   TELA DE OFERTA (depois de entregar a prova)
   ============================================================ */
body.tema-escuro { background: var(--bg); color: var(--branco); }
body.tema-escuro .prova-topo { display: none; }
.oferta { max-width: 1120px; margin: 0 auto; padding: 48px 20px 88px; text-align: center; }
.oferta__logo { height: 37px; width: auto; margin: 0 auto 31px; }
.oferta .eyebrow { margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.oferta .eyebrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; }
.oferta h1 { font-size: 54px; line-height: 1.08; max-width: 840px; margin: 0 auto 28px; }
.oferta__sub { max-width: 620px; margin: 0 auto; font-size: 18px; line-height: 1.55; color: var(--texto-claro); }
.oferta__sub b { color: var(--branco); }
.oferta h2 { font-size: 40px; margin: 72px 0 36px; }
.oferta h2.planos-titulo { margin-bottom: 14px; }

.recebe { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha); text-align: left; }
.recebe li { display: grid; grid-template-columns: 50px 1fr; padding: 23px 18px 22px 8px; border-bottom: 1px solid var(--linha); }
.recebe .num { font-family: var(--titulo); font-size: 22px; line-height: 1.2; color: var(--ouro); }
.recebe b { display: block; font-size: 17px; line-height: 1.3; color: var(--branco); margin-bottom: 3px; }
.recebe span { display: block; font-size: 15px; line-height: 1.45; color: var(--cinza); }

.planos-sub { margin: 0 0 32px; color: var(--ouro); font-weight: 700; font-size: 15px; letter-spacing: .03em; }
.planos { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; align-items: stretch; text-align: left; }
.plano { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--linha); border-radius: 16px; padding: 34px 28px 30px; }
.plano--destaque { background: var(--ouro-fundo); border: 2px solid var(--ouro); }
.plano__selo { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ouro); color: #111; border-radius: 999px; padding: 7px 14px; font: 800 11px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.plano h3 { font-size: 28px; line-height: 1.05; }
.plano__desc { font-size: 15px; line-height: 1.4; color: var(--cinza); margin: 6px 0 16px; }
.plano__de { font-size: 14px; line-height: 1.4; color: var(--cinza); margin: 0; }
.plano__de s { text-decoration-thickness: 1px; }
.plano__preco { font-family: var(--titulo); font-size: 48px; line-height: 1.05; color: var(--branco); margin: 0 0 4px; white-space: nowrap; }
.plano__parc { font-size: 15px; line-height: 1.4; color: var(--texto-claro); margin: 0 0 18px; }
.plano ul { list-style: none; margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--linha); display: grid; gap: 9px; }
.plano li { display: grid; grid-template-columns: 22px 1fr; align-items: start; font-size: 15px; line-height: 1.4; color: var(--texto-claro); }
.plano li b { color: var(--branco); }
.plano li svg { width: 14px; height: 14px; margin-top: 3px; color: var(--ouro); }
.plano .btn { margin-top: auto; min-height: 54px; padding: 0 16px; font-size: 15px; width: 100%; }

.oferta__nao { margin: 52px auto 0; display: inline-block; background: none; border: 0; padding: 4px; cursor: pointer; font: 700 15px/1.4 var(--texto); color: var(--cinza); text-decoration: underline; text-underline-offset: 3px; }
.oferta__nao:hover { color: var(--branco); }
.oferta__duvidas { margin: 16px 0 0; font-size: 13px; color: #8a8a8a; }
.oferta__duvidas a { color: var(--ouro); }

@media (max-width: 960px) {
  .recebe { grid-template-columns: 1fr 1fr; }
  .planos { grid-template-columns: 1fr; max-width: 440px; gap: 28px; }
}
@media (max-width: 600px) {
  .oferta { padding-top: 36px; }
  .oferta h1 { font-size: clamp(32px, 8.6vw, 44px); }
  .oferta__sub { font-size: 16px; }
  .oferta h2 { font-size: clamp(28px, 7.8vw, 36px); margin-top: 60px; margin-bottom: 26px; }
  .recebe { grid-template-columns: 1fr; }
  .recebe li { padding: 18px 4px; }
}

/* ============================================================
   ÁREA DA PROVA
   ============================================================ */
.prova { background: var(--papel); color: var(--tinta); min-height: 100vh; }
.prova .muted { color: var(--tinta-2); }
.prova-topo { position: sticky; top: 0; z-index: 5; background: var(--bg); color: var(--branco); }
.prova-topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.prova-topo .marca-logo { height: 36px; }
.prova-topo #nomeSimulado { font-family: var(--titulo); font-size: 17px; text-transform: uppercase; letter-spacing: .01em; }
.marca-sep { width: 1px; height: 28px; background: rgba(255, 255, 255, .25); }
.relogio { font-family: var(--titulo); font-size: 25px; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.relogio.alerta { color: #ff6b5c; }
.relogio small { display: block; text-align: right; font: 400 12px/1 var(--texto); color: var(--cinza); letter-spacing: 0; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 16px/1.1 var(--texto); text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: var(--raio); border: 0;
  background: var(--tinta); color: var(--papel); transition: background .15s;
}
.botao:hover { background: #333; }
.botao:disabled { opacity: .55; cursor: not-allowed; }
.botao--ouro { background: var(--ouro); color: #111; text-transform: uppercase; font-weight: 800; }
.botao--ouro:hover { background: var(--ouro-hover); }
.botao--fantasma { background: transparent; color: var(--tinta); border: 1.5px solid currentColor; }
.botao--fantasma:hover { background: var(--papel-2); }
.botao--largo { width: 100%; }

.painel { max-width: 560px; margin: 56px auto; padding: 0 20px; }
.painel h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 18px; }
.painel .caixa { background: #fff; border: 1px solid var(--borda-papel); border-radius: var(--raio); padding: 26px; display: grid; gap: 18px; margin-top: 24px; }
.prova .campo { margin: 0; }
.prova .campo label { color: var(--tinta); font-size: 15px; }
.prova .campo input { background: #fff; color: var(--tinta); border-color: var(--borda-papel); font-size: 17px; }
.prova .campo input:focus { border-color: #8a6912; box-shadow: 0 0 0 3px rgba(226, 179, 65, .25); }
.prova .erro-form { color: var(--alerta); margin: 0; }
.lista-regras { padding-left: 1.2em; margin: 0; }
.lista-regras li { margin-bottom: 6px; }
.aviso-tempo { background: #fff4d6; border: 1px solid #e9cf86; border-radius: var(--raio); padding: 12px 14px; font-size: 15px; margin: 16px 0 0; }
.contagem-grande { font-family: var(--titulo); font-size: clamp(36px, 7.5vw, 60px); font-variant-numeric: tabular-nums; line-height: 1; margin: 10px 0 4px; }

.exame { max-width: 1120px; margin: 0 auto; padding: 28px 20px 120px; display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.questao .meta { display: flex; justify-content: space-between; gap: 12px; color: var(--tinta-2); font-size: 15px; margin-bottom: 14px; }
.questao .meta b { color: var(--tinta); }
.questao .enunciado { font-size: 19px; line-height: 1.65; margin-bottom: 24px; white-space: pre-line; max-width: 42em; }
.alts { display: grid; gap: 10px; max-width: 42em; }
.alt { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; text-align: left; font: 17px/1.5 var(--texto); color: var(--tinta);
  background: #fff; border: 1.5px solid var(--borda-papel); border-radius: var(--raio); padding: 12px 14px; cursor: pointer; width: 100%; }
.alt:hover { border-color: #b9b2a2; }
.alt .letra { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #9b968a; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.alt > span:last-child { padding-top: 4px; }
.alt[aria-pressed=true] { border-color: var(--tinta); background: var(--papel-2); }
.alt[aria-pressed=true] .letra { background: var(--tinta); color: #fff; border-color: var(--tinta); }
.navq { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; max-width: 42em; }
.img-q { display: block; max-width: 100%; height: auto; margin: 14px 0; border: 1px solid var(--borda-papel); border-radius: 4px; background: #fff; }

.lateral { position: sticky; top: 84px; background: #fff; border: 1px solid var(--borda-papel); border-radius: var(--raio); padding: 18px; }
.lateral h2 { font-size: 20px; margin-bottom: 4px; }
.lateral .prog { font-size: 14px; color: var(--tinta-2); margin-bottom: 12px; }
.grade-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 6px; max-height: 50vh; overflow: auto; padding: 2px; }
.grade-nav button { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid #9b968a; background: #fff; font: 600 13px var(--texto); color: var(--tinta-2); cursor: pointer; padding: 0; }
.grade-nav button.resp { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.grade-nav button.atual { outline: 2.5px solid var(--ouro); outline-offset: 2px; }
.lateral .botao { margin-top: 16px; }
.salvo { font-size: 12px; color: var(--tinta-2); margin-top: 10px; text-align: center; }

.modal { border: 0; border-radius: var(--raio); padding: 26px; max-width: 440px; width: calc(100% - 40px); background: var(--papel); color: var(--tinta); }
.modal::backdrop { background: rgba(0, 0, 0, .6); }
.modal h2 { font-size: 30px; margin-bottom: 10px; }
.modal .acoes { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

.resultado { max-width: 860px; margin: 0 auto; padding: 40px 20px 100px; }
.resultado h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.placar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--borda-papel); border: 1px solid var(--borda-papel); border-radius: var(--raio); overflow: hidden; margin: 28px 0 40px; }
.placar div { background: #fff; padding: 20px; }
.placar b { display: block; font-family: var(--titulo); font-weight: 400; font-size: 38px; line-height: 1.05; margin-bottom: 6px; }
.placar span { font-size: 14px; color: var(--tinta-2); }
.resultado h2 { font-size: 30px; margin: 40px 0 16px; }
.materias { display: grid; gap: 12px; }
.materias .m { display: grid; grid-template-columns: 1fr 2fr 56px; gap: 14px; align-items: center; font-size: 15px; }
.materias .trilho { height: 10px; background: var(--papel-2); border-radius: 5px; overflow: hidden; }
.materias .trilho i { display: block; height: 100%; background: var(--tinta); }
.materias .m.fraca .trilho i { background: var(--alerta); }
.materias .pct { text-align: right; font-variant-numeric: tabular-nums; }
table.ranking { width: 100%; border-collapse: collapse; font-size: 15px; }
.ranking th, .ranking td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--borda-papel); }
.ranking th { font-weight: 600; color: var(--tinta-2); font-size: 13px; }
.ranking td:first-child { font-family: var(--titulo); font-size: 17px; width: 56px; }
.ranking .num { text-align: right; font-variant-numeric: tabular-nums; }
.gq { border-top: 1px solid var(--borda-papel); padding: 24px 0; }
.gq .cab { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--tinta-2); margin-bottom: 8px; }
.gq .status { font-weight: 600; }
.gq .status.certo { color: var(--ok); }
.gq .status.errado { color: var(--alerta); }
.gq .enunciado { white-space: pre-line; margin-bottom: 12px; }
.gq ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 4px; font-size: 15px; }
.gq li { padding: 6px 10px; border-radius: 4px; }
.gq li.gab { background: rgba(63, 154, 92, .14); font-weight: 600; }
.gq li.marcou-errado { background: rgba(214, 69, 53, .12); text-decoration: line-through; }
.gq .coment { background: #fff; border-left: 3px solid var(--ouro); padding: 12px 16px; font-size: 15px; border-radius: 0 4px 4px 0; }
.gq .coment b { display: block; margin-bottom: 4px; }
.cta-resultado { background: var(--bg); color: var(--branco); border-radius: 12px; padding: 30px; margin: 40px 0; }
.cta-resultado h2 { color: var(--branco); margin-top: 0; }
.cta-resultado .botao { background: var(--ouro); color: #111; text-transform: uppercase; font-weight: 800; }

.carregando { text-align: center; padding: 80px 20px; color: var(--tinta-2); }
body.tema-escuro .carregando { color: var(--cinza); }

@media (max-width: 900px) {
  .exame { grid-template-columns: 1fr; gap: 24px; padding-bottom: 140px; }
  .lateral { position: static; order: 2; }
  .placar { grid-template-columns: 1fr; }
  .materias .m { grid-template-columns: 1fr 1fr 48px; }
}
@media (max-width: 560px) {
  .prova-topo .marca-logo { height: 30px; }
  .prova-topo .marca-sep, .prova-topo #nomeSimulado { display: none; }
}
.faq__item:last-child p { text-align: left; }
