/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #7C3AED;
  --primary-d: #5b21b6;
  --primary-l: #ede9fe;
  --green:     #16a34a;
  --text:      #1e1b4b;
  --muted:     #6b7280;
  --border:    #e5e7eb;
  --bg:        #f9fafb;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── Tipografia ─────────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem);  font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section--alt { background: var(--bg); }

/* ── Botões ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
}
.btn--primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,58,237,.45);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary-l);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.1rem 2.25rem; font-size: 1.125rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -.5px;
}
.navbar__logo span { color: var(--text); }
.navbar__links { display: flex; align-items: center; gap: 1.25rem; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background: linear-gradient(160deg, var(--primary-l) 0%, var(--white) 60%);
}
.hero__badge {
  display: inline-block;
  background: var(--primary-l);
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  padding: .35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  letter-spacing: .5px;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.25rem;
}
.hero__cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__phone {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}
.phone-mock {
  width: 240px;
  background: var(--text);
  border-radius: 32px;
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
.phone-mock__screen {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  font-size: .7rem;
}
.phone-mock__header {
  height: 72px;
  display: flex;
  align-items: flex-end;
  padding: .5rem;
  color: #fff;
  font-weight: 700;
}
.phone-mock__body { padding: .6rem; }
.phone-mock__card {
  background: #f3f4f6;
  border-radius: 8px;
  padding: .5rem;
  margin-bottom: .4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-mock__wpp {
  margin-top: .6rem;
  background: #25D366;
  color: #fff;
  text-align: center;
  padding: .5rem;
  border-radius: 8px;
  font-weight: 700;
}

/* ── Como funciona ──────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; }
.step__num {
  width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p  { color: var(--muted); font-size: .95rem; }

/* ── Exemplos ───────────────────────────────────────────────────────────────── */
.exemplos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.exemplo-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.exemplo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.exemplo-card__header {
  height: 96px;
  display: flex;
  align-items: flex-end;
  padding: .75rem 1rem;
  color: #fff;
}
.exemplo-card__header h3 { font-size: 1rem; }
.exemplo-card__header p  { font-size: .8rem; opacity: .85; }
.exemplo-card__body { padding: 1rem; }
.servico-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.servico-mini:last-child { border: none; }
.servico-mini__preco { font-weight: 700; color: var(--primary); }

/* ── Preço ──────────────────────────────────────────────────────────────────── */
.preco-card {
  max-width: 420px;
  margin: 3rem auto 0;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}
.preco-card__valor { font-size: 3.5rem; font-weight: 900; color: var(--primary); }
.preco-card__valor span { font-size: 1.25rem; font-weight: 600; color: var(--muted); }
.preco-card__lista { list-style: none; margin: 1.5rem 0; text-align: left; }
.preco-card__lista li {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
  display: flex;
  gap: .5rem;
}
.preco-card__lista li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.faq { max-width: 700px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 1.1rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: .5rem 0 1.1rem; color: var(--muted); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
}

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.form-error { font-size: .8rem; color: #dc2626; margin-top: .3rem; display: none; }
.form-error.visible { display: block; }

/* ── Alertas ────────────────────────────────────────────────────────────────── */
.alert {
  padding: .875rem 1.25rem;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.alert--erro { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.alert--ok   { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* ── Loading ────────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 3px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsivo ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .navbar__links .btn--outline { display: none; }
  .hero { padding: 4rem 0 3rem; }
}
