/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg:           #f8fafc;
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --accent:       #2563eb;
  --accent-light: #eff6ff;
  --accent-hover: #1d4ed8;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,.09);
  --max-w:        1100px;
  --font:         -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 88px; }
.section--alt { background: var(--surface); }
.section--dark {
  background: #0f172a;
  color: #fff;
}

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.heading-xl {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.heading-lg {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.heading-md {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}
.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(37,99,235,.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,250,252,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 17px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s;
}
.nav__links a:hover { color: var(--text); }
@media (max-width: 700px) { .nav__links { display: none; } }

/* ── Store badges ────────────────────────────────────────────── */
.badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.badges a {
  display: inline-block;
  background: #000;
  border-radius: 10px;
  transition: transform .18s, opacity .18s;
}
.badges a:hover { transform: translateY(-2px); opacity: .85; }
.badges img { display: block; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.45);
  padding-block: 40px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1rem; color: #fff;
}
.footer__logo-mark {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-size: .875rem; transition: color .15s; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .8125rem; }

/* ── Inner page (privacidade, termos, suporte) ───────────────── */
.inner-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  padding-block: 64px 48px;
}
.inner-hero .heading-lg { margin-top: 12px; }
.inner-hero .lead { margin-top: 12px; }

.prose {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 64px;
}
.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.prose ul {
  margin: 8px 0 14px 20px;
}
.prose ul li {
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.prose a { color: var(--accent); text-decoration: underline; }
.prose .updated {
  font-size: .8125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
