/* ─────────────────────────────────────────────────────────────────────────────
   Landing "CNH Passo a Passo" — folha de estilo única.
   Mesma lógica visual da referência (cartões, seções alternadas, timeline,
   selo de garantia, CTA sticky), com paleta e posições próprias:
     • referência: verde #0FA389 sobre menta
     • aqui: azul royal #0B5FFF sobre azul-gelo, com amarelo #FFB020 nos CTAs
   ──────────────────────────────────────────────────────────────────────────── */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface2: #edf2fb;
  --ink: #0b1b33;
  --muted: #5a6b85;
  --pri: #0b5fff;
  --priink: #ffffff;
  --acc: #ffb020;
  --line: #dce6f5;
  --radius: 22px;
  --shadow: 0 18px 40px -26px rgba(11, 27, 51, 0.45);
  --fh: "Plus Jakarta Sans";
  --fb: "Plus Jakarta Sans";
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--fb), system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.6rem;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--fh), system-ui, sans-serif; line-height: 1.15; color: var(--ink); }

.wrap { max-width: 66rem; margin: 0 auto; padding: 0 1.1rem; }
.center { text-align: center; }
.sec { padding: 4.2rem 0; }
.sec.alt { background: var(--surface2); }
.sh { max-width: 44rem; margin-bottom: 2rem; }
.center .sh, .sh.c { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pri); margin-bottom: 0.5rem;
}
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; font-weight: 800; }
.intro { color: var(--muted); margin-top: 0.7rem; }
p { color: var(--muted); }
p + p { margin-top: 0.9rem; }
p b, li b { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--pri); color: var(--priink);
  font-weight: 800; padding: 0.95rem 1.6rem; border-radius: 99px;
  transition: transform 0.15s, filter 0.15s; margin-top: 1.8rem;
  font-family: var(--fb); border: 0; cursor: pointer; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-lg { font-size: 1.05rem; padding: 1.1rem 1.9rem; }
.btn-acc { background: var(--acc); color: #3a2700; }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }

/* header */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 247, 251, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: 66rem; margin: 0 auto; padding: 0.75rem 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--fh); font-weight: 800; font-size: 1.02rem; }
.bmk {
  width: 2.1rem; height: 2.1rem; border-radius: calc(var(--radius) / 2 + 4px);
  background: var(--pri); color: var(--priink);
  display: flex; align-items: center; justify-content: center;
}
.bmk svg { width: 1.15rem; height: 1.15rem; }
.hdr .btn { margin: 0; padding: 0.55rem 1.1rem; font-size: 0.85rem; background: var(--acc); color: #3a2700; }

/* hero */
.hero { padding: 4rem 0 4.5rem; position: relative; }
.hero-c { padding-bottom: 2rem; background: radial-gradient(ellipse at 50% 0%, #d7e4ff 0%, transparent 62%); }
.kick {
  display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--pri);
  margin-bottom: 1rem; letter-spacing: 0.02em;
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.4rem 0.9rem; border-radius: 99px; box-shadow: var(--shadow);
}
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -0.02em; margin-bottom: 1.1rem; font-weight: 800; }
.lead { font-size: 1.06rem; max-width: 36rem; }
.center .lead { margin: 0 auto; }
.hb {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem;
  margin-top: 1.3rem; font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.center .hb { justify-content: center; }
.hb li::before { content: "✓ "; color: var(--pri); font-weight: 900; }
.hl { background: linear-gradient(180deg, transparent 60%, rgba(11, 95, 255, 0.22) 60%); color: var(--pri); }

/* moldura das imagens (aqui embaixo do texto, não ao lado) */
.cframe { position: relative; max-width: 52rem; margin: 3rem auto 0; }
.cframe .himg {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px;
  box-shadow: var(--shadow); border: 8px solid #fff;
}
.chip {
  position: absolute; background: #fff; border-radius: 99px; padding: 0.55rem 1rem;
  font-size: 0.82rem; font-weight: 700; box-shadow: var(--shadow);
}
.c1 { left: -1rem; top: 18%; }
.c2 { right: -1rem; bottom: 22%; }
.cframe .hcover { position: absolute; right: 6%; top: -2.2rem; width: 7.5rem; transform: rotate(6deg); }
@media (max-width: 700px) {
  .chip { display: none; }
  .cframe .hcover { width: 5.5rem; top: -1.6rem; }
}

/* aviso */
.aviso {
  display: flex; gap: 0.9rem; align-items: flex-start;
  border: 1px solid #fbe3b8; background: #fff8ec; border-radius: var(--radius);
  padding: 1.1rem 1.3rem; margin-top: 2.5rem;
}
.aviso svg { width: 1.4rem; height: 1.4rem; flex-shrink: 0; color: #d98a00; margin-top: 0.15rem; }
.aviso p { font-size: 0.86rem; }

/* helpers de layout */
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.4rem; align-items: start; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }
.pill-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.pc-t { font-family: var(--fh); font-weight: 800; font-size: 1.05rem; margin-bottom: 0.7rem; }
.pc-n { margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--pri); }

ul.tick, ul.cross { list-style: none; }
ul.tick li, ul.cross li { position: relative; padding: 0.38rem 0 0.38rem 1.9rem; color: var(--muted); }
ul.tick li::before {
  content: "✓"; position: absolute; left: 0; top: 0.42rem; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--pri); color: var(--priink);
  font-size: 0.72rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
ul.cross li::before {
  content: "✕"; position: absolute; left: 0; top: 0.42rem; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--line); color: var(--muted);
  font-size: 0.7rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
ul.tick.big { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 2rem; }
@media (max-width: 700px) { ul.tick.big { grid-template-columns: 1fr; } }
.note { font-size: 0.84rem; margin-top: 1.3rem; padding-left: 1rem; border-left: 3px solid var(--pri); }

/* passos */
.steps { list-style: none; }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.steps p { font-size: 0.92rem; }
.steps .n { flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--fh); font-weight: 800; }
.steps-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 900px) { .steps-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-cards { grid-template-columns: 1fr; } }
.steps-cards li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; box-shadow: var(--shadow); text-align: left;
}
.steps-cards .n {
  width: 2.4rem; height: 2.4rem; border-radius: calc(var(--radius) / 2 + 2px);
  background: var(--pri); color: var(--priink); margin-bottom: 0.9rem;
}

/* tabela */
.tbl {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.tbl th { background: var(--pri); color: var(--priink); text-align: left; padding: 0.85rem 1rem; font-size: 0.85rem; }
.tbl td { padding: 0.85rem 1rem; border-top: 1px solid var(--line); color: var(--muted); }

/* feats */
.feats { display: grid; gap: 1rem; }
.feats-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .feats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feats-grid { grid-template-columns: 1fr; } }
.feats-grid .feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.feat { display: flex; gap: 0.9rem; align-items: flex-start; }
.fi {
  flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 12px;
  background: rgba(11, 95, 255, 0.1); color: var(--pri);
  display: flex; align-items: center; justify-content: center;
}
.fi svg { width: 1.2rem; height: 1.2rem; }
.feat h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.feat p { font-size: 0.9rem; }

/* módulos */
.mods { list-style: none; display: grid; gap: 0.7rem; max-width: 48rem; }
.mods li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; color: var(--muted);
}
.mn { font-family: var(--fh); font-weight: 800; color: var(--pri); font-size: 1.05rem; }

/* golpes */
.golpes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 820px) { .golpes { grid-template-columns: 1fr; } }
.g {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem; display: flex; gap: 0.8rem; align-items: flex-start; box-shadow: var(--shadow);
}
.g svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; color: #d98a00; }
.g p { font-size: 0.9rem; }
.isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
@media (max-width: 820px) { .isnot { grid-template-columns: 1fr; } }
.isnot > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.isnot h3 { margin-bottom: 0.6rem; }

/* faq */
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05rem 1.3rem; margin-bottom: 0.7rem; max-width: 48rem; margin-left: auto; margin-right: auto;
}
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--pri); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 0.6rem; font-size: 0.93rem; }

/* garantia */
.gar {
  display: flex; gap: 1.6rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; max-width: 48rem; margin: 0 auto; box-shadow: var(--shadow);
}
.seal {
  flex-shrink: 0; width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: var(--acc); color: #3a2700;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; font-family: var(--fh);
}
.seal b { font-size: 1.9rem; }
.seal small { font-size: 0.6rem; letter-spacing: 0.1em; font-weight: 800; }
.gar h3 { margin-bottom: 0.4rem; }
@media (max-width: 600px) { .gar { flex-direction: column; text-align: center; } }

/* oferta final */
.final {
  display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.4); padding: 2.6rem; box-shadow: var(--shadow);
}
@media (max-width: 760px) {
  .final { grid-template-columns: 1fr; text-align: center; padding: 1.8rem; }
  .final-cover { margin: 0 auto; }
}
.final-cover { width: 12rem; border-radius: 4px 10px 10px 4px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
.final h2 { margin-bottom: 0.7rem; }
.price { display: flex; flex-direction: column; margin-top: 1.2rem; }
.old { font-size: 0.9rem; color: var(--muted); text-decoration: line-through; }
.now { font-family: var(--fh); font-size: 3.2rem; font-weight: 800; line-height: 1.1; color: var(--ink); }
.now small { font-size: 1.2rem; margin-right: 0.2rem; }
.once { font-size: 0.82rem; color: var(--muted); }
.mini { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--muted); margin-top: 0.9rem; }
.mini svg { width: 0.95rem; height: 0.95rem; }
@media (max-width: 760px) { .mini { justify-content: center; } }

/* rodapé */
footer { border-top: 1px solid var(--line); padding: 2.6rem 0 2rem; font-size: 0.8rem; }
footer p { font-size: 0.78rem; margin-top: 0.8rem; max-width: 52rem; }

/* barra fixa */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--bg); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, 0.5);
}
.sticky-in {
  max-width: 66rem; margin: 0 auto; padding: 0.7rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.sticky b { font-family: var(--fh); font-size: 1.25rem; display: block; line-height: 1.1; }
.sticky small { font-size: 0.72rem; color: var(--muted); }
.sticky .btn { margin: 0; padding: 0.75rem 1.4rem; background: var(--acc); color: #3a2700; }

/* ─────────────────────────────────────────────────────────────────────────────
   Checkout
   ──────────────────────────────────────────────────────────────────────────── */
.checkout-wrap { max-width: 44rem; margin: 0 auto; padding: 2.2rem 1.1rem 1rem; }
.cartao {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.cartao + .cartao { margin-top: 1rem; }
.resumo { display: flex; gap: 1rem; align-items: center; }
.resumo img { width: 4.4rem; border-radius: 8px; }
.resumo h3 { font-size: 1rem; }
.resumo p { font-size: 0.85rem; }
.linha { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }
.linha.total { font-size: 1.15rem; color: var(--ink); font-weight: 800; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }

.campo { margin-top: 1rem; }
.campo label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--ink); }
.campo input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 0.9rem;
}
.campo input:focus { outline: none; border-color: var(--pri); background: #fff; }
.campo small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 0.3rem; }
.erro { font-size: 0.82rem; color: #c0362c; margin-top: 0.8rem; font-weight: 600; }
.erro:empty { display: none; }

.pix-area { display: none; }
.pix-area.on { display: block; }
.pix-qr {
  display: flex; justify-content: center; margin: 1.2rem 0;
}
.pix-qr img, .pix-qr canvas {
  width: 220px; height: 220px; background: #fff; border-radius: 14px;
  border: 1px solid var(--line); padding: 10px;
}
.copia {
  display: flex; gap: 0.5rem; align-items: stretch; margin-top: 0.6rem;
}
.copia input {
  flex: 1; min-width: 0; font: inherit; font-size: 0.8rem; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.8rem;
}
.copia button { white-space: nowrap; margin: 0; padding: 0.7rem 1rem; font-size: 0.85rem; }
.status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--pri); margin-top: 1rem; }
.status.pago { color: #12805c; }
.spin {
  width: 1rem; height: 1rem; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--pri);
  animation: girar 0.9s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.passos-mini { list-style: none; display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1rem; font-size: 0.75rem; color: var(--muted); }
.passos-mini li { background: var(--surface2); border-radius: 99px; padding: 0.25rem 0.7rem; }
