:root {
  --bg: #0d0f18;
  --surface: #161929;
  --surface2: #1e2236;
  --border: rgba(255,255,255,0.08);
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99,102,241,0.35);
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.12);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted2: #64748b;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}

.text-balance { text-wrap: balance; }
.reveal-up { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1 !important; transform: none !important; }
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- navbar ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(13,15,24,0.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
#navbar nav { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; font-size: 1.05rem; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.brand .dot { color: var(--accent-light); }
.nav-links { display: none; gap: 2rem; font-size: 0.9rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.nav-link:hover { color: var(--text); }

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 9999px; color: #fff;
  background: linear-gradient(180deg, #7275f5, var(--accent));
  box-shadow: 0 8px 24px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 28px -8px var(--accent-glow); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.96); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 9999px; border: 1.5px solid var(--border);
  color: var(--text); text-decoration: none; opacity: 0.9;
  transition: opacity 0.18s ease, transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn-secondary:hover { opacity: 1; background-color: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }

.px-btn { padding: 0.95rem 1.9rem; font-size: 1rem; }

/* ---------- hero ---------- */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: 4rem;
  overflow: hidden;
}
#hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(99,102,241,0.18), transparent 60%),
    radial-gradient(500px circle at 80% 60%, rgba(34,197,94,0.10), transparent 60%);
  pointer-events: none;
}
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--accent-light);
  border: 1px solid rgba(99,102,241,0.35); border-radius: 9999px;
  padding: 0.4rem 1rem; margin-bottom: 1.5rem;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 .accent { color: var(--accent-light); }
.hero-sub { margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.6; color: var(--muted); max-width: 46rem; }
.hero-ctas { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stat-line { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; font-size: 0.9rem; color: var(--muted2); }
.hero-stat-line b { color: var(--text); font-size: 1.1rem; }

/* ---------- section headers ---------- */
.section-eyebrow { text-align: center; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.75rem; }
.section-title { text-align: center; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 3rem; }

section { padding: 5rem 0; }

/* ---------- demo screenshots ---------- */
.shot-card {
  border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
}
.shot-card img { display: block; width: 100%; height: auto; }
.shot-caption { padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--border); }
.shot-grid { display: grid; gap: 2rem; }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step-card { text-align: center; }
.step-number {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 9999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- download cards ---------- */
.download-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 3rem; }
.download-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem;
  padding: 1.75rem 1.25rem; border-radius: 1.25rem; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); text-decoration: none; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.download-card:hover { transform: translateY(-3px); border-color: var(--accent-light); background: rgba(99,102,241,0.08); }
.download-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px; margin-bottom: 0.5rem;
  background: linear-gradient(180deg, #7275f5, var(--accent));
}
.download-label { font-weight: 700; color: var(--text); font-size: 1rem; }
.download-sub { font-size: 0.82rem; color: var(--muted); }
.download-note {
  max-width: 640px; margin: 1.5rem auto 0; text-align: center;
  font-size: 0.85rem; color: var(--muted); line-height: 1.6;
}
.download-note code {
  background: rgba(255,255,255,0.06); border-radius: 0.35rem; padding: 0.1rem 0.4rem;
  font-size: 0.8rem; color: var(--text);
}

/* ---------- feature cards ---------- */
.feat-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feat-card {
  border-radius: 1.25rem; padding: 1.75rem; border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(99,102,241,0.08), rgba(255,255,255,0.01));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feat-card:hover { transform: translateY(-3px); border-color: rgba(99,102,241,0.35); }
.feat-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; display: grid; place-items: center; background: rgba(99,102,241,0.15); color: var(--accent-light); margin-bottom: 1.25rem; }
.feat-icon svg { width: 1.4rem; height: 1.4rem; }
.feat-card h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; }
.feat-card p { font-size: 0.9rem; line-height: 1.55; color: var(--muted); margin: 0; }
.feat-card .feat-rank { font-size: 0.7rem; font-weight: 700; color: var(--accent-light); opacity: 0.7; margin-bottom: 0.5rem; }

/* ---------- stats (hero da prova social) ---------- */
#numeros {
  background: linear-gradient(180deg, rgba(99,102,241,0.08), transparent);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(5, 1fr); } }
.stat-card { text-align: center; padding: 1.5rem 1rem; }
.stat-value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--accent-light); letter-spacing: -0.02em; }
.stat-label { margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.social-quote {
  margin: 3rem auto 0; max-width: 42rem; text-align: center; font-size: 1.05rem;
  color: var(--muted); font-style: italic; line-height: 1.6;
}
.social-quote span { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.85rem; color: var(--muted2); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 44rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; background: var(--surface); }
.faq-question {
  width: 100%; text-align: left; padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; font-weight: 600; font-size: 0.95rem; cursor: pointer; background: none; border: none; color: var(--text); font-family: inherit;
}
.faq-question svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; color: var(--muted); transition: transform 0.25s ease; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 1.25rem 1.1rem; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---------- CTA final ---------- */
#cta-final { text-align: center; }
#cta-final h2 { margin-bottom: 1rem; }
#cta-final p { color: var(--muted); max-width: 34rem; margin: 0 auto 2rem; }

footer { border-top: 1px solid var(--border); padding: 3rem 0; }
footer .wrap { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; font-size: 0.85rem; color: var(--muted2); }
@media (min-width: 640px) { footer .wrap { flex-direction: row; justify-content: space-between; text-align: left; } }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.1rem; border-radius: 9999px;
  background: #25D366; color: #06210f; font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(37,211,102,0.65), 0 2px 8px rgba(0,0,0,0.35); }
.wa-float svg { width: 1.35rem; height: 1.35rem; flex-shrink: 0; }
@media (max-width: 480px) {
  .wa-float-label { display: none; }
  .wa-float { padding: 0.85rem; }
}
