/* Página de vendas do ZapFecha. Separada do brand.css, que é do painel: aqui o alvo é
   quem ainda não é cliente, e a maioria abre pelo celular. Tudo é pensado mobile-first. */

:root {
  --bg: #0a0a0f;
  --bg-soft: #12121a;
  --card: #1a1a24;
  --border: #2a2a38;
  --text: #f5f5f7;
  --muted: #9a9aa8;
  --accent: #e0263f;
  --accent-2: #ff5470;
  --whatsapp: #25d366;
  --success: #22c55e;
  --warning: #f5b93d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- topo ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 12px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-zap { background: var(--whatsapp); color: #06210f; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 11px 20px;
  font-size: .92rem;
}

/* ---------- hero ---------- */
.hero { padding: 48px 0 56px; text-align: center; }
.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 30px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- prova do fluxo (chat falso, ilustrativo) ---------- */
.demo {
  max-width: 400px;
  margin: 44px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: .88rem;
}
.msg-in { background: #23232f; border-bottom-left-radius: 3px; }
.msg-out {
  background: #10412a;
  margin-left: auto;
  border-bottom-right-radius: 3px;
}
.msg-time { font-size: .7rem; color: var(--muted); display: block; margin-top: 3px; }

/* ---------- seções ---------- */
section { padding: 56px 0; }
section h2 {
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
section .lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 32px;
  font-size: 1.02rem;
}
.divider { border-top: 1px solid var(--border); }

/* ---------- problema ---------- */
.pains { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pain {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 16px 18px;
}
.pain strong { display: block; margin-bottom: 4px; }
.pain span { color: var(--muted); font-size: .92rem; }

/* ---------- passos ---------- */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  position: relative;
}
.step-n {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- recursos ---------- */
.feats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.feat h3 { margin: 0 0 6px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- preço ---------- */
.price-box {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.price-val {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 4px;
}
.price-val small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
  display: inline-block;
}
.price-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--muted);
  font-size: .95rem;
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* ---------- faq ---------- */
.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: var(--bg-soft);
  overflow: hidden;
}
.faq summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 700; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); font-size: .95rem; }

/* ---------- cta final ---------- */
.cta-final { text-align: center; padding: 64px 0; }
.cta-final h2 { margin-bottom: 10px; }
.cta-final p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}
footer a { color: var(--muted); }

/* ---------- barra fixa no celular ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 15, .94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 20;
}
.sticky-cta .btn { width: 100%; }

@media (max-width: 720px) {
  section { padding: 44px 0; }
  .hero { padding: 32px 0 40px; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ---------- garantia ---------- */
.guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 30px;
  padding: 14px 18px;
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 12px;
}
.guarantee-badge {
  background: var(--success);
  color: #06210f;
  font-weight: 800;
  font-size: .8rem;
  padding: 7px 11px;
  border-radius: 8px;
  flex-shrink: 0;
  line-height: 1.2;
  text-align: center;
}
.guarantee strong { display: block; font-size: .96rem; }
.guarantee span { color: var(--muted); font-size: .88rem; }

/* ---------- planos ---------- */
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  margin-bottom: 34px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}
/* O do meio é o que a gente quer que seja escolhido: destacado de propósito, é a mesma
   lógica do combo à vista que sobe o ticket na venda de série. */
.plan-top {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 40px rgba(224, 38, 63, .16);
}
.plan-tag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan h3 { margin: 0 0 10px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price small { font-size: .9rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan-billing { color: var(--muted); font-size: .84rem; margin: 8px 0 0; }
.plan-save {
  display: inline-block;
  margin: 12px auto 0;
  background: rgba(34, 197, 94, .12);
  color: var(--success);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.plan .btn { margin-top: auto; margin-bottom: 0; }
.plan-save + .btn, .plan-billing + .btn { margin-top: 20px; }

.included {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
}
.included h3 { margin: 0 0 8px; font-size: 1rem; }
.included .price-list { margin: 8px 0 0; }

/* ---------- checkout ---------- */
.signup-error {
  background: rgba(224, 38, 63, .1);
  border: 1px solid rgba(224, 38, 63, .4);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: .93rem;
}
.signup-form label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin: 18px 0 6px;
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input:not([type]) {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1rem;
}
.signup-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-hint { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }

.plan-picker { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.plan-opt {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  display: block;
  text-align: center;
  background: var(--bg-soft);
  margin: 0 !important;
  font-weight: 400 !important;
}
.plan-opt-on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt-name { display: block; color: var(--muted); font-size: .84rem; }
.plan-opt-price { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.plan-opt-price small { font-size: .72rem; color: var(--muted); font-weight: 500; }
.plan-opt-total { display: block; color: var(--muted); font-size: .74rem; margin-top: 2px; }

.meta-check {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
}
.radio-line {
  display: flex !important;
  align-items: center;
  gap: 9px;
  font-weight: 400 !important;
  font-size: .93rem !important;
  margin: 0 0 8px !important;
  cursor: pointer;
}
.radio-line input { width: auto; }

.big-check {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .12);
  border: 2px solid var(--success);
  color: var(--success);
  font-size: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.big-check-wait {
  background: rgba(245, 185, 61, .12);
  border-color: var(--warning);
  color: var(--warning);
}

/* ---------- provas reais ---------- */
/* Fica logo depois do hero de proposito: e a primeira objecao de quem chega ("sera que
   isso funciona mesmo?"), e a resposta e dado medido, nao depoimento. */
.proof {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(224, 38, 63, .05), transparent 60%);
}
.stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}
.stat-val {
  font-size: clamp(2rem, 6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { margin-top: 8px; font-weight: 600; font-size: .95rem; }
.stat-detail { margin-top: 5px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.proof-note {
  margin: 26px auto 0;
  max-width: 620px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

/* ---------- caso de terceiro ---------- */
/* Responde uma objecao diferente da dos numeros do proprio dono: "funciona pra voce, que
   fez a ferramenta -- e pra mim?". Por isso vem depois deles, nao no lugar. */
.cases { margin-top: 34px; }
.cases-title {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}
.case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  max-width: 680px;
  margin: 0 auto 14px;
}
.case-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.case-head strong { font-size: 1.05rem; }
.case-biz {
  background: rgba(224, 38, 63, .12);
  color: var(--accent-2);
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.case-period { color: var(--muted); font-size: .8rem; margin-left: auto; }
.case-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}
.case-stat { text-align: center; }
.case-stat b {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.case-stat span { display: block; color: var(--muted); font-size: .76rem; margin-top: 2px; line-height: 1.35; }
.case-quote {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: .95rem;
  font-style: italic;
}
.case-context { color: var(--muted); font-size: .8rem; margin: 14px 0 0; }

/* ---------- pilares da oferta ---------- */
.pillars { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.pillar-icon { font-size: 1.8rem; line-height: 1; margin-bottom: 12px; }
.pillar h3 { margin: 0 0 8px; font-size: 1.05rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- como o dinheiro entra ---------- */
.money { display: grid; gap: 4px; }
.money-step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.money-step:last-child { border-bottom: none; }
.money-n {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .88rem;
}
.money-step strong { display: block; margin-bottom: 3px; }
.money-step p { margin: 0; color: var(--muted); font-size: .93rem; }
.money-note {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: .88rem;
}

/* ---------- o que voce precisa ter ---------- */
/* Secao incomum numa pagina de vendas, e proposital: quem chega achando que e dinheiro
   sem verba compra, nao consegue e pede reembolso. Dizer na cara custa algumas vendas
   ruins e evita todas elas. */
.reqs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.req {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--warning);
  border-radius: 10px;
  padding: 18px;
}
.req strong { display: block; margin-bottom: 5px; }
.req span { color: var(--muted); font-size: .9rem; }

.demo-foot {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  font-style: italic;
}

/* ---------- comparacao com o catalogo avulso ---------- */
/* O comprador CHEGA com o preco do concorrente na cabeca. Fugir da comparacao deixa ele
   fazendo a conta sozinho e concluindo que e a mesma coisa mais cara. */
.compare {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 1fr 110px 110px;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
}
.compare-head {
  background: var(--card);
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.compare-row { border-bottom: 1px solid var(--border); font-size: .92rem; }
.compare-row:last-child { border-bottom: none; }
.compare-col { text-align: center; }
.compare-ours {
  background: rgba(224, 38, 63, .08);
  color: var(--accent-2);
  font-weight: 700;
  margin: -13px 0;
  padding: 13px 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-head .compare-ours { color: var(--accent-2); }
.compare-price { font-weight: 700; background: var(--card); font-size: 1rem; }
.compare-note {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
@media (max-width: 520px) {
  .compare-head, .compare-row { grid-template-columns: 1fr 72px 72px; font-size: .85rem; padding: 11px 12px; }
}
