:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-soft: #eff6ff;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-light: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --radius: 16px;
  --max: 1080px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-name span { color: var(--primary); }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--text-light); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--primary); }

/* Botão da loja */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 12px; min-width: 180px;
}
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 0.7rem; opacity: 0.85; line-height: 1.1; }
.store-btn strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.store-btn.disabled { background: #cbd5e1; color: #475569; pointer-events: none; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--primary-soft), var(--bg)); }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; background: #dbeafe; color: var(--primary-dark); font-weight: 600; font-size: 0.85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 1.2rem; color: var(--text-light); max-width: 34em; margin-bottom: 28px; }

/* Mockup do celular */
.phone {
  justify-self: center; width: 280px; aspect-ratio: 9 / 19;
  background: #0f172a; border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(37, 99, 235, 0.45);
}
.phone .screen { height: 100%; border-radius: 30px; background: var(--bg); overflow: hidden; padding: 28px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.screen .hello { font-weight: 700; font-size: 1.1rem; }
.screen .card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; font-size: 0.8rem; }
.screen .card b { display: block; font-size: 0.85rem; }
.screen .tag { display: inline-block; font-size: 0.7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-top: 6px; }
.tag.blue { background: #dbeafe; color: var(--primary-dark); }
.tag.green { background: #dcfce7; color: var(--success); }
.tag.amber { background: #fef3c7; color: #b45309; }
.screen .price { float: right; font-weight: 700; color: var(--primary); }
.screen .cta { margin-top: auto; background: var(--primary); color: #fff; text-align: center; border-radius: 12px; padding: 10px; font-weight: 600; font-size: 0.85rem; }

/* Seções */
section { padding: 64px 0; }
.section-title { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-title h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.section-title p { color: var(--text-light); font-size: 1.1rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.panel.dark { background: var(--primary-dark); color: #fff; border: none; }
.panel.dark p, .panel.dark li { color: #dbeafe; }
.panel ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.panel li { margin-bottom: 6px; }

.cta-band { background: var(--primary); color: #fff; text-align: center; border-radius: 24px; padding: 48px 24px; }
.cta-band p { color: #dbeafe; font-size: 1.1rem; }
.cta-band .store-buttons { justify-content: center; }

/* Páginas de texto (privacidade, suporte...) */
.doc { padding: 48px 0 64px; }
.doc .container { max-width: 760px; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc .updated { color: var(--text-light); font-size: 0.9rem; }
.doc li { margin-bottom: 6px; }
.callout { background: var(--primary-soft); border: 1px solid #bfdbfe; border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--text-light); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--text-light); font-size: 0.9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--text-light); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }

@media (max-width: 880px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .phone { width: 240px; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 48px 0; }
}
