/* ==========================================================================
   Comandu - Landing Page
   Identidade reutilizada do app: Rubik, roxo #6A5AE0, dark #1B2233 / #0A0E14,
   dourado #F5C518, laranja #FF8A3D (bico do pinguim), verde #4ADE80.
   ========================================================================== */

:root {
  --bg: #0a0e14;
  --bg-alt: #0d121c;
  --surface: #1b2233;
  --surface-2: #222a3c;
  --surface-3: #141a28;
  --border: #2a3347;
  --border-soft: #232c3f;

  --primary: #6a5ae0;
  --primary-dark: #5546c7;
  --primary-glow: rgba(106, 90, 224, 0.45);

  --coin: #f5c518;
  --orange: #ff8a3d;
  --green: #4ade80;
  --blue: #7c9cff;
  --danger: #f87171;

  --text: #ffffff;
  --muted: #b2b1c5;
  --muted-2: #7f8aa3;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-btn: 0 4px 0 var(--primary-dark);
  --maxw: 1160px;

  --font: 'Rubik', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background com grid + glows radiais (universo tech/infra) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(106, 90, 224, 0.22), transparent 60%),
    radial-gradient(760px 480px at 100% 4%, rgba(56, 189, 248, 0.12), transparent 52%),
    radial-gradient(700px 600px at 50% 120%, rgba(245, 197, 24, 0.08), transparent 55%),
    var(--bg);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124, 156, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 156, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(124, 156, 255, 0.06);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s ease-in-out infinite;
}

.gradient-text {
  background: linear-gradient(100deg, #a89bff 0%, #6a5ae0 50%, #7c9cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 15px 26px;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn), 0 0 30px -6px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--primary-dark), 0 0 40px -4px var(--primary-glow); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--primary-dark); }

.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #3a445c; background: #283248; }

.btn-lg { padding: 17px 32px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 20, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 14, 20, 0.85);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span + span { margin-top: 6px; }

/* ---------- Section base ---------- */
.section { padding: 108px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 18px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 70px 0 90px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin: 22px 0 20px;
  font-weight: 800;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  display: flex; align-items: center; gap: 18px;
  margin-top: 26px; color: var(--muted-2); font-size: 14px;
}
.hero-note .stars { color: var(--coin); letter-spacing: 2px; }

/* Painel visual do hero: terminal + mascotes */
.hero-visual { position: relative; }

.terminal {
  background: linear-gradient(180deg, #10151f, #0c1119);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(124,156,255,0.04);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.terminal-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-bar .dot.r { background: #ff5f57; }
.terminal-bar .dot.y { background: #febc2e; }
.terminal-bar .dot.g { background: #28c840; }
.terminal-bar .title { margin-left: 10px; font-size: 12.5px; color: var(--muted-2); font-family: var(--mono); }
.terminal-body {
  padding: 22px 20px 24px;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.85;
  min-height: 232px;
}
.term-line { display: flex; gap: 10px; white-space: pre-wrap; }
.term-line .prompt { color: var(--green); }
.term-line .cmd { color: #e8ecf6; }
.term-line .out { color: var(--muted); padding-left: 0; }
.term-line .ok { color: var(--green); }
.term-line .warn { color: var(--coin); }
.cursor-blink {
  display: inline-block; width: 9px; height: 18px;
  background: var(--green); vertical-align: -3px;
  animation: blink 1.1s steps(1) infinite;
}

.hero-penguin {
  position: absolute;
  width: 148px;
  right: -26px;
  bottom: -34px;
  z-index: 3;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.5));
  animation: float 5s ease-in-out infinite;
}

/* HUD flutuante estilo app (XP / streak) */
.hud-chip {
  position: absolute;
  z-index: 4;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 14px;
  border-radius: 13px;
  background: rgba(27, 34, 51, 0.92);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,0.7);
  font-weight: 700; font-size: 14px;
  backdrop-filter: blur(6px);
}
.hud-chip .ic { display: grid; place-items: center; }
.hud-xp { top: 8px; left: -26px; animation: float 6s ease-in-out infinite; }
.hud-coin { top: 92px; right: -30px; animation: float 5.4s ease-in-out 0.4s infinite; }
.hud-streak { bottom: 26px; left: -34px; animation: float 5.8s ease-in-out 0.2s infinite; }

/* Faixa de marcas / stack */
.trust {
  margin-top: 62px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 0;
}
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px 34px;
}
.trust-label { color: var(--muted-2); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(124,156,255,0.05);
}

/* ==========================================================================
   VALOR (bento)
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface), var(--surface-3));
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: #37425c; }
.value-card .ic-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  border: 1px solid var(--border);
}
.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 15px; }
.value-card.wide { grid-column: span 2; }

/* ==========================================================================
   COMO FUNCIONA (fluxo)
   ========================================================================== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-3);
  padding: 26px 22px;
  position: relative;
}
.flow-step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}
.flow-step h3 { font-size: 18px; margin: 12px 0 8px; }
.flow-step p { color: var(--muted); font-size: 14.5px; }
.flow-step .arrow {
  position: absolute; right: -26px; top: 50%; transform: translateY(-50%);
  color: var(--border); z-index: 2;
}
.flow-step:last-child .arrow { display: none; }

/* ==========================================================================
   RECURSOS (bento assimétrico)
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface), var(--surface-3));
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.feature:hover { transform: translateY(-4px); border-color: #37425c; }
.feature h3 { font-size: 19px; margin: 14px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; }
.feature .ic-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
.f-span-3 { grid-column: span 3; }
.f-span-2 { grid-column: span 2; }
.f-span-4 { grid-column: span 4; }

.feature-battle {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 26px;
  background:
    radial-gradient(400px 200px at 90% 20%, rgba(248,113,113,0.14), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--surface-3));
}
.feature-battle img { width: 128px; flex-shrink: 0; filter: drop-shadow(0 14px 22px rgba(0,0,0,0.5)); }

/* ==========================================================================
   GAMIFICAÇÃO (mockup de HUD do app)
   ========================================================================== */
.gami {
  background:
    radial-gradient(600px 380px at 82% 12%, rgba(106,90,224,0.16), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.gami-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.gami h2 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 18px; }
.gami .lead { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stat-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  font-weight: 700;
}
.stat-pill small { display: block; color: var(--muted-2); font-weight: 500; font-size: 12px; }

/* Mockup phone */
.phone {
  width: 300px;
  margin: 0 auto;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(180deg, #222a3c, #10151f);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,0.85);
  position: relative;
}
.phone-screen {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.phone-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.phone-statusbar .s {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
}
.phone-body { padding: 18px 16px 22px; }
.xp-track { height: 12px; background: var(--surface-3); border-radius: 999px; overflow: hidden; border: 1px solid var(--border); }
.xp-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--blue));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone-body .lvl { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 10px 0 20px; }
.mission-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-3);
  padding: 14px;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.mission-card .ck {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
.mission-card.done .ck { background: var(--green); border-color: var(--green); color: #06210f; }
.mission-card .m-title { font-size: 14px; font-weight: 600; }
.mission-card .m-sub { font-size: 12px; color: var(--muted-2); }
.mission-card .m-reward { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--coin); }
.phone-penguin {
  position: absolute; width: 92px; right: -30px; bottom: 30px; z-index: 3;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,0.5));
  animation: float 5s ease-in-out infinite;
}

/* ==========================================================================
   PARA QUEM É
   ========================================================================== */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.aud-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface-3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.aud-card:hover { transform: translateY(-4px); border-color: #37425c; }
.aud-card .badge {
  font-family: var(--mono); font-size: 12px; color: var(--green);
  border: 1px solid var(--border); border-radius: 7px; padding: 4px 9px;
  display: inline-block; margin-bottom: 14px; background: rgba(74,222,128,0.06);
}
.aud-card h3 { font-size: 18px; margin-bottom: 7px; }
.aud-card p { color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   MASCOTE / IDENTIDADE
   ========================================================================== */
.mascots {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.mascots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mascot-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex; align-items: center; gap: 26px;
  position: relative; overflow: hidden;
}
.mascot-card.friend { background: radial-gradient(380px 260px at 20% 20%, rgba(124,156,255,0.16), transparent 60%), var(--surface-3); }
.mascot-card.rival { background: radial-gradient(380px 260px at 80% 20%, rgba(248,113,113,0.14), transparent 60%), var(--surface-3); }
.mascot-card img { width: 132px; flex-shrink: 0; filter: drop-shadow(0 16px 22px rgba(0,0,0,0.5)); }
.mascot-card.rival img { animation: float 6s ease-in-out infinite; }
.mascot-card.friend img { animation: float 5.2s ease-in-out infinite; }
.mascot-card h3 { font-size: 22px; margin-bottom: 8px; }
.mascot-card p { color: var(--muted); font-size: 15px; }
.mascot-card .tagname { font-family: var(--mono); font-size: 12.5px; color: var(--blue); margin-bottom: 6px; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final-cta { padding: 120px 0; }
.cta-box {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 360px at 50% -20%, rgba(106,90,224,0.35), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--surface-3));
}
.cta-box h2 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 16px; }
.cta-box p { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 auto 32px; }
.cta-box .bob-point {
  width: 116px; margin: 0 auto 22px;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,0.5));
  animation: float 5s ease-in-out infinite;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 34px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  color: var(--muted-2); font-size: 13.5px;
}
.footer-bottom .made { display: inline-flex; align-items: center; gap: 7px; }

/* ==========================================================================
   PÁGINAS LEGAIS (privacidade / termos / exclusão)
   ========================================================================== */
.legal { padding: 70px 0 90px; }
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal .back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin-bottom: 28px;
}
.legal .back:hover { color: var(--text); }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 12px; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 40px; font-family: var(--mono); }
.legal h2 { font-size: 22px; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.legal a.inline { color: var(--blue); }
.legal a.inline:hover { text-decoration: underline; }
.legal .callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--surface-3);
  margin: 26px 0;
}
.legal .callout h3 { font-size: 17px; margin-bottom: 8px; }
.legal .callout p { margin-bottom: 0; }
.legal .steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin: 22px 0;
}
.legal .steps li {
  counter-increment: step;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 18px 62px;
  background: var(--surface-3);
  position: relative;
  color: var(--text);
  font-size: 15.5px;
}
.legal .steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 3px 0 var(--primary-dark);
}
.contact-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px;
}

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .gami-grid { grid-template-columns: 1fr; gap: 44px; }
  .gami-copy { order: 2; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step .arrow { display: none; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .f-span-3, .f-span-4, .feature-battle { grid-column: span 4; }
  .f-span-2 { grid-column: span 2; }
  .mascots-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu.open ~ .nav .nav-toggle span:nth-child(1) { }
  .section { padding: 78px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card.wide { grid-column: span 1; }
  .features { grid-template-columns: 1fr 1fr; }
  .f-span-3, .f-span-2, .f-span-4, .feature-battle { grid-column: span 2; }
  .feature-battle { flex-direction: column; text-align: center; }
  .audience { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .cta-box { padding: 48px 22px; }
  .hud-xp { left: -6px; }
  .hud-coin { right: -8px; }
  .hud-streak { left: -8px; }
}

@media (max-width: 420px) {
  .features { grid-template-columns: 1fr; }
  .f-span-2 { grid-column: span 1; }
  .container { padding: 0 18px; }
}

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed;
  inset: 68px 0 auto 0;
  z-index: 49;
  background: rgba(10, 14, 20, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px 26px;
  display: none;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }
