/* Atacante.App — template "problema" v2: "O caderno da recepção"
   Folha standalone (NÃO carrega atacante.css) usada pelas LPs de dor:
   parar-de-perder-reserva-no-whatsapp e pagamento-antecipado-sem-no-show.
   Mundo visual: papel, livro-caixa, recibo, carimbo (PAGO/FALTOU), marca-texto.
   Mantém os ganchos de atacante.js: .topbar .hero .cta-band .wa-float
   .faq-item/.faq-q/.sign [data-wa-form] [data-status] e os data-loss-* do simulador. */

:root {
  --paper: #f2f1ea;
  --card: #fbfaf5;
  --ink: #1b211c;
  --ink-soft: rgba(27, 33, 28, 0.64);
  --rule: rgba(27, 33, 28, 0.16);
  --rule-strong: rgba(27, 33, 28, 0.32);
  --red: #c23a2b;
  --green: #146c43;
  --lime: #dbff5c;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C9 3 3.5 8.5 3.5 15.5c0 2.4.7 4.7 1.9 6.7L3 29l7-1.8c1.9 1 4 1.6 6 1.6 7 0 12.5-5.5 12.5-12.5S23 3 16 3zm0 22.8c-1.8 0-3.6-.5-5.1-1.4l-.4-.2-4.2 1.1 1.1-4.1-.2-.4c-1-1.6-1.5-3.4-1.5-5.3 0-5.6 4.6-10.2 10.3-10.2 5.7 0 10.3 4.6 10.3 10.2S21.7 25.8 16 25.8zm5.7-7.6c-.3-.2-1.8-.9-2.1-1-.3-.1-.5-.2-.7.2-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1-.3-.2-1.3-.5-2.5-1.5-.9-.8-1.5-1.8-1.7-2.1-.2-.3 0-.5.1-.6.1-.1.3-.4.5-.5.1-.2.2-.3.3-.5.1-.2 0-.4 0-.5 0-.2-.7-1.7-1-2.3-.2-.6-.5-.5-.7-.5h-.6c-.2 0-.5.1-.8.4-.3.3-1 1-1 2.5s1.1 2.9 1.2 3.1c.2.2 2.1 3.3 5.2 4.6.7.3 1.3.5 1.7.6.7.2 1.4.2 1.9.1.6-.1 1.8-.7 2-1.4.3-.7.3-1.3.2-1.4-.1-.2-.3-.3-.6-.4z'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

/* ---------- Marca-texto ---------- */
.hl {
  background: linear-gradient(100deg, transparent 2%, var(--lime) 6%, var(--lime) 94%, transparent 98%);
  padding: 0 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Carimbo ---------- */
.stamp {
  display: inline-block;
  padding: 6px 14px;
  border: 3px solid currentColor;
  border-radius: 8px;
  color: var(--red);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-6deg);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 .4'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-size: 120px 120px;
}

.stamp.green {
  color: var(--green);
}

@keyframes stampSlam {
  0% { opacity: 0; transform: rotate(-14deg) scale(2.4); }
  70% { opacity: 1; transform: rotate(-5deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-6deg) scale(1); }
}

.artifact .stamp {
  animation: stampSlam 420ms cubic-bezier(0.2, 1.4, 0.4, 1) 500ms backwards;
}

@media (prefers-reduced-motion: reduce) {
  .artifact .stamp {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Topo ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(242, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  flex: none;
  width: 34px;
  height: 34px;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-ghost {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
}

.nav-ghost:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(27, 33, 28, 0.06);
}

.topbar .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- Layout base ---------- */
main {
  overflow: hidden;
}

section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 84px 24px;
}

.entry {
  border-top: 2px solid var(--ink);
}

.entry-ref {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entry-ref b {
  color: var(--red);
  font-weight: 600;
}

.entry-ref b.green {
  color: var(--green);
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(40px, 5.6vw, 68px);
}

h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 46px);
}

.lead {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-chips span {
  padding: 9px 14px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}

.hero-chips b {
  font-weight: 600;
  color: var(--green);
}

/* ---------- Artefato de papel (caderno / recibos) ---------- */
.artifact {
  position: relative;
  display: grid;
  gap: 18px;
}

.paper {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--card);
  box-shadow: 6px 8px 0 rgba(27, 33, 28, 0.1);
}

.paper-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* página de caderno: pauta + espiral */
.paper.notebook {
  padding-left: 46px;
  transform: rotate(1.2deg);
  background:
    repeating-linear-gradient(to bottom, transparent 0 35px, var(--rule) 35px 36px),
    var(--card);
}

.paper.notebook::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 26px;
  width: 1px;
  background: rgba(194, 58, 43, 0.4);
}

.paper.notebook::after {
  content: "";
  position: absolute;
  inset: 14px auto 14px 8px;
  width: 8px;
  background: radial-gradient(circle 4px, var(--paper) 60%, transparent 61%) 0 0 / 8px 28px repeat-y,
    linear-gradient(var(--rule-strong), var(--rule-strong)) 3px 0 / 2px 100% no-repeat;
}

.note-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-height: 36px;
  font-family: var(--mono);
  font-size: 14px;
}

.note-line .who {
  color: var(--ink);
}

.note-line .ok {
  color: var(--green);
  font-weight: 600;
}

.note-line.lost .who {
  color: var(--red);
  text-decoration: line-through wavy rgba(194, 58, 43, 0.7) 1.5px;
}

.note-line .t {
  color: var(--ink-soft);
  font-size: 12px;
}

.note-stamp {
  position: absolute;
  right: 18px;
  top: 42%;
}

/* recibo: serrilha em cima e embaixo */
.paper.slip {
  padding: 20px 22px 24px;
  font-family: var(--mono);
  --notch: radial-gradient(circle 5px at 5px 5px, transparent 4.5px, var(--card) 5px);
}

.paper.slip::before,
.paper.slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: radial-gradient(circle 4px at 7px 0, var(--paper) 3.5px, transparent 4px) 0 0 / 14px 6px repeat-x;
}

.paper.slip::before {
  top: -1px;
}

.paper.slip::after {
  bottom: -1px;
  transform: scaleY(-1);
}

.paper.slip.tilt-l {
  transform: rotate(-1.6deg);
}

.paper.slip.tilt-r {
  transform: rotate(1.4deg);
}

.slip-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  font-size: 13.5px;
}

.slip-row span {
  color: var(--ink-soft);
}

.slip-row.total {
  margin-top: 8px;
  border-top: 1.5px dashed var(--rule-strong);
  padding-top: 12px;
  font-weight: 600;
  font-size: 15px;
}

.slip-row.total .neg {
  color: var(--red);
}

.slip-row.total .pos {
  color: var(--green);
}

.slip-stamp {
  position: absolute;
  top: 34%;
  right: 16px;
}

/* chip de confirmação digital (contraponto ao papel) */
.confirm-chip {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  box-shadow: 4px 5px 0 rgba(27, 33, 28, 0.18);
  transform: rotate(-1deg);
}

.confirm-chip b {
  font-weight: 600;
}

/* ---------- Livro-caixa (dores) ---------- */
.ledger {
  margin-top: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--card);
  overflow: hidden;
}

.ledger-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 22px;
  border-top: 1px solid var(--rule);
}

.ledger-row:first-child {
  border-top: 0;
}

.ledger-row .when {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 13px;
}

.ledger-row .what {
  margin: 0;
  font-size: 16px;
}

.ledger-row .val {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

.ledger-row.total {
  border-top: 2px solid var(--ink);
  background: rgba(219, 255, 92, 0.35);
}

.ledger-row.total .what {
  font-weight: 700;
}

.ledger-row.total .val {
  font-size: 18px;
}

.ledger-note {
  margin: 12px 2px 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
}

.ledger-note a {
  color: var(--ink);
}

/* ---------- 3 passos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 26px 26px 26px 0;
  margin-right: 26px;
  border-top: 2px solid var(--ink);
}

.steps li:last-child {
  margin-right: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: -19px;
  left: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 15px;
}

.steps li:last-child::before {
  background: var(--lime);
}

.steps h3 {
  margin: 26px 0 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- Simulador (recibo interativo) ---------- */
.calc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.calc {
  padding: 26px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--card);
  box-shadow: 6px 8px 0 rgba(27, 33, 28, 0.1);
  font-family: var(--mono);
}

.calc label {
  display: grid;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--rule-strong);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.calc label span {
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

.calc-hint {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0 6px;
}

.calc-total .label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.calc-total strong {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  color: var(--red);
  letter-spacing: -0.02em;
}

.calc-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

.calc-formula {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- Também entra na conta ---------- */
.also {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.also li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.5;
}

.also .tick {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.also b {
  font-weight: 700;
}

.also .src {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11.5px;
}

.also li a {
  color: var(--ink);
}

/* ---------- Tabela de preços (recibo) ---------- */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.price-slip {
  font-family: var(--mono);
}

.price-slip .paper-head {
  border-bottom: 1.5px dashed var(--rule-strong);
  padding-bottom: 12px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
}

.price-line + .price-line {
  border-top: 1px dotted var(--rule);
}

.price-line span {
  color: var(--ink-soft);
}

.price-line small {
  display: block;
  color: var(--ink-soft);
  font-size: 11.5px;
  margin-top: 3px;
}

.price-line strong {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  text-align: right;
}

.price-line.deal strong {
  color: var(--green);
}

.price-line.head {
  padding-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-foot {
  margin: 14px 2px 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 11.5px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  max-width: 820px;
  margin-top: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--rule-strong);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-q .sign {
  flex: none;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--red);
  line-height: 1;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-item.open .faq-a {
  max-height: 420px;
}

.faq-a p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
}

/* ---------- Formulário ---------- */
.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.promise-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 14px;
}

.promise-list span {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
}

.promise-list span::before {
  content: "→ ";
  color: var(--green);
  font-weight: 600;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  background: var(--card);
  box-shadow: 6px 8px 0 rgba(27, 33, 28, 0.1);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input:not([type="range"]),
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 16px/1.2 var(--sans);
  outline: none;
}

input::placeholder {
  color: rgba(27, 33, 28, 0.35);
}

input:focus,
select:focus {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

/* ---------- CTA final ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 110px 24px 120px;
}

.cta-band h2 {
  max-width: 720px;
  margin: 0 auto;
}

.cta-band .lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-band .cta-row {
  justify-content: center;
}

.cta-band .stamp {
  position: absolute;
  top: 44px;
  right: clamp(8px, 12vw, 220px);
  opacity: 0.9;
}

/* ---------- Rodapé ---------- */
.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--card);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-inner p {
  color: var(--ink-soft);
  max-width: 320px;
  font-size: 15px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-col a {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-base {
  border-top: 1px solid var(--rule);
  padding: 20px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12.5px;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero,
  .calc-wrap,
  .pricing,
  .lead-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    margin-right: 0;
    padding-right: 0;
  }

  .also {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .nav-ghost {
    display: none;
  }
}

@media (max-width: 620px) {
  section {
    padding: 60px 18px;
  }

  .ledger-row {
    grid-template-columns: 1fr auto;
  }

  .ledger-row .when {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .cta-band .stamp {
    position: static;
    display: inline-block;
    margin-bottom: 26px;
  }

  .paper.notebook,
  .paper.slip.tilt-l,
  .paper.slip.tilt-r,
  .confirm-chip {
    transform: none;
  }
}

/* Header: em telas estreitas não cabe marca + "Falar no WhatsApp" lado a
   lado. Em vez de truncar a marca (nunca!), o CTA do header vira um selo
   circular do WhatsApp (borda + sombra dura, igual ao .wa-float) com uma
   legenda curta ("Falar agora") FORA do círculo, logo abaixo — não mais
   dentro de uma pílula. Abaixo de 400px, a legenda some e sobra só o
   círculo. O texto original (.btn-label) permanece no DOM sempre, então o
   nome acessível do link nunca muda para leitor de tela. */
.btn-icon { display: none; }
.btn-caption { display: none; }

@media (max-width: 480px) {
  .nav-actions .btn.btn-primary {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0;
    min-height: auto;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-actions .btn.btn-primary .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    border: 2px solid var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
  }
  .nav-actions .btn.btn-primary .btn-icon::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    -webkit-mask: var(--wa-icon) no-repeat center / contain;
    mask: var(--wa-icon) no-repeat center / contain;
  }
  .nav-actions .btn.btn-primary .btn-label { display: none; }
  .nav-actions .btn.btn-primary .btn-caption {
    display: block;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: var(--ink);
  }
}

@media (max-width: 400px) {
  .nav-actions .btn.btn-primary .btn-caption { display: none; }
}
