/* Black 2026 · Caderno do Aprovado · base das páginas de captura.
   Marca: preto #0B0B0B / #1A1A1A, amarelo #FFE500 (#FFC400 no degradê), DM Sans. */
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #0b0b0b; --bg-2: #121212; --card: #171717; --card-2: #1f1f1f;
  --y: #ffe500; --y-2: #ffc400; --y-ink: #141200;
  --ink: #fff; --ink-2: #d6d6d2; --muted: #9c9c96; --line: #ffffff14; --line-2: #ffffff29;
  --paper: #f3f4f1; --paper-ink: #141414; --pink: #f6dbe6;
  --ok: #4fdc78; --bad: #ff6f66;
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-pill: 99px;
  --max: 1180px; --pad: clamp(20px, 5vw, 40px);
  --ring: inset 0 0 0 1px rgba(255,255,255,.08);
  --shadow: 0 1px 2px #0008, 0 30px 60px -30px #000;
  --glow: 0 0 0 1px #ffe50055, 0 18px 50px -18px #ffe50066;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; color: var(--y); }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--y); }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--y); }
.h2 { font-size: clamp(32px, 5vw, 56px); }
.lead { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; }
.muted { color: var(--muted); }

/* topo */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.top img { height: 40px; width: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: #ffffff0d; box-shadow: var(--ring); font: 600 13px/1 var(--font); color: var(--ink-2); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--y); animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: scale(.8); } }

/* faixa que corre (tema Black) */
.tape { background: var(--y); color: var(--y-ink); overflow: hidden; font: 800 14px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.tape__run { display: flex; gap: 0; width: max-content; animation: run 38s linear infinite; }
.tape span { padding: 13px 22px; display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; }
.tape span::after { content: ""; width: 7px; height: 7px; background: var(--y-ink); transform: rotate(45deg); }
.tape--dark { background: #000; color: var(--y); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.tape--dark span::after { background: var(--y); }
.tape--tilt { transform: rotate(-2deg) scale(1.04); margin: 26px 0; }
@keyframes run { to { transform: translateX(-50%); } }

/* botão */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px; border: 0; border-radius: var(--r-pill); cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, var(--y), var(--y-2)); color: var(--y-ink); font: 800 17px/1.1 var(--font); letter-spacing: -.01em; white-space: nowrap;
  box-shadow: inset 0 1px 0 #ffffff99, 0 14px 34px -12px #ffe50088; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #ffffff99, 0 20px 44px -12px #ffe500aa; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--y); }
.btn svg { flex: none; }

/* formulário de cadastro */
.form { background: var(--card); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--ring), var(--shadow); position: relative; }
.form--glow { box-shadow: var(--glow), var(--shadow); }
.form__title { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.form__sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.field { display: block; margin-top: 14px; }
.field span { display: block; font: 600 13px/1 var(--font); color: var(--ink-2); margin-bottom: 8px; }
.field input { width: 100%; height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: #0b0b0b; color: var(--ink); font: 500 17px/1 var(--font); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .2s; }
.field input::placeholder { color: #6f6f6a; }
.field input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--y); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
.field small { display: none; color: var(--bad); font-size: 13px; margin-top: 6px; }
.field input[aria-invalid="true"] ~ small { display: block; }
.form .btn { width: 100%; margin-top: 18px; }
.form__fine { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 14px; }
.form__fine a { color: var(--ink-2); }
.form__erro { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #ff6f6618; color: #ffb3ae; font-size: 14px; }
.form__erro.on { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* contagem */
.count { display: inline-grid; grid-auto-flow: column; gap: 8px; align-items: stretch; }
.count div { min-width: 62px; padding: 10px 8px 8px; border-radius: 14px; background: #ffffff0d; box-shadow: var(--ring); text-align: center; }
.count b { display: block; font: 800 28px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.count i { display: block; font: 600 10.5px/1 var(--font); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.count--y div { background: var(--y); color: var(--y-ink); box-shadow: none; }
.count--y i { color: #4d4600; }

/* números de prova */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--ring); overflow: hidden; }
.stats div { padding: 26px 22px; box-shadow: inset 1px 0 0 var(--line); }
.stats div:first-child { box-shadow: none; }
.stats b { display: block; font: 800 clamp(30px, 4vw, 44px)/1 var(--font); letter-spacing: -.035em; color: var(--y); }
.stats span { display: block; color: var(--ink-2); font-size: 14.5px; margin-top: 8px; line-height: 1.35; }

/* cards */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--ring), var(--shadow); padding: clamp(22px, 2.6vw, 30px); }
.card h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; }
.num { font: 800 13px/1 var(--font); letter-spacing: .14em; color: var(--y); }
.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 34px; color: var(--ink-2); }
.check li b { color: var(--ink); font-weight: 700; }
.check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--y); }
.check li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid var(--y-ink); border-bottom: 2.5px solid var(--y-ink); transform: rotate(-45deg); }

/* tela da plataforma em moldura de navegador */
.screen { border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px #ffffff1f, 0 40px 80px -30px #000, 0 0 90px -30px #ffe50040; }
.screen__bar { height: 34px; background: #0a0a0a; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.screen__bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.screen__bar i:first-child { background: var(--y); }
.screen__bar span { margin-left: 10px; font: 600 11.5px/1 var(--font); color: #8a8a85; letter-spacing: .02em; }
.screen img { width: 100%; }

/* vídeo leve (só carrega o YouTube no clique) */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--ring), var(--shadow); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 40%, #000c); z-index: 1; }
.yt__play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; background: var(--y); display: grid; place-items: center; box-shadow: 0 0 0 10px #ffe50033; transition: transform .3s var(--ease); }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__play::after { content: ""; border-left: 22px solid var(--y-ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.yt__cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; text-align: left; font: 700 16px/1.25 var(--font); color: #fff; }
.yt__cap small { display: block; font: 600 12.5px/1 var(--font); color: var(--y); margin-bottom: 6px; letter-spacing: .08em; text-transform: uppercase; }
.yt.on::before, .yt.on .yt__play, .yt.on .yt__cap { display: none; }
.yt--sm .yt__play { width: 46px; height: 46px; box-shadow: 0 0 0 6px #ffe50033; }
.yt--sm .yt__play::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 4px; }
.yt--sm .yt__cap { font-size: 13.5px; left: 12px; right: 12px; bottom: 10px; }

/* provas em fileira que desliza */
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 18px; margin-inline: calc(-1 * var(--pad)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail img { flex: none; width: min(74vw, 300px); border-radius: var(--r-md); scroll-snap-align: start; box-shadow: var(--shadow); background: #fff; }

/* perguntas */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--r-md); box-shadow: var(--ring); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font: 700 17px/1.3 var(--font); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ffffff10; color: var(--y); font: 500 20px/1 var(--font); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }

/* rodapé */
.foot { padding: 34px 0 110px; color: var(--muted); font-size: 13px; box-shadow: inset 0 1px 0 var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; }
.foot img { height: 30px; width: auto; opacity: .8; }

/* botão fixo no celular */
.sticky { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px; display: none; transform: translateY(140%); transition: transform .45s var(--ease); }
.sticky.on { transform: none; }
.sticky .btn { width: 100%; min-height: 54px; box-shadow: inset 0 1px 0 #ffffff99, 0 14px 40px -6px #000, 0 0 0 6px #0b0b0bcc; }

/* entrada */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; transform: translateY(110%); animation: up .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes up { to { transform: none; } }

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .stats div:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .sticky { display: block; }
  .top img { height: 34px; }
  .count div { min-width: 54px; }
  .count b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .mask > span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.shot .rv { opacity: 1; transform: none; transition: none; }
.shot .mask > span { animation: none; transform: none; }
.shot .tape__run { animation: none; }

.form .form__title { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; max-width: none; margin: 0; }
/* mockup com fundo preto: some no fundo escuro da página */
.mk { mix-blend-mode: lighten; }
