/* Landing do Aura. Tokens vêm do app (mobile/lib/core/theme/aura_theme.dart). */
:root {
  color-scheme: dark;
  --bg: #0F0F14;
  --card: #1A1A24;
  --raised: #252536;
  --border: #2D2D42;
  --rule: #1F1F2E;
  --primary: #8B5CF6;
  --primary-dark: #7C3AED;
  --primary-light: #A78BFA;
  --accent: #06D6A0;
  --gold: #FBBF24;
  --gold-bg: #3B3117;
  --silver: #C0C4CC;
  --silver-bg: #2A2A36;
  --bronze: #C77A3A;
  --bronze-text: #E0975A;
  --bronze-bg: #33241A;
  --text: #F8FAFC;
  --text-2: #B4BCCB;
  --text-3: #94A3B8;
  --text-4: #64748B;
  --text-nav: #CBD5E1;
  --display: 'Space Grotesk', sans-serif;
  --body: 'DM Sans', sans-serif;
  --gutter: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--primary-light); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 76px; line-height: 1.02; }
h2 { font-size: 44px; line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-family: var(--body); font-size: 22px; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
svg { flex-shrink: 0; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow-green { color: var(--accent); }
.eyebrow-purple { color: var(--primary-light); }
.eyebrow-gold { color: var(--gold); }
.lead { font-size: 20px; line-height: 1.55; color: var(--text-2); }
.note { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-3); }

/* Nav */
.nav {
  height: 80px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; gap: 36px; margin-left: auto; }
.nav-links a { color: var(--text-nav); text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 0; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
.lang span, .lang a { padding: 12px 14px; text-decoration: none; color: var(--text-3); }
.lang .lang-on { background: var(--raised); color: var(--text); }
.lang a:hover { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { background: var(--primary-dark); color: #FFFFFF; }

/* Hero */
.hero {
  min-height: 760px;
  padding: 64px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-copy .lead { max-width: 560px; }
.badges { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.badges a { display: block; line-height: 0; }
.badge-as img { height: 60px; width: auto; }
/* O PNG genérico do Google traz margem transparente própria; a altura maior
   com margem negativa alinha a caixa preta com a da Apple. */
.badge-gp img { height: 80px; width: auto; margin: -10px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 700px; }
.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0) 65%);
}
.phone {
  position: relative;
  width: 310px;
  border-radius: 40px;
  border: 8px solid var(--card);
  box-shadow: 0 0 0 1px var(--border), 0 40px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  background: var(--bg);
}
.phone img { width: 100%; height: auto; }

/* Seções */
.section {
  padding: 96px var(--gutter) 80px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; }
.card-body { display: flex; flex-direction: column; gap: 12px; }
.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--raised);
  display: flex;
  align-items: center;
  justify-content: center;
}
.num { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--border); }
.card p { color: var(--text-3); }

/* Rankings */
.rankings { flex-direction: row; align-items: center; gap: 80px; padding: 80px var(--gutter); }
.rank-copy { display: flex; flex-direction: column; gap: 24px; flex: 0 0 560px; }
.rank-copy .lead { font-size: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-nav);
  font-size: 15px;
  font-weight: 500;
}
.chip-on { background: var(--primary); border-color: var(--primary); color: #FFFFFF; font-weight: 600; }
.podium {
  flex: 1;
  height: 420px;
  padding: 40px 48px 0;
  background: var(--card);
  border: 1px solid var(--gold-bg);
  border-radius: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}
.place { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 160px; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--bg);
}
.name { font-weight: 600; }
.score { font-size: 15px; font-weight: 600; }
.bar {
  width: 100%;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
}
.place-1 .avatar { width: 80px; height: 80px; font-size: 32px; background: var(--gold); box-shadow: 0 0 40px rgba(251, 191, 36, 0.35); }
.place-1 .score { color: var(--gold); }
.place-1 .bar { height: 210px; background: var(--gold-bg); color: var(--gold); }
.place-2 .avatar { background: var(--silver); }
.place-2 .score { color: var(--silver); }
.place-2 .bar { height: 150px; background: var(--silver-bg); color: var(--silver); }
.place-3 .avatar { background: var(--bronze); }
.place-3 .score { color: var(--bronze-text); }
.place-3 .bar { height: 120px; background: var(--bronze-bg); color: var(--bronze-text); }

/* Rodapé */
.footer {
  padding: 32px var(--gutter);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--text-4);
}
.copy { display: flex; align-items: center; gap: 10px; }
.copy img { width: 24px; height: 24px; border-radius: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-links a { color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Celular */
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  h1 { font-size: 44px; }
  h2 { font-size: 30px; line-height: 1.12; }
  h3 { font-size: 18px; }
  .lead { font-size: 17px; }
  .note { font-size: 14px; gap: 8px; }

  .nav { height: 64px; gap: 12px; }
  .brand { font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .nav-links { display: none; }
  .nav-actions { gap: 12px; margin-left: auto; }
  .lang { font-size: 12px; }
  .lang span, .lang a { padding: 11px 12px; }
  .btn { padding: 10px 16px; font-size: 14px; }

  .hero { min-height: 0; padding: 40px var(--gutter) 32px; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { gap: 20px; }
  .badges { flex-direction: column; align-items: stretch; width: 100%; }
  .badges a { display: flex; justify-content: center; }
  .hero-art { min-height: 0; height: 520px; align-items: flex-start; overflow: hidden; }
  .glow { top: 40px; width: 420px; height: 420px; }
  .phone { width: 270px; border-width: 7px; border-radius: 36px; }

  .section { padding: 56px var(--gutter) 48px; gap: 28px; }
  .section-head { gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { padding: 22px; flex-direction: row; align-items: flex-start; gap: 16px; border-radius: 16px; }
  .card-body { gap: 6px; }
  .card p { font-size: 15px; line-height: 1.55; }
  .icon { width: 44px; height: 44px; border-radius: 12px; }
  .num { display: none; }

  .rankings { flex-direction: column; align-items: stretch; gap: 22px; padding: 48px var(--gutter); }
  .rank-copy { flex: none; gap: 22px; }
  .rank-copy .lead { font-size: 16px; }
  .chip { padding: 8px 16px; font-size: 14px; }
  .podium { height: 300px; padding: 28px 20px 0; gap: 12px; border-radius: 20px; }
  .place { width: 100px; gap: 6px; }
  .name { font-size: 14px; }
  .score { font-size: 13px; }
  .avatar { width: 48px; height: 48px; font-size: 20px; }
  .place-1 .avatar { width: 60px; height: 60px; font-size: 24px; box-shadow: 0 0 30px rgba(251, 191, 36, 0.35); }
  .bar { font-size: 28px; border-radius: 12px 12px 0 0; }
  .place-1 .bar { height: 140px; }
  .place-2 .bar { height: 100px; }
  .place-3 .bar { height: 80px; }

  .footer { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px var(--gutter) 40px; }
  .footer-links { flex-direction: column; gap: 10px; }
}
