/* ============ Design tokens ============ */
:root {
  --bg: #060411;
  --surface: #140e2c;
  --surface-2: #1c1440;
  --border: #2f2456;
  --text: #f7f6ff;
  --text-muted: #a7a2b9;

  --accent: #46f1ec;
  --accent-dim: #1c8f9c;
  --accent-glow: rgba(70, 241, 236, 0.18);
  --mint: #8bfaff;

  --danger: #ff829d;
  --warning: #FFB020;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius: 10px;
  --violet: #8d5bff;
  --violet-soft: #b37dff;

  --border-strong: #46f1ec;
  /* Opaco de propósito: --gradient-surface é usado nos cards/formulários
     do site inteiro (auth-card, feature-card, deposit-status etc.), não
     só na landing nova -- um valor quase transparente (como o overlay
     branco usado só dentro dos cards próprios da landing) deixava a
     órbita de fundo vazando por cima de formulário/texto em todo canto. */
  --gradient-surface: linear-gradient(180deg, var(--surface-2), var(--surface));
}

* { box-sizing: border-box; }

/* Linhas topográficas animadas: fundo fixo atrás de todo o site, gerado
   via JS em templates/_topo_background.html (SVG + animateMotion). */
.topo-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

body {
  margin: 0;
  /* O padrão de "linhas topográficas" mora só no SVG animado (ver
     templates/_topo_background.html) -- esse background aqui é só o
     brilho de fundo original, sem nenhum círculo/anel próprio, pra não
     misturar com a inclinação/direção das órbitas do SVG. */
  background: radial-gradient(1400px 800px at 50% -10%, rgba(34, 211, 238, 0.16), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* ---------- Brilho no hover: borda clareia, sombra suave, card sobe 1px ---------- */
.glow {
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .glow {
    transition: none;
  }
  .glow:hover {
    transform: none;
  }
}

/* ---------- Linha de assinatura: filete de gradiente verde no topo dos
   cards principais (stat-card equivalente = feature-card / auth-card). ---------- */
.feature-card,
.flow-line {
  position: relative;
}
.feature-card::before,
.flow-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  z-index: 100;
  background: rgba(10, 14, 13, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease;
}
/* Some ao rolar pra baixo (mais espaço pra ler), volta ao rolar pra cima. */
.navbar.is-hidden {
  transform: translateY(-130%);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .navbar { transition: none; }
}
.navbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  position: relative;
  width: 22px;
  height: 13px;
  border: 2px solid rgba(245, 243, 255, 0.76);
  border-radius: 50%;
  transform: rotate(-15deg);
  background: transparent;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(245, 243, 255, 0.86);
  border-radius: 50%;
  left: 4px;
  top: -1px;
  background: rgba(16, 10, 28, 0.82);
  transform: rotate(15deg);
}
.navbar-links { display: flex; align-items: center; gap: 20px; }
/* :not(.btn) -- sem isso, essa regra (mais específica que .btn-primary)
   roubava a cor do texto dos botões dentro da navbar, deixando "Criar
   conta" com o texto apagado (cinza-claro) em vez do escuro pretendido
   sobre o fundo verde. */
.navbar-links a:not(.btn) { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.navbar-links a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #100A1C; }
.btn-primary:hover { background: #5EE7FA; }
.btn-ghost { background: var(--gradient-surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; margin-top: 8px; }

/* ============ Flash messages ============ */
.flash-stack { max-width: 1080px; margin: 96px auto 0; padding: 0 24px; }
.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  font-size: 14px;
  border: 1px solid var(--border);
}
.flash-success { border-color: var(--accent-dim); color: var(--accent); }
.flash-error { border-color: var(--danger); color: var(--danger); }
.flash-info { color: var(--text-muted); }

/* ============ Depósitos pendentes (aba "Receber pagamento") ============ */
.pending-deposits {
  max-width: 1020px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--gradient-surface);
  margin-bottom: 20px;
  overflow: hidden;
}
.pending-deposits summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
}
.pending-deposits summary::-webkit-details-marker { display: none; }
.pending-deposits summary::after {
  content: "▾";
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}
.pending-deposits[open] summary::after { transform: rotate(180deg); }
.pending-deposits-total {
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 600;
}
.pending-deposits-list {
  max-height: 240px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
.pending-deposits-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pending-deposits-row:last-child { border-bottom: none; }
.pending-deposits-row:hover { background: var(--surface-2); }
.pending-deposits-amount { font-family: var(--font-mono); font-weight: 600; }
.pending-deposits-time { color: var(--text-muted); font-size: 12px; }

/* ============ Hero ============ */
.hero { padding: 96px 24px 64px; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  margin: 32px 0 16px;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; }

/* Signature element: linha de fluxo PIX -> DePix com pulso animado */
.flow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 28px 36px;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.flow-node {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.flow-node-start { color: var(--text); }
.flow-node-end { color: var(--accent); border-color: var(--accent-dim); box-shadow: 0 0 0 1px var(--accent-dim); }
.flow-track {
  position: relative;
  width: 220px;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.flow-pulse {
  position: absolute;
  top: -4.5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px 2px var(--accent-glow);
  animation: flow 2.2s ease-in-out infinite;
}
@keyframes flow {
  0%   { left: -12px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-pulse { animation: none; left: 50%; opacity: 1; }
}
@media (max-width: 640px) {
  .flow-line { padding: 20px; gap: 12px; }
  .flow-node { font-size: 15px; padding: 9px 14px; }
  .flow-track { width: 100px; }
}

/* ============ Features ============ */
.features { padding: 32px 24px 96px; }
.features-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-index {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
}
.feature-card h3 { margin-top: 12px; font-size: 17px; }
.feature-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ============ Generic simple page ============ */
.page-simple { padding: 96px 24px 64px; }
.page-simple-inner { max-width: 640px; margin: 0 auto; }

/* base_public.html (páginas públicas sem login, ex: /pagar/<id>) -- mesmo
   respiro de topo que .hero/.page-simple/.auth-page já têm, pra não ficar
   escondido atrás da navbar fixa. */
.public-main { padding: 96px 24px 64px; }

.step-block {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.step-number { font-family: var(--font-mono); color: var(--accent); font-size: 14px; flex-shrink: 0; }
.step-block h3 { font-size: 16px; margin-bottom: 4px; }
.step-block p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ============ Auth ============ */
.auth-page { padding: 96px 24px 64px; display: flex; justify-content: center; }
.auth-card {
  width: 100%;
  max-width: 400px;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.auth-security-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-security-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.58);
}
.auth-security-copy {
  margin: -4px 0 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.auth-security-copy strong { color: var(--text); }
.auth-code-input {
  text-align: center;
  font: 800 24px var(--font-mono);
  letter-spacing: 0.28em;
}
.auth-inline-form { margin-top: 10px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field-hint { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.field-error { display: block; font-size: 12px; color: var(--danger); margin-top: 4px; }

/* ============ Dropdown customizado (substitui a lista aberta do <select>
   nativo, que renderiza com o estilo do SO/navegador -- fora do tema) ============ */
.sr-only-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.custom-select {
  position: relative;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  text-align: left;
}
.custom-select-trigger svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.custom-select.is-open .custom-select-trigger {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.custom-select.is-open .custom-select-trigger svg {
  transform: rotate(180deg);
}
.custom-select-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-height: 240px;
  overflow-y: auto;
}
.custom-select.is-open .custom-select-list {
  display: block;
}
.custom-select-option {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.custom-select-option:hover {
  background: var(--surface-2);
}
.custom-select-option.is-selected {
  color: var(--accent);
  background: var(--accent-glow);
  font-weight: 600;
}
.form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
.auth-switch { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 20px; }

/* ============ Deposito: layout 2 colunas + valores rapidos ============ */
.deposit-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 560px);
  gap: 24px;
  align-items: start;
  max-width: 1020px;
}

/* Telas de status (aguardando pagamento/envio) são uma coluna só --
   sem isso o conteúdo esticava até a largura toda do .app-main, ficando
   com aparência solta em telas grandes. */
.status-page {
  max-width: 480px;
  margin: 0 auto;
}

/* ============ Popup de alerta (substitui alert() nativo do navegador) ============ */
.alert-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4, 8, 7, 0.72);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: alertBackdropIn 0.18s ease;
}
.alert-modal {
  width: 100%;
  max-width: 400px;
  background: var(--gradient-surface);
  border-radius: 16px;
  padding: 30px 26px 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  animation: alertModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.alert-modal-warning {
  border: 1px solid rgba(255, 176, 32, 0.4);
}
.alert-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.alert-modal-warning .alert-modal-icon {
  background: rgba(255, 176, 32, 0.15);
  color: var(--warning);
}
.alert-modal-success {
  border: 1px solid rgba(34, 211, 238, 0.4);
}
.alert-modal-success .alert-modal-icon {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
}
.alert-modal-success p strong {
  color: var(--accent);
  font-weight: 700;
}

/* Valor exato que o comerciante precisa enviar -- sempre em destaque
   (âmbar), separado do resto do texto, pra não passar despercebido. */
.value-attention {
  color: var(--warning);
}
.alert-modal-danger {
  border: 1px solid rgba(255, 90, 110, 0.4);
}
.alert-modal-danger .alert-modal-icon {
  background: rgba(255, 90, 110, 0.15);
  color: var(--danger);
}
.alert-modal-danger p strong {
  color: var(--danger);
  font-weight: 700;
}
.alert-modal-actions {
  display: flex;
  gap: 10px;
}
.alert-modal-actions .btn {
  flex: 1;
  margin-top: 0;
}
@media (max-width: 380px) {
  .alert-modal-actions {
    flex-direction: column;
  }
}
.alert-modal-icon svg { width: 28px; height: 28px; }
.alert-modal h3 {
  font-size: 19px;
  margin: 0 0 12px;
}
.alert-modal p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.alert-modal-warning p strong {
  color: var(--warning);
  font-weight: 700;
}
@keyframes alertBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes alertModalIn {
  from { opacity: 0; transform: scale(0.94) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .alert-modal-backdrop, .alert-modal {
    animation: none;
  }
}
.deposit-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.mini-stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}
.mini-list {
  display: flex;
  flex-direction: column;
}
.mini-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mini-list-row:last-child { border-bottom: none; padding-bottom: 0; }
.mini-list-amount { font-family: var(--font-mono); font-weight: 600; }
.mini-list-meta { color: var(--text-muted); font-size: 12px; }
@media (max-width: 720px) {
  .deposit-layout { grid-template-columns: 1fr; }
}
.quick-amounts { display: flex; gap: 8px; margin: -6px 0 16px; flex-wrap: wrap; }
/* 5 botões em flex-wrap não fecham a conta em telas de 360-375px (precisam de
   ~352px, sobram 320-335px depois do padding) -- quebra em linhas desiguais.
   Abaixo de 480px vira grid de 3 colunas, sempre 3+2 alinhado. */
@media (max-width: 480px) {
  .quick-amounts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .auth-card { padding: 20px; }
}
.quick-amount-btn {
  flex: 1;
  min-width: 64px;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
}
.quick-amount-btn:hover { border-color: var(--accent); color: var(--accent); }

.fee-breakdown {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}
.fee-row-net {
  border-top: 1px dashed var(--border);
  margin-top: 4px;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.fee-row-net span:last-child { color: var(--accent); font-family: var(--font-mono); }

.trust-note {
  background: var(--gradient-surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.trust-note b { color: var(--accent); font-weight: 600; }

.info-panel {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.info-panel-title { font-size: 15px; margin-bottom: 16px; }
.info-step { display: flex; gap: 12px; margin-bottom: 18px; }
.info-step:last-child { margin-bottom: 0; }
.info-step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-step strong { font-size: 13px; display: block; margin-bottom: 2px; }
.info-step p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ============ App shell (área logada, menu lateral) ============ */
.app-body { margin: 0; }
.app-shell { display: flex; min-height: 100vh; }
.app-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.app-sidebar-brand { margin-bottom: 28px; padding: 0 6px; }
.app-sidebar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-sidebar-menu { display: contents; }
.app-sidebar-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.app-sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.app-sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.app-sidebar-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.app-sidebar-link.is-active { background: var(--accent-glow); color: var(--accent); }
.app-sidebar-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.46);
}
.app-sidebar-link.is-disabled { opacity: 0.4; cursor: not-allowed; }
.app-sidebar-footer { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.app-sidebar-user { font-size: 12px; color: var(--text-muted); padding: 0 10px 8px; }
.app-sidebar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}
/* Largura igual à dos ícones do menu (18px) pra "Equipe"/"Online" ficar
   na mesma coluna de texto que Painel/Sair/etc -- o ponto visível em si
   continua pequeno (8px), centralizado dentro desse slot via ::before. */
.app-sidebar-status-dot {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-sidebar-status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: app-sidebar-status-pulse 1.8s ease-in-out infinite;
}
@keyframes app-sidebar-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .app-sidebar-status-dot::before { animation: none; }
}
.app-sidebar-status-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.app-sidebar-status-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-sidebar-status-label {
  font-size: 11px;
  color: var(--accent);
}
.app-main { flex: 1; padding: 32px 40px; max-width: 1360px; margin: 0 auto; width: 100%; }

.app-page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.026));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.20);
}

.app-page-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 320px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.20), transparent 68%);
  pointer-events: none;
}

.app-page-hero > * {
  position: relative;
  z-index: 1;
}

.app-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--accent);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-page-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.58);
}

.app-page-hero h1 {
  margin-bottom: 6px;
  font-size: clamp(30px, 4vw, 42px);
}

.app-page-hero p {
  margin: 0;
  color: rgba(245, 243, 255, 0.64);
}

.app-page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.app-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.app-action-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.060), rgba(255, 255, 255, 0.026));
  color: var(--text);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.app-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.34);
  text-decoration: none;
}

.app-action-card span {
  color: var(--accent);
  font: 800 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-action-card strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 17px;
}

.app-action-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- Navegação mobile: barra fixa inferior ----------
   Abaixo de 720px a sidebar vira só a marca (topo) + a barra fixa
   embaixo, com Painel/Receber/Enviar sempre a 1 toque e o resto
   (Configurações/Relatórios/Últimas transações/Sair) atrás de "Mais".
   Espelha depix-dashboard/src/app/painel-original.css. */
.bottom-nav,
.mais-backdrop,
.mais-sheet {
  display: none;
}

@media (max-width: 720px) {
  .app-shell { flex-direction: column; }
  .app-sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 30;
    flex-direction: column;
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .app-sidebar-topbar {
    position: relative;
    padding: 12px 16px;
  }
  .app-sidebar-brand { margin-bottom: 0; }
  .app-sidebar-nav,
  .app-sidebar-footer {
    display: none;
  }
  .app-main {
    padding: 20px 20px calc(20px + 100px + env(safe-area-inset-bottom));
  }
  .app-page-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .app-page-actions {
    width: 100%;
    justify-content: stretch;
  }
  .app-page-actions .btn {
    flex: 1;
    min-width: 148px;
  }
  .app-action-grid {
    grid-template-columns: 1fr;
  }

  /* Grudada na borda inferior (sem vão nenhum entre ela e a barra do
     navegador) -- só os cantos de cima arredondam. Um vão ali deixava o
     conteúdo da página "vazar" por baixo dela ao rolar, parecendo bug. */
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: rgba(18, 24, 21, 0.97);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .bottom-nav.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .bottom-nav { transition: none; }
  }
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 0;
  }
  .bottom-nav-item:hover { text-decoration: none; color: var(--text); }
  .bottom-nav-icon {
    width: 36px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bottom-nav-icon svg { width: 19px; height: 19px; }
  .bottom-nav-item.is-active { color: var(--accent); }
  .bottom-nav-item.is-active .bottom-nav-icon { background: var(--accent-glow); }

  .mais-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 31;
    background: rgba(0, 0, 0, 0.55);
  }
  .mais-backdrop.is-open { display: block; }
  .mais-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + 70px + env(safe-area-inset-bottom));
    z-index: 32;
    background: var(--gradient-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }
  .mais-sheet.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mais-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .mais-sheet-close {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .mais-sheet .app-sidebar-link { font-size: 14px; }
  .mais-sheet-sair {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 13px;
    border-radius: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .mais-sheet { transition: none; }
  }
}

/* ============ Dashboard ============ */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.balance-card {
  background: var(--surface);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.balance-label { font-size: 13px; color: var(--text-muted); }
.balance-value { font-family: var(--font-mono); font-size: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }

.coming-soon-card {
  background: var(--gradient-surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ---------- Link de pagamento: chips de forma de pagamento + ações de compartilhar ---------- */
.payment-method-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.payment-method-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.payment-method-chip svg { width: 15px; height: 15px; flex-shrink: 0; }
.payment-method-chip.is-selected {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.payment-method-chip.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.payment-method-soon {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--text-muted);
}

.charge-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.charge-actions .btn { flex: 1; text-align: center; }
@media (max-width: 480px) {
  .charge-actions { flex-direction: column; }
}

.section-subtitle { font-size: 16px; margin-bottom: 12px; }

.tx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tx-table th, .tx-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
}
.tx-table th { color: var(--text-muted); font-weight: 500; font-size: 12px; text-transform: uppercase; }

.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.report-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.report-period-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(18, 24, 21, 0.72);
}
.report-period-tabs a {
  min-width: 58px;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.report-period-tabs a:hover {
  color: var(--text);
  text-decoration: none;
  background: var(--surface-2);
}
.report-period-tabs a.is-active {
  color: #100A1C;
  background: var(--accent);
}
.report-custom-form {
  display: flex;
  align-items: end;
  gap: 10px;
}
.report-custom-form label {
  display: grid;
  gap: 5px;
  color: var(--text-muted);
  font-size: 12px;
}
.report-custom-form .input {
  width: 150px;
}
.report-insight {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.10), transparent 45%),
    var(--gradient-surface);
  margin-bottom: 16px;
}
.report-insight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
}
.report-insight p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.report-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.report-decision-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 16%, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.026));
}
.report-decision-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.07);
  font: 800 10px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.report-decision-card strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 16px;
}
.report-decision-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.report-card,
.report-panel {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.report-card {
  padding: 18px;
  min-width: 0;
}
.report-card-primary {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.14), transparent 54%),
    var(--gradient-surface);
}
.report-card-label {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.report-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
}
.report-card small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 8px;
}
.report-delta {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-family: var(--font-mono);
}
.report-delta.is-up {
  color: var(--accent);
  background: var(--accent-glow);
}
.report-delta.is-down {
  color: var(--danger);
  background: rgba(255, 90, 110, 0.12);
}
.report-delta.is-neutral {
  color: var(--text-muted);
  background: rgba(143, 163, 154, 0.12);
}
.report-positive { color: var(--accent); }
.report-negative { color: var(--danger); }
.report-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.report-mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 24, 21, 0.72);
  padding: 14px;
}
.report-mini-card span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}
.report-mini-card strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 18px;
}
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 20px;
  align-items: start;
}
.report-panel {
  padding: 20px;
}
.report-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.report-chip {
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
  background: var(--surface);
}
.report-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 12px;
}
.report-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.report-legend i {
  display: inline-block;
  width: 18px;
  height: 7px;
  border-radius: 999px;
}
.report-legend-in { background: var(--accent); }
.report-legend-out { background: var(--danger); }
.report-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-bar-row {
  display: grid;
  grid-template-columns: 54px minmax(120px, 1fr) minmax(180px, auto);
  gap: 12px;
  align-items: center;
}
.report-bar-label {
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
}
.report-bar-track {
  display: grid;
  gap: 4px;
}
.report-bar-track span {
  display: block;
  min-width: 3px;
  height: 8px;
  border-radius: 999px;
}
.report-bar-in {
  background: var(--accent);
}
.report-bar-out {
  background: var(--danger);
}
.report-bar-values {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}
.report-recent {
  margin-top: 20px;
}
.report-status-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.report-status-filters a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--text-muted);
  font-size: 12px;
}
.report-status-filters a:hover {
  color: var(--text);
  text-decoration: none;
  border-color: var(--border-strong);
}
.report-status-filters a.is-active {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--accent-dim);
}
.report-status-filters span {
  font-family: var(--font-mono);
}
.report-table-wrap {
  overflow-x: auto;
}
.report-muted {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

@media (max-width: 960px) {
  .report-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .report-summary-grid,
  .report-decision-grid,
  .report-breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-layout {
    grid-template-columns: 1fr;
  }
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
}
.badge-approved { background: var(--accent-glow); color: var(--accent); }
.badge-pending, .badge-under_review { background: rgba(255, 176, 32, 0.15); color: var(--warning); }
.badge-failed { background: rgba(255, 90, 110, 0.15); color: var(--danger); }
.badge-canceled, .badge-expired { background: rgba(143, 163, 154, 0.15); color: var(--text-muted); }

.empty-state { color: var(--text-muted); font-size: 14px; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 24px; margin-top: 48px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  width: 100%;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
}
.footer-legal strong {
  color: var(--text);
  font-weight: 700;
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
  .hero h1 { font-size: 32px; }
  .hero-cta { flex-direction: column; }

  /* Navbar mobile: só o essencial (marca + Entrar/Sair + Criar conta) --
     "Como funciona"/"Painel" saem daqui e ficam só no rodapé/menu,
     senão não cabe numa tela de 320-375px e embola tudo numa linha. */
  .navbar { top: 10px; width: calc(100% - 20px); border-radius: 14px; }
  .navbar-inner { padding: 12px 16px; }
  .brand { font-size: 16px; }
  .navbar-links { gap: 10px; }
  .navbar-link-extra { display: none; }
  .navbar-links a:not(.btn) { font-size: 13px; }
  .navbar-links .btn { padding: 8px 14px; font-size: 13px; }

  .report-header,
  .report-panel-head,
  .report-toolbar,
  .report-custom-form {
    flex-direction: column;
    align-items: stretch;
  }
  .report-period-tabs {
    width: 100%;
  }
  .report-period-tabs a {
    flex: 1;
  }
  .report-custom-form .input {
    width: 100%;
  }
  .report-insight,
  .report-decision-grid,
  .report-summary-grid,
  .report-breakdown-grid,
  .report-layout {
    grid-template-columns: 1fr;
  }
  .report-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .report-bar-values {
    justify-content: space-between;
  }
}

/* ============ Depósito: alerta de tempo limite do QR Code ============ */
.deposit-timer {
  background: linear-gradient(rgba(255, 176, 32, 0.12), rgba(255, 176, 32, 0.12)), var(--surface);
  border: 1px solid rgba(255, 176, 32, 0.35);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.deposit-timer-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.deposit-timer-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.15);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: deposit-timer-pulse 2s ease-in-out infinite;
}
.deposit-timer-icon svg { width: 18px; height: 18px; }
.deposit-timer-text { min-width: 0; }
.deposit-timer-text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.deposit-timer-text strong #depositTimerValue {
  font-family: var(--font-mono);
  color: var(--warning);
}
.deposit-timer-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.deposit-timer-track {
  margin-top: 12px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 176, 32, 0.15);
  overflow: hidden;
}
.deposit-timer-bar {
  height: 100%;
  width: 100%;
  background: var(--warning);
  border-radius: 2px;
  transition: width 1s linear;
}
.deposit-timer.is-urgent {
  background: linear-gradient(rgba(255, 90, 110, 0.12), rgba(255, 90, 110, 0.12)), var(--surface);
  border-color: rgba(255, 90, 110, 0.35);
}
.deposit-timer.is-urgent .deposit-timer-icon {
  background: rgba(255, 90, 110, 0.15);
  color: var(--danger);
}
.deposit-timer.is-urgent .deposit-timer-text strong #depositTimerValue { color: var(--danger); }
.deposit-timer.is-urgent .deposit-timer-bar { background: var(--danger); }
.deposit-timer.is-expired .deposit-timer-icon { animation: none; }

@keyframes deposit-timer-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(255, 176, 32, 0); }
}

.deposit-expired-panel {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid rgba(255, 90, 110, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(rgba(255, 90, 110, 0.08), rgba(255, 90, 110, 0.08)), var(--surface);
  margin: 20px 0;
}
.deposit-expired-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 90, 110, 0.15);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
}
.deposit-expired-icon svg { width: 20px; height: 20px; }
.deposit-expired-panel strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.deposit-expired-panel p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* ============ FAQ / Central de Ajuda ============ */
.faq-category {
  margin-bottom: 28px;
}
.faq-category-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}
.faq-answer {
  padding: 14px 16px 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============ ORBIX: landing "passport" (abertura + hero + seções) ============
   Design aprovado em prévia local antes de ir para produção -- ver
   redpillpix-web/local-preview/server.js (protótipo Node, não usado em
   produção; só a fonte visual desta seção). */
.passport-home {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.15), transparent 38%),
    radial-gradient(circle at 18% 12%, rgba(124, 58, 237, 0.28), transparent 28%),
    linear-gradient(145deg, #100A1C 0%, #170D2B 48%, #0B1224 100%);
}
.passport-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(34, 211, 238, 0.10) 1px, transparent 0);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 72% 58% at 50% 12%, black 12%, transparent 72%);
  pointer-events: none;
}
.passport-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 10, 28, 0.12) 0%, transparent 54%, rgba(16, 10, 28, 0.72));
  pointer-events: none;
}
.dna-border-network {
  position: absolute;
  z-index: 1;
  inset: -5% -3%;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: screen;
  mask-image: radial-gradient(circle at 50% 43%, transparent 0 30%, rgba(0, 0, 0, 0.18) 44%, black 73%);
}
.dna-border-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dna-cluster { transform-box: fill-box; transform-origin: center; }
.dna-cluster-top { animation: dnaFloatX 19s ease-in-out infinite; }
.dna-cluster-right { animation: dnaFloatY 22s ease-in-out infinite reverse; }
.dna-cluster-bottom { animation: dnaFloatX 25s ease-in-out infinite reverse; }
.dna-cluster-left { animation: dnaFloatY 21s ease-in-out infinite; }
.dna-link {
  fill: none;
  stroke: #22D3EE;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.34;
  stroke-dasharray: 16 18;
  animation: dnaLinkFlow 16s linear infinite, dnaLinkReconnect 8s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.22));
}
.dna-link-soft { stroke-opacity: 0.16; stroke-width: 0.9; stroke-dasharray: 6 20; animation-duration: 22s, 8s; }
.dna-link-alt { stroke-opacity: 0.04; animation: dnaLinkFlow 18s linear infinite reverse, dnaLinkReconnectAlt 8s ease-in-out infinite; }
.dna-node {
  fill: #22D3EE;
  opacity: 0.64;
  filter: drop-shadow(0 0 9px rgba(34, 211, 238, 0.58));
  transform-box: fill-box;
  transform-origin: center;
  animation: dnaNodePulse 4.8s ease-in-out infinite;
}
.dna-node-soft { opacity: 0.34; animation-duration: 6s; }
.dna-node:nth-of-type(2n) { animation-delay: -1.3s; }
.dna-node:nth-of-type(3n) { animation-delay: -2.4s; }
.dna-gridline { fill: none; stroke: #22D3EE; stroke-width: 0.55; stroke-opacity: 0.08; }
@keyframes dnaFloatX { 0%, 100% { transform: translateX(-18px); } 50% { transform: translateX(18px); } }
@keyframes dnaFloatY { 0%, 100% { transform: translateY(-20px); } 50% { transform: translateY(20px); } }
@keyframes dnaLinkFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -112; } }
@keyframes dnaLinkReconnect { 0%, 42%, 100% { opacity: 1; } 50%, 86% { opacity: 0.08; } }
@keyframes dnaLinkReconnectAlt { 0%, 42%, 100% { opacity: 0.08; } 50%, 86% { opacity: 1; } }
@keyframes dnaNodePulse { 0%, 100% { opacity: 0.36; transform: scale(0.84); } 45% { opacity: 0.86; transform: scale(1.18); } }

@media (prefers-reduced-motion: reduce) {
  .dna-cluster, .dna-link, .dna-node, .currency-plane, .currency-badge,
  .passport-orbit, .passport-satellite, .orbix-template-ring,
  .orbix-template-connector::after, .orbix-mini-orbit::before,
  .orbix-mini-orbit::after, .orbix-arrow::after { animation: none; }
}

.passport-nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: min(1240px, calc(100% - 32px));
  height: 64px;
  margin: 14px auto 0;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 10, 28, 0.78);
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(18px);
  transform-origin: top center;
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease,
    background-color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}
.passport-nav.is-hidden { transform: translateY(calc(-100% - 22px)) scale(0.985); opacity: 0; }
.passport-nav.is-open { background: rgba(16, 10, 28, 0.90); border-color: rgba(34, 211, 238, 0.20); box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24); }
@media (prefers-reduced-motion: reduce) {
  .passport-nav { transition: none; }
}
.passport-brand { display: flex; align-items: center; gap: 10px; color: #F5F3FF; font: 700 16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.passport-brand-mark {
  position: relative;
  width: 28px;
  height: 16px;
  border: 2px solid rgba(245, 243, 255, 0.76);
  border-radius: 50%;
  transform: rotate(-15deg);
  background: transparent;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.22);
}
.passport-brand-mark::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(245, 243, 255, 0.86);
  border-radius: 50%;
  left: 5px;
  top: -1px;
  background: rgba(16, 10, 28, 0.82);
  transform: rotate(15deg);
}
.passport-nav-links { display: flex; align-items: center; gap: 24px; }
.passport-nav-links a { color: rgba(245, 243, 255, 0.72); font-size: 14px; font-weight: 700; padding: 9px 0; border-radius: 999px; }
.passport-nav-links a:hover { color: #F5F3FF; background: rgba(34, 211, 238, 0.08); text-decoration: none; }
/* padding-top:96px pra não ficar embaixo do .navbar (fixed, ~70px de
   altura + 12px de topo) -- o design original supunha uma nav sticky
   que empurra o conteúdo (ocupa espaço no fluxo); a nav real do site
   é fixed (flutua por cima, não empurra nada), então quem tem que
   abrir espaço é o próprio hero. Mesmo valor que .hero já usava. */
.passport-stage { position: relative; z-index: 2; min-height: 100vh; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 96px 24px 34px; }
.passport-core { position: relative; isolation: isolate; width: min(760px, 100%); display: grid; justify-items: center; text-align: center; transform: translateY(-16px); }
.passport-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(16, 10, 28, 0.56);
  color: rgba(245, 243, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.passport-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px rgba(34, 211, 238, 0.70); }

.currency-system { position: absolute; z-index: 0; pointer-events: none; left: 50%; top: 132px; width: min(920px, 122vw); height: 370px; transform: translateX(-50%); opacity: 0.50; overflow: visible; mix-blend-mode: screen; }
.currency-lane { display: none; }
.currency-lane:nth-child(1) { width: 64%; height: 30%; opacity: 0.38; }
.currency-lane:nth-child(2) { width: 88%; height: 42%; opacity: 0.48; }
.currency-lane:nth-child(3) { width: 112%; height: 54%; opacity: 0.42; }
.currency-lane:nth-child(4) { width: 136%; height: 66%; opacity: 0.28; }
.currency-center-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 320px;
  height: 190px;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-13deg);
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.05) 42%, transparent 70%);
  filter: blur(8px);
}
.currency-plane { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform: rotate(var(--angle)) scaleY(0.38); transform-origin: center; animation: currencyPlaneSpin var(--duration) linear infinite; animation-delay: var(--delay); }
.currency-plane-pix { --radius: 140px; }
.currency-plane-depix { --radius: 210px; }
.currency-plane-usdt { --radius: 280px; }
.currency-plane-lbtc { --radius: 340px; }
.currency-node { position: absolute; left: 0; top: 0; transform: translateX(var(--radius)); }
.currency-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 20px rgba(34, 211, 238, 0.62), 0 0 42px rgba(34, 211, 238, 0.24); }
.currency-badge {
  position: absolute;
  left: 9px;
  top: -16px;
  min-width: 76px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 2px solid #22D3EE;
  border-radius: 999px;
  color: #E0F2FE;
  background: rgba(16, 10, 28, 0.64);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
  font: 700 13px var(--font-mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: scaleY(2.63) rotate(calc(-1 * var(--angle)));
  animation: currencyBadgeCounter var(--duration) linear infinite;
  animation-delay: var(--delay);
}
.currency-speck { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(34, 211, 238, 0.42); box-shadow: 0 0 12px rgba(34, 211, 238, 0.24); }
.currency-speck-a { left: 28%; top: 66%; opacity: 0.38; }
.currency-speck-b { left: 38%; top: 58%; opacity: 0.48; }
.currency-speck-c { left: 65%; top: 38%; opacity: 0.32; }
.currency-speck-d { left: 72%; top: 70%; opacity: 0.28; }
@keyframes currencyPlaneSpin { from { transform: rotate(var(--angle)) scaleY(0.38); } to { transform: rotate(calc(var(--angle) + 360deg)) scaleY(0.38); } }
@keyframes currencyBadgeCounter { from { transform: scaleY(2.63) rotate(calc(-1 * var(--angle))); } to { transform: scaleY(2.63) rotate(calc(-1 * (var(--angle) + 360deg))); } }

.passport-token-wrap { position: relative; z-index: 2; width: min(410px, 78vw); aspect-ratio: 1; margin: 28px 0 30px; display: grid; place-items: center; }
.orbix-star { position: absolute; width: 8px; height: 8px; border-radius: 50%; border: 2px solid rgba(245, 243, 255, 0.72); box-shadow: 0 0 16px rgba(34, 211, 238, 0.20); }
.orbix-star::before, .orbix-star::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 18px; height: 2px; border-radius: 999px; background: rgba(245, 243, 255, 0.68); transform: translate(-50%, -50%); }
.orbix-star::after { transform: translate(-50%, -50%) rotate(90deg); }
.orbix-star-a { left: 7%; top: 9%; transform: rotate(14deg); }
.orbix-star-b { right: 9%; top: 18%; width: 7px; height: 7px; transform: scale(0.72); }
.orbix-star-c { right: 2%; bottom: 33%; width: 6px; height: 6px; transform: scale(0.58) rotate(8deg); }
.passport-orbit {
  position: absolute;
  width: 112%;
  height: 28%;
  border: 4px solid rgba(245, 243, 255, 0.82);
  border-top-color: rgba(245, 243, 255, 0.30);
  border-left-color: rgba(245, 243, 255, 0.62);
  border-radius: 50%;
  transform: rotate(-13deg);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.18), 0 0 36px rgba(34, 211, 238, 0.16);
  animation: orbixRingDrift 7s ease-in-out infinite;
}
.passport-orbit:nth-child(2) {
  width: 92%;
  height: 22%;
  border-width: 2px;
  border-color: rgba(245, 243, 255, 0.42);
  border-top-color: rgba(245, 243, 255, 0.16);
  border-left-color: rgba(245, 243, 255, 0.30);
  transform: rotate(-13deg) translateY(5px);
  animation: orbixRingDrift 7s ease-in-out infinite reverse;
}
.passport-satellite { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 18px rgba(34, 211, 238, 0.62); left: 14%; top: 49%; animation: orbixSatellite 12s linear infinite; }
.passport-token {
  position: relative;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 42% 28%, rgba(245, 243, 255, 0.12), transparent 17%), rgba(16, 10, 28, 0.42);
  border: 4px solid rgba(245, 243, 255, 0.82);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.12), 0 0 48px rgba(34, 211, 238, 0.10), 0 0 58px rgba(34, 211, 238, 0.14), inset 0 0 46px rgba(34, 211, 238, 0.06);
}
.orbix-sigil { position: relative; z-index: 1; width: 76%; height: 76%; overflow: visible; color: #F5F3FF; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.18)); }
.orbix-sigil path, .orbix-sigil line { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.passport-wordmark { position: relative; z-index: 2; margin: 0; color: #F5F3FF; font: 500 clamp(48px, 8vw, 88px) var(--font-display); letter-spacing: 0.38em; text-transform: uppercase; text-shadow: 0 0 34px rgba(34, 211, 238, 0.18); line-height: 1; }
@keyframes orbixRingDrift { 0%, 100% { transform: rotate(-13deg) translateX(-6px) scaleX(0.99); opacity: 0.78; } 50% { transform: rotate(-13deg) translateX(8px) scaleX(1.03); opacity: 1; } }
@keyframes orbixSatellite { from { transform: rotate(0deg) translateX(178px) rotate(0deg); } to { transform: rotate(360deg) translateX(178px) rotate(-360deg); } }
.passport-subtitle { position: relative; z-index: 2; margin: 14px 0 0; color: rgba(34, 211, 238, 0.78); font: 700 12px var(--font-body); letter-spacing: 0.48em; text-transform: uppercase; }
.passport-copy { position: relative; z-index: 2; max-width: 640px; margin: 28px auto 0; color: rgba(245, 243, 255, 0.72); font-size: 15px; line-height: 1.75; }
.passport-actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.passport-launch {
  min-width: 184px;
  height: 52px;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #100A1C;
  background: #22D3EE;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.14), 0 14px 34px rgba(34, 211, 238, 0.18);
  font: 700 12px var(--font-body);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}
.passport-launch:hover { text-decoration: none; border-color: #67E8F9; color: #100A1C; background: #67E8F9; }
.passport-launch-dot { width: 8px; height: 8px; border-radius: 50%; background: #100A1C; box-shadow: 0 0 16px rgba(16, 10, 28, 0.32); }
.passport-ghost { color: rgba(245, 243, 255, 0.76); font-size: 13px; font-weight: 700; padding: 14px 16px; border-radius: 999px; border: 1px solid rgba(245, 243, 255, 0.12); background: rgba(255, 255, 255, 0.04); }
.passport-ghost:hover { text-decoration: none; color: #F5F3FF; border-color: rgba(34, 211, 238, 0.28); background: rgba(34, 211, 238, 0.08); }
.ledger {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: 34px auto 0;
  border-top: 1px solid rgba(34, 211, 238, 0.16);
  padding-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ledger-track { display: flex; gap: 40px; white-space: nowrap; animation: scroll-ledger 42s linear infinite; width: max-content; }
.ledger-item { font-family: var(--font-mono); font-size: 12px; color: rgba(245, 243, 255, 0.52); display: flex; gap: 8px; align-items: center; }
.ledger-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(34, 211, 238, 0.52); box-shadow: 0 0 12px rgba(34, 211, 238, 0.28); }
.ledger-item .amt { color: #B9ACD6; font-weight: 700; }
.ledger-item .amt.positive { color: #5EEAD4; }
@keyframes scroll-ledger { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ledger-track { animation: none; } }
.orbix-manifest-ledger {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(34, 211, 238, 0.10);
  border-bottom: 1px solid rgba(34, 211, 238, 0.10);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(10, 6, 18, 0.42);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}
.orbix-manifest-ledger .ledger-track { animation-duration: 46s; }
.orbix-manifest-ledger .ledger-item { font-size: 13px; color: rgba(245, 243, 255, 0.48); }
.passport-proof { width: min(980px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.passport-proof-item { border: 1px solid rgba(34, 211, 238, 0.14); border-radius: 12px; padding: 18px 20px; background: rgba(255, 255, 255, 0.045); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18); backdrop-filter: blur(14px); text-align: left; }
.passport-proof-item span { display: block; color: var(--accent); font: 700 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.passport-proof-item strong { color: #F5F3FF; font-size: 14px; }
.passport-proof-item p { margin: 8px 0 0; color: rgba(245, 243, 255, 0.58); font-size: 12px; line-height: 1.5; }

/* .passport-core/.passport-proof pertencem ao layout "passaporte" antigo
   (wordmark gigante + moedas orbitando + cards de prova) -- a home hoje
   usa .orbix-template-hero como hero único. Sem isso, os dois ficavam
   empilhados um embaixo do outro (grid de 2 trilhas com 3 filhos cria
   uma 3ª trilha implícita), duplicando o hero inteiro na página. */
.passport-home .passport-core,
.passport-home .passport-proof {
  display: none;
}

/* ---------- Tela de abertura (mesma composição do hero, sozinha) ---------- */
.orbix-opening-active body { overflow: hidden; }
.orbix-opening-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% 32%, rgba(34, 211, 238, 0.20), transparent 34%),
    radial-gradient(circle at 20% 12%, rgba(124, 58, 237, 0.26), transparent 30%),
    linear-gradient(145deg, #100A1C 0%, #170D2B 48%, #0B1224 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.72s ease, visibility 0.72s ease, transform 0.72s ease;
}
.orbix-opening-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(34, 211, 238, 0.12) 1px, transparent 0);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 42%, black, transparent 74%);
  pointer-events: none;
}
.orbix-opening-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 10, 28, 0.08), transparent 48%, rgba(16, 10, 28, 0.48));
  pointer-events: none;
}
.orbix-opening-screen.is-leaving { opacity: 0; visibility: hidden; transform: scale(1.018); pointer-events: none; }
.orbix-opening-core { position: relative; z-index: 2; width: min(760px, 100%); display: grid; justify-items: center; text-align: center; }
.orbix-opening-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(16, 10, 28, 0.56);
  color: rgba(245, 243, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.orbix-opening-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 16px rgba(34, 211, 238, 0.70); }
.orbix-opening-token-wrap { width: min(410px, 78vw); margin: 30px 0; }
.orbix-opening-wordmark { margin: 0; }
.orbix-opening-copy { max-width: 640px; margin: 26px auto 0; color: rgba(245, 243, 255, 0.70); font-size: 15px; line-height: 1.75; }
.orbix-opening-loader { width: min(260px, 62vw); height: 2px; margin-top: 32px; border-radius: 999px; background: rgba(245, 243, 255, 0.12); overflow: hidden; }
.orbix-opening-loader::before { content: ""; display: block; width: 100%; height: 100%; transform-origin: left center; background: linear-gradient(90deg, #22D3EE, #5EEAD4); animation: orbixOpeningLoad 6s linear forwards; }
@keyframes orbixOpeningLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Hero "template" (copy + visual de órbitas) ---------- */
.orbix-template-hero { width: min(1220px, 100%); display: grid; grid-template-columns: minmax(560px, 0.9fr) minmax(440px, 1fr); gap: 64px; align-items: center; margin: auto; }
.orbix-template-copy { position: relative; z-index: 2; max-width: 650px; }
.orbix-template-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  padding: 9px 15px 9px 11px;
  border: 1px solid rgba(34, 211, 238, 0.50);
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.12);
  color: #22D3EE;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
  font: 700 12px var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.orbix-mini-orbit { position: relative; width: 34px; height: 22px; flex: 0 0 34px; display: inline-grid; place-items: center; filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.34)); }
.orbix-mini-orbit::before, .orbix-mini-orbit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 13px;
  border: 1.7px solid rgba(245, 243, 255, 0.72);
  border-radius: 50%;
  transform: translateY(-50%) rotate(-14deg);
  animation: orbixMiniRing 3.8s ease-in-out infinite;
}
.orbix-mini-orbit::after { inset: auto 3px; top: 50%; height: 9px; border-width: 1px; border-color: rgba(34, 211, 238, 0.62); animation-direction: reverse; opacity: 0.78; }
.orbix-mini-planet { position: relative; z-index: 2; width: 18px; height: 18px; border: 1.8px solid rgba(245, 243, 255, 0.88); border-radius: 50%; background: rgba(16, 10, 28, 0.88); display: grid; place-items: center; color: #F5F3FF; }
.orbix-mini-planet::before { content: ""; width: 8px; height: 10px; border: 2px solid currentColor; border-left: 0; border-radius: 0 8px 8px 0; }
.orbix-mini-planet::after { content: ""; position: absolute; width: 10px; height: 2px; left: 2px; top: 50%; border-radius: 999px; background: currentColor; transform: translateY(-50%); }
@keyframes orbixMiniRing { 0%, 100% { transform: translateY(-50%) rotate(-16deg) translateX(-1px); opacity: 0.74; } 50% { transform: translateY(-50%) rotate(-10deg) translateX(2px); opacity: 1; } }
.orbix-template-copy h1 { margin: 0; color: #F5F3FF; font: 700 clamp(48px, 6vw, 72px)/1.05 var(--font-display); letter-spacing: -0.02em; }
.orbix-template-copy h1 span { color: #22D3EE; text-shadow: 0 0 30px rgba(34, 211, 238, 0.24); }
.orbix-template-lead { margin: 28px 0 0; color: rgba(245, 243, 255, 0.72); font-size: 19px; line-height: 1.62; }
.orbix-template-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.orbix-template-primary, .orbix-template-secondary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 8px; font-weight: 800; font-size: 16px; }
.orbix-template-primary { color: #06131A; background: #22D3EE; border: 1px solid #22D3EE; box-shadow: 0 18px 38px rgba(34, 211, 238, 0.16); }
.orbix-template-primary:hover { color: #06131A; background: #67E8F9; border-color: #67E8F9; text-decoration: none; }
.orbix-template-secondary { color: #F5F3FF; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(124, 58, 237, 0.55); }
.orbix-template-secondary:hover { color: #F5F3FF; border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.07); text-decoration: none; }
.orbix-template-note { margin: 26px 0 0; color: rgba(245, 243, 255, 0.48); font-size: 14px; }
.orbix-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.orbix-hero-proof span {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 243, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}
.orbix-hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #5EEAD4;
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.58);
}
.orbix-template-visual { position: relative; z-index: 1; min-height: 570px; display: grid; place-items: center; }
.orbix-template-orbits { position: relative; width: min(620px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.orbix-template-ring { position: absolute; inset: var(--inset); border: 1px solid rgba(124, 58, 237, 0.22); border-radius: 50%; box-shadow: inset 0 0 28px rgba(34, 211, 238, 0.018); animation: templateOrbitPulse 9s ease-in-out infinite; animation-delay: var(--delay); }
.orbix-template-ring:nth-child(2) { border-color: rgba(124, 58, 237, 0.30); }
.orbix-template-ring:nth-child(3) { border-color: rgba(124, 58, 237, 0.38); }
.orbix-template-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 18px rgba(34, 211, 238, 0.86); }
.orbix-template-dot-a { right: 18%; top: 7%; background: #5EEAD4; }
.orbix-template-dot-b { right: 21%; top: 37%; }
.orbix-template-flow { position: relative; z-index: 2; display: grid; justify-items: center; align-content: center; min-height: 390px; }
.orbix-template-flow::before {
  content: "";
  position: absolute;
  top: 76px;
  bottom: 78px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.78) 22%, rgba(34, 211, 238, 0.34) 50%, rgba(94, 234, 212, 0.78) 78%, transparent);
}
.orbix-template-flow-node { position: relative; z-index: 2; min-width: 74px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin: 0 0 14px; padding: 0 18px; border: 1px solid rgba(124, 58, 237, 0.62); border-radius: 20px; background: rgba(42, 28, 72, 0.66); color: rgba(245, 243, 255, 0.58); font: 600 14px var(--font-mono); letter-spacing: 0.03em; }
.orbix-template-flow-node.hub { min-width: 118px; min-height: 64px; margin: 2px 0 40px; border-color: #22D3EE; border-radius: 18px; background: rgba(10, 57, 81, 0.62); color: #22D3EE; box-shadow: 0 0 30px rgba(34, 211, 238, 0.13); font-size: 18px; font-weight: 800; }
.orbix-template-flow-node.compact { min-height: 44px; }
.orbix-template-connector { position: relative; z-index: 3; width: 8px; height: 38px; margin: -10px 0 0; }
.orbix-template-connector::after { content: ""; position: absolute; left: 0; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: #5EEAD4; box-shadow: 0 0 14px rgba(94, 234, 212, 0.80); animation: templateConnectorTravel 2.8s ease-in-out infinite; }
@keyframes templateOrbitPulse { 0%, 100% { opacity: 0.72; transform: scale(1); } 50% { opacity: 1; transform: scale(1.012); } }
@keyframes templateConnectorTravel { 0% { transform: translateY(0); opacity: 0.25; } 25%, 75% { opacity: 1; } 100% { transform: translateY(28px); opacity: 0.25; } }

/* ---------- Seções da landing (manifesto, cards, passos, FAQ...) ---------- */
.orbix-landing { position: relative; z-index: 2; background: linear-gradient(180deg, rgba(16, 10, 28, 0.98), #100A1C 16%, #120B20 100%); overflow: hidden; }
.orbix-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.10), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(124, 58, 237, 0.14), transparent 30%),
    linear-gradient(90deg, rgba(245, 243, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 243, 255, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 8%, black 94%, transparent);
}
.orbix-landing-section { position: relative; z-index: 1; padding: 92px 24px; }
.orbix-landing-band { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018)); border-top: 1px solid rgba(34, 211, 238, 0.10); border-bottom: 1px solid rgba(34, 211, 238, 0.08); }
.orbix-container { width: min(1120px, 100%); margin: 0 auto; }
.orbix-section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.orbix-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 12px; border: 1px solid rgba(34, 211, 238, 0.24); border-radius: 999px; background: rgba(34, 211, 238, 0.08); color: #22D3EE; font: 700 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.orbix-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 14px rgba(34, 211, 238, 0.62); }
.orbix-section-head h2, .orbix-manifesto h2, .orbix-final-card h2 { margin: 0; color: #F5F3FF; font-family: var(--font-display); font-weight: 700; }
.orbix-section-head h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.orbix-section-head p { margin: 16px auto 0; color: rgba(245, 243, 255, 0.66); font-size: 16px; line-height: 1.7; }
.orbix-section-head p strong { display: block; max-width: 820px; margin: 8px auto 0; color: #F5F3FF; font: 700 clamp(24px, 3.5vw, 38px)/1.35 var(--font-display); }
.orbix-manifesto { max-width: 980px; margin: 0 auto; text-align: center; }
.orbix-manifesto h2 { font-size: clamp(30px, 5vw, 54px); line-height: 1.08; }
.orbix-manifesto p { margin: 22px auto 0; color: rgba(245, 243, 255, 0.70); font-size: 17px; line-height: 1.85; }
.orbix-manifesto-lines { margin-top: 26px; }
.orbix-manifesto-line { margin: 0 auto 24px; color: #F5F3FF; font-size: clamp(22px, 3vw, 30px); line-height: 1.45; font-weight: 500; }
.orbix-manifesto-final { max-width: 1040px; margin: 10px auto 0; color: #A99AD2; font-size: clamp(16px, 2vw, 20px); line-height: 1.7; }
.orbix-manifesto strong { color: #22D3EE; font-weight: 800; }
.orbix-grid-4, .orbix-grid-3 { display: grid; gap: 16px; }
.orbix-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.orbix-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.orbix-info-card, .orbix-use-card { min-height: 100%; border: 1px solid rgba(34, 211, 238, 0.12); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.026)); padding: 24px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18); backdrop-filter: blur(14px); }
.orbix-card-num, .orbix-use-card span, .orbix-step-num { color: #22D3EE; font: 700 12px var(--font-mono); letter-spacing: 0.10em; text-transform: uppercase; }
.orbix-card-num { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border: 1px solid rgba(34, 211, 238, 0.26); border-radius: 10px; background: rgba(34, 211, 238, 0.08); }
.orbix-info-card h3, .orbix-use-card h3, .orbix-step h3, .orbix-sec-item h3 { margin: 0; color: #F5F3FF; font-size: 16px; }
.orbix-info-card p, .orbix-use-card p, .orbix-step p, .orbix-sec-item p { margin: 10px 0 0; color: rgba(245, 243, 255, 0.62); font-size: 14px; line-height: 1.65; }
.orbix-steps { max-width: 900px; margin: 0 auto; border-top: 1px solid rgba(34, 211, 238, 0.10); }
.orbix-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(34, 211, 238, 0.10); }
.orbix-step-num { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(34, 211, 238, 0.26); border-radius: 50%; background: rgba(34, 211, 238, 0.07); }
.orbix-flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.orbix-chip { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 28px; border: 1px solid rgba(124, 58, 237, 0.54); border-radius: 999px; background: rgba(255, 255, 255, 0.035); color: rgba(245, 243, 255, 0.70); font: 700 14px var(--font-mono); letter-spacing: 0.02em; }
.orbix-chip-center { border-color: rgba(34, 211, 238, 0.86); color: #22D3EE; background: rgba(34, 211, 238, 0.07); box-shadow: 0 0 18px rgba(34, 211, 238, 0.08); }
/* Bolinha viajando (não mais seta) ligando um chip ao próximo -- trilho
   fraco fixo + ponto no ciano do tema percorrendo da esquerda pra
   direita em loop, como as outras "partículas em trânsito" do site
   (.orbix-template-connector, pontos que viajam na órbita do fundo). */
.orbix-arrow { position: relative; display: inline-flex; align-items: center; width: 26px; height: 18px; flex: 0 0 26px; font-size: 0; color: transparent; }
.orbix-arrow::before { content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent); transform: translateY(-50%); }
.orbix-arrow::after { content: ""; position: absolute; top: 50%; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: #22D3EE; box-shadow: 0 0 10px rgba(34, 211, 238, 0.7); transform: translateY(-50%); animation: orbixFlowDotTravel 2.4s ease-in-out infinite; }
.orbix-arrow:nth-of-type(2)::after { animation-delay: 0s; }
.orbix-arrow:nth-of-type(4)::after { animation-delay: 0.8s; }
.orbix-arrow:nth-of-type(6)::after { animation-delay: 1.6s; }
@keyframes orbixFlowDotTravel {
  0% { left: 2px; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
.orbix-sec-list { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 34px; }
.orbix-sec-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
.orbix-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(94, 234, 212, 0.10); color: #5EEAD4; font: 800 12px var(--font-mono); }
.orbix-ops-section, .orbix-trust-section { overflow: hidden; }
.orbix-trust-section {
  background:
    radial-gradient(circle at 18% 42%, rgba(34, 211, 238, 0.06), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.028));
}
.orbix-ops-section::before, .orbix-trust-section::before {
  content: "";
  position: absolute;
  width: min(520px, 62vw);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}
.orbix-ops-section::before {
  right: max(-180px, -12vw);
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16), rgba(124, 58, 237, 0.10) 40%, transparent 68%);
}
.orbix-trust-section::before {
  left: max(-180px, -12vw);
  top: 44%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.13), rgba(34, 211, 238, 0.08) 42%, transparent 68%);
}
.orbix-ops-grid, .orbix-trust-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}
.orbix-ops-grid { grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr); }
.orbix-trust-grid { grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr); align-items: start; }
.orbix-ops-copy h2, .orbix-trust-copy h2 {
  margin: 0;
  color: #F5F3FF;
  font: 700 clamp(30px, 4vw, 48px)/1.08 var(--font-display);
}
.orbix-ops-copy p, .orbix-trust-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(245, 243, 255, 0.70);
  font-size: 17px;
  line-height: 1.72;
}
.orbix-trust-copy { position: sticky; top: 104px; }
.orbix-ops-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.orbix-ops-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 243, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}
.orbix-ops-points span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5EEAD4;
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.56);
}
.orbix-ops-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(34, 211, 238, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  padding: 24px;
  backdrop-filter: blur(16px);
}
.orbix-ops-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(245, 243, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 243, 255, 0.026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 22%, black, transparent 72%);
  pointer-events: none;
}
.orbix-ops-preview-head, .orbix-ops-route, .orbix-ops-metrics, .orbix-ops-timeline { position: relative; z-index: 1; }
.orbix-ops-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.12);
}
.orbix-ops-preview-head span {
  color: rgba(245, 243, 255, 0.58);
  font: 700 12px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.orbix-ops-preview-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5EEAD4;
  font-size: 13px;
}
.orbix-ops-preview-head strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5EEAD4;
  animation: app-sidebar-status-pulse 1.9s ease-in-out infinite;
}
.orbix-ops-route {
  display: grid;
  grid-template-columns: 1fr 52px 1fr 52px 1fr;
  align-items: center;
  gap: 10px;
  margin: 26px 0;
}
.orbix-ops-route span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 58, 237, 0.50);
  border-radius: 16px;
  background: rgba(42, 28, 72, 0.52);
  color: rgba(245, 243, 255, 0.66);
  font: 800 13px var(--font-mono);
}
.orbix-ops-route span.is-done { border-color: rgba(94, 234, 212, 0.42); color: #5EEAD4; }
.orbix-ops-route span.is-active { border-color: rgba(34, 211, 238, 0.86); color: #22D3EE; background: rgba(34, 211, 238, 0.08); box-shadow: 0 0 28px rgba(34, 211, 238, 0.12); }
.orbix-ops-route i { position: relative; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.62), transparent); }
.orbix-ops-route i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.76);
  transform: translateY(-50%);
  animation: orbixOpsPulse 2.2s ease-in-out infinite;
}
.orbix-ops-route i:nth-of-type(2)::after { animation-delay: 0.55s; }
.orbix-ops-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.orbix-ops-metrics div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, 0.12);
  border-radius: 16px;
  background: rgba(10, 6, 18, 0.34);
}
.orbix-ops-metrics span, .orbix-ops-timeline small { display: block; color: rgba(245, 243, 255, 0.46); font-size: 12px; }
.orbix-ops-metrics strong { display: block; margin-top: 8px; color: #F5F3FF; font: 800 clamp(15px, 2vw, 18px) var(--font-mono); }
.orbix-ops-timeline { display: grid; gap: 12px; margin-top: 18px; }
.orbix-ops-timeline span {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  border: 1px solid rgba(34, 211, 238, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.026);
}
.orbix-ops-timeline span::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: var(--progress);
  height: 2px;
  background: linear-gradient(90deg, #22D3EE, #5EEAD4);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.28);
}
.orbix-ops-timeline b { color: rgba(245, 243, 255, 0.82); font-size: 13px; }
@keyframes orbixOpsPulse {
  0% { left: 0; opacity: 0; }
  15%, 82% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}
.orbix-trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.orbix-trust-list article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, 0.20);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.15), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.034));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}
.orbix-trust-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 10px;
  color: #5EEAD4;
  background: rgba(94, 234, 212, 0.08);
  font: 800 12px var(--font-mono);
}
.orbix-trust-list h3 { margin: 0; color: #F5F3FF; font-size: 16px; }
.orbix-trust-list p { margin: 10px 0 0; color: rgba(245, 243, 255, 0.70); font-size: 14px; line-height: 1.65; }
.orbix-trust-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.orbix-use-card span { display: block; margin-bottom: 12px; }
.orbix-faq-list { max-width: 760px; margin: 0 auto; border-top: 1px solid rgba(34, 211, 238, 0.12); }
.orbix-faq-item { border-bottom: 1px solid rgba(34, 211, 238, 0.12); }
.orbix-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; color: #F5F3FF; font-weight: 800; }
.orbix-faq-item summary::-webkit-details-marker { display: none; }
.orbix-faq-item summary::after { content: "+"; color: #22D3EE; font: 700 20px var(--font-mono); transition: transform 0.2s ease; }
.orbix-faq-item[open] summary::after { transform: rotate(45deg); }
.orbix-faq-item p { margin: 0; padding: 0 4px 22px; max-width: 640px; color: rgba(245, 243, 255, 0.62); line-height: 1.7; }
.orbix-final-card { position: relative; overflow: hidden; width: min(1120px, 100%); margin: 0 auto; padding: 72px 32px; text-align: center; border: 1px solid rgba(34, 211, 238, 0.16); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)); box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24); }
.orbix-final-card::before { content: ""; position: absolute; left: 50%; top: -160px; width: 600px; height: 340px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(34, 211, 238, 0.22), transparent 68%); pointer-events: none; }
.orbix-final-card h2 { position: relative; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; }
.orbix-final-card p { position: relative; margin: 16px auto 30px; color: rgba(245, 243, 255, 0.66); }
.orbix-final-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.orbix-footer { position: relative; z-index: 1; padding: 34px 24px 52px; text-align: center; color: rgba(245, 243, 255, 0.46); font-size: 13px; border-top: 1px solid rgba(34, 211, 238, 0.08); }

@media (max-width: 940px) { .orbix-grid-4, .orbix-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1100px) {
  /* 980px deixava uma folga (iPad paisagem ~1024px, notebooks pequenos)
     onde o grid de 2 colunas (minmax(560px,...) + minmax(440px,...) +
     64px de gap = 1064px mínimo) não cabia mas ainda não tinha
     empilhado -- estourava a largura do hero. */
  .orbix-template-hero { grid-template-columns: 1fr; gap: 34px; padding: 24px 0 42px; text-align: center; }
  .orbix-template-copy { max-width: 680px; margin: 0 auto; }
  .orbix-template-actions { justify-content: center; }
  .orbix-hero-proof { max-width: 680px; margin-left: auto; margin-right: auto; }
  .orbix-template-visual { min-height: 470px; }
  .orbix-template-orbits { width: min(500px, 92vw); }
}
@media (max-width: 680px) {
  .orbix-landing-section { padding: 70px 18px; }
  .orbix-grid-4, .orbix-grid-3, .orbix-sec-list { grid-template-columns: 1fr; }
  .orbix-section-head { margin-bottom: 32px; }
  .orbix-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .orbix-flow { justify-content: center; flex-direction: column; gap: 12px; }
  .orbix-chip { width: min(260px, 100%); }
  .orbix-arrow { transform: rotate(90deg); }
  .orbix-hero-proof { grid-template-columns: 1fr; }
  .orbix-template-lead { font-size: 17px; }
  .orbix-template-visual { min-height: 380px; opacity: 0.86; }
  .orbix-ops-grid, .orbix-trust-grid { grid-template-columns: 1fr; gap: 28px; }
  .orbix-ops-copy, .orbix-trust-copy { text-align: center; }
  .orbix-ops-copy p, .orbix-trust-copy p { margin-left: auto; margin-right: auto; }
  .orbix-ops-points { justify-content: center; }
  .orbix-ops-preview { padding: 18px; border-radius: 18px; }
  .orbix-ops-route { grid-template-columns: 1fr; gap: 10px; margin: 22px 0; }
  .orbix-ops-route i {
    width: 1px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.62), transparent);
  }
  .orbix-ops-route i::after {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    animation: orbixOpsPulseDown 2s ease-in-out infinite;
  }
  .orbix-ops-route i:nth-of-type(2)::after { animation-delay: 0.45s; }
  .orbix-ops-metrics, .orbix-trust-list { grid-template-columns: 1fr; }
  .orbix-ops-metrics div, .orbix-trust-list article { min-height: auto; }
  .orbix-ops-preview-head { align-items: flex-start; flex-direction: column; }
  .orbix-trust-copy { position: static; }
  .orbix-trust-actions { justify-content: center; }
  .orbix-final-card { padding: 56px 20px; border-radius: 18px; }
  .orbix-final-actions .passport-launch, .orbix-final-actions .passport-ghost { width: 100%; }
}
@keyframes orbixOpsPulseDown {
  0% { top: 0; opacity: 0; }
  15%, 82% { opacity: 1; }
  100% { top: calc(100% - 7px); opacity: 0; }
}
@media (min-width: 761px) and (max-height: 820px) {
  .passport-stage { padding-top: 84px; }
  .passport-token-wrap { width: min(330px, 72vw); margin: 18px 0 20px; }
  .passport-wordmark { font-size: 72px; }
  .passport-subtitle { margin-top: 10px; }
  .passport-copy { margin-top: 18px; line-height: 1.6; }
  .passport-actions { margin-top: 22px; }
  .ledger { margin-top: 22px; padding-top: 16px; }
  .currency-system { top: 138px; height: 300px; transform: translateX(-50%) scale(0.82); }
  .orbix-opening-token-wrap { width: min(300px, 68vw); margin: 16px 0; }
  .orbix-opening-wordmark { font-size: 60px; }
  .orbix-opening-copy { margin-top: 16px; line-height: 1.55; }
  .orbix-opening-loader { margin-top: 20px; }
}
@media (max-width: 760px) {
  .dna-border-network { opacity: 0.16; inset: -3% -12%; mask-image: radial-gradient(circle at 50% 35%, transparent 0 24%, rgba(0, 0, 0, 0.12) 42%, black 74%); }
  /* .passport-nav (barra própria da home, dentro do hero) nunca tinha
     tratamento mobile -- em telas de celular (375-414px) marca + 3
     links não cabiam nos 30px de padding fixo e estouravam/sobrepunham
     o hero. Some com "Como funciona"/"Criar acesso", deixa só marca +
     "Entrar" (mesmo padrão do .navbar padrão em max-width:640px). */
  .passport-nav { top: 10px; width: calc(100% - 20px); height: 58px; margin-top: 10px; padding: 0 18px; border-radius: 16px; }
  .passport-nav-links { gap: 0; }
  .passport-nav-links a:not(.passport-login) { display: none; }
  /* padding-top:76px -- mesma lógica do breakpoint desktop, mas a nav
     mobile (ver .navbar em @media max-width:640px) é um pouco mais baixa. */
  .passport-stage { min-height: 100vh; padding: 76px 18px 34px; }
  .passport-core { transform: none; }
  .currency-system { left: calc(50% + 10px); top: 138px; width: 680px; height: 300px; opacity: 0.48; }
  .currency-plane-pix { --radius: 82px; }
  .currency-plane-depix { --radius: 106px; }
  .currency-plane-usdt { --radius: 132px; }
  .currency-plane-lbtc { --radius: 158px; }
  .currency-badge { font-size: 11px; min-width: 62px; height: 24px; padding: 0 10px; }
  .passport-token-wrap { margin: 24px 0 24px; }
  .passport-wordmark { letter-spacing: 0.22em; }
  .passport-subtitle { letter-spacing: 0.28em; }
  .passport-copy { margin-top: 24px; font-size: 14px; }
  .passport-actions { margin-top: 30px; }
  .ledger { margin-top: 28px; padding-top: 18px; width: 100%; }
  .ledger-track { gap: 28px; animation-duration: 24s; }
  .ledger-item { font-size: 11px; }
  .passport-proof { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .passport-proof-item { padding: 18px 16px; }
  .passport-satellite { animation: none; left: 13%; top: 48%; }
}
@media (max-width: 560px) {
  .passport-wordmark { font-size: 40px; }
  .passport-launch { width: 100%; }
  .passport-ghost { width: 100%; text-align: center; }
}

/* ============ Painel: layout 2 colunas + painel lateral ============ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.dashboard-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-panel {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.side-panel-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.side-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  color: var(--text);
}
.side-panel-ok { color: var(--mint); font-weight: 600; }
.side-panel-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.side-panel-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}
.side-panel-link:hover { color: var(--accent); }
.side-panel-link span { color: var(--text-muted); }
.side-panel-trust b { font-size: 13px; display: block; margin-bottom: 8px; }
.side-panel-trust p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
}

/* ---------- Ecossistema ORBIX: faixa rotativa de parceiros/infraestrutura ----------
   Dois grupos idênticos lado a lado, cada um com min-width:100%, transladando
   -100%: quando o 1º sai pela esquerda o 2º ocupa exatamente o lugar dele --
   loop contínuo sem vão, em QUALQUER largura de tela. (Só duplicar o conteúdo
   não basta: se a trilha for mais estreita que a janela, sobra buraco.)
   Logos ficam nas cores originais -- pintar de branco (brightness/invert)
   transformava logos de forma preenchida, como o do Liquid, num borrão
   irreconhecível. */
.orbix-eco-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.orbix-eco-eyebrow { display: inline-block; color: var(--accent); font: 700 11px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.orbix-eco-head h2 { margin: 0 0 10px; }
.orbix-eco-head p { margin: 0; color: rgba(245, 243, 255, 0.58); font-size: 14px; line-height: 1.6; }
.orbix-eco-marquee {
  position: relative; display: flex; width: 100%; overflow: hidden; padding: 24px 0;
  border-top: 1px solid rgba(34, 211, 238, 0.10);
  border-bottom: 1px solid rgba(34, 211, 238, 0.10);
  background: rgba(10, 6, 18, 0.42);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}
.orbix-eco-group {
  flex-shrink: 0; display: flex; align-items: center; gap: 48px;
  min-width: 100%; justify-content: space-around; padding-right: 48px;
  animation: orbix-eco-scroll 90s linear infinite;
}
@keyframes orbix-eco-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.orbix-eco-marquee:hover .orbix-eco-group, .orbix-eco-marquee:focus-within .orbix-eco-group { animation-play-state: paused; }
.orbix-eco-item { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; transition: transform 0.2s ease; }
.orbix-eco-item img { height: 28px; width: 28px; object-fit: contain; opacity: 0.85; transition: opacity 0.2s ease; }
.orbix-eco-item span { font: 700 13px var(--font-body); color: rgba(245, 243, 255, 0.62); letter-spacing: 0.01em; white-space: nowrap; transition: color 0.2s ease; }
.orbix-eco-item:hover img, .orbix-eco-item:focus-visible img { opacity: 1; }
.orbix-eco-item:hover span, .orbix-eco-item:focus-visible span { color: #F5F3FF; }
.orbix-eco-item:hover { transform: translateY(-2px); }
.orbix-eco-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .orbix-eco-group { animation: none; } .orbix-eco-marquee { overflow-x: auto; } }
@media (max-width: 720px) {
  .orbix-eco-group { gap: 30px; padding-right: 30px; }
  .orbix-eco-item img { height: 24px; width: 24px; }
  .orbix-eco-item span { font-size: 12px; }
}

/* ---------- Fluxo do hero: leitura de FLUXO, não de pulso ----------
   Os 4 conectores tinham o mesmo ponto animado SEM delay: os quatro piscavam
   juntos, o que lê como "pulsando", não como algo percorrendo o caminho.
   Escalonando o delay ao longo do ciclo de 2.8s (0.7s cada), vira uma cascata
   contínua Banco -> Carteira. Mais brilho junto, a pedido. */
.orbix-template-flow > .orbix-template-connector:nth-child(2)::after { animation-delay: 0s; }
.orbix-template-flow > .orbix-template-connector:nth-child(4)::after { animation-delay: 0.7s; }
.orbix-template-flow > .orbix-template-connector:nth-child(6)::after { animation-delay: 1.4s; }
.orbix-template-flow > .orbix-template-connector:nth-child(8)::after { animation-delay: 2.1s; }
.orbix-template-flow::before {
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.95) 20%, rgba(34, 211, 238, 0.60) 50%, rgba(94, 234, 212, 0.95) 80%, transparent);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.30);
}
.orbix-template-flow-node { border-color: rgba(124, 58, 237, 0.85); color: rgba(245, 243, 255, 0.80); box-shadow: 0 0 20px rgba(124, 58, 237, 0.20); }
.orbix-template-flow-node.hub { box-shadow: 0 0 48px rgba(34, 211, 238, 0.32), inset 0 0 22px rgba(34, 211, 238, 0.10); }
.orbix-template-connector::after { box-shadow: 0 0 22px rgba(94, 234, 212, 0.95); }

/* ---------- Fluxo de ida e volta (infraestrutura) ----------
   As duas pontas PIX ganham o mesmo tratamento: fecham o circuito visualmente
   (entra e sai pelo mesmo trilho). A seta de volta usa o verde-menta pra ler
   como retorno, diferenciando do fluxo de ida. Delay escalonado nas 4 setas
   pelo mesmo motivo do hero. */
.orbix-flow > .orbix-arrow:nth-child(2)::after { animation-delay: 0s; }
.orbix-flow > .orbix-arrow:nth-child(4)::after { animation-delay: 0.6s; }
.orbix-flow > .orbix-arrow:nth-child(6)::after { animation-delay: 1.2s; }
.orbix-flow > .orbix-arrow:nth-child(8)::after { animation-delay: 1.8s; }
.orbix-chip-edge { border-color: rgba(94, 234, 212, 0.70); color: #5EEAD4; background: rgba(94, 234, 212, 0.06); }
.orbix-arrow-back::before { background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.55), transparent); }
.orbix-arrow-back::after { background: #5EEAD4; box-shadow: 0 0 12px rgba(94, 234, 212, 0.80); }

/* ---------- Tutorial + FAQ (/tutorial) ----------
   Um passo por vez: os 18 passos vêm no HTML e o JS só alterna .is-active
   (funciona deslogado e é indexável). Progresso salvo em localStorage. */
.tut-page { max-width: 1180px; margin: 0 auto; padding: 72px 24px 96px; }
.tut-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.tut-head h1 { margin: 10px 0 12px; font-size: clamp(28px, 4vw, 40px); }
.tut-head p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }

.tut-shell { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 28px; align-items: start; scroll-margin-top: 90px; }

.tut-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; }
.tut-progress-box { background: var(--gradient-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.tut-progress-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.tut-progress-top span { font: 700 10px var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.tut-progress-top strong { font: 700 12px var(--font-mono); color: var(--accent); }
.tut-progress-bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.tut-progress-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--accent)); transition: width 0.3s ease; }

.tut-chapters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tut-chapter {
  width: 100%; text-align: left; cursor: pointer; border: 1px solid transparent; border-radius: 8px;
  background: none; padding: 9px 12px; color: var(--text-muted);
  font: 600 13.5px var(--font-body); transition: background 0.18s ease, color 0.18s ease;
}
.tut-chapter:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.tut-chapter.is-active { background: var(--accent-glow); border-color: rgba(34, 211, 238, 0.34); color: var(--accent); }
.tut-reset { margin-top: 4px; background: none; border: none; cursor: pointer; color: var(--text-muted); font: 600 12px var(--font-body); text-align: left; padding: 4px 12px; text-decoration: underline; }
.tut-reset:hover { color: var(--accent); }

.tut-main { background: var(--gradient-surface); border: 1px solid var(--border); border-radius: 14px; padding: 38px 40px 28px; min-height: 460px; display: flex; flex-direction: column; }
.tut-step { display: none; animation: tutFade 0.25s ease; }
.tut-step.is-active { display: block; flex: 1; }
@keyframes tutFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tut-step { animation: none; } }
.tut-step h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); }
.tut-sub { margin: 0 0 22px; color: var(--accent); font: 600 13px var(--font-body); }
.tut-step p { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin: 0 0 14px; }
.tut-step strong { color: var(--text); }
.tut-list { margin: 0 0 16px; padding-left: 20px; }
.tut-list li { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.tut-list li strong { color: var(--text); }

.tut-callout { border-left: 2px solid var(--accent); background: rgba(34, 211, 238, 0.06); border-radius: 0 8px 8px 0; padding: 12px 16px; }
.tut-callout-warn { border-left-color: var(--warning); background: rgba(255, 176, 32, 0.07); }
.tut-callout-warn strong { color: var(--warning); }
.tut-disclaimer { font-size: 12.5px !important; color: rgba(185, 172, 214, 0.62) !important; font-style: italic; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 18px !important; }
.tut-faq { margin-top: 6px; }

.tut-pager { display: flex; gap: 12px; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.tut-pager-btn {
  flex: 1; max-width: 300px; cursor: pointer; text-align: left;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 16px; transition: border-color 0.18s ease, background 0.18s ease;
}
.tut-pager-btn:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-glow); }
.tut-pager-btn:disabled { opacity: 0.32; cursor: default; }
.tut-pager-next { text-align: right; }
.tut-pager-dir { display: block; font: 700 10px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.tut-pager-title { display: block; font: 600 13.5px var(--font-body); color: var(--text); }

@media (max-width: 900px) {
  .tut-page { padding: 48px 16px 72px; }
  .tut-shell { grid-template-columns: 1fr; gap: 18px; }
  /* No mobile a lateral vira uma faixa rolável no topo, em vez de empilhar
     8 capítulos antes do conteúdo. */
  .tut-nav { position: static; }
  .tut-chapters { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .tut-chapter { white-space: nowrap; width: auto; }
  .tut-reset { display: none; }
  .tut-main { padding: 26px 20px 20px; }
  .tut-pager-title { font-size: 12.5px; }
}
.orbix-steps-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 36px; text-align: center; }
.orbix-steps-cta p { margin: 0; max-width: 520px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
/* O fundo orbital foi desenhado pro hero da landing. Numa página de leitura
   longa (18 passos de texto) ele compete com o conteúdo e os rótulos dos anéis
   (PIX/DePix/L-BTC) colidem com o título. Atenua só aqui, mantendo a
   identidade sem atrapalhar a leitura. */
body:has(.tut-page) .topo-bg, body:has(.legal-page) .topo-bg { opacity: 0.28; }

/* ---------- Páginas legais (/termos, /privacidade) ----------
   Texto longo: coluna estreita (~68ch) porque linha larga demais cansa e faz
   o olho perder a linha ao voltar. */
.legal-page { max-width: 800px; margin: 0 auto; padding: 72px 24px 96px; }
.legal-head { margin-bottom: 40px; }
.legal-head h1 { margin: 10px 0 8px; font-size: clamp(28px, 4vw, 38px); }
.legal-meta { margin: 0; color: var(--text-muted); font: 600 12.5px var(--font-mono); }
.legal-body { font-size: 15px; line-height: 1.75; color: var(--text-muted); }
.legal-intro { font-size: 16px; color: var(--text); border-left: 2px solid var(--accent); padding-left: 16px; margin-bottom: 34px; }
.legal-body h2 { margin: 36px 0 12px; font-size: 19px; color: var(--text); }
.legal-body p { margin: 0 0 14px; }
.legal-body strong { color: var(--text); }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; }
.legal-body li { margin-bottom: 9px; }
.legal-body a { color: var(--accent); }
.legal-alert { border-left: 2px solid var(--warning); background: rgba(255, 176, 32, 0.07); border-radius: 0 8px 8px 0; padding: 12px 16px; }
.legal-alert strong { color: var(--warning); }
/* Marcador de pendência jurídica: propositalmente visível, pra ninguém
   publicar achando que o documento está fechado. */
.legal-note { border: 1px dashed var(--danger); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--danger); background: rgba(255, 90, 110, 0.05); }
.legal-table-wrap { overflow-x: auto; margin: 0 0 18px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--surface-2); color: var(--text); font-weight: 700; white-space: nowrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 640px) { .legal-page { padding: 48px 16px 72px; } }

/* ---------- Correções de mobile ---------- */
@media (max-width: 900px) {
  /* BUG que cortava a página inteira: `grid-template-columns: 1fr` tem piso de
     min-content. Como a faixa de capítulos usa white-space:nowrap, o
     min-content dela era a soma dos 8 nomes -- MUITO maior que a tela. O grid
     obedecia ao conteúdo em vez da viewport e empurrava tudo pra direita,
     cortando o texto. minmax(0,1fr) remove o piso; min-width:0 faz o mesmo nos
     itens (regra padrão de flex/grid: item não encolhe abaixo do min-content
     sem isso). */
  .tut-shell { grid-template-columns: minmax(0, 1fr); }
  .tut-nav, .tut-main { min-width: 0; }
  /* Deixa claro que a faixa de capítulos rola (senão parece cortada). */
  .tut-chapters { -webkit-overflow-scrolling: touch; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, black 88%, transparent); mask-image: linear-gradient(90deg, black 88%, transparent); }
  .tut-chapters::-webkit-scrollbar { display: none; }
  .tut-pager { gap: 8px; }
  .tut-pager-btn { padding: 9px 12px; }
}

/* Rodapé no mobile: o flex com space-between empilhava os blocos alinhados à
   esquerda enquanto o copyright ficava centralizado -- alinhamento misto, feio.
   Centraliza tudo numa coluna só. */
@media (max-width: 640px) {
  .site-footer { padding: 28px 16px; margin-top: 32px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .footer-links { justify-content: center; gap: 10px 18px; }
  .footer-legal { margin-top: 14px; padding-top: 14px; }
}


/* ==== Fundo galaxia animado na secao final (#cta-final) ==== */
#cta-final.orbix-galaxy-section { overflow: hidden; }
#cta-final #orbixGalaxy { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
#cta-final .orbix-final-card { z-index: 2; }


/* ==== Faixa de orbita: 2 linhas cruzando (distinta de extrato/ecossistema) ==== */
.orbix-orbit-band { position: relative; overflow: hidden; padding: 30px 0; margin: 0; background: radial-gradient(120% 140% at 50% 50%, rgba(34,211,238,.10), transparent 60%), linear-gradient(180deg,#07040f,#0a0618 50%,#07040f); }
.orbix-orbit-band::before, .orbix-orbit-band::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,#22d3ee,#5eead4,transparent); opacity: .55; }
.orbix-orbit-band::before { top: 0; }
.orbix-orbit-band::after { bottom: 0; }
.orbix-orbit-line { position: absolute; left: -5%; right: -5%; top: 50%; height: 120px; transform: translateY(-50%) rotate(-2.2deg); border-top: 1px dashed rgba(94,234,212,.18); border-bottom: 1px dashed rgba(94,234,212,.10); border-radius: 50%; pointer-events: none; }
.orbix-orbit-row { display: flex; white-space: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent); mask-image: linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent); }
.orbix-orbit-b { margin-top: 6px; }
.orbix-orbit-track { display: inline-flex; align-items: center; will-change: transform; }
.orbix-orbit-a .orbix-orbit-track { animation: orbixOrbitA 30s linear infinite; }
.orbix-orbit-b .orbix-orbit-track { animation: orbixOrbitB 34s linear infinite; }
@keyframes orbixOrbitA { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes orbixOrbitB { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.orbix-term { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 2px; font-size: clamp(16px,2.1vw,24px); font-weight: 500; padding: 0 6px; color: transparent; -webkit-text-stroke: 1px rgba(245,243,255,.42); }
.orbix-term.on { color: #22d3ee; -webkit-text-stroke: 0; text-shadow: 0 0 18px rgba(34,211,238,.35); }
.orbix-sep { display: inline-block; margin: 0 22px; color: #5eead4; font-size: .7em; animation: orbixSpin 7s linear infinite; }
.orbix-orbit-b .orbix-sep { animation-direction: reverse; }
@keyframes orbixSpin { to { transform: rotate(360deg); } }

/* ==== Kinetico (bloco-respiro) ==== */
.orbix-kinetic { text-align: center; font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -1px; font-size: clamp(28px,6vw,68px); text-transform: uppercase; color: #f5f3ff; padding: 64px 24px; text-wrap: balance; }
.orbix-kinetic-fill { color: #22d3ee; }
.orbix-kinetic-star { display: inline-block; color: #5eead4; font-size: .5em; vertical-align: middle; animation: orbixSpin 9s linear infinite; }

/* ==== Eyebrow: pilula -> colchetes mono (sugestao 1) ==== */
.orbix-eyebrow { padding: 0; border: none; background: none; gap: 6px; }
.orbix-eyebrow::before { content: "["; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; }
.orbix-eyebrow::after { content: "]"; }

@media (prefers-reduced-motion: reduce) {
  .orbix-orbit-a .orbix-orbit-track, .orbix-orbit-b .orbix-orbit-track, .orbix-sep, .orbix-kinetic-star { animation: none; }
}


/* ============================================================
   Padronizacao de ritmo vertical + ancoragem das faixas novas.
   (Overrides no fim do arquivo: mesma especificidade, vencem por
   ordem. Nada de texto "voando".)
   ============================================================ */

/* Gap titulo -> paragrafo de apoio: unificado (era 16 / 20 / 22px) */
.orbix-section-head p { margin-top: 18px; }
.orbix-manifesto p { margin-top: 18px; }
.orbix-ops-copy p, .orbix-trust-copy p { margin-top: 18px; }

/* Cabecalhos de secao: mesma folga abaixo em todos (era 46 / 44 / 40 / 34px) */
.orbix-section-head, .orbix-eco-head, .tut-head, .legal-head { margin-bottom: 44px; }

/* O kinetico deixa de ser texto solto: vira faixa ancorada, no mesmo
   ritmo das outras bandas, com fio sutil em cima/embaixo e leve fundo. */
.orbix-kinetic {
  padding: 60px 24px;
  border-top: 1px solid rgba(34, 211, 238, 0.08);
  border-bottom: 1px solid rgba(34, 211, 238, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0) 55%, rgba(255,255,255,0.022));
}

/* Mobile: faixas/blocos novos acompanham o ritmo reduzido das secoes. */
@media (max-width: 680px) {
  .orbix-kinetic { padding: 44px 18px; font-size: clamp(24px, 8vw, 40px); border-radius: 0; }
  .orbix-orbit-band { padding: 22px 0; }
  .orbix-orbit-b { margin-top: 4px; }
  .orbix-term { letter-spacing: 1.5px; }
  .orbix-sep { margin: 0 16px; }
  /* respiro titulo->paragrafo tbm mais enxuto no mobile */
  .orbix-manifesto p, .orbix-ops-copy p, .orbix-trust-copy p { margin-top: 14px; }
}


/* ============================================================
   Escala tipografica padronizada (hierarquia clara e coesa).
   hero (72-88) > display/kinetico (52) > titulo de secao (44)
   > frase de apoio (32) > corpo (16) > apoio (14) > rotulo (11)
   Overrides no fim: mesma especificidade, vencem por ordem.
   ============================================================ */
:root {
  --fs-h2: clamp(28px, 3.6vw, 44px);
  --fs-display: clamp(28px, 4.6vw, 52px);
  --fs-lead: clamp(22px, 3vw, 32px);
}
/* TODOS os titulos de secao no mesmo tamanho (era 44 / 46 / 48 / 54px) */
.orbix-section-head h2,
.orbix-manifesto h2,
.orbix-ops-copy h2,
.orbix-trust-copy h2,
.orbix-final-card h2 { font-size: var(--fs-h2); line-height: 1.1; }
/* Frases de apoio grandes no mesmo nivel (era 38px e 30px) */
.orbix-section-head p strong { font-size: var(--fs-lead); }
.orbix-manifesto-line { font-size: var(--fs-lead); }
/* Paragrafos de apoio: mesmo corpo (era 16px e 17px misturados) */
.orbix-manifesto p, .orbix-ops-copy p, .orbix-trust-copy p { font-size: 16px; }
/* Kinetico: e um momento display, mas um degrau ABAIXO do hero (era 68px) */
@media (min-width: 681px) {
  .orbix-kinetic { font-size: var(--fs-display); }
}
