/* Site institucional (landing page) — pedido explícito 2026-10-17.
   Reusa os TOKENS oficiais da identidade "Retro Cartoon" (mesmos valores
   de src/styles/global.css — ver CLAUDE.md), mas é um stylesheet PRÓPRIO
   porque esta página não tem nada a ver com as telas do jogo (layout de
   site institucional, não de app mobile em coluna única). As páginas
   legais (termos/privacidade/excluir-conta) continuam em style.css,
   intocado. */
@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg-0: #0d2430;
  --bg-1: #123a49;
  --bg-2: #164757;
  --bg-3: #1c5566;
  --line: #2e5c6c;
  --ink: #1a1025;
  --text: #fdf6ea;
  --text-dim: #b9d3d8;
  --text-faint: #6f96a0;
  --accent: #35e0e8;
  --gold: #ffcb3d;
  --pink: #ff3d81;
  --purple: #7b3fa0;
  --radius: 20px;
  --radius-sm: 13px;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Baloo 2', var(--font);
  --font-display: 'Bungee', var(--font-head);
  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-hard-sm: 2px 2px 0 var(--ink);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  /* Grade sutil de "placa de circuito" atrás de tudo — dá textura sem
     precisar de mais uma imagem gerada, e ecoa o fundo dos vídeos/artes
     promocionais sem repetir o arquivo deles. */
  background-image:
    linear-gradient(rgba(53, 224, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 224, 232, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

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

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; border: 2.5px solid var(--ink);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-hard);
  transition: transform 80ms ease-out, box-shadow 80ms ease-out;
}
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--purple)); color: var(--ink); }
.btn.ghost { background: var(--bg-1); color: var(--text); }
.btn.small { padding: 10px 18px; font-size: 13px; box-shadow: var(--shadow-hard-sm); }
.btn.small:active { transform: translate(2px, 2px); }

/* ── Cabeçalho ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #0d2430dd; backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; border: 2px solid var(--ink); box-shadow: var(--shadow-hard-sm); }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--text); }
.site-nav { display: none; align-items: center; gap: 26px; font-weight: 700; font-size: 14px; color: var(--text-dim); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.header-cta { display: none; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: 48px 0 64px; }
.hero .wrap { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.hero-copy { text-align: center; max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: #ffcb3d1a; border: 1.5px solid #ffcb3d55;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: 34px; line-height: 1.12; margin-bottom: 16px; }
.hero h1 .display { font-family: var(--font-display); font-weight: 400; color: var(--accent); }
.hero p.lede { color: var(--text-dim); font-size: 16px; line-height: 1.55; margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; color: var(--text-faint); font-size: 13px; font-weight: 700; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

/* Moldura de celular pro vídeo-demo — pedido explícito: "demonstrações do
   jogo", jogo é 100% mobile, então mostrar dentro de um aparelho deixa
   óbvio que é o app de verdade rodando, não um banner solto. */
.phone-frame {
  position: relative; width: min(280px, 72vw);
  border-radius: 38px; border: 3px solid var(--ink);
  background: var(--ink); padding: 10px;
  box-shadow: var(--shadow-hard);
  flex: none;
}
.phone-frame::before {
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 8px; border-radius: 6px; background: #000; z-index: 2;
}
.phone-screen { position: relative; border-radius: 28px; overflow: hidden; background: #000; aspect-ratio: 9 / 19.5; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-caption { text-align: center; font-size: 12px; color: var(--text-faint); margin-top: 14px; font-weight: 700; }

.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard);
  color: var(--ink); cursor: pointer;
}
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
.play-btn:active { transform: translate(calc(-50% + 2px), calc(-50% + 2px)); box-shadow: none; }

/* ── Modal do trailer ───────────────────────────────────────── */
#trailer-dialog {
  position: fixed; inset: 0; margin: auto; padding: 0; border: none;
  width: min(92vw, 420px); background: transparent; overflow: visible;
}
#trailer-dialog::backdrop { background: #0d2430dd; backdrop-filter: blur(4px); }
#trailer-dialog video {
  width: 100%; border-radius: 22px; border: 3px solid var(--ink);
  box-shadow: var(--shadow-hard); background: #000; display: block;
}
.dialog-close {
  position: absolute; top: -16px; right: -16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink); color: var(--text);
  border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard-sm); cursor: pointer;
}
.dialog-close svg { width: 16px; height: 16px; }

@media (min-width: 860px) {
  .hero .wrap { flex-direction: row; text-align: left; gap: 56px; padding-top: 24px; }
  .hero-copy { text-align: left; max-width: 480px; }
  .hero h1 { font-size: 44px; }
  .hero-ctas, .hero-badges { justify-content: flex-start; }
  .site-nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ── Seções genéricas ───────────────────────────────────────── */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 28px; margin-bottom: 10px; }
.section-head p { color: var(--text-dim); font-size: 15px; }

/* ── Recursos ───────────────────────────────────────────────── */
/* Colunas FIXAS por breakpoint (não auto-fit) — com auto-fit o nº de
   colunas podia mudar com 1px de diferença (barra de rolagem presente ou
   não), deixando a última fileira capenga. 6 cards sempre enchem a grade
   por inteiro em qualquer uma das 3 larguras abaixo. */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--bg-1); border: 2.5px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); overflow: hidden; display: flex; flex-direction: column;
}
/* Proporção IGUAL à das capturas originais (738×1600) — com cover numa
   proporção diferente cada card cortava a imagem num zoom distinto
   (um card lotado de UI, outro quase vazio); casando a proporção o
   corte vira zero e todo card mostra a tela inteira, igual peso visual. */
.feature-shot { aspect-ratio: 369 / 800; overflow: hidden; background: var(--bg-2); border-bottom: 2.5px solid var(--ink); }
.feature-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature-body { padding: 16px 18px 20px; }
.feature-body h3 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.feature-body p { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

/* ── Sobre ──────────────────────────────────────────────────── */
.about .wrap { display: flex; flex-direction: column-reverse; gap: 36px; align-items: center; }
.about-art { width: min(300px, 70vw); }
.about-art img { border-radius: var(--radius); border: 2.5px solid var(--ink); box-shadow: var(--shadow-hard); background: radial-gradient(circle at 50% 30%, #1c5566, #0d2430 75%); padding: 18px; }
.about-copy { max-width: 540px; text-align: center; }
.about-copy h2 { font-size: 26px; margin-bottom: 14px; }
.about-copy p { color: var(--text-dim); font-size: 15px; line-height: 1.6; }
@media (min-width: 860px) {
  .about .wrap { flex-direction: row; justify-content: center; text-align: left; }
  .about-copy { text-align: left; }
}

/* ── CTA final ──────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border-top: 2.5px solid var(--line); border-bottom: 2.5px solid var(--line);
}
.final-cta .wrap { text-align: center; max-width: 560px; }
.final-cta h2 { font-size: 28px; margin-bottom: 12px; }
.final-cta p { color: var(--text-dim); margin-bottom: 26px; }

/* ── Rodapé ─────────────────────────────────────────────────── */
footer.site-footer { padding: 36px 0 48px; }
footer.site-footer .wrap { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 13px; font-weight: 700; }
.footer-links a { text-decoration: underline; color: var(--text-dim); }
.footer-links a:hover { color: var(--accent); }
.footer-fine { color: var(--text-faint); font-size: 12px; }
@media (min-width: 860px) {
  footer.site-footer .wrap { flex-direction: row; justify-content: space-between; text-align: left; }
}
