/* ============================================================
   GÓTICA SMS — tema vitral sombrio (dark) + modo claro
   ============================================================ */

/* --- Base: o atributo hidden SEMPRE vence o display da classe ---
   Classes como .activation-live (flex), .code-display e .btn (inline-flex)
   definiam display e "venciam" o hidden padrão do navegador, deixando os
   painéis de ativação visíveis AO MESMO TEMPO. !important garante a
   precedência em qualquer elemento com hidden. */
[hidden] { display: none !important; }

:root {
  --bg: #000000;
  --bg-2: #0a0a0c;
  --surface: #131316;
  --surface-2: #1a1a1f;
  --surface-3: #22222a;
  --border: rgba(201, 169, 110, 0.16);
  --border-strong: rgba(201, 169, 110, 0.38);

  --text: #e9e4da;
  --text-dim: #a49d90;
  --text-faint: #6f6a61;

  --red: #b3163f;
  --red-bright: #e02a5a;
  --gold: #c9a96e;
  --gold-bright: #e6c98f;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-price: "Poppins", "Manrope", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --rain-opacity: 1;
}

[data-theme="light"] {
  --bg: #f3efe7;
  --bg-2: #ece7dc;
  --surface: #ffffff;
  --surface-2: #f7f3ec;
  --surface-3: #eee7da;
  --border: rgba(120, 30, 55, 0.16);
  --border-strong: rgba(179, 22, 63, 0.42);

  --text: #211d1a;
  --text-dim: #5d564c;
  --text-faint: #8b8478;

  --red: #a01238;
  --red-bright: #cc1f4e;
  --gold: #96743a;
  --gold-bright: #b08d4d;

  --shadow: 0 18px 50px rgba(60, 40, 20, 0.16);
  --rain-opacity: 0.22;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
}

/* Fundo animado: chuva de códigos SMS */
#sms-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: var(--rain-opacity);
  pointer-events: none;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.container-narrow { width: min(820px, 92vw); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); margin: 0 0 18px; letter-spacing: 0.4px; }
h1 em { font-style: italic; color: var(--red-bright); }

h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 12px; }

h3 { font-size: 1.3rem; margin: 0 0 8px; }

p { margin: 0 0 12px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: var(--text);
  background: var(--surface-2);
}

.btn:hover { transform: translateY(-2px); color: var(--text); }

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  box-shadow: 0 10px 30px rgba(179, 22, 63, 0.35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 36px rgba(224, 42, 90, 0.45); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(201, 169, 110, 0.1); color: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dim);
}
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }

.btn-danger {
  background: transparent;
  border-color: rgba(224, 42, 90, 0.5);
  color: var(--red-bright);
}
.btn-danger:hover:not(:disabled) { background: rgba(224, 42, 90, 0.14); color: var(--red-bright); }

.btn:disabled { opacity: 0.42; cursor: not-allowed; transform: none; }

.btn-lg { padding: 15px 34px; font-size: 1.03rem; }
.btn-small { padding: 7px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }

.btn-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--gold);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-icon:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.btn-icon.btn-small { width: 32px; height: 32px; font-size: 0.9rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: "Playfair Display", var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--text-dim); font-weight: 600; font-size: 0.93rem; transition: color 0.15s; }
.main-nav a:hover { color: var(--red-bright); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(46px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(179, 22, 63, 0.22) 0%, transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  position: relative;
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: var(--text-dim); max-width: 56ch; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 16px; }

.hero-note {
  font-size: 0.9rem;
  color: var(--text-faint);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.hero-note strong { color: var(--gold); }

/* --- Simulador de chat --- */
.hero-sim { display: flex; justify-content: center; }

.sim-phone {
  width: min(360px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  box-shadow: var(--shadow), 0 0 60px rgba(179, 22, 63, 0.16);
  overflow: hidden;
}

.sim-header {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 17px;
  background: linear-gradient(135deg, var(--red), #7d0f2d);
}
.sim-dot { width: 9px; height: 9px; border-radius: 50%; background: #7CFFB2; box-shadow: 0 0 8px #7CFFB2; }
.sim-title { color: #fff; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em; }

.sim-body {
  padding: 16px;
  /* Altura FIXA: cabe todas as mensagens do roteiro sem crescer nem
     empurrar a página. Se algo não couber (tela estreita), rola só
     dentro dele (o JS já auto-rola pra última mensagem). */
  height: 410px;
  overflow-y: auto;
  scrollbar-width: thin;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sim-body::-webkit-scrollbar { width: 6px; }
.sim-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
/* Bolhas ancoradas embaixo (estilo chat): enquanto tem espaço livre,
   o vazio fica em cima — parece um app de mensagem de verdade. */
.sim-body .sim-msg:first-child { margin-top: auto; }

.sim-msg {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 15px;
  font-size: 0.87rem;
  line-height: 1.45;
  animation: msgIn 0.4s ease both;
  word-break: break-word;
}

.sim-msg.left {
  align-self: flex-start;
  background: var(--surface-3);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.sim-msg.right {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  border-bottom-right-radius: 4px;
}

.sim-msg.sys {
  align-self: center;
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.sim-msg .sim-code {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--gold-bright);
  text-shadow: 0 0 18px rgba(230, 201, 143, 0.5);
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: clamp(56px, 8vw, 100px) 0; }

.section-alt {
  background: linear-gradient(180deg, transparent, var(--bg-2) 14%, var(--bg-2) 86%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); }
.section-head p { color: var(--text-dim); }

/* --- Passos --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red-bright);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 22px rgba(224, 42, 90, 0.4);
}

.step-card h3 { color: var(--gold); }
.step-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

.tutorial-link { text-align: center; margin-top: 34px; color: var(--text-dim); }
.tutorial-link a { font-weight: 700; border-bottom: 1px dashed var(--gold); }

/* --- Preços --- */
.price-explorer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.price-selectors { display: flex; flex-direction: column; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 0.82rem; font-weight: 700; color: var(--text-dim); letter-spacing: 0.03em; }
.field > span strong { color: var(--gold); }

select, input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
select:focus, input:focus, textarea:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(224, 42, 90, 0.18);
}

.price-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 26px 18px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  text-shadow: 0 0 30px rgba(201, 169, 110, 0.35);
}
.price-caption { font-size: 0.85rem; color: var(--text-faint); margin: 0; }

.price-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.highlight-card h3 { color: var(--red-bright); margin-bottom: 14px; }
.highlight-gold { border-color: var(--border-strong); box-shadow: 0 0 40px rgba(201, 169, 110, 0.1); }
.highlight-gold h3 { color: var(--gold); }
.highlight-gold p { color: var(--text-dim); font-size: 0.93rem; }

.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mini-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.mini-list li strong { color: var(--gold); font-family: var(--font-display); font-size: 1.1rem; }

.brazil-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 10px;
}

/* --- Garantias --- */
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.guarantee-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.guarantee-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.guarantee-card .g-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.guarantee-card h3 { color: var(--gold); }
.guarantee-card p { color: var(--text-dim); font-size: 0.93rem; margin: 0; }

/* --- Afiliados --- */
.affiliate-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.affiliate-sim {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}
.affiliate-sim h3 { color: var(--gold); margin-bottom: 18px; }
.affiliate-sim .field { margin-bottom: 18px; }

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

.affiliate-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 15px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 9px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.affiliate-total strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); }
.affiliate-total.accent strong { color: var(--red-bright); }
.affiliate-total.gold { border-color: var(--border-strong); }
.affiliate-total.gold strong { color: var(--gold-bright); }

.affiliate-cta {
  background: linear-gradient(150deg, rgba(179, 22, 63, 0.2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 14px;
}
.big-percent {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  text-shadow: 0 0 44px rgba(201, 169, 110, 0.45);
}
.affiliate-cta p { color: var(--text-dim); font-size: 0.95rem; }

/* --- FAQ --- */
.faq-list { display: grid; gap: 13px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.faq-item[open] { border-color: var(--border-strong); }

.faq-item summary {
  cursor: pointer;
  padding: 17px 21px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 46px;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--red-bright);
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "✖"; color: var(--gold); }
.faq-item summary:hover { color: var(--red-bright); }
.faq-item p { padding: 0 21px 18px; color: var(--text-dim); font-size: 0.94rem; margin: 0; }
.faq-item strong { color: var(--gold); }

/* --- CTA final --- */
.final-cta {
  text-align: center;
  padding: clamp(60px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse at center, rgba(179, 22, 63, 0.16), transparent 65%);
  border-top: 1px solid var(--border);
}
.final-cta p { color: var(--text-dim); margin-bottom: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 54px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { font-family: "Playfair Display", var(--font-display); font-size: 1.45rem; font-weight: 800; margin-bottom: 10px; }
.footer-desc { color: var(--text-faint); font-size: 0.9rem; }

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin: 0 0 14px;
}
.footer-grid a { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 5px 0; transition: color 0.15s; }
.footer-grid a:hover { color: var(--gold); }

.footer-legal { padding-top: 24px; }
.footer-legal p { font-size: 0.8rem; color: var(--text-faint); line-height: 1.7; }
.copyright { color: var(--gold) !important; font-family: var(--font-display); font-size: 1rem !important; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-body { min-height: 100vh; }

.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(14px, 3vw, 32px);
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--border);
}

.dash-top-actions { display: flex; align-items: center; gap: 12px; }

.balance-chip {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 8px 6px 16px;
}
.balance-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); }
.balance-chip strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-bright); min-width: 76px; }

.btn-plus {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-plus:hover { transform: scale(1.12); box-shadow: 0 6px 18px rgba(224, 42, 90, 0.5); }

/* --- Avatar + menu da conta --- */
.user-menu { position: relative; }

.avatar-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
}

.avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 14px rgba(179, 22, 63, 0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.avatar-btn:hover .avatar {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(224, 42, 90, 0.55);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(272px, calc(100vw - 24px));
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 70;
  animation: fadeIn 0.18s ease;
}
.user-dropdown[hidden] { display: none; }

.ud-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 15px 16px 12px;
}
.ud-head strong {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  word-break: break-word;
}
.ud-head > span {
  font-size: 0.8rem;
  color: var(--text-faint);
  word-break: break-all;
}
.ud-balance {
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 0.86rem !important;
  margin-top: 4px;
}

.ud-recharge {
  display: block;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 11px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ud-recharge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(224, 42, 90, 0.45);
}

.ud-list { border-top: 1px solid var(--border); }
.ud-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.ud-item:last-child { border-bottom: none; }
.ud-item:hover { background: var(--surface-2); color: var(--gold); }
.ud-item.danger {
  color: var(--red-bright);
  justify-content: center;
  font-weight: 800;
}
.ud-item.danger:hover {
  background: rgba(224, 42, 90, 0.12);
  color: var(--red-bright);
}

.dash-main {
  width: min(1160px, 94vw);
  margin: 26px auto 70px;
  display: grid;
  gap: 22px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 28px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.panel-head h2 { font-size: 1.45rem; margin: 0; display: flex; align-items: center; gap: 11px; }

.panel-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(179, 22, 63, 0.4);
}

.search-input { max-width: 260px; }

/* --- Grade de serviços --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 11px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.service-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 15px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: center;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.service-card.selected {
  border-color: var(--red-bright);
  background: rgba(224, 42, 90, 0.12);
  box-shadow: 0 0 0 2px rgba(224, 42, 90, 0.3);
}

.service-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0a0a0b;
}
.service-name { font-size: 0.84rem; font-weight: 700; color: var(--text); line-height: 1.25; }

/* --- Lista de países --- */
.country-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
  padding-right: 4px;
}

.country-card {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.country-card:hover { border-color: var(--border-strong); transform: translateX(3px); }
.country-card.selected {
  border-color: var(--red-bright);
  background: rgba(224, 42, 90, 0.1);
}
.country-card.pinned { order: -1; border-color: var(--border-strong); }

.country-flag { font-size: 1.5rem; line-height: 1; }
.country-info { flex: 1; min-width: 0; }
.country-name { font-size: 0.92rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-price { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; color: var(--gold-bright); white-space: nowrap; }

/* --- Ativação --- */
.panel-activation { border-color: var(--border-strong); box-shadow: 0 0 44px rgba(179, 22, 63, 0.14); }

.selection-summary { font-size: 0.9rem; color: var(--text-dim); font-weight: 600; }
.selection-summary strong { color: var(--gold); }

.activation-box {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  padding: 12px;
}

.activation-price { display: flex; flex-direction: column; gap: 2px; }
.activation-price span { font-size: 0.8rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.activation-price strong { font-family: var(--font-display); font-size: 2.7rem; color: var(--gold-bright); line-height: 1; }

.activation-hint { font-size: 0.82rem; color: var(--text-faint); margin: 0; }

.activation-live { display: flex; flex-direction: column; gap: 15px; }

.live-status {
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 17px;
}

.status-pill {
  font-size: 0.86rem; font-weight: 700;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid var(--border-strong);
  padding: 5px 13px;
  border-radius: 999px;
  animation: pulse 1.7s ease-in-out infinite;
}
.status-pill.done { animation: none; color: #7CFFB2; background: rgba(124, 255, 178, 0.1); border-color: rgba(124, 255, 178, 0.4); }
.status-pill.error { animation: none; color: var(--red-bright); background: rgba(224, 42, 90, 0.12); border-color: rgba(224, 42, 90, 0.4); }

@keyframes pulse { 50% { opacity: 0.55; } }

.live-phone {
  font-family: ui-monospace, monospace;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

.code-display {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: linear-gradient(150deg, rgba(201, 169, 110, 0.16), var(--surface-2));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  animation: codeIn 0.5s ease both;
  box-shadow: 0 0 46px rgba(201, 169, 110, 0.22);
}

@keyframes codeIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: none; }
}

.code-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-dim); font-weight: 700; }
.code-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(230, 201, 143, 0.55);
  line-height: 1;
}

.live-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-faint); flex-wrap: wrap; gap: 8px; }
.live-actions { display: flex; gap: 12px; }

/* --- Pedidos --- */
.orders-list { display: grid; gap: 9px; max-height: 340px; overflow-y: auto; }

.order-row {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.order-service { font-weight: 700; color: var(--text); min-width: 150px; }
.order-phone { font-family: ui-monospace, monospace; color: var(--text-dim); }
.order-code { font-family: ui-monospace, monospace; color: var(--gold-bright); font-weight: 700; letter-spacing: 0.1em; }
.order-price { color: var(--text-dim); margin-left: auto; }

.status-tag { font-size: 0.74rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.04em; }
.status-tag.wait { background: rgba(201, 169, 110, 0.14); color: var(--gold); border: 1px solid var(--border-strong); }
.status-tag.done { background: rgba(124, 255, 178, 0.12); color: #7CFFB2; border: 1px solid rgba(124, 255, 178, 0.4); }
.status-tag.cancel { background: rgba(224, 42, 90, 0.14); color: var(--red-bright); border: 1px solid rgba(224, 42, 90, 0.4); }

.empty-msg { color: var(--text-faint); font-size: 0.9rem; text-align: center; padding: 16px; margin: 0; }

/* --- Afiliado no painel --- */
.panel-affiliate { border-color: var(--border-strong); }

.badge-gold {
  font-size: 0.78rem; font-weight: 800;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid var(--border-strong);
  padding: 5px 13px;
  border-radius: 999px;
}

.affiliate-link-row { display: flex; gap: 10px; margin-bottom: 15px; }
.affiliate-link-row input { font-family: ui-monospace, monospace; font-size: 0.86rem; }

.aff-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 15px; }
.aff-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  display: flex; flex-direction: column; gap: 3px;
}
.aff-stat span { font-size: 0.75rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.07em; }
.aff-stat strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-bright); }

.ranking-list { display: grid; gap: 7px; }
.rank-row {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.88rem;
  padding: 8px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.rank-pos { font-family: var(--font-display); font-weight: 700; color: var(--gold); width: 26px; }
.rank-name { flex: 1; color: var(--text); font-weight: 600; }
.rank-count { color: var(--text-dim); }

/* ============================================================
   MODAIS
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
  animation: fadeIn 0.22s ease;
}
.modal-backdrop[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  width: min(430px, 100%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute; top: 15px; right: 15px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.85rem;
}
.modal-close:hover { color: var(--red-bright); border-color: var(--red-bright); }

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 22px;
}
.tab {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s;
}
.tab.active { background: linear-gradient(135deg, var(--red), var(--red-bright)); color: #fff; }

.auth-form h2 { font-size: 1.7rem; margin-bottom: 18px; text-align: center; }
.auth-form .field { margin-bottom: 15px; }
.form-error { color: var(--red-bright); font-size: 0.85rem; text-align: center; min-height: 1.1em; margin: 10px 0 0; }

.ref-hint {
  font-size: 0.83rem;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  text-align: center;
}

/* --- Modal Pix --- */
.pix-card h2 { font-size: 1.6rem; text-align: center; margin-bottom: 20px; }
.pix-step .field { margin-bottom: 15px; }

.pix-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  flex: 1;
  min-width: 54px;
  padding: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--border-strong); color: var(--gold); }
.chip.active { background: rgba(224, 42, 90, 0.16); border-color: var(--red-bright); color: var(--red-bright); }

.pix-waiting {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 0.9rem; font-weight: 700;
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px;
  margin-bottom: 15px;
  animation: pulse 1.7s ease-in-out infinite;
}

.spinner {
  width: 15px; height: 15px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pix-qr {
  display: block;
  width: 210px;
  height: 210px;
  margin: 0 auto 15px;
  background: #fff;
  border-radius: 12px;
  padding: 9px;
  border: 1px solid var(--border-strong);
}

.pix-note { font-size: 0.78rem; color: var(--text-faint); text-align: center; margin: 13px 0 0; }

.pix-success { text-align: center; }
.success-glyph { font-size: 3.2rem; display: block; margin-bottom: 9px; }
.pix-success h3 { color: #7CFFB2; }
.pix-success p { color: var(--text-dim); }
.pix-success strong { color: var(--gold-bright); font-family: var(--font-display); font-size: 1.3rem; }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 24px;
  /* Raio fixo (não999px): em aviso de várias linhas o999px era clampado
     pela altura e virava uma elipse, com o texto saindo pra fora.
     Com22px, aviso curto continua pílula e longo vira retângulo arrumado. */
  border-radius: 22px;
  max-width: min(88vw, 480px);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
.toast.ok { border-color: rgba(124, 255, 178, 0.5); color: #7CFFB2; }
.toast.err { border-color: rgba(224, 42, 90, 0.55); color: var(--red-bright); }

@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ============================================================
   BANDEIRAS E ÍCONES REAIS (CDN — emoji não funciona no Windows)
   ============================================================ */
.flag {
  display: inline-block;
  width: 27px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.flag-sm { width: 20px; height: 14px; }

.flag-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 20px;
  padding: 0 4px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: var(--surface-3);
  border-radius: 3px;
  box-shadow: none;
}
.flag-fallback.flag-sm { min-width: 20px; height: 14px; font-size: 0.56rem; }

.service-icon img { width: 22px; height: 22px; display: block; }
.icon-fallback { font-weight: 800; font-size: 0.95rem; line-height: 1; }

/* ============================================================
   PREÇOS EM POPPINS (números legíveis e modernos)
   ============================================================ */
.price-amount,
.brazil-price,
.country-price,
.balance-chip strong,
.activation-price strong,
.mini-list li strong,
.aff-stat strong,
.affiliate-total strong,
.order-price {
  font-family: var(--font-price);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sim { order: -1; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .price-explorer { grid-template-columns: 1fr; }
  .price-highlights { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .affiliate-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 6vw; border-top: 1px solid var(--border); }
  .nav-burger { display: inline-flex; }

  .steps-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
  .country-list { grid-template-columns: 1fr; }
  .aff-stats { grid-template-columns: 1fr; }
  .panel-head { flex-direction: column; align-items: stretch; }
  .search-input { max-width: none; }
  .order-row { font-size: 0.82rem; }
  .order-service { min-width: 0; }

  /* Topbar: sempre em UMA linha, tudo compacto */
  .dash-topbar { flex-wrap: nowrap; padding: 10px 12px; gap: 8px; }
  .dash-top-actions { gap: 7px; }
  .brand-name { font-size: 1.06rem; white-space: nowrap; }
  .balance-label { display: none; }
  .balance-chip { padding: 5px 6px 5px 11px; gap: 6px; }
  .balance-chip strong { min-width: 0; font-size: 1rem; }
  .btn-icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .avatar { width: 36px; height: 36px; font-size: 0.95rem; }
}

/* ============================================================
   AVISO DE COOKIES
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  /* Abaixo dos modais (100) e do toast (200): nunca cobre um diálogo. */
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.25s ease;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 760px;
  line-height: 1.6;
}
.cookie-banner a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner a:hover { color: var(--gold-bright); }
.cookie-banner .btn { flex-shrink: 0; }

@media (max-width: 560px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    gap: 11px;
    padding: 14px;
  }
  .cookie-banner .btn { width: 100%; }
}

/* ============================================================
   PÁGINAS LEGAIS — PRIVACIDADE E TERMOS
   ============================================================ */
.legal-page { padding: clamp(46px, 7vw, 84px) 0 clamp(56px, 8vw, 96px); }

.legal-body { max-width: 820px; }

.legal-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold-bright);
  margin: 36px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.legal-body h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin: 30px 0 12px;
}

.legal-body p,
.legal-body li {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.78;
}
.legal-body p { margin: 0 0 16px; }

.legal-body ul,
.legal-body ol { margin: 0 0 18px; padding-left: 26px; }
.legal-body li { margin-bottom: 10px; }

.legal-body a {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: var(--gold-bright); }

.legal-body strong { color: var(--text); }

.legal-date {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.86rem;
  color: var(--text-faint);
}
