/* =============================================================================
   KIT EMERGÊNCIA 72H — Estilos
   =============================================================================
   Paleta: verde de emergência (confiança) + âmbar de alerta.
   Tipografia: Inter.
   ========================================================================== */

:root {
  /* Cores */
  --green-900: #06281d;
  --green-800: #0a3d2c;
  --green-700: #0f5138;
  --green-600: #147a52;
  --green-500: #1aa06a;
  --green-400: #34c98a;
  --green-100: #d8f5e6;
  --green-50:  #eefaf3;

  --amber-600: #c2410c;
  --amber-500: #ea580c;
  --amber-400: #f97316;
  --amber-100: #ffedd5;

  --ink-900: #0b1512;
  --ink-800: #16241f;
  --ink-700: #2b3d36;
  --ink-500: #5b6f68;
  --ink-400: #839790;
  --ink-300: #b9c7c2;
  --ink-200: #dde5e2;
  --ink-100: #eef2f0;
  --ink-50:  #f7faf9;

  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(11, 21, 18, 0.06), 0 2px 8px rgba(11, 21, 18, 0.04);
  --shadow: 0 4px 12px rgba(11, 21, 18, 0.07), 0 12px 32px rgba(11, 21, 18, 0.06);
  --shadow-lg: 0 12px 28px rgba(11, 21, 18, 0.10), 0 32px 64px rgba(11, 21, 18, 0.10);

  --wrap: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

/* =========================================================================
   FAIXA DE ALERTA
   ====================================================================== */
.topbar {
  background: linear-gradient(90deg, var(--amber-600), var(--amber-500));
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.topbar .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.8);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.topbar .sep { opacity: 0.6; }

/* =========================================================================
   CABEÇALHO
   ====================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 81, 56, 0.28);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 16.5px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.02em; }
.brand-text strong em { font-style: normal; color: var(--green-600); }
.brand-text small { font-size: 11.5px; color: var(--ink-500); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-700); transition: color .18s; }
.nav a:hover { color: var(--green-600); }
.nav-cta {
  background: var(--green-700);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background .18s, transform .18s;
}
.nav-cta:hover { background: var(--green-600); transform: translateY(-1px); }

/* =========================================================================
   BOTÕES
   ====================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 81, 56, 0.28);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15, 81, 56, 0.36); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
  border: 1.5px solid var(--ink-200);
}
.btn-ghost:hover { border-color: var(--ink-400); background: var(--ink-50); }

.btn-light { background: #fff; color: var(--green-800); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-copy {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 14px;
}
.btn-copy:hover { background: var(--green-700); }
.btn-copy.copied { background: var(--green-600); }

/* =========================================================================
   BLOCO PRINCIPAL — FORMULÁRIO EM DESTAQUE
   ====================================================================== */
.hero-form {
  position: relative;
  padding: 36px 0 64px;
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--green-50) 0%, transparent 62%),
    radial-gradient(760px 420px at 4% 108%, var(--amber-100) 0%, transparent 58%),
    var(--white);
  overflow: hidden;
}

.hero-form-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}
.hero-form-head h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.hero-form-head h1 .hl { color: var(--green-600); }
.hero-form-head .lead {
  font-size: 17px;
  color: var(--ink-500);
  max-width: 620px;
  margin: 0 auto;
}
.hero-form-head .lead strong { color: var(--ink-800); font-weight: 700; }

.quick-facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.quick-facts li {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 13px;
  color: var(--ink-500);
}
.quick-facts strong { color: var(--green-700); font-weight: 800; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
}
.pill svg { width: 15px; height: 15px; }
.pill-alert {
  background: var(--amber-100);
  color: var(--amber-600);
  border: 1px solid rgba(234, 88, 12, 0.22);
}

/* ---------- Coluna lateral ---------- */
.side-col { display: grid; gap: 24px; align-content: start; }

/* ---------- Card da oferta ---------- */
.offer-card { padding: 26px; }
.offer-card[hidden] { display: none; }
.offer-visual {
  display: grid;
  place-items: center;
  padding: 8px 0 4px;
  color: var(--green-700);
}
.offer-visual .kit-illustration { width: 150px; height: 150px; }
.offer-body { text-align: center; position: relative; }
.offer-badge {
  position: absolute;
  top: -6px; right: 0;
  background: var(--green-700);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.price-tag {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  color: var(--ink-900);
  line-height: 1;
  margin-top: 6px;
}
.price-currency { font-size: 20px; font-weight: 700; margin-top: 8px; color: var(--ink-500); }
.price-value { font-size: 60px; font-weight: 900; letter-spacing: -0.045em; }
.price-cents { font-size: 24px; font-weight: 800; margin-top: 8px; color: var(--ink-500); }

.price-note { font-size: 13px; color: var(--ink-500); margin-top: 6px; }

.price-extra {
  margin-top: 16px;
  padding: 11px;
  background: var(--green-50);
  border: 1px dashed var(--green-400);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--green-800);
  font-weight: 600;
}
.price-extra span { font-weight: 800; }

.offer-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--ink-100);
  display: grid;
  gap: 11px;
  text-align: left;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-700);
}
.offer-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-600);
  background: var(--green-50);
  border-radius: 50%;
  padding: 3px;
}
.offer-list strong { color: var(--ink-900); font-weight: 700; }

/* =========================================================================
   FAIXA DE CONFIANÇA
   ====================================================================== */
.strip { background: var(--green-900); color: #fff; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 24px;
}
.strip-item { text-align: center; }
.strip-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-400);
}
.strip-item span { font-size: 13.5px; color: rgba(255,255,255,0.72); }

/* =========================================================================
   SEÇÕES
   ====================================================================== */
.section { padding: 88px 0; }
.section-alt { background: var(--ink-50); }
.section-dark {
  background:
    radial-gradient(900px 460px at 88% 0%, rgba(26,160,106,0.16) 0%, transparent 60%),
    var(--green-900);
  color: #fff;
}

.section-head { max-width: 660px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink-900);
  margin-bottom: 14px;
}
.section-head p { font-size: 17px; color: var(--ink-500); }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255,255,255,0.7); }
.section-head-light .eyebrow { color: var(--green-400); }

/* ---------- Passos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; color: var(--ink-900); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Itens do kit ---------- */
.items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.item-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-400); }
.item-icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--green-50), var(--green-100));
  color: var(--green-700);
  display: grid;
  place-items: center;
}
.item-icon svg { width: 27px; height: 27px; }
.item-card h3 { font-size: 16.5px; color: var(--ink-900); margin-bottom: 8px; }
.item-card p { font-size: 14px; color: var(--ink-500); }

.items-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-400);
  margin-top: 32px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================================
   CHECKOUT
   ====================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 28px;
  align-items: start;
}

/* =========================================================================
   BARRA FIXA MOBILE (CTA SEMPRE VISÍVEL)
   ====================================================================== */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--ink-100);
  box-shadow: 0 -6px 24px rgba(11, 21, 18, 0.08);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta[hidden] { display: none; }
.mobile-cta-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mobile-cta-label { font-size: 12px; color: var(--ink-500); font-weight: 600; }
.mobile-cta-info strong { font-size: 19px; font-weight: 900; color: var(--green-700); letter-spacing: -0.02em; }
.mobile-cta .btn { flex-shrink: 0; padding: 13px 22px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  color: var(--ink-800);
}
.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  color: var(--ink-900);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
}
.card-title svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; }

/* ---------- Campos ---------- */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.field .opt { font-weight: 500; color: var(--ink-400); }

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  font-size: 15px;
  transition: border-color .18s, box-shadow .18s, background .18s;
  outline: none;
}
.field input::placeholder { color: var(--ink-300); }
.field input:hover:not(:focus),
.field select:hover:not(:focus) { border-color: var(--ink-300); }
.field input:focus,
.field select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(26, 160, 106, 0.13);
}
.field input.invalid,
.field select.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.10);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6f68' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

/* Linhas de dois campos: o espaçamento vertical vem do PRÓPRIO grid,
   e os campos internos não somam margem (evita colisão/desalinhamento). */
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin-bottom: 16px;
}
.row-2 > .field { margin-bottom: 0; }
.row-cep { grid-template-columns: 1.4fr 1fr; }
.field-uf { max-width: 140px; }

.err { display: block; font-size: 12.5px; color: #dc2626; font-weight: 600; margin-top: 5px; min-height: 0; }
.err:empty { display: none; }
.hint { display: block; font-size: 12.5px; color: var(--ink-400); margin-top: 6px; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 18px;
  color: var(--ink-400);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-100);
}

/* ---------- Quantidade ---------- */
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 48px;
  height: 48px;
  border: none;
  background: var(--ink-50);
  color: var(--ink-800);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: background .15s;
}
.qty-btn:hover:not(:disabled) { background: var(--green-100); color: var(--green-700); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-control input {
  width: 68px;
  height: 48px;
  border: none;
  border-left: 1.5px solid var(--ink-200);
  border-right: 1.5px solid var(--ink-200);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-900);
  background: var(--white);
  outline: none;
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Resumo ---------- */
.summary {
  margin: 22px 0 18px;
  padding: 18px;
  background: var(--ink-50);
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-700);
  padding: 6px 0;
}
.summary-row em { font-style: normal; color: var(--ink-400); font-size: 13px; }
.summary-row .free { color: var(--green-600); font-weight: 800; }
.summary-total {
  margin-top: 9px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--ink-200);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-900);
}
.summary-total span:last-child { color: var(--green-700); font-size: 20px; }

/* ---------- Botão com spinner ---------- */
#btn-pagar { position: relative; }
#btn-pagar .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
#btn-pagar.loading .btn-label { opacity: 0.75; }
#btn-pagar.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-400);
  margin-top: 16px;
  text-align: center;
}
.form-foot svg { width: 14px; height: 14px; flex-shrink: 0; }

.form-alert {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.form-alert[hidden] { display: none; }

/* =========================================================================
   PAINEL DO PIX
   ====================================================================== */
.pix-card { position: sticky; top: 92px; }
.pix-card[hidden] { display: none; }

.pix-head { text-align: center; margin-bottom: 22px; }
.pix-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.pix-badge svg { width: 14px; height: 14px; }
.pix-head h3 { font-size: 19px; color: var(--ink-900); margin-bottom: 8px; }
.pix-head p { font-size: 14px; color: var(--ink-500); }

.pix-qr {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  place-items: center;
  min-height: 250px;
  margin-bottom: 18px;
}
.pix-qr img {
  width: 100%;
  max-width: 230px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}
.pix-qr img[src=""] { visibility: hidden; }
.pix-qr-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--ink-400);
  font-weight: 600;
}

.pix-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.pix-amount span { font-size: 13.5px; color: var(--green-800); font-weight: 600; }
.pix-amount strong { font-size: 21px; font-weight: 900; color: var(--green-700); letter-spacing: -0.02em; }

.pix-copy { margin-bottom: 18px; }
.pix-copy label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.copy-row { display: flex; gap: 8px; }
.copy-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--ink-500);
  background: var(--ink-50);
  outline: none;
  text-overflow: ellipsis;
}
.copy-row input:focus { border-color: var(--green-500); }

.pix-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--amber-100);
  color: var(--amber-600);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}
.pix-status .pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber-500);
  animation: pulseDot2 1.4s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot2 {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.82); }
}
.pix-status.ok { background: var(--green-100); color: var(--green-800); }
.pix-status.ok .pulse { background: var(--green-600); animation: none; }
.pix-status.expired { background: #fef2f2; color: #b91c1c; }
.pix-status.expired .pulse { background: #dc2626; animation: none; }

.pix-ref { text-align: center; font-size: 12.5px; color: var(--ink-400); margin-bottom: 14px; }
.pix-ref strong { color: var(--ink-700); font-family: ui-monospace, monospace; }

.pix-expire {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-500);
  background: var(--ink-50);
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.pix-expire[hidden] { display: none; }

/* =========================================================================
   TRANSPARÊNCIA / FAQ
   ====================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--ink-100);
}
.why-card h3 { font-size: 17.5px; color: var(--ink-900); margin-bottom: 10px; }
.why-card p { font-size: 14.5px; color: var(--ink-500); }

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s;
}
.faq details[open] { border-color: var(--green-400); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--green-600);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-500);
}

/* =========================================================================
   CTA FINAL
   ====================================================================== */
.final-cta {
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  color: #fff;
  padding: 84px 0;
}
.final-cta-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.78); margin-bottom: 30px; }

/* =========================================================================
   RODAPÉ
   ====================================================================== */
.footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: 56px 0 26px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand strong { display: block; font-size: 17px; color: #fff; margin-bottom: 8px; font-weight: 800; }
.footer-brand p { font-size: 14px; max-width: 340px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14.5px; font-weight: 600; transition: color .18s; }
.footer-links a:hover { color: var(--green-400); }
.footer-bottom { padding-top: 24px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer-bottom strong { color: rgba(255,255,255,0.8); }

/* =========================================================================
   RESPONSIVO
   ====================================================================== */
@media (max-width: 1000px) {
  .hero-form-head { margin-bottom: 26px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .pix-card { position: static; }
  .why-grid { grid-template-columns: 1fr; }
  /* A barra fixa aparece só no mobile (até 720px). */
  .mobile-cta { display: none; }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) { display: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .section { padding: 62px 0; }
  .hero-form { padding: 26px 0 48px; }
  .card { padding: 22px; }
  .row-2, .row-cep { grid-template-columns: 1fr; }
  .field-uf { max-width: none; }
  .topbar-inner { font-size: 12.5px; }
  .topbar .sep, .topbar-inner span:last-child { display: none; }
  .footer-inner { flex-direction: column; gap: 26px; }
  .quick-facts li { font-size: 12.5px; padding: 7px 13px; }
  /* Barra fixa mobile ativa: reserva espaço no fim da página. */
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 480px) {
  .steps, .items-grid { grid-template-columns: 1fr; }
  .price-value { font-size: 54px; }
  .brand-text small { display: none; }
  .quick-facts { gap: 8px; }
  .hero-form-head h1 { font-size: 1.7rem; }
  .mobile-cta .btn { padding: 12px 18px; font-size: 14px; }
}

/* Acessibilidade: respeita quem prefere menos animação. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Foco visível para navegação por teclado. */
:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}
