/* Mesma identidade visual do Multibox Game Idle */
:root {
  --bg: #0B0E13;
  --side: #10141B;
  --surface: #151B24;
  --surface-2: #1A2130;
  --surface-3: #232C3B;
  --line: #222A37;
  --line-2: #2C3646;
  --text: #E8ECF2;
  --text-2: #C3CAD6;
  --muted: #8A94A6;
  --accent: #D4AF6A;
  --accent-ink: #15110A;
  --accent-soft: #1E1A12;
  --ok: #4FD1C5;
  --err: #E5604D;
  --radius: 14px;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, .produto { scroll-margin-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.conteudo { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.conteudo-estreito { max-width: 760px; }
.dourado { color: var(--accent); }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 14, 19, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topo-linha { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-simbolo {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
}
.marca-simbolo { font-size: 14px; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.1; }
.marca-nome { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.marca-sub { font-size: 12px; color: var(--muted); }
.menu { display: flex; gap: 24px; }
.menu a { text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500; }
.menu a:hover { color: var(--accent); }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 15px var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.botao:active { transform: translateY(1px); }
.botao-cheio { background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); }
.botao-cheio:hover { background: #E2C07F; }
.botao-linha { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.botao-linha:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(700px 320px at 50% -60px, rgba(212, 175, 106, .16), transparent 70%),
    var(--bg);
  text-align: center;
}
.selo {
  display: inline-block; margin: 0 0 18px; padding: 4px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; color: var(--accent); background: var(--accent-soft);
}
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; }
.hero-texto { max-width: 560px; margin: 18px auto 30px; color: var(--muted); font-size: 18px; }
.hero-botoes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Seções ---------- */
.secao { padding: 72px 0; }
.secao-escura { background: var(--side); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.secao h2 { font-size: 30px; margin-bottom: 28px; }
.secao-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.secao-topo h2 { margin: 0; }

.filtros { display: flex; gap: 8px; flex-wrap: wrap; }
.filtros button {
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--line); font: 500 13px var(--font); cursor: pointer;
}
.filtros button:hover { border-color: var(--line-2); }
.filtros button.ativo { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Como funciona ---------- */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.passos li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.passo-num {
  display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-display); font-weight: 700;
}
.passos h3 { font-size: 18px; margin-bottom: 6px; }
.passos p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Dúvidas ---------- */
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 0 20px; margin-bottom: 10px;
}
details[open] { border-color: var(--line-2); }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--accent); font-size: 20px; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--text-2); }

/* ---------- Vitrine (um app por linha) ---------- */
.vitrine { display: grid; gap: 40px; }
.produto {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.produto-midia {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 0; margin: 0; border: 0; border-bottom: 1px solid var(--line);
  background: radial-gradient(500px 260px at 50% 40%, rgba(212, 175, 106, .10), transparent 70%), var(--bg);
  cursor: zoom-in; overflow: hidden; color: inherit; font: inherit;
}
.produto-midia > img, .produto-midia > .demo-alvo {
  display: block; width: calc(100% - 56px); margin: 28px; border-radius: 12px;
  border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  transition: transform .35s ease;
}
.produto-midia:hover > img, .produto-midia:hover > .demo-alvo { transform: scale(1.015); }
.ampliar-dica {
  position: absolute; right: 44px; bottom: 44px;
  padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(11, 14, 19, .85); border: 1px solid var(--line-2); color: var(--text-2);
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.produto-midia:hover .ampliar-dica, .produto-midia:focus-visible .ampliar-dica { opacity: 1; transform: none; }

.produto-info { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.produto-texto, .produto-lado { display: flex; flex-direction: column; gap: 14px; }
.produto-cabeca { display: flex; align-items: center; gap: 14px; }
.produto-cabeca img { border-radius: 12px; flex: none; }
.produto-cabeca h3 { font-size: 23px; }
.categoria { font-size: 12.5px; color: var(--muted); }
.slogan { margin: 0; font-size: 18px; color: var(--text); font-weight: 600; font-family: var(--font-display); }
.descricao { margin: 0; color: var(--text-2); font-size: 15px; }
.lista-curta { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.lista-curta li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 14px; }
.lista-curta li::before {
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.produto-compra {
  margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2);
}
.produto-compra .botao { flex: 1; min-width: 170px; }
.preco-bloco { display: flex; flex-direction: column; }
.preco { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--accent); line-height: 1.1; }
.preco-obs { font-size: 12px; color: var(--muted); }
.produto-meta { font-size: 12.5px; color: var(--muted); }

/* ---------- Janelas (Pix e tela grande) ---------- */
.janela {
  width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--surface); color: var(--text);
}
.janela-larga { width: min(1280px, calc(100% - 24px)); background: var(--bg); }
.janela::backdrop { background: rgba(5, 7, 10, .8); backdrop-filter: blur(3px); }
.fechar {
  position: absolute; top: 10px; right: 10px; z-index: 30;
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  background: rgba(11, 14, 19, .8); color: var(--text); border: 1px solid var(--line-2); font-size: 22px; line-height: 1;
}
.fechar:hover { border-color: var(--accent); color: var(--accent); }
.midia-grande { padding: 52px 14px 14px; }
.midia-grande > img, .midia-grande > .demo-alvo { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); }

.pix { padding: 24px; }
.pix-cabeca { display: flex; align-items: center; gap: 12px; padding-right: 40px; margin-bottom: 20px; }
.pix-cabeca img { border-radius: 10px; }
.pix-cabeca h3 { font-size: 18px; }
.pix-cabeca .preco { margin-left: auto; font-size: 24px; }
.pix-passos { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 14px; }
.pix-passos li {
  counter-increment: p; position: relative; padding: 16px 16px 16px 56px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2);
}
.pix-passos li::before {
  content: counter(p); position: absolute; left: 16px; top: 14px;
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 700;
}
.pix-passos b { color: var(--text); }
.pix-passos > li > b:first-child { font-size: 15px; }
.pix-qr { width: 200px; margin: 8px 0 2px; padding: 8px; background: #fff; border-radius: 12px; }
.pix-qr svg { display: block; width: 100%; height: auto; }
.pix-ou { font-size: 12.5px; color: var(--muted); }
.pix-copia { display: flex; gap: 8px; }
.pix-copia input {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text-2); font: 12px ui-monospace, Consolas, monospace;
}
.pix-copia .botao { height: 44px; }
.pix-chave { font-size: 12.5px; color: var(--muted); }
.pix-passos .botao { align-self: flex-start; margin-top: 4px; }

.link { color: var(--accent); }

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.rodape-linha { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--accent); }

/* ---------- Telas menores ---------- */
@media (max-width: 900px) {
  .produto-info { grid-template-columns: 1fr; gap: 18px; }
  .produto-midia > img, .produto-midia > .demo-alvo { width: calc(100% - 24px); margin: 12px; }
  .ampliar-dica { opacity: 1; transform: none; right: 22px; bottom: 22px; }
}
@media (max-width: 640px) {
  .menu { gap: 14px; }
  .menu a:nth-child(2) { display: none; }
  .marca-sub { display: none; }
  .hero { padding: 64px 0 48px; }
  .secao { padding: 52px 0; }
  .produto-info { padding: 20px; }
  .pix { padding: 18px; }
  .pix-passos li { padding-left: 50px; }
  .pix-passos li::before { left: 12px; }
}
