:root {
  --ink-950: #0b0b10;
  --ink-900: #111117;
  --ink-850: #14141c;
  --ink-800: #1b1b26;
  --ink-700: #262634;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.18);
  --text: #f4f4f6;
  --muted: #b1b1be;
  --dim: #80808e;
  --pink: #ff74d7;
  --pink-fundo: #b4418f;
  --rose: #fe8bab;
  --gold: #f5c451;
  --red: #ff8a8a;
  --green: #3fd07c;
  --green-fundo: #1f9a55;
  --ink-on-color: #1b0f1c;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --topo-h: 76px;
  --rodape-h: 104px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; background: var(--ink-900); color: var(--text); font: 18px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
main { flex: 1; display: flex; flex-direction: column; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: #fff; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; font-weight: 800; }
code { font: 600 .86em var(--font-mono); padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--rose); overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.invisivel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lead { color: var(--muted); font-size: clamp(18px, 1.25vw, 22px); }

.topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 32px; height: var(--topo-h); padding-inline: clamp(20px, 3vw, 56px); background: var(--ink-900); border-bottom: 1px solid var(--line); }
.logo img { display: block; height: 30px; }
.ajuda { margin-left: auto; color: var(--muted); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.progresso { flex: 1; display: flex; align-items: center; gap: 16px; max-width: 1000px; margin-inline: auto; }
.progresso:not([hidden]) + .ajuda { margin-left: 0; }
.progresso-barra { flex: 1; height: 16px; border-radius: 999px; background: var(--ink-700); overflow: hidden; }
.progresso-barra span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ff74d7, #fe8bab 50%, #e88c48); transition: width .5s var(--ease-out); }
.progresso-texto { color: var(--muted); font-weight: 700; font-size: 16px; white-space: nowrap; }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 16px;
  background: var(--pink); color: var(--ink-on-color);
  box-shadow: 0 5px 0 var(--pink-fundo);
  font: 800 17px/1.2 var(--font-sans); text-decoration: none; text-align: center;
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.botao:hover { color: var(--ink-on-color); filter: brightness(1.08); }
.botao:active { transform: translateY(5px); box-shadow: 0 0 0 var(--pink-fundo); }
.botao-grande { min-width: 240px; padding: 18px 36px; font-size: 20px; }
.botao-grande small { font-weight: 700; opacity: .7; font-size: 15px; }
.botao-claro { background: var(--ink-800); color: var(--text); box-shadow: 0 5px 0 var(--ink-950), inset 0 0 0 2px var(--line-strong); }
.botao-claro:hover { color: #fff; }
.botao-claro:active { box-shadow: 0 0 0 var(--ink-950), inset 0 0 0 2px var(--line-strong); }
.botao[disabled] { background: var(--ink-700); color: var(--dim); box-shadow: none; cursor: not-allowed; filter: none; transform: none; }
.link { color: var(--rose); font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: #fff; }

.tela { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(32px, 5vh, 64px) clamp(20px, 3vw, 56px) calc(var(--rodape-h) + 32px); animation: entrar .3s var(--ease-out); }
@keyframes entrar { from { opacity: 0; transform: translateX(24px); } }
.licao { width: 100%; max-width: 1040px; }
.licao-larga { max-width: 1500px; }
.licao > h2, #processando > h2 { font-size: clamp(32px, 3vw, 52px); margin-bottom: 12px; }

.inicio { flex-direction: row; gap: clamp(40px, 7vw, 140px); padding-bottom: 56px; align-items: center; }
.inicio-texto { flex: 1; max-width: 760px; }
.inicio h1 { font: 400 clamp(52px, 5.8vw, 112px)/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; }
.inicio .lead { margin: 22px 0 30px; max-width: 34em; }
.confianca { margin-top: 44px; padding: 20px 24px; border-radius: 18px; background: var(--ink-850); border: 2px solid var(--line); font-size: 16.5px; color: var(--muted); }
.confianca h2 { color: var(--text); font-size: 19px; margin-bottom: 6px; }
.confianca p + p { margin-top: 6px; }

.trilha { list-style: none; display: grid; gap: 22px; width: 400px; flex: none; }
.trilha li { display: flex; align-items: center; gap: 18px; }
.trilha li:nth-child(6n+1) { margin-left: 56px; }
.trilha li:nth-child(6n+2) { margin-left: 128px; }
.trilha li:nth-child(6n+3) { margin-left: 84px; }
.trilha li:nth-child(6n+4) { margin-left: 16px; }
.trilha li:nth-child(6n+5) { margin-left: 0; }
.trilha li:nth-child(6n+6) { margin-left: 40px; }
.no {
  flex: none; display: grid; place-items: center; width: 76px; height: 70px; border-radius: 50%;
  background: var(--ink-700); color: var(--muted); box-shadow: 0 7px 0 var(--ink-950);
  font: 400 30px/1 var(--font-display); text-decoration: none;
  transition: transform .08s, box-shadow .08s;
}
.no:hover { color: #fff; }
.no:active { transform: translateY(7px); box-shadow: 0 0 0 var(--ink-950); }
.no svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.no.atual { background: var(--pink); color: var(--ink-on-color); box-shadow: 0 7px 0 var(--pink-fundo), 0 0 0 7px rgba(255,116,215,.22); }
.no.feito { background: var(--green); color: #06210f; box-shadow: 0 7px 0 var(--green-fundo); }
.trilha span { font-weight: 700; font-size: 17px; color: var(--muted); }
.trilha .atual + span { color: var(--text); }

.opcoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.opcao {
  display: grid; justify-items: center; gap: 12px; padding: 28px 16px;
  border-radius: 18px; background: var(--ink-850);
  box-shadow: inset 0 0 0 2px var(--line-strong), 0 5px 0 var(--ink-950);
  font-size: 19px; transition: transform .08s, box-shadow .08s, background .15s;
}
.opcao svg { width: 54px; height: 54px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.opcao:hover { background: var(--ink-800); }
.opcao:active { transform: translateY(5px); box-shadow: inset 0 0 0 2px var(--line-strong); }
.opcao[aria-checked="true"] { background: rgba(255,116,215,.12); box-shadow: inset 0 0 0 3px var(--pink), 0 5px 0 var(--pink-fundo); }
.opcao[aria-checked="true"] svg { stroke: var(--pink); }

.balao { margin-top: 24px; padding: 22px 26px; border-radius: 18px; background: rgba(63,208,124,.1); box-shadow: inset 0 0 0 2px rgba(63,208,124,.4); animation: entrar .25s var(--ease-out); }
.balao h3 { font-size: 22px; color: var(--green); margin-bottom: 6px; }
.balao-erro { background: rgba(255,138,138,.1); box-shadow: inset 0 0 0 2px rgba(255,138,138,.45); }
.balao-erro h3 { color: var(--red); }
.dica { margin-top: 16px; color: var(--muted); font-size: 16.5px; }

.tela-larga { padding-inline: clamp(20px, 3vw, 56px); }
.zona { width: 100%; max-width: 1760px; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3.5vh, 36px); text-align: center; }
.zona-frase { display: block; width: 100%; height: auto; overflow: visible; }
.zona-frase text {
  font: 400 190px var(--font-display);
  fill: url(#grad-frase); fill-opacity: 0;
  stroke: url(#grad-frase); stroke-width: 1.8; stroke-dasharray: 7 5; stroke-linecap: round;
  transition: fill-opacity .35s var(--ease-out);
}
.zona.ativa .zona-frase text { fill-opacity: 1; stroke: #fff; stroke-opacity: .85; animation: formigas .5s linear infinite; }
@keyframes formigas { to { stroke-dashoffset: -12; } }
.zona-botoes { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 16.5px; }
.zona.lendo { opacity: .6; }

.fila-lista { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 10px; margin-top: 24px; max-height: 46vh; overflow-y: auto; padding: 3px; }
.fila-lista li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--ink-850); box-shadow: inset 0 0 0 2px var(--line); }
.fila-info { min-width: 0; flex: 1; display: grid; }
.fila-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fila-info span { color: var(--dim); font-size: 15px; }
.fila-compilar { display: flex; align-items: center; gap: 7px; flex: none; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.fila-compilar input { accent-color: var(--pink); width: 18px; height: 18px; }
.fila-remover { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-700); color: var(--muted); font-size: 20px; line-height: 1; }
.fila-remover:hover { color: #fff; }
.fila-aviso { margin-top: 12px; color: var(--gold); font-size: 16px; }
.fila-mais { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 16px; color: var(--muted); }
.fila-mais span { margin-left: auto; font-weight: 700; font-size: 16px; }

.barra { position: relative; height: 18px; margin: 20px 0 16px; overflow: hidden; border-radius: 999px; background: var(--ink-700); }
.barra span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pink); transition: width .2s; }
.barra.indeterminada span { position: absolute; width: 36%; animation: correr 1.4s var(--ease-out) infinite; }
@keyframes correr { from { left: -36%; } to { left: 100%; } }
#btn-cancelar { margin-top: 12px; }
.log-box { margin-top: 24px; color: var(--dim); font-size: 15px; }
.log-box summary { cursor: pointer; font-weight: 600; }
.log-box pre { margin-top: 10px; max-height: 220px; overflow: auto; font: 13px/1.6 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }

.rel-baixar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin: 26px 0 30px; }
.falhas { margin-bottom: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(255,138,138,.1); color: #ffd4d4; font: 14px/1.6 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.rel-conteudo { display: grid; gap: 14px; }
.rel-grupo { border-radius: 18px; background: var(--ink-850); box-shadow: inset 0 0 0 2px var(--line); overflow: hidden; }
.rel-grupo.ruim { box-shadow: inset 0 0 0 2px rgba(255,138,138,.5); }
.rel-grupo.atencao { box-shadow: inset 0 0 0 2px rgba(245,196,81,.45); }
.rel-grupo summary { display: flex; align-items: center; gap: 12px; padding: 18px 24px; cursor: pointer; font-weight: 800; font-size: 19px; }
.rel-conta { margin-left: auto; padding: 2px 12px; border-radius: 999px; background: var(--ink-700); font-size: 15px; }
.rel-motivo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; padding: 0 24px 16px; color: var(--muted); font-size: 17px; }
.rel-motivo strong { color: var(--text); }
.rel-acao { color: #fff; }
.rel-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(440px, 1fr)); gap: 10px; padding: 0 24px 24px; }
.rel-linha { min-width: 0; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.04); }
.rel-linha-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rel-linha code { background: none; padding: 0; font-weight: 700; font-size: 15px; }
.rel-selo { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 800; background: rgba(245,196,81,.15); color: var(--gold); }
.rel-selo.bloqueio { background: rgba(255,138,138,.18); color: var(--red); }
.rel-backup { margin-left: auto; color: var(--dim); font-size: 14px; }
.rel-arquivos { list-style: none; margin-top: 4px; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.rel-mais { color: var(--dim); }

.tarefas { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.tarefas li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--ink-850); box-shadow: inset 0 0 0 2px var(--line); }
.tarefas li:has(input:checked) { background: rgba(63,208,124,.09); box-shadow: inset 0 0 0 2px rgba(63,208,124,.45); }
.tarefas label { flex: 1; display: flex; align-items: center; gap: 16px; cursor: pointer; font-weight: 600; }
.tarefas input { appearance: none; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ink-700); box-shadow: inset 0 0 0 2px var(--line-strong); cursor: pointer; }
.tarefas input:checked { background: var(--green); box-shadow: none; }
.tarefas input:checked::after { content: ""; width: 9px; height: 16px; margin-top: -3px; border: solid #06210f; border-width: 0 3.5px 3.5px 0; transform: rotate(45deg); }
.tarefas .botao { flex: none; padding: 10px 18px; font-size: 16px; }
.codigo { position: relative; margin-top: 18px; padding: 18px 22px; border-radius: 16px; background: var(--ink-950); }
.codigo pre { font: 15.5px/1.75 var(--font-mono); overflow-x: auto; }
.codigo .link { position: absolute; top: 14px; right: 18px; }
.fim { text-align: center; }
.fim .tarefas { text-align: left; margin-bottom: 26px; }
.fim-selo { display: inline-grid; place-items: center; width: 104px; height: 100px; margin-bottom: 18px; border-radius: 50%; background: var(--green); color: #06210f; box-shadow: 0 8px 0 var(--green-fundo); }
.fim-selo svg { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }

.rodape { position: fixed; inset: auto 0 0 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--rodape-h); padding-inline: clamp(20px, 6vw, 140px); background: var(--ink-900); border-top: 2px solid var(--line); }
.rodape span { color: var(--muted); font-size: 16.5px; text-align: center; }

.site-rodape { padding: 56px clamp(20px, 3vw, 56px) 36px; border-top: 1px solid var(--line); }
.duvidas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; max-width: 1500px; margin-inline: auto; align-items: start; }
.duvidas h2 { grid-column: 1 / -1; font: 400 clamp(32px, 3vw, 48px)/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; margin-bottom: 12px; }
.duvidas details { padding: 15px 20px; border-radius: 16px; background: var(--ink-850); box-shadow: inset 0 0 0 2px var(--line); }
.duvidas summary { cursor: pointer; font-weight: 700; }
.duvidas p { margin-top: 8px; color: var(--muted); font-size: 16.5px; }
.site-rodape-fim { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; max-width: 1500px; margin: 36px auto 0; font-size: 15.5px; }
.site-rodape-fim img { height: 26px; opacity: .7; margin-right: auto; }
.site-rodape-fim a { color: var(--muted); font-weight: 600; text-decoration: none; }
.site-rodape-fim a:hover { color: #fff; }

@media (max-width: 1080px) {
  .inicio { flex-direction: column; align-items: stretch; }
  .trilha { width: auto; }
  .duvidas, .rel-motivo { grid-template-columns: minmax(0, 1fr); }
  .rel-lista, .fila-lista { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .opcoes { grid-template-columns: minmax(0, 1fr); }
  .zona-frase, .ajuda { display: none; }
  .progresso-texto { display: none; }
  .tarefas li { flex-wrap: wrap; }
  .fila-lista li { flex-wrap: wrap; }
  .botao-grande { min-width: 0; flex: 1; }
  #rodape-dica { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.acao-solta { margin-top: 24px; }
.midias { display: grid; grid-template-columns: 200px minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; align-items: end; }
.midia h3 { margin-top: 12px; font-size: 18px; }
.midia p { color: var(--muted); font-size: 16px; }
.midia-molde { display: grid; place-items: center; border-radius: 10px; border: 2px dashed var(--pink); color: var(--rose); font-weight: 700; font-size: 15px; background: rgba(255,116,215,.07); }
.midia-logo { aspect-ratio: 1; }
.midia-info { aspect-ratio: 1316 / 512; }
.midia-download { aspect-ratio: 476 / 48; font-size: 13px; }
.balao-atencao { background: rgba(245,196,81,.09); box-shadow: inset 0 0 0 2px rgba(245,196,81,.45); }
.balao-atencao h3 { color: var(--gold); }
#tela-6 .tela-conteudo, #tela-6 { justify-content: flex-start; }
@media (max-width: 820px) { .midias { grid-template-columns: minmax(0, 1fr); } .midia-logo { max-width: 200px; } }

.topo-link { margin-left: auto; color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.topo-link + .ajuda { margin-left: 0; }
.vantagens { max-width: 1500px; margin: 0 auto 64px; scroll-margin-top: calc(var(--topo-h) + 24px); }
.vantagens > h2 { font: 400 clamp(38px, 3.6vw, 64px)/1 var(--font-display); letter-spacing: 0; text-transform: uppercase; margin-bottom: 10px; }
.tabela { margin-top: 26px; border-radius: 18px; box-shadow: inset 0 0 0 2px var(--line); overflow-x: auto; }
.tabela table { width: 100%; border-collapse: collapse; }
.tabela th, .tabela td { padding: 16px 24px; text-align: left; vertical-align: top; }
.tabela thead th { font-size: 20px; font-weight: 800; color: var(--muted); }
.tabela thead th:last-child { color: var(--ink-on-color); background: var(--pink); border-radius: 0 16px 0 0; }
.tabela tbody th { width: 20%; font-weight: 800; }
.tabela tbody td:nth-child(2) { width: 34%; color: var(--dim); }
.tabela tbody td:last-child { background: rgba(255,116,215,.08); font-weight: 600; }
.tabela tbody tr { border-top: 2px solid var(--line); }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 16px; }
.extras div { padding: 18px 20px; border-radius: 16px; background: var(--ink-850); box-shadow: inset 0 0 0 2px var(--line); }
.extras h3 { font-size: 18px; margin-bottom: 4px; }
.extras p { color: var(--muted); font-size: 16px; }
.mais-info { margin-top: 18px; color: var(--muted); }

.dicas { margin-top: 26px; padding: 22px 26px; min-height: 196px; border-radius: 18px; background: rgba(255,116,215,.08); box-shadow: inset 0 0 0 2px rgba(255,116,215,.35); }
.dicas h3 { font-size: 24px; color: var(--rose); margin-bottom: 6px; }
.dica-pontos { display: flex; gap: 7px; margin-top: 12px; }
.dica-pontos span { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-700); }
.dica-pontos .ativo { background: var(--pink); }
.dica-fim { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 680px) { .topo-link { display: none; } }
