/* ──────────────────────────────────────────────────────────────────────
   Vendas Ativa — landing apex (vendasativa.com.br)
   Sem deps, sem framework. Cor primaria casa com o app.
   ────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #0b0d12;
  --surface: #11141a;
  --surface-2: #161a22;
  --border: rgba(255, 255, 255, 0.08);
  --fg: #eef1f6;
  --fg-2: #a9b1c1;
  --fg-3: #6e7686;
  --brand: #5b8def;
  --brand-2: #7c5dfa;
  --brand-fg: #c9d8ff;
  --green: #22c55e;
  --radius: 10px;
  --radius-lg: 14px;
  --max-w: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(91, 141, 239, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(124, 93, 250, 0.14), transparent 60%),
    var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ─── Topbar ─── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 18, 0.7);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 14px;
  font-weight: 700;
}

.brand__text small {
  font-size: 11px;
  color: var(--fg-3);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__nav a {
  font-size: 14px;
  color: var(--fg-2);
  transition: color 0.15s;
}

.topbar__nav a:hover {
  color: var(--fg);
}

/* ─── Botões ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(91, 141, 239, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 24px rgba(91, 141, 239, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 15px;
}

/* ─── Hero ─── */

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-2);
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dot--green {
  background: var(--green);
}

/* ─── Sections ─── */

section {
  padding: 80px 0;
}

section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 14px;
}

.lead {
  font-size: 16px;
  color: var(--fg-2);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}

/* ─── Features grid ─── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 141, 239, 0.4);
  background: var(--surface-2);
}

.card__icon {
  display: inline-block;
  font-size: 28px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ─── Integração ─── */

.integracao {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(124, 93, 250, 0.1), transparent 70%);
}

.checklist {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--fg-2);
}

.checklist li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Contato ─── */

.contato {
  text-align: center;
  padding: 100px 0;
  background:
    radial-gradient(600px 300px at 50% 50%, rgba(91, 141, 239, 0.12), transparent 70%);
}

.contato__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ─── Footer ─── */

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer strong {
  font-size: 14px;
}

.footer small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 2px;
}

.footer__links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer__links a {
  color: var(--fg-2);
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--fg);
}

/* ─── Mobile ─── */

@media (max-width: 640px) {
  .topbar__nav {
    gap: 14px;
  }
  .topbar__nav a:not(.btn) {
    display: none;
  }
  .hero {
    padding: 60px 0 50px;
  }
  section {
    padding: 60px 0;
  }
}
