/* ============================================================
   UNV Sales — página de vendas
   Navy #0D2B5E | Vermelho #CC1B1B | Branco / cinza claro
   ============================================================ */

:root {
  --navy: #0D2B5E;
  --navy-dark: #081C40;
  --navy-soft: #EAF0F9;
  --red: #CC1B1B;
  --red-dark: #A81414;
  --ink: #1A2233;
  --muted: #5A6478;
  --line: #DDE3EC;
  --bg: #FFFFFF;
  --bg-alt: #F4F6FA;
  --green: #1E8E4E;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(13, 43, 94, 0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

.container-narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; color: var(--navy); }
h3 { font-size: 1.15rem; color: var(--navy); }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin: 12px 0 32px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo { height: 44px; width: auto; display: block; }
.topnav { display: none; gap: 24px; }
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.topnav a:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy-soft) 0%, #fff 100%);
  padding: 56px 0 48px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 14px; color: var(--green); font-weight: 600; font-size: 0.92rem; }

/* ---------- Mock kanban ---------- */
.hero-mock { min-width: 0; }
.mock-window {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--navy);
}
.mock-titlebar .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.mock-title {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  background: var(--bg-alt);
}
.mock-col { min-width: 0; }
.mock-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.mock-col-head em {
  font-style: normal;
  background: var(--navy-soft);
  color: var(--navy);
  border-radius: 999px;
  padding: 0 7px;
  font-size: 0.68rem;
}
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
}
.mock-card b {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-card i {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--muted);
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-card u {
  text-decoration: none;
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy-soft);
  color: var(--navy);
}
.mock-card .tag-red { background: #FBE7E7; color: var(--red); }
.mock-card .tag-navy { background: var(--navy); color: #fff; }
.mock-card .tag-green { background: #E2F4E9; color: var(--green); }
.mock-card-win { border-color: #BFE5CD; }

/* ---------- Strip ---------- */
.strip {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.strip-quote {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.strip-author {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* ---------- Módulos ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.module-card h3 { font-size: 1.05rem; }
.module-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.module-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.module-price small { font-weight: 500; color: var(--muted); }
.module-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  background: #E2F4E9;
  color: var(--green);
}
.module-badge-paid { background: var(--navy-soft); color: var(--navy); }

.skeleton {
  min-height: 140px;
  background: linear-gradient(90deg, var(--bg-alt) 25%, #ECEFF5 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border: 1px solid var(--line);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   Por dentro do UNV Sales — mockups de CRM
   Estrutura extensível: .feature-block (copy + mock),
   .crm-card e utilitários reutilizáveis em qualquer bloco novo.
   ============================================================ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.feature-block:first-of-type { border-top: none; padding-top: 8px; }
.feature-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 8px;
}
.feature-copy h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-copy p { color: var(--muted); font-size: 0.98rem; }
.feature-mock { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Card genérico de CRM */
.crm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.crm-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.crm-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--navy-soft);
  color: var(--navy);
}

/* Linha rótulo + valor */
.crm-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.crm-field:last-child { border-bottom: none; padding-bottom: 0; }
.crm-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.crm-label small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.crm-value { font-size: 0.92rem; color: var(--ink); line-height: 1.45; }
.crm-value b { color: var(--navy); }
.crm-value-note { font-style: normal; color: var(--muted); font-size: 0.85rem; }
.crm-hidden { color: var(--muted); letter-spacing: 0.05em; }
.crm-hidden em { font-style: normal; font-size: 0.82rem; }
.crm-empty { font-style: italic; color: #9AA3B2; }

/* Pílulas */
.crm-pill {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  border: 1px solid var(--line);
}
.crm-pill-ai { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Resumo de IA */
.crm-summary { font-size: 0.92rem; color: var(--ink); line-height: 1.6; }

/* Grade de qualificação (BANT) */
.crm-qual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.crm-qual {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.crm-qual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.crm-qual .crm-value { font-size: 0.88rem; }

/* Faixa de aviso amarela */
.crm-warn {
  margin-top: 14px;
  background: #FFF7E0;
  border: 1px solid #F3E2A6;
  border-radius: 8px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.crm-warn-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9A6B00;
}
.crm-warn-items { font-size: 0.88rem; color: #7A5600; font-weight: 600; }

/* Destaque de temperatura */
.crm-temp {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FFF3EC;
  border: 1px solid #F6D2BD;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 6px;
}
.crm-temp-badge {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #C25B12;
  background: #FBE0CD;
  border-radius: 999px;
  padding: 5px 14px;
}
.crm-temp-note { font-size: 0.86rem; color: var(--ink); line-height: 1.5; }

/* Notas de ligação / observações */
.crm-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ink);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.crm-note:last-child { border-bottom: none; padding-bottom: 0; }
.crm-note-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--navy-soft);
  color: var(--navy);
  margin-top: 1px;
}

/* ---- Ranking de vendedores (bloco 4) ---- */
.crm-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.crm-rank:last-child { border-bottom: none; padding-bottom: 0; }
.crm-rank-pos {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--muted);
  width: 24px;
}
.crm-rank-body { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.crm-rank-name { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.crm-rank-meta { font-size: 0.78rem; color: var(--muted); }
.crm-rank-val { flex-shrink: 0; font-size: 0.98rem; font-weight: 800; color: var(--navy); }
.crm-rank-lead {
  background: linear-gradient(90deg, #FBEFEF 0%, transparent 90%);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 4px;
}
.crm-rank-lead .crm-rank-pos { color: var(--red); }
.crm-rank-lead .crm-rank-val { color: var(--red); }

/* ---- Barras de progresso (blocos 4 e 5) ---- */
.crm-bar {
  height: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.crm-bar-fill { display: block; height: 100%; border-radius: 999px; }
.crm-bar-green { background: #16a34a; }
.crm-bar-orange { background: #f59e0b; }
.crm-bar-blue { background: #3b82f6; }
.crm-bar-navy { background: var(--navy); }
.crm-bar-red { background: var(--red); }
.crm-cap-green { color: #15803d; }
.crm-cap-orange { color: #b45309; }
.crm-cap-blue { color: #1d4ed8; }

/* ---- Bloco de resultado com barra ---- */
.crm-result { margin-bottom: 14px; }
.crm-result-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.crm-bar-cap {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- KPIs em grade e em par ---- */
.crm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.crm-kpi-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.crm-kpi {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.crm-kpi-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.crm-kpi-val { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.crm-kpi-val small { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.crm-kpi-green { color: #15803d; }

/* ---- Metas escalonadas ---- */
.crm-goal { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.crm-goal:last-child { border-bottom: none; padding-bottom: 0; }
.crm-goal-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.crm-goal-pct { font-size: 0.86rem; font-weight: 800; }

/* ---- Funil de conversão (bloco 5) ---- */
.crm-funnel { display: flex; flex-direction: column; gap: 11px; }
.crm-funnel-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.crm-funnel-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.crm-funnel-num { font-size: 0.82rem; font-weight: 700; color: var(--ink); }

/* ---- Mini-tabela de ranking ---- */
.crm-mtable { display: flex; flex-direction: column; }
.crm-mtable-head,
.crm-mtable-row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 0.9fr 0.6fr;
  gap: 6px;
  align-items: center;
}
.crm-mtable-head {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.crm-mtable-head span:not(:first-child),
.crm-mtable-row span:not(.crm-mtable-name) { text-align: right; }
.crm-mtable-row {
  font-size: 0.85rem;
  color: var(--ink);
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.crm-mtable-row:last-child { border-bottom: none; padding-bottom: 0; }
.crm-mtable-name { font-weight: 700; color: var(--navy); }

/* ---------- Cobrança ---------- */
.billing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.billing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.billing-card h3 { margin-bottom: 6px; }
.billing-lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.billing-card ul { list-style: none; }
.billing-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
.billing-card li b { color: var(--navy); }

/* ---------- Simulador ---------- */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.sim-config,
.sim-checkout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.sim-checkout { box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.sim-block + .sim-block { margin-top: 28px; }
.sim-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.sim-hint { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.sim-loading { color: var(--muted); font-size: 0.9rem; }

.stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stepper-btn {
  width: 46px;
  border: none;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.stepper-btn:hover { background: var(--navy-soft); }
.stepper input {
  width: 70px;
  border: none;
  text-align: center;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  padding: 10px 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid var(--navy); outline-offset: -2px; }

.sim-modules { display: flex; flex-direction: column; gap: 10px; }
.sim-module {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.sim-module:hover { border-color: var(--navy); }
.sim-module.checked { border-color: var(--navy); background: var(--navy-soft); }
.sim-module.locked { cursor: default; background: var(--bg-alt); }
.sim-module input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.sim-module-body { flex: 1; min-width: 0; }
.sim-module-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  justify-content: space-between;
}
.sim-module-price { font-size: 0.85rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.sim-module-price.free { color: var(--green); }
.sim-module-desc { font-size: 0.83rem; color: var(--muted); margin-top: 2px; }

/* ---------- Resumo ---------- */
.sim-summary { margin-bottom: 24px; }
.sim-summary h3 { margin-bottom: 12px; }
.sim-summary ul { list-style: none; }
.sim-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.sim-summary li span:last-child { font-weight: 600; white-space: nowrap; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
}
.summary-total span { font-weight: 600; color: var(--muted); }
.summary-total strong {
  font-size: 1.7rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.summary-trial {
  margin-top: 10px;
  background: #E2F4E9;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: var(--radius);
}

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 14px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.field input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
}
.field input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13, 43, 94, 0.12);
}
.field input.invalid { border-color: var(--red); }

.form-error {
  background: #FBE7E7;
  color: var(--red-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.form-note {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.83rem;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  padding: 16px 18px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--red);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CTA final ---------- */
.final-cta { text-align: center; }
.final-cta .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brand-footer { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.brand-footer span { color: #FF6B6B; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------- Página obrigado ---------- */
.thanks-wrap {
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: var(--bg-alt);
}
.thanks-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 560px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
}
.thanks-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #E2F4E9;
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 56px;
}
.thanks-card h1 { font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }
.thanks-card p { color: var(--muted); margin-bottom: 12px; }
.thanks-card .btn { margin-top: 10px; }
.thanks-steps {
  text-align: left;
  margin: 20px 0;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  list-style-position: inside;
  color: var(--ink);
  font-size: 0.95rem;
}
.thanks-steps li { padding: 4px 0; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 640px) {
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-links { text-align: right; }
  .crm-field { grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; }
  .crm-qual-grid { grid-template-columns: 1fr 1fr; }
  .crm-qual-wide { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
  .topnav { display: flex; }
  .hero { padding: 80px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .billing-grid { grid-template-columns: 1fr 1fr; }
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
  .sim-grid { grid-template-columns: 1.1fr 1fr; }
  .strip-quote { font-size: 1.9rem; }
  .feature-block { grid-template-columns: 0.85fr 1.15fr; gap: 44px; padding: 44px 0; }
  .feature-block--flip .feature-copy { order: 2; }
  .feature-block--flip .feature-mock { order: 1; }
}

/* ---------- Pix Automático (checkout) ---------- */
.pix-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 20, 44, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.pix-modal {
  background: #fff; border-radius: 16px; max-width: 420px; width: 100%;
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow);
}
.pix-modal h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pix-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.pix-qr { width: 220px; height: 220px; margin: 0 auto 16px; display: block; border: 1px solid var(--line); border-radius: 10px; }
.pix-copy { display: flex; gap: 8px; margin-bottom: 16px; }
.pix-copy input {
  flex: 1; min-width: 0; font-family: monospace; font-size: 0.72rem;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink);
}
.pix-status {
  color: var(--navy); font-weight: 600; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pix-status::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--navy-soft); border-top-color: var(--navy);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pix-ok { color: var(--green); font-weight: 700; margin-top: 8px; }

/* ---------- Formas de pagamento (checkout) ---------- */
.pay-methods { display: grid; gap: 10px; }
.pay-method {
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-method:hover { border-color: var(--navy); }
.pay-method input { margin-top: 3px; accent-color: var(--red); }
.pay-method span { display: block; }
.pay-method b { display: block; font-size: 0.95rem; color: var(--ink); }
.pay-method i { display: block; font-style: normal; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.pay-method:has(input:checked) { border-color: var(--red); background: #FDF3F3; }
