/* PokeMulti: as cores vêm do próprio programa (violeta dos botões, vermelho da aba ativa, verde de conectado) */
:root {
  --bg: #0e0e12;
  --bg-2: #131318;
  --card: #18181f;
  --linha: #2b2b35;
  --txt: #eeedf3;
  --mut: #a8a6b3;
  --roxo: #6b3fd6;
  --roxo-claro: #7f57ea;
  --roxo-txt: #b39dfb;
  --verde: #3fb950;
  --ambar: #e3b341;
  --aba: #e2483d;
  --titulo: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 400 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-family: var(--titulo); font-weight: 700; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--roxo-txt); }
a:hover { color: #cfc2fd; }
:focus-visible { outline: 2px solid var(--roxo-txt); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
kbd { padding: 1px 6px; border: 1px solid var(--linha); border-bottom-width: 2px; border-radius: 5px; background: var(--card); color: var(--txt); font: 500 .82em/1.4 Inter, sans-serif; white-space: nowrap; }

.largura { width: min(100% - 40px, 1160px); margin-inline: auto; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 8px 14px; background: var(--roxo); color: #fff; border-radius: 8px; }
.pular:focus { left: 12px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 9px; border: 1px solid transparent; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.btn-p { background: var(--roxo); color: #fff; }
.btn-p:hover { background: var(--roxo-claro); color: #fff; }
.btn-s { border-color: #3d3d4a; color: var(--txt); background: transparent; }
.btn-s:hover { border-color: #5c5c6d; color: var(--txt); background: #1b1b22; }
.btn-pq { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-gde { width: 100%; min-height: 52px; font-size: 17px; }
.btn[aria-disabled="true"] { background: #2a2a33; color: var(--mut); pointer-events: none; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(14, 14, 18, .86); backdrop-filter: blur(10px); border-bottom: 1px solid #202028; }
.topo-in { display: flex; align-items: center; gap: 28px; height: 60px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--txt); font: 700 20px/1 var(--titulo); text-decoration: none; }
.marca:hover { color: var(--txt); }
.marca-ic { width: 24px; height: 24px; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--mut); font-size: 14px; font-weight: 500; text-decoration: none; }
.menu a:hover { color: var(--txt); }
.topo-in > .btn:last-child { flex-shrink: 0; }
.topo-in > .marca + .btn { margin-left: auto; }

/* Hero */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 74% 42%, rgba(107, 63, 214, .24), transparent 70%),
    linear-gradient(#1b1b23 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, #1b1b23 1px, transparent 1px) 0 0 / 56px 100%;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); gap: 52px; align-items: center; }
.sobre { color: var(--roxo-txt); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { margin-top: 14px; font-size: clamp(2.5rem, 5.1vw, 4rem); }
.lead { margin-top: 20px; max-width: 34em; color: #c9c7d3; font-size: 18px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.selos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--mut); font-size: 14px; }
.selos li { display: inline-flex; align-items: center; gap: 8px; }
.selos li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verde); }

/* A janela ilustrada */
.janela-fig { margin: 0; min-width: 0; }
.janela { overflow: hidden; border: 1px solid #33333f; border-radius: 12px; background: #151515; box-shadow: 0 28px 70px rgba(0, 0, 0, .6); }
.j-barra { display: flex; align-items: center; gap: 5px; height: 38px; padding: 0 7px; font-size: 11px; color: #eee; white-space: nowrap; }
.j-aba { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 6px; background: #232323; font-weight: 600; }
.j-aba i { width: 6px; height: 6px; border-radius: 50%; background: var(--verde); }
.j-aba.on { background: var(--aba); }
.j-esp { flex: 1; }
.j-bot { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid #333; border-radius: 6px; background: #1f1f1f; }
.j-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #050505; padding: 3px; }
.quadro { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 3px; background: #222; }
.quadro img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; filter: brightness(.82) saturate(.92); }
.q-nome { position: absolute; left: 7px; top: 7px; padding: 1px 7px; border-radius: 5px; background: rgba(10, 10, 14, .78); color: #fff; font-size: 11px; font-weight: 600; }
.q-barras { position: absolute; left: 7px; bottom: 7px; display: grid; gap: 3px; width: 34%; }
.q-barras b { display: block; position: relative; height: 5px; border-radius: 3px; background: rgba(10, 10, 14, .72); overflow: hidden; }
.q-barras b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 50%); border-radius: 3px; background: var(--verde); }
.q-barras .xp::after { background: var(--roxo-txt); animation: xp var(--t, 16s) linear infinite; }
@keyframes xp { from { width: 4%; } to { width: 100%; } }
.mob, .eu { position: absolute; width: 3.4%; aspect-ratio: 1; border-radius: 2px; }
.mob { background: #f4f1e8; box-shadow: 0 0 0 2px rgba(0, 0, 0, .42); animation: anda 9s ease-in-out infinite alternate; }
.m1 { left: 28%; top: 30%; } .m2 { left: 66%; top: 26%; animation-duration: 11s; animation-delay: -3s; }
.m3 { left: 54%; top: 62%; animation-duration: 8s; animation-delay: -5s; } .m4 { left: 34%; top: 58%; animation-duration: 12s; animation-delay: -2s; }
.m5 { left: 76%; top: 52%; animation-duration: 10s; animation-delay: -6s; }
@keyframes anda { from { transform: translate(0, 0); } 50% { transform: translate(120%, -90%); } to { transform: translate(-80%, 110%); } }
.eu { left: 47%; top: 44%; width: 4.2%; background: #b39dfb; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 0 0 6px rgba(179, 157, 251, .26); }
.e2 { left: 55%; top: 40%; } .e3 { left: 42%; top: 38%; } .e4 { left: 60%; top: 46%; }
.janela-fig figcaption { margin-top: 10px; color: var(--mut); font-size: 13px; text-align: right; }

/* Três pontos sob o hero */
.tres { border-block: 1px solid #202028; background: var(--bg-2); }
.tres-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-block: 36px; }
.tres h2 { font-size: 20px; }
.tres p { margin-top: 8px; color: var(--mut); font-size: 15px; }

/* Seções */
.secao { padding: 88px 0; }
.secao-alt { background: var(--bg-2); border-block: 1px solid #202028; }
.sec-cab { margin-bottom: 52px; max-width: 44em; }
.sec-cab h2, .antes h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.sec-cab p { margin-top: 12px; color: var(--mut); }

/* Recursos */
.rec { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; margin-bottom: 84px; }
.rec.inv .tela { order: -1; }
.rec.inv { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.rec h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.rec-lead { margin-top: 10px; color: #d3d1dc; font-size: 17px; }
.lista { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.lista li { position: relative; padding-left: 22px; color: #c2c0cc; font-size: 15px; }
.lista li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--roxo-claro); }
.lista-info li strong { color: var(--txt); font-weight: 600; }
.tela { display: block; overflow: hidden; min-width: 0; border: 1px solid #33333f; border-radius: 10px; background: #151515; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); text-decoration: none; transition: border-color .15s; }
.tela:hover { border-color: #5a4a8f; }
.tela-barra { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 12px; background: #1f1f24; color: #cfcdd8; font-size: 12px; }
.tela-barra i { width: 42px; height: 8px; background:
  linear-gradient(#8a8996, #8a8996) 0 50% / 9px 1.5px no-repeat,
  linear-gradient(#8a8996, #8a8996) 50% 50% / 9px 8px no-repeat,
  linear-gradient(#8a8996, #8a8996) 100% 50% / 9px 8px no-repeat; opacity: .75; }
.tela img { width: 100%; }

.extras-tit { font-size: 22px; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.extra { padding: 22px; border: 1px solid var(--linha); border-radius: 10px; background: var(--card); }
.extra h4 { font-size: 18px; }
.extra p { margin-top: 8px; color: var(--mut); font-size: 15px; }

/* Regras */
.regras { width: 100%; border-collapse: collapse; }
.regras th { padding: 0 20px 12px 0; color: var(--mut); font-size: 13px; font-weight: 600; text-align: left; }
.regras td { padding: 18px 20px 18px 0; border-top: 1px solid var(--linha); vertical-align: top; font-size: 15px; }
.regras td:first-child { width: 42%; color: var(--mut); }
.nota { margin-top: 28px; padding: 18px 20px; border: 1px solid #5a4a22; border-radius: 10px; background: #1e1a10; color: #dfd8c2; font-size: 15px; }
.nota strong { color: var(--ambar); }

/* Passos */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.passos li { counter-increment: passo; padding-top: 20px; border-top: 2px solid var(--roxo); }
.passos li::before { content: counter(passo); display: block; color: var(--roxo-txt); font: 700 34px/1 var(--titulo); }
.passos h3 { margin-top: 12px; font-size: 20px; }
.passos p { margin-top: 8px; color: var(--mut); font-size: 15px; }

/* Preço */
.preco-in { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.plano { padding: 30px; border: 1px solid #4b3a8c; border-radius: 14px; background: var(--card); box-shadow: 0 18px 60px rgba(107, 63, 214, .16); }
.plano-nome { color: var(--roxo-txt); font-size: 14px; font-weight: 600; }
.plano-valor { margin-top: 8px; font: 700 42px/1.1 var(--titulo); }
.plano-valor small { color: var(--mut); font: 400 16px/1 Inter, sans-serif; }
.plano .btn { margin-top: 26px; }
.plano-nota { margin-top: 14px; color: var(--mut); font-size: 13px; }
.antes .lista { margin-top: 24px; gap: 14px; }

/* Dúvidas */
.duvidas-in { max-width: 820px; }
.duvidas-in .sec-cab { margin-bottom: 28px; }
details { border-top: 1px solid var(--linha); }
details:last-of-type { border-bottom: 1px solid var(--linha); }
summary { position: relative; padding: 18px 34px 18px 0; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 13px; color: var(--roxo-txt); font: 400 24px/1.3 Inter, sans-serif; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 34px 20px 0; color: var(--mut); font-size: 15px; }

/* Rodapé */
.rodape { padding: 44px 0 48px; border-top: 1px solid #202028; background: #0b0b0e; color: var(--mut); font-size: 13px; }
.rodape-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
.rodape-marca { margin-bottom: 8px; color: var(--txt); font: 700 17px/1.2 var(--titulo); }
.rodape-b p + p { margin-top: 4px; }

/* Termos */
.texto { max-width: 760px; padding-block: 56px 80px; }
.texto h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.texto-data { margin-top: 10px; color: var(--mut); font-size: 14px; }
.texto h2 { margin-top: 38px; font-size: 22px; }
.texto p, .texto ul { margin: 12px 0 0; color: #c9c7d3; font-size: 15.5px; }
.texto ul { padding-left: 20px; }
.texto li + li { margin-top: 8px; }
.texto strong { color: var(--txt); font-weight: 600; }

.faixa-dev { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 7px 14px; background: #f5c518; color: #1a1500; font: 600 13px/1.3 Inter, sans-serif; text-align: center; }

@media (max-width: 1240px) {
  .j-bot.opc { display: none; }
}
@media (max-width: 1020px) {
  .j-bot.opc { display: inline-flex; }
  .menu { display: none; }
  .topo-in .btn:last-child { margin-left: auto; }
  .hero { padding: 48px 0 44px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .rec, .rec.inv { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 60px; }
  .rec.inv .tela { order: 0; }
  .preco-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .plano { max-width: 480px; }
}
@media (max-width: 720px) {
  .secao { padding: 60px 0; }
  .sec-cab { margin-bottom: 34px; }
  .tres-in, .extras, .passos { grid-template-columns: minmax(0, 1fr); }
  .tres-in { gap: 24px; padding-block: 30px; }
  .rodape-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .j-bot, .j-bot.opc { display: none; }
  .j-esp { display: none; }
  .j-aba { flex: 1; justify-content: center; padding: 0 4px; }
  .janela-fig figcaption { text-align: left; }
  .regras thead { display: none; }
  .regras, .regras tbody, .regras tr, .regras td { display: block; width: 100%; }
  .regras tr { padding: 16px 0; border-top: 1px solid var(--linha); }
  .regras td, .regras td:first-child { width: 100%; padding: 0; border: 0; }
  .regras td + td { margin-top: 10px; }
  .regras td::before { content: attr(data-rotulo); display: block; margin-bottom: 2px; color: var(--roxo-txt); font-size: 12px; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mob, .q-barras .xp::after { animation: none; }
  .q-barras .xp::after { width: 58%; }
}
