/* ============================================================
   Registro do Compositor — Design System V16
   Usado por: index.html, conta.html, login.html, verificar.html
   O checkout continua usando styles.css (não mexer).
   ============================================================ */

:root {
  --bg: #030720;
  --bg-2: #060D33;
  --bg-3: #0A1240;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.11);
  --gold: #FAC70C;
  --gold-soft: #FFDD55;
  --gold-deep: #C9971B;
  --ink: #EEF1FB;
  --muted: #98A1C4;
  --muted-2: #6B7499;
  --paper: #FFFFFF;
  --paper-ink: #11162B;
  --paper-muted: #5A6275;
  --success: #2DCE7B;
  --error: #FF6B6B;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", -apple-system, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow-lift: 0 24px 60px -18px rgba(0, 0, 0, 0.65);
}

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

html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(250, 199, 12, 0.07), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(40, 70, 200, 0.12), transparent 60%);
  z-index: 0;
}

main, header.topbar, footer { position: relative; z-index: 1; }

img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(3, 7, 32, 0.78);
  border-bottom: 1px solid var(--stroke);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-seal {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.6px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.5px;
  background: radial-gradient(circle at 30% 25%, rgba(250,199,12,0.18), transparent 65%);
  flex-shrink: 0;
}

.brand-name { line-height: 1.15; }
.brand-name strong { display: block; font-size: 15px; letter-spacing: 0.2px; }
.brand-name span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  letter-spacing: 0.2px;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1A1502;
  box-shadow: 0 10px 28px -10px rgba(250, 199, 12, 0.55);
}
.btn-gold:hover { box-shadow: 0 14px 34px -10px rgba(250, 199, 12, 0.7); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stroke);
}
.btn-ghost:hover { background: var(--surface); border-color: rgba(255,255,255,0.22); }

.btn-dark {
  background: var(--bg-3);
  color: var(--gold);
  border: 1px solid rgba(250,199,12,0.35);
}
.btn-dark:hover { background: #0D1650; }

.btn-lg { padding: 17px 32px; font-size: 16.5px; border-radius: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 11px; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: wait; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(250, 199, 12, 0.3);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(250, 199, 12, 0.06);
}
.eyebrow::before { content: "●"; font-size: 7px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
  margin: 22px 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  color: var(--muted);
  font-size: 17.5px;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-cta-note svg { flex-shrink: 0; }

/* Hash strip — assinatura visual recorrente */
.hash-strip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.55;
  user-select: none;
  margin-top: 34px;
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
          mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.hash-strip b { color: var(--gold-deep); font-weight: 500; }

/* ---------- Certificado miniatura (assinatura do design) ---------- */
.cert-stage { perspective: 1200px; display: grid; justify-items: center; }

.cert-paper {
  width: min(380px, 100%);
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 12px;
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate3d(0.4, -1, 0.12, 9deg);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s ease;
}
.cert-stage:hover .cert-paper { transform: rotate3d(0.2, -0.5, 0.05, 4deg); }

.cert-band {
  background: var(--bg-2);
  padding: 16px 20px 14px;
  border-bottom: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cert-band .brand-seal { width: 32px; height: 32px; font-size: 11px; }
.cert-band-name { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.cert-band-sub { color: #AEB8DC; font-size: 8.5px; font-family: var(--font-mono); letter-spacing: 0.6px; }

.cert-body { padding: 20px; }
.cert-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--bg-2);
  line-height: 1.25;
}
.cert-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-deep);
  letter-spacing: 0.8px;
  margin-top: 4px;
}
.cert-rows { margin: 14px 0; border-top: 1px solid #E7EAF3; }
.cert-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid #E7EAF3;
  font-size: 11px;
}
.cert-row span { color: var(--paper-muted); font-weight: 600; text-transform: uppercase; font-size: 8.6px; letter-spacing: 1px; padding-top: 2px; }
.cert-row b { text-align: right; font-weight: 600; }
.cert-row code { font-family: var(--font-mono); font-size: 9px; color: var(--paper-ink); word-break: break-all; text-align: right; }

.cert-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cert-qr {
  width: 58px; height: 58px;
  background:
    conic-gradient(var(--bg-2) 25%, transparent 0 50%, var(--bg-2) 0 75%, transparent 0) 0 0/14px 14px,
    #fff;
  border: 4px solid #fff;
  outline: 1px solid #E7EAF3;
  border-radius: 4px;
  flex-shrink: 0;
}
.cert-sig { font-size: 9px; color: var(--paper-muted); line-height: 1.4; }
.cert-sig b { display: block; font-family: var(--font-display); font-size: 12px; color: var(--bg-2); }

.cert-stamp {
  position: absolute;
  right: 18px;
  top: 84px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE375, var(--gold) 60%, #D9A60A);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--bg-2);
  font-weight: 900;
  font-size: 8.4px;
  letter-spacing: 1px;
  line-height: 1.35;
  box-shadow: 0 10px 22px -8px rgba(250, 199, 12, 0.6);
  transform: rotate(8deg);
  border: 2px solid rgba(2, 6, 41, 0.25);
}
.cert-stamp i {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(2, 6, 41, 0.4);
  border-radius: 50%;
}

/* ---------- Seções ---------- */
section.block { padding: 72px 0; }

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  margin: 14px 0 12px;
  letter-spacing: -0.3px;
}
.section-head p { color: var(--muted); font-size: 16.5px; }

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: 14.5px; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.step-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 199, 12, 0.55);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14.5px; }

/* Anatomy / o que vai no certificado */
.anatomy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.anatomy-item {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 18px 20px;
  align-items: flex-start;
}
.anatomy-item svg { flex-shrink: 0; margin-top: 3px; }
.anatomy-item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.anatomy-item span { color: var(--muted); font-size: 13.5px; }

/* ---------- Preços ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(250, 199, 12, 0.4); }

.plan.featured {
  background: linear-gradient(180deg, rgba(250, 199, 12, 0.12), rgba(250, 199, 12, 0.03));
  border-color: rgba(250, 199, 12, 0.55);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #1A1502;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: 700;
}
.plan-credits {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  margin: 6px 0 2px;
}
.plan-credits small { font-size: 14px; font-family: var(--font-body); color: var(--muted); font-weight: 500; }
.plan-price { font-size: 22px; font-weight: 800; color: var(--gold); }
.plan-unit { font-size: 12.5px; color: var(--muted-2); margin-bottom: 16px; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 22px;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA final ---------- */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, rgba(250, 199, 12, 0.1), rgba(250, 199, 12, 0.02));
  border: 1px solid rgba(250, 199, 12, 0.3);
  border-radius: 24px;
  padding: 56px 30px;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  margin-bottom: 12px;
}
.final-cta p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 36px 0 44px;
  margin-top: 30px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--muted-2);
  font-size: 13px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   ÁREA DE MEMBROS / LOGIN / VERIFICAÇÃO
   ============================================================ */

.app-shell { max-width: 980px; margin: 0 auto; padding: 30px 22px 80px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 4px;
}
.panel > p.panel-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.panel-head-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* Saldo */
.balance-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(250, 199, 12, 0.14), rgba(250, 199, 12, 0.03));
  border: 1px solid rgba(250, 199, 12, 0.4);
}
.balance-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.balance-label {
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.balance-user { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.balance-user b { color: var(--ink); }
.balance-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Forms */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  background: rgba(3, 7, 32, 0.6);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }

.file-field {
  border: 1.5px dashed rgba(250, 199, 12, 0.4);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  background: rgba(250, 199, 12, 0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  display: block;
}
.file-field:hover { border-color: var(--gold); background: rgba(250, 199, 12, 0.07); }
.file-field input { display: none; }
.file-field strong { display: block; font-size: 15px; margin-bottom: 4px; }
.file-field span { font-size: 13px; color: var(--muted); }
.file-field .file-chosen { color: var(--gold); font-family: var(--font-mono); font-size: 12.5px; margin-top: 6px; display: block; word-break: break-all; }

.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }

/* Alerts */
.alert {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  margin-bottom: 18px;
  border: 1px solid;
}
.alert.info { background: rgba(80, 120, 255, 0.1); border-color: rgba(120, 150, 255, 0.35); color: #C6D2FF; }
.alert.success { background: rgba(45, 206, 123, 0.1); border-color: rgba(45, 206, 123, 0.4); color: #9BEFC6; }
.alert.error { background: rgba(255, 107, 107, 0.1); border-color: rgba(255, 107, 107, 0.4); color: #FFC0C0; }
.hidden { display: none !important; }

/* Registros */
.record {
  border: 1px solid var(--stroke);
  background: rgba(3, 7, 32, 0.45);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 14px;
}
.record-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.record h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.record-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(250, 199, 12, 0.09);
  border: 1px solid rgba(250, 199, 12, 0.3);
  padding: 5px 10px;
  border-radius: 8px;
  height: fit-content;
  white-space: nowrap;
}
.record-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.record-meta b { color: var(--ink); font-weight: 600; }
.record-hashes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hash-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  border: 1px solid var(--stroke);
  border-radius: 7px;
  padding: 4px 9px;
  background: rgba(255,255,255,0.025);
}
.hash-chip b { color: var(--gold-deep); font-weight: 500; }
.record-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.empty-state {
  text-align: center;
  color: var(--muted);
  border: 1.5px dashed var(--stroke);
  border-radius: 16px;
  padding: 40px 20px;
  font-size: 15px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-3);
  border: 1px solid rgba(250, 199, 12, 0.5);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 14.5px;
  z-index: 200;
  box-shadow: var(--shadow-lift);
  max-width: min(480px, 92vw);
  text-align: center;
}

/* ---------- Verificação (página pública) ---------- */
.verify-shell { max-width: 760px; margin: 0 auto; padding: 40px 22px 90px; }

.verify-paper {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.verify-band {
  background: var(--bg-2);
  border-bottom: 4px solid var(--gold);
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.verify-band .brand { color: #fff; }
.verify-band .brand-name span { color: #AEB8DC; }

.verify-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1.4px;
  border-radius: 999px;
  padding: 8px 16px;
}
.verify-status.ok { background: rgba(45, 206, 123, 0.16); color: #2DCE7B; border: 1px solid rgba(45, 206, 123, 0.5); }
.verify-status.bad { background: rgba(255, 107, 107, 0.13); color: #E05252; border: 1px solid rgba(255, 107, 107, 0.45); }

.verify-body { padding: 32px 30px 36px; }
.verify-body h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 27px;
  color: var(--bg-2);
  line-height: 1.2;
}
.verify-code-line { font-family: var(--font-mono); color: var(--gold-deep); font-size: 13px; margin: 6px 0 22px; letter-spacing: 0.5px; }

.verify-grid { border-top: 1px solid #E7EAF3; margin-bottom: 24px; }
.verify-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #E7EAF3;
  font-size: 14px;
}
.verify-row span {
  color: var(--paper-muted);
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding-top: 3px;
}
.verify-row code { font-family: var(--font-mono); font-size: 11.5px; word-break: break-all; color: var(--paper-ink); }

.verify-lyrics {
  background: #F5F7FB;
  border: 1px solid #E7EAF3;
  border-radius: 12px;
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 26px;
  font-style: italic;
  color: #2A3147;
}
.verify-lyrics strong {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

/* ---------- Login ---------- */
.auth-shell { max-width: 480px; margin: 0 auto; padding: 56px 22px 90px; }
.auth-card { padding: 34px 30px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 600; font-size: 26px; margin: 12px 0 8px; }
.auth-card .lead { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 18px;
}
.back-link:hover { color: var(--gold); }

.divider-or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 22px 0;
}
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--stroke); }

.support-line { margin-top: 22px; font-size: 13.5px; color: var(--muted); text-align: center; }
.support-line a { color: #2DCE7B; font-weight: 700; text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cert-paper, .plan, .btn { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 52px; }
  .cert-paper { transform: rotate3d(0.3, -0.8, 0.1, 6deg); }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .anatomy { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .verify-row { grid-template-columns: 1fr; gap: 4px; }
  section.block { padding: 52px 0; }
}

@media (max-width: 520px) {
  .trust-strip-inner { grid-template-columns: 1fr; }
  .balance-num { font-size: 44px; }
  .topbar-actions .btn-ghost { display: none; }
}

/* ============================================================
   V17 FASE 1 — Refinamentos responsivos
   Bloco anexado ao final: apenas melhora telas pequenas,
   sem alterar nenhuma regra existente acima.
   Vale para: landing, login, conta, registro, listagem,
   verificação e painel administrativo.
   ============================================================ */

/* Planos com respiro melhor em larguras intermediárias */
@media (min-width: 521px) {
  .plans { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
}

@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .app-shell { padding: 24px 16px 70px; }
  .verify-shell { padding: 28px 16px 70px; }
  .auth-shell { padding: 40px 16px 70px; }
  .panel { padding: 22px 18px; }
}

@media (max-width: 640px) {
  /* Evita o zoom automático do iOS ao focar campos */
  .field input, .field textarea, .field select { font-size: 16px; }

  /* Cartão de saldo empilhado, ações em largura total */
  .balance-card { flex-direction: column; align-items: flex-start; }
  .balance-actions { width: 100%; }
  .balance-actions .btn { flex: 1; min-width: 140px; }

  /* Registros: cabeçalho empilhado e botões confortáveis para o dedo */
  .record-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .record-actions { width: 100%; }
  .record-actions .btn { flex: 1 1 100%; }
  .record { padding: 18px 16px; }

  /* Hero: CTA principal em largura total */
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn-lg { width: 100%; }

  /* Verificação pública */
  .verify-body { padding: 24px 18px 28px; }
  .verify-band { padding: 18px 16px; }
  .verify-body h1 { font-size: 23px; }

  /* Rodapé empilhado */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* CTA final com respiro menor */
  .final-cta { padding: 42px 20px; border-radius: 20px; }

  /* Toast não cola na borda */
  .toast { bottom: 18px; }
}

@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 22px 20px 20px; }
  section.block { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .panel h2 { font-size: 20px; }
  .topbar-actions .btn-sm { padding: 9px 13px; font-size: 13px; }
}

@media (max-width: 380px) {
  .brand-name span { display: none; }
  .brand-name strong { font-size: 14px; }
  .brand-seal { width: 38px; height: 38px; font-size: 13px; }
  .balance-num { font-size: 40px; }
  .hero h1 { font-size: 30px; }
}

/* ============================================================
   V17.1 — Correção de overflow horizontal no mobile
   Causa raiz: itens de grid/flex herdam min-width:auto, e
   conteúdos com nowrap (faixa SHA-256, códigos, monospace)
   alargavam a página inteira além da tela do celular.
   ============================================================ */

/* Trava de segurança: a página nunca rola na horizontal.
   `clip` não cria contêiner de rolagem (preserva o topbar sticky). */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Permite que colunas de grid/flex encolham abaixo do conteúdo */
.hero > div,
.steps > *,
.plans > *,
.anatomy > *,
.trust-strip-inner > *,
.form-grid > *,
.topbar-inner > *,
.footer-inner > *,
.panel-head-row > *,
.balance-card > *,
.record-top > *,
.checkout-main-v12 > *,
.stat-grid > * {
  min-width: 0;
}

.wrap, .hero, .app-shell, .verify-shell, .auth-shell, .admin-shell {
  min-width: 0;
  max-width: 100%;
}

/* A faixa decorativa do hash nunca define a largura da página */
.hash-strip {
  max-width: 100%;
  width: 100%;
}

/* Textos monoespaçados/códigos longos quebram em vez de estourar */
.record-code { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hash-chip { max-width: 100%; overflow-wrap: anywhere; }
.verify-row code, .cert-row code { overflow-wrap: anywhere; }
.balance-user { overflow-wrap: anywhere; }

/* Mídia e iframes nunca passam da largura disponível */
img, svg, video, iframe { max-width: 100%; }

/* ============================================================
   V17.2 — Garantias finais de largura no celular
   ============================================================ */

/* Colunas do hero nunca podem crescer além do espaço disponível */
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }

@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}

/* Demais grids também com colunas que encolhem */
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.anatomy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-strip-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

@media (max-width: 880px) {
  .steps, .anatomy, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .trust-strip-inner { grid-template-columns: minmax(0, 1fr); }
}

/* Miniatura do certificado contida na coluna */
.cert-stage { max-width: 100%; min-width: 0; }
.cert-paper { max-width: 100%; }

/* Faixa do hash menor e contida no celular */
@media (max-width: 640px) {
  .hash-strip { font-size: 9px; margin-top: 26px; }
  .eyebrow { max-width: 100%; white-space: normal; text-align: left; }
}


/* ============================================================
   V18.2 — Correção geral de respiro e margens
   Escopo: SOMENTE layout/spacing. Não altera cores, fontes,
   textos, IDs, JS, checkout, backend, GTM ou Plug Lead.
   ============================================================ */

:root {
  --rc-gutter: clamp(22px, 5vw, 84px);
  --rc-gutter-mobile: clamp(24px, 7vw, 34px);
  --rc-wrap: 1160px;
  --rc-section-y: clamp(64px, 7vw, 104px);
  --rc-section-y-mobile: clamp(54px, 9vw, 76px);
}

/* Container real: impede qualquer conteúdo de colar nas extremidades */
.wrap {
  width: min(var(--rc-wrap), calc(100% - (var(--rc-gutter) * 2)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* O header também ganha respiro, mas sem quebrar o botão no mobile */
.topbar-inner {
  width: min(var(--rc-wrap), calc(100% - (var(--rc-gutter) * 2)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

/* Hero com respiro real antes e depois. O certificado não encosta na faixa abaixo. */
.hero {
  gap: clamp(56px, 8vw, 112px);
  padding-top: clamp(78px, 8vw, 112px);
  padding-bottom: clamp(86px, 8vw, 118px);
}

.hero > div:first-child {
  max-width: 620px;
}

.hero-sub {
  max-width: 560px;
}

.cert-stage {
  align-self: center;
  padding-top: 12px;
  padding-bottom: 18px;
}

/* Faixa de confiança com respiro interno e não colada no certificado */
.trust-strip {
  margin-top: 0;
}

.trust-strip-inner {
  gap: clamp(24px, 4vw, 52px);
  padding-top: clamp(34px, 4vw, 44px);
  padding-bottom: clamp(34px, 4vw, 44px);
}

.trust-item {
  gap: 16px;
}

/* Seções abaixo com ritmo mais premium */
section.block {
  padding-top: var(--rc-section-y);
  padding-bottom: var(--rc-section-y);
}

.section-head {
  margin-bottom: clamp(38px, 5vw, 58px);
}

.section-head.center {
  max-width: 720px;
}

.steps,
.plans,
.anatomy,
.form-grid {
  gap: clamp(22px, 3vw, 34px);
}

.step-card,
.plan,
.panel,
.info-card {
  padding: clamp(26px, 3vw, 34px);
}

/* Cards de passos: separação clara e respiro interno */
.step-card {
  min-height: 100%;
}

.step-num {
  margin-bottom: 24px;
}

.step-card h3 {
  margin-bottom: 14px;
}

/* Telas do app também não encostam na lateral */
.app-shell,
.verify-shell,
.auth-shell {
  width: min(var(--rc-wrap), calc(100% - (var(--rc-gutter) * 2)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.auth-shell { max-width: 520px; }
.verify-shell { max-width: 920px; }
.app-shell { max-width: 980px; }

/* ---------- Tablet ---------- */
@media (max-width: 880px) {
  .wrap,
  .topbar-inner,
  .app-shell,
  .verify-shell,
  .auth-shell {
    width: calc(100% - (var(--rc-gutter-mobile) * 2));
  }

  .hero {
    gap: 56px;
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .hero > div:first-child {
    max-width: 100%;
  }

  .cert-stage {
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .cert-paper {
    width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  section.block {
    padding-top: var(--rc-section-y-mobile);
    padding-bottom: var(--rc-section-y-mobile);
  }

  .trust-strip-inner {
    padding-top: 34px;
    padding-bottom: 34px;
    gap: 28px 34px;
  }
}

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  :root {
    --rc-gutter-mobile: 24px;
  }

  .wrap,
  .topbar-inner,
  .app-shell,
  .verify-shell,
  .auth-shell {
    width: calc(100% - 48px);
  }

  .topbar-inner {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .topbar-actions .btn-sm {
    padding: 10px 14px;
    white-space: nowrap;
  }

  .brand {
    min-width: 0;
  }

  .brand-name strong {
    font-size: 14.5px;
  }

  .brand-name span {
    font-size: 9.5px;
    letter-spacing: 1.4px;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 66px;
    gap: 50px;
  }

  .eyebrow {
    width: fit-content;
    max-width: 100%;
    padding: 8px 14px;
    letter-spacing: 1.9px;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .hero h1 {
    margin-top: 26px;
    margin-bottom: 22px;
  }

  .hero-sub {
    margin-bottom: 34px;
  }

  .hero-cta-row {
    gap: 16px;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-cta-note {
    margin-top: 24px;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.55;
  }

  .hash-strip {
    margin-top: 34px;
    margin-bottom: 6px;
  }

  .cert-stage {
    margin-top: 10px;
    padding-bottom: 22px;
  }

  .cert-paper {
    width: min(100%, 460px);
    transform: rotate3d(0.18, -0.35, 0.04, 3deg);
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip-inner {
    padding-top: 36px;
    padding-bottom: 40px;
    gap: 28px;
  }

  .trust-item {
    gap: 18px;
    align-items: flex-start;
  }

  section.block {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .section-head h2 {
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .section-head p {
    line-height: 1.65;
  }

  .steps,
  .plans,
  .anatomy,
  .form-grid {
    gap: 24px;
  }

  .step-card,
  .plan,
  .panel,
  .info-card {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .step-num {
    margin-bottom: 26px;
  }

  .step-card h3 {
    margin-bottom: 16px;
  }

  .step-card p {
    line-height: 1.7;
  }

  .final-cta {
    padding: 42px 24px;
  }
}

/* Celular estreito: preserva respiro sem quebrar o header */
@media (max-width: 430px) {
  .wrap,
  .topbar-inner,
  .app-shell,
  .verify-shell,
  .auth-shell {
    width: calc(100% - 40px);
  }

  .topbar-inner {
    width: calc(100% - 28px);
  }

  .brand-seal {
    width: 40px;
    height: 40px;
  }

  .topbar-actions .btn-sm {
    padding: 10px 13px;
    font-size: 13px;
  }

  .hero {
    padding-top: 38px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
  }
}

@media (max-width: 380px) {
  .wrap,
  .app-shell,
  .verify-shell,
  .auth-shell {
    width: calc(100% - 32px);
  }

  .topbar-inner {
    width: calc(100% - 24px);
  }

  .hero h1 { font-size: 32px; }
}

