/* ══════════════════════════════════════════════════════════════
   PONTUA — Landing page
   Tokens de marca (ver brand guide do projeto)
═══════════════════════════════════════════════════════════════ */

:root {
  --roxo: #6C63FF;
  --roxo-escuro: #564fd1;
  --laranja: #FF6B35;
  --vermelho: #FF4069;
  --ouro: #FFD700;
  --verde: #00C896;
  --bg: #1a1a2e;
  --card: #252540;
  --texto: #FFFFFF;
  --texto2: #9090B0;

  --xs: 4px;  --sm: 8px;  --md: 12px; --lg: 16px;
  --xl: 24px; --xl2: 32px; --xl3: 48px;

  --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-full: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--xl);
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 46, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(144, 144, 176, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--md) var(--xl);
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--texto);
}
.nav-logo span { color: var(--laranja); }
.nav-cta {
  background: var(--roxo);
  color: var(--texto);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  border: none;
  cursor: not-allowed;
  opacity: 0.75;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: var(--xl3) var(--xl) var(--xl2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 480px;
  background: radial-gradient(circle, rgba(108,99,255,0.25) 0%, rgba(26,26,46,0) 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--laranja);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: var(--xl);
  letter-spacing: 0.3px;
}
.hero-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 64px);
  margin-bottom: var(--sm);
  position: relative;
  z-index: 1;
}
.hero-logo span { color: var(--laranja); }
.hero-slogan {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: var(--texto2);
  max-width: 480px;
  margin: 0 auto var(--xl2);
  position: relative;
  z-index: 1;
}

/* Signature element: mockup de pergunta de concurso, como um "phone screen" */
.quiz-mockup {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 0 auto var(--xl2);
  background: var(--card);
  border: 1px solid rgba(144,144,176,0.18);
  border-radius: var(--r-lg);
  padding: var(--xl) var(--lg);
  text-align: left;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.quiz-mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--lg);
}
.quiz-chip {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(108,99,255,0.15);
  color: #b7b2ff;
}
.quiz-vidas { font-size: 13px; color: var(--vermelho); font-family: 'Nunito', sans-serif; font-weight: 700; }
.quiz-pergunta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--texto);
  margin-bottom: var(--lg);
  line-height: 1.5;
}
.quiz-opcao {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(144,144,176,0.25);
  color: var(--texto2);
  margin-bottom: var(--sm);
}
.quiz-opcao.certa {
  border-color: var(--verde);
  background: rgba(0,200,150,0.1);
  color: var(--verde);
  animation: pulse-certo 2.4s ease-in-out infinite;
}
@keyframes pulse-certo {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,150,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(0,200,150,0); }
}
.quiz-footer {
  display: flex;
  justify-content: space-between;
  margin-top: var(--lg);
  padding-top: var(--md);
  border-top: 1px solid rgba(144,144,176,0.15);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
}
.quiz-xp { color: var(--ouro); }
.quiz-moedas { color: var(--ouro); }

.hero-actions {
  display: flex;
  gap: var(--md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.btn-primario {
  background: var(--roxo);
  color: var(--texto);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: not-allowed;
  opacity: 0.8;
  position: relative;
}
.btn-primario .badge-em-breve {
  font-size: 11px;
  font-weight: 800;
  background: var(--laranja);
  color: var(--texto);
  padding: 2px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.5px;
}
.btn-secundario {
  background: transparent;
  color: var(--texto2);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(144,144,176,0.3);
}
.hero-nota {
  margin-top: var(--md);
  font-size: 13px;
  color: var(--texto2);
  position: relative;
  z-index: 1;
}

/* ── Chips de features (reaproveitado do overview) ──────────── */
.chips-row {
  display: flex;
  gap: var(--sm);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--xl2) auto 0;
  position: relative;
  z-index: 1;
}
.chip {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: var(--card);
  border: 1px solid rgba(144,144,176,0.15);
}

/* ── Seções ──────────────────────────────────────────────── */
section { padding: var(--xl3) var(--xl); }
.section-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--roxo);
  text-align: center;
  margin-bottom: var(--sm);
}
.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin-bottom: var(--md);
}
.section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--texto2);
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--xl2);
}

/* ── Features grid ───────────────────────────────────────── */
.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg);
}
@media (max-width: 780px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--card);
  border: 1px solid rgba(144,144,176,0.12);
  border-radius: var(--r-lg);
  padding: var(--xl) var(--lg);
}
.feat-icon { font-size: 28px; margin-bottom: var(--md); display: block; }
.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--xs);
}
.feat-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--texto2);
  line-height: 1.55;
}

/* ── Como funciona (passos) ──────────────────────────────── */
.passos {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--xl);
}
.passo {
  display: flex;
  gap: var(--lg);
  align-items: flex-start;
}
.passo-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(108,99,255,0.15);
  color: var(--roxo);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.passo h4 { font-size: 16px; margin-bottom: 4px; }
.passo p { font-size: 14px; color: var(--texto2); }

/* ── Mascote ─────────────────────────────────────────────── */
.mascote-section {
  text-align: center;
}
.mascote-img {
  width: 140px;
  margin: 0 auto var(--lg);
}
.mascote-section p {
  max-width: 480px;
  margin: 0 auto;
  color: var(--texto2);
  font-size: 15px;
}

/* ── CTA final ───────────────────────────────────────────── */
.cta-final {
  text-align: center;
  background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(255,107,53,0.08));
  border-radius: var(--r-lg);
  max-width: 900px;
  margin: 0 auto;
  padding: var(--xl3) var(--xl);
}
.cta-final h2 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: var(--sm); }
.cta-final p { color: var(--texto2); margin-bottom: var(--xl); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(144,144,176,0.12);
  padding: var(--xl2) var(--xl);
  text-align: center;
}
.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: var(--sm);
}
.footer-logo span { color: var(--laranja); }
.footer-links {
  display: flex;
  gap: var(--lg);
  justify-content: center;
  margin: var(--lg) 0;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--texto2);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.footer-links a:hover { color: var(--roxo); }
.footer-copy {
  font-size: 12px;
  color: var(--texto2);
  opacity: 0.6;
}

/* ── Páginas legais (Termos / Privacidade) ──────────────────── */
.legal-header {
  text-align: center;
  padding: var(--xl3) var(--xl) var(--xl);
}
.legal-header h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: var(--xs); }
.legal-header .atualizado {
  font-size: 13px;
  color: var(--texto2);
  margin-top: var(--sm);
}
.legal-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--xl) var(--xl3);
}
.legal-body h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--roxo);
  margin-top: var(--xl2);
  margin-bottom: var(--sm);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #d5d5e6;
  line-height: 1.7;
  margin-bottom: var(--md);
}
.legal-body ul { margin: 0 0 var(--md); padding-left: 20px; }
.legal-body li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #d5d5e6;
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal-body a.mail { color: var(--roxo); font-weight: 600; }
.legal-back {
  display: inline-block;
  margin-bottom: var(--xl);
  font-size: 14px;
  color: var(--texto2);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.legal-back:hover { color: var(--roxo); }
