/* ==================================================================
   BeDeep - Escuridao - Design System (drop-in for existing app)
   ------------------------------------------------------------------
   Importe uma vez, substituindo (ou ao lado do) style.css atual. Todos
   os seletores do app (.portal-bg, .page-nav, .notif-*, .plan-card,
   .container, --bd-*) continuam funcionando; apenas mudam de aparencia.

   O @import abaixo adiciona 10 aliases --bd-* que faltavam no handoff
   original (auditoria da Sessao 18). Sem ele, ~6 telas renderizam com
   `initial` do browser. Nao e opcional.
   ================================================================== */
@import url("./escuridao.v1.1.css");

/* 1. Tokens */
:root {
  --esc-void:    #08081a;
  --esc-bg:      #11122a;
  --esc-bg2:     #1a1b38;
  --esc-bg3:     #22244a;
  --esc-rule:        rgba(255,255,255,0.08);
  --esc-rule-strong: rgba(255,255,255,0.18);

  --esc-amber:       #d4a574;
  --esc-amber-soft:  rgba(212,165,116,0.14);
  --esc-amber-dim:   #8a6a48;
  --esc-amber-halo:  rgba(212,165,116,0.20);

  --esc-cool:      #e8eaf2;
  --esc-cool-dim:  #a0a4b8;
  --esc-cool-mute: #6a6e85;

  --esc-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --esc-sans:  "IBM Plex Sans", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --esc-mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --esc-radius-sm: 4px;
  --esc-radius:    8px;
  --esc-radius-lg: 14px;
  --esc-nav-h:     64px;

  /* Aliases legados */
  --bd-navy:        var(--esc-bg);
  --bd-navy-deep:   var(--esc-void);
  --bd-cream:       var(--esc-bg);
  --bd-white:       var(--esc-bg2);
  --bd-gold:        var(--esc-amber);
  --bd-gold-bright: #e8b981;
  --bd-text:        var(--esc-cool);
  --bd-text-light:  var(--esc-cool-dim);
  --bd-text-muted:  var(--esc-cool-mute);
  --bd-border:      var(--esc-rule);
  --bd-border-light:var(--esc-rule);
  --bd-shadow-sm:   0 1px 2px rgba(0,0,0,0.35), 0 2px 4px rgba(0,0,0,0.2);
  --bd-shadow-md:   0 4px 16px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.25);
  --bd-shadow-lg:   0 10px 32px rgba(0,0,0,0.55);
  --bd-radius-sm:   var(--esc-radius-sm);
  --bd-radius:      var(--esc-radius);
  --bd-radius-lg:   var(--esc-radius-lg);
  --bd-radius-full: 999px;
  --bd-font-heading: var(--esc-serif);
  --bd-font-body:    var(--esc-sans);
}

/* 2. Reset */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--esc-void);
  color: var(--esc-cool);
  font-family: var(--esc-sans);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
::selection { background: var(--esc-amber); color: var(--esc-bg); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
input::placeholder, textarea::placeholder { color: rgba(232,234,242,0.38); font-family: inherit; }
a { color: var(--esc-amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* 3. Atmosfera
   Calibrada para casar com o tratamento do painel (--esc-void puro).
   Portal-bg repousa sobre --esc-void e os âmbares ficam mais tênues;
   starfield em 0.35 para insinuar textura sem "sujar" o fundo. */
.portal-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(212,165,116,0.06), transparent 55%),
    radial-gradient(ellipse at 50% 95%, rgba(212,165,116,0.03), transparent 60%),
    var(--esc-void);
  z-index: -2; pointer-events: none;
}
.starfield {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(1px 1px at 17% 23%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 82% 14%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 43% 55%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 71% 81%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 12% 77%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 94% 48%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 29% 8%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 56% 33%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 7% 42%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 88% 67%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 38% 88%, #e8eaf2 50%, transparent 52%),
    radial-gradient(1px 1px at 64% 19%, #e8eaf2 50%, transparent 52%);
}
.ambient, .ambient-orb { display: none; }

/* 4. Nav */
.page-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--esc-nav-h); padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(17,18,42,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--esc-rule);
  z-index: 50;
}
.page-nav .nav-left  { display: flex; align-items: center; gap: 14px; }
.page-nav .nav-right { display: flex; align-items: center; gap: 18px; }
.page-nav .back-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  color: var(--esc-cool-dim); font-size: 18px;
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.page-nav .back-arrow:hover { background: rgba(255,255,255,0.06); color: var(--esc-cool); text-decoration: none; }
.page-nav .nav-title {
  font-family: var(--esc-serif); font-style: italic;
  font-size: 17px; font-weight: 500;
  color: var(--esc-amber); letter-spacing: 0.02em;
}
.page-nav .nav-subtitle {
  font-family: var(--esc-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--esc-cool-mute);
}
.has-page-nav { padding-top: calc(var(--esc-nav-h) + 8px); }

/* 5. Container + headings */
.container {
  max-width: 720px; margin: 0 auto;
  padding: 32px 24px 64px;
  position: relative; z-index: 1;
}
h1, h2, h3, h4 {
  font-family: var(--esc-serif);
  color: var(--esc-cool); letter-spacing: -0.01em;
  font-weight: 500; margin: 0 0 .6em;
}
h1 { font-size: 34px; font-style: italic; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
.eyebrow {
  font-family: var(--esc-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--esc-amber); font-weight: 500;
}

/* 6. Botoes */
.btn, button.btn-primary, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px;
  background: var(--esc-amber); color: var(--esc-bg);
  border: 1px solid var(--esc-amber);
  font-family: var(--esc-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--esc-radius-sm);
  cursor: pointer; transition: background .15s;
}
.btn:hover, .btn-primary:hover { background: #e8b981; text-decoration: none; }
.btn:disabled, .btn-primary:disabled {
  background: transparent; color: var(--esc-cool-mute);
  border-color: var(--esc-rule); cursor: not-allowed;
}
.btn-ghost, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px;
  background: transparent; color: var(--esc-cool);
  border: 1px solid var(--esc-rule-strong);
  font-family: var(--esc-sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: var(--esc-radius-sm);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--esc-amber); color: var(--esc-amber); text-decoration: none; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--esc-mono);
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--esc-cool-dim);
  margin-bottom: 28px;
}
.back-link:hover { color: var(--esc-amber); text-decoration: none; }

/* 7. Cards */
.card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--esc-rule);
  border-radius: var(--esc-radius);
  padding: 24px;
}
.card-elevated {
  background: var(--esc-bg2);
  border: 1px solid var(--esc-rule);
  border-top: 1px solid var(--esc-amber);
  border-radius: var(--esc-radius);
  padding: 28px;
  position: relative;
}
.card-tag {
  position: absolute; top: -11px; left: 28px;
  padding: 0 10px;
  background: var(--esc-bg);
  font-family: var(--esc-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--esc-amber);
  white-space: nowrap;
}

/* 8. Inputs */
.field { display: block; margin-bottom: 22px; }
.field label, .field-label {
  display: block;
  font-family: var(--esc-mono);
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--esc-cool-dim); margin-bottom: 4px;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="tel"], textarea, select {
  width: 100%; padding: 12px 0;
  background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--esc-cool);
  font-family: var(--esc-serif); font-size: 15px;
  outline: none; border-radius: 0;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { border-bottom-color: var(--esc-amber); }
textarea { padding: 12px; border: 1px solid var(--esc-rule-strong); border-radius: var(--esc-radius-sm); resize: vertical; }
.check-line {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; cursor: pointer;
  font-family: var(--esc-serif);
  font-size: 13.5px; color: var(--esc-cool); line-height: 1.55;
}
.check-line input[type="checkbox"] { display: none; }
.check-line .checkbox {
  width: 14px; height: 14px;
  border: 1px solid var(--esc-cool-dim);
  border-radius: 2px; margin-top: 3px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.check-line input[type="checkbox"]:checked + .checkbox {
  background: var(--esc-amber); border-color: var(--esc-amber);
}
.check-line input[type="checkbox"]:checked + .checkbox::after {
  content: "+"; color: var(--esc-bg); font-size: 10px; font-weight: 700; line-height: 1;
}

/* 9. Toggle de idioma */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 4px 6px;
  border: 1px solid var(--esc-rule);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.lang-toggle button {
  background: transparent; border: none;
  font-family: var(--esc-mono);
  font-size: 10px; font-weight: 500; letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--esc-cool-mute);
  cursor: pointer;
}
.lang-toggle button.active { background: var(--esc-amber); color: var(--esc-bg); }

/* 10. Hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; gap: 4px;
  padding: 8px; cursor: pointer;
  background: transparent; border: none;
}
.hamburger span { width: 18px; height: 1px; background: var(--esc-cool-dim); display: block; }

/* 11. Regras / separadores */
.rule { width: 40px; height: 1px; background: var(--esc-amber); opacity: 0.5; margin: 0 auto; }
.sep  { height: 1px; background: var(--esc-rule); margin: 32px 0; border: 0; }

/* 12. Chips de rodape */
.footer-chips {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-top: 48px;
  font-family: var(--esc-mono);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-chips a, .footer-chips span {
  padding: 9px 18px;
  border: 1px solid var(--esc-rule-strong);
  color: var(--esc-cool-dim);
}
.footer-chips a:hover { color: var(--esc-amber); border-color: var(--esc-amber); text-decoration: none; }

/* 13. Logo */
/* logo inline SVG — a geometria é travada dentro do próprio SVG (gerado
   pelo logo-lab). As classes wrapper continuam respondendo por layout,
   tamanho (via --mark-size) e responsividade. */
.logo-mark > svg { width: var(--mark-size, 180px); height: auto; display: block; }
.mini-disc-svg   { width: 32px; height: 32px; display: block; flex-shrink: 0; }

.logo-mark {
  display: inline-flex; flex-direction: column; align-items: center;
  position: relative;
  --mark-size: 180px;
}
.logo-mark .halo-outer, .logo-mark .halo-inner {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: var(--mark-size); height: var(--mark-size);
  top: 0; left: 0;
}
.logo-mark .halo-outer {
  inset: -44px; width: auto; height: auto;
  background: radial-gradient(circle, rgba(212,165,116,0.20) 0%, rgba(212,165,116,0.08) 50%, rgba(212,165,116,0) 78%);
}
.logo-mark .halo-inner {
  inset: -10px; width: auto; height: auto;
  box-shadow: 0 0 40px 4px rgba(212,165,116,0.16), 0 0 90px 18px rgba(212,165,116,0.06);
}
.logo-mark .disc {
  position: relative;
  width: var(--mark-size); height: var(--mark-size);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(212,165,116,0.12), transparent 72%);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 62px;
}
.logo-mark .barbell { display: flex; align-items: center; }
.logo-mark .barbell .sphere {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--esc-amber);
  box-shadow: 0 0 16px rgba(212,165,116,0.53);
}
.logo-mark .barbell .bridge-l, .logo-mark .barbell .bridge-r { width: 48px; height: 1.3px; }
.logo-mark .barbell .bridge-l { background: linear-gradient(to right, var(--esc-amber), rgba(212,165,116,0.13)); }
.logo-mark .barbell .bridge-r { background: linear-gradient(to left,  var(--esc-amber), rgba(212,165,116,0.13)); }
.logo-mark .barbell .bridge-c { width: 18px; height: 0.7px; background: rgba(212,165,116,0.27); }
.logo-mark .wordmark {
  margin-top: 34px;
  font-family: var(--esc-serif);
  font-size: 22px; font-style: italic; font-weight: 500;
  color: var(--esc-amber);
  letter-spacing: 0.08em;
}
.tagline {
  margin-top: 30px;
  font-family: var(--esc-serif);
  font-size: 16px; font-style: italic;
  color: var(--esc-amber);
  letter-spacing: -0.01em;
  text-align: center;
}
.logo-mini {
  display: inline-flex; align-items: center; gap: 10px;
}
.logo-mini .mini-disc {
  width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(212,165,116,0.22), transparent 70%);
  border: 1px solid var(--esc-amber-soft);
  display: flex; align-items: center; justify-content: center;
}
.logo-mini .mini-barbell { display: flex; align-items: center; gap: 2px; }
.logo-mini .mini-sphere  { width: 5px; height: 5px; border-radius: 50%; background: var(--esc-amber); }
.logo-mini .mini-bridge  { width: 7px; height: 1px; background: rgba(212,165,116,0.6); }
.logo-mini .mini-word {
  font-family: var(--esc-serif); font-style: italic;
  font-size: 15px; font-weight: 500;
  color: var(--esc-amber); letter-spacing: 0.06em;
}

/* 14. Manifesto / corpo */
.manifesto {
  font-family: var(--esc-serif);
  font-size: 18px; line-height: 1.65;
  color: var(--esc-cool); letter-spacing: -0.005em;
  text-wrap: pretty;
}
.manifesto p { margin: 0 0 2px; }
.manifesto .accent { color: var(--esc-amber); font-style: italic; }
.content p {
  font-family: var(--esc-serif);
  font-size: 17px; line-height: 1.75;
  color: var(--esc-cool); margin: 0 0 16px;
}
.content .signature {
  margin-top: 32px;
  font-family: var(--esc-serif);
  font-style: italic; color: var(--esc-amber);
}

/* 15. Chat */
.chat-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 0 16px 120px;
  min-height: 100vh;
}
.chat-stream {
  display: flex; flex-direction: column; gap: 20px;
  padding: 24px 0;
}
.msg {
  max-width: 78%;
  font-family: var(--esc-serif);
  font-size: 16.5px; line-height: 1.55;
}
.msg.msg-bedeep { color: var(--esc-amber); font-style: italic; padding-left: 0; }
.msg.msg-bedeep::before {
  content: "BeDeep";
  display: block;
  font-family: var(--esc-mono);
  font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--esc-amber-dim);
  margin-bottom: 6px; font-style: normal;
}
.msg.msg-user {
  align-self: flex-end;
  color: var(--esc-cool);
  background: rgba(255,255,255,0.03);
  border-left: 1px solid var(--esc-rule-strong);
  padding: 14px 18px;
  border-radius: 0 var(--esc-radius) var(--esc-radius) 0;
}
.chat-input-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to bottom, rgba(17,18,42,0) 0%, rgba(17,18,42,0.95) 30%);
  padding: 24px 16px 28px;
  z-index: 10;
}
.chat-input-row {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: flex-end; gap: 12px;
  background: var(--esc-bg2);
  border: 1px solid var(--esc-rule-strong);
  border-radius: var(--esc-radius);
  padding: 10px 12px;
}
.chat-input-row textarea, .chat-input-row input[type="text"] {
  flex: 1; border: none; background: transparent;
  color: var(--esc-cool);
  font-family: var(--esc-serif); font-size: 15.5px;
  padding: 10px 4px;
  resize: none;
  min-height: 24px; max-height: 160px;
}
.chat-btn {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--esc-rule-strong);
  border-radius: 50%;
  color: var(--esc-cool-dim);
  cursor: pointer;
  transition: all .15s;
}
.chat-btn:hover { color: var(--esc-amber); border-color: var(--esc-amber); }
.chat-btn.send { background: var(--esc-amber); color: var(--esc-bg); border-color: var(--esc-amber); }
.chat-btn.send:hover { background: #e8b981; }

/* 16. Notificacoes */
.notif-content { max-width: 680px; margin: 0 auto; padding: 16px 20px 48px; }
.notif-list { display: flex; flex-direction: column; gap: 14px; }
.notif-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--esc-rule);
  border-radius: var(--esc-radius);
  padding: 18px 20px;
}
.notif-card-header {
  display: flex; align-items: center; gap: 10px;
  padding-right: 28px; margin-bottom: 10px;
}
.notif-icon {
  font-family: var(--esc-mono); font-weight: 600; font-size: 10px;
  letter-spacing: 0.2em; color: var(--esc-amber);
  padding: 3px 7px; border: 1px solid var(--esc-amber-soft);
  border-radius: 3px;
}
.notif-nome {
  font-family: var(--esc-serif); font-style: italic;
  font-size: 16px; color: var(--esc-amber); font-weight: 500;
}
.notif-date {
  margin-left: auto;
  font-family: var(--esc-mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--esc-cool-mute);
}
.notif-narrativa {
  font-family: var(--esc-serif); font-size: 15.5px; line-height: 1.6;
  color: var(--esc-cool); margin: 0 0 10px;
}
.notif-close-btn {
  position: absolute; top: 8px; right: 10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; border: none;
  color: var(--esc-cool-mute);
  font-size: 18px; line-height: 1; cursor: pointer;
  opacity: 0.55; transition: opacity .15s, background .15s;
}
.notif-close-btn:hover { opacity: 1; background: rgba(255,255,255,0.06); color: var(--esc-cool); }
.notif-acoes { display: flex; gap: 10px; margin-top: 12px; }
.notif-btn-aceitar, .notif-btn-recusar {
  flex: 1; padding: 10px 14px;
  font-family: var(--esc-sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--esc-radius-sm); cursor: pointer;
}
.notif-btn-aceitar {
  background: var(--esc-amber); color: var(--esc-bg);
  border: 1px solid var(--esc-amber);
}
.notif-btn-aceitar:hover { background: #e8b981; }
.notif-btn-recusar {
  background: transparent; color: var(--esc-cool);
  border: 1px solid var(--esc-rule-strong);
}
.notif-btn-recusar:hover { border-color: var(--esc-amber); color: var(--esc-amber); }
.notif-empty { text-align: center; padding: 48px 16px; }
.notif-empty h2 { font-family: var(--esc-serif); font-style: italic; color: var(--esc-cool); font-size: 22px; font-weight: 500; }
.notif-empty p { font-family: var(--esc-serif); color: var(--esc-cool-dim); font-size: 16px; line-height: 1.6; max-width: 420px; margin: 12px auto; }
.notif-empty .notif-dica { color: var(--esc-amber); font-style: italic; margin-top: 24px; }

/* 17. Planos */
.assinar-wrap { max-width: 960px; margin: 0 auto; padding: 32px 20px 64px; }
.assinar-hero { text-align: center; margin-bottom: 40px; }
.assinar-hero h1 { font-family: var(--esc-serif); font-size: 34px; font-style: italic; color: var(--esc-cool); margin-bottom: 14px; }
.assinar-hero .lede { font-family: var(--esc-serif); font-size: 17px; color: var(--esc-cool-dim); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.assinar-hero .hero-rule { display: block; width: 40px; height: 1px; background: var(--esc-amber); margin: 20px auto 0; opacity: 0.6; }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
@media (min-width: 720px) {
  .plans-grid { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
}
.plan-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--esc-rule);
  border-radius: var(--esc-radius);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: border-color .2s, background .2s, transform .2s;
}
.plan-card:hover { border-color: var(--esc-rule-strong); transform: translateY(-2px); }
.plan-card.featured {
  border: 1px solid var(--esc-amber);
  background: linear-gradient(180deg, rgba(212,165,116,0.08), rgba(212,165,116,0.01));
}
.plan-card.voice {
  border: 1px solid var(--esc-amber);
  background: linear-gradient(180deg, rgba(212,165,116,0.06), rgba(255,255,255,0.025));
}
.plan-ribbon {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--esc-amber); color: var(--esc-bg);
  font-family: var(--esc-mono); font-size: 9.5px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em;
  border-radius: 999px; white-space: nowrap;
}
.plan-name {
  font-family: var(--esc-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--esc-amber); margin-bottom: 10px;
}
.plan-price { color: var(--esc-cool); font-family: var(--esc-serif); line-height: 1; margin-bottom: 4px; }
.plan-price .amount { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; font-style: italic; }
.plan-price .cents  { font-size: 18px; font-weight: 500; vertical-align: super; }
.plan-price .period { font-size: 14px; color: var(--esc-cool-dim); margin-left: 6px; font-family: var(--esc-sans); font-style: normal; letter-spacing: 0; }
.plan-note {
  font-family: var(--esc-serif); font-style: italic;
  font-size: 13.5px; color: var(--esc-cool-dim);
  margin: 8px 0 18px; min-height: 1.3em;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-features li {
  font-family: var(--esc-serif); font-size: 14.5px; line-height: 1.5;
  color: var(--esc-cool);
  padding: 6px 0 6px 22px; position: relative;
}
.plan-features li::before {
  content: ""; position: absolute; left: 10px; top: 13px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--esc-amber);
}
.plan-features li.muted { color: var(--esc-cool-mute); }
.plan-features li.muted::before { background: var(--esc-cool-mute); }
.plan-cta {
  width: 100%; padding: 13px 0;
  background: transparent; color: var(--esc-cool);
  border: 1px solid var(--esc-rule-strong);
  font-family: var(--esc-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--esc-radius-sm);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.plan-cta:hover { border-color: var(--esc-amber); color: var(--esc-amber); }
.plan-card.featured .plan-cta, .plan-card.voice .plan-cta {
  background: var(--esc-amber); color: var(--esc-bg); border-color: var(--esc-amber);
}
.plan-card.featured .plan-cta:hover, .plan-card.voice .plan-cta:hover { background: #e8b981; color: var(--esc-bg); }
.plan-card.coming-soon { opacity: 0.45; pointer-events: none; }
.coming-soon-badge {
  display: inline-block; background: var(--esc-amber-dim); color: var(--esc-bg);
  font-family: var(--esc-mono); font-size: 8.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em;
  padding: 3px 8px; border-radius: 999px;
  margin-left: 6px;
}

/* 18. Utilidades */
.text-center { text-align: center; }
.text-amber  { color: var(--esc-amber); }
.text-cool-dim { color: var(--esc-cool-dim); }
.italic { font-style: italic; }
.serif  { font-family: var(--esc-serif); }
.mono   { font-family: var(--esc-mono); }

/* 19. Mobile */
@media (max-width: 720px) {
  .page-nav { padding: 0 16px; }
  .container { padding: 24px 18px 56px; }
  .assinar-wrap { padding: 24px 18px 48px; }
  .assinar-hero h1 { font-size: 28px; }
  h1 { font-size: 28px; }
  .logo-mark { --mark-size: 160px; }
}

/* ======================================
   20. VOZ — BeDeep+ real-time entry
   ====================================== */
.voz-page { background: var(--esc-bg); color: var(--esc-cool); }
.voz-wrap { max-width: 880px; margin: 0 auto; padding: 44px 20px 72px; position: relative; z-index: 1; }

.voz-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 28px; color: var(--esc-cool-dim); text-decoration: none;
  font-family: var(--esc-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.18s;
}
.voz-back:hover { color: var(--esc-amber); }

/* Hero */
.voz-hero { text-align: center; margin-bottom: 40px; }
.voz-hero .voz-kicker {
  display: inline-block; margin-bottom: 18px;
  font-family: var(--esc-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--esc-amber); font-weight: 500;
}
.voz-hero h1 {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; margin: 0 0 16px;
  color: var(--esc-cool); letter-spacing: -0.01em;
}
.voz-hero .lede {
  font-family: var(--esc-serif); font-size: 17px; line-height: 1.65;
  color: var(--esc-cool-dim); max-width: 560px; margin: 0 auto;
  font-style: italic;
}

/* Saldo card */
.voz-saldo-card {
  background: linear-gradient(180deg, rgba(212,165,116,0.06) 0%, rgba(212,165,116,0.02) 100%);
  border: 1px solid var(--esc-amber-soft);
  border-radius: 16px; padding: 28px 24px; margin-bottom: 44px; text-align: center;
  box-shadow: 0 0 40px rgba(212,165,116,0.06) inset;
}
.voz-saldo-title {
  font-family: var(--esc-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--esc-cool-mute); margin-bottom: 12px;
}
.voz-saldo-main {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 52px; line-height: 1; color: var(--esc-cool); margin-bottom: 8px;
}
.voz-saldo-main .unit {
  font-size: 20px; font-weight: 400; color: var(--esc-cool-dim); margin-left: 6px; font-style: italic;
}
.voz-saldo-breakdown {
  font-family: var(--esc-sans); font-size: 13.5px; color: var(--esc-cool-dim);
  line-height: 1.55; margin-bottom: 20px;
}
.voz-saldo-breakdown .beta-chip {
  display: inline-block; background: var(--esc-amber-soft); color: var(--esc-amber);
  padding: 2px 9px; border-radius: 999px;
  font-family: var(--esc-mono); font-size: 9.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; margin-left: 6px;
}

.voz-cta-row { display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 540px) { .voz-cta-row { flex-direction: row; justify-content: center; } }

.voz-btn-primary, .voz-btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--esc-sans); font-weight: 500; font-size: 14px;
  padding: 13px 26px; border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.18s;
  min-width: 200px; letter-spacing: 0.02em;
}
.voz-btn-primary {
  background: var(--esc-amber); color: var(--esc-bg);
}
.voz-btn-primary:hover:not(:disabled) {
  background: #e0b585; box-shadow: 0 6px 20px rgba(212,165,116,0.25);
  transform: translateY(-1px);
}
.voz-btn-primary:disabled { opacity: 0.45; cursor: not-allowed; background: var(--esc-cool-mute); color: var(--esc-bg); }
.voz-btn-secondary {
  background: transparent; color: var(--esc-cool); border: 1px solid var(--esc-amber-soft);
}
.voz-btn-secondary:hover { border-color: var(--esc-amber); color: var(--esc-amber); }

/* Section heads */
.voz-section-title {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 26px; color: var(--esc-cool);
  margin: 48px 0 8px; text-align: center;
}
.voz-section-sub {
  font-family: var(--esc-sans); font-size: 14px; color: var(--esc-cool-dim);
  text-align: center; margin-bottom: 28px; line-height: 1.6;
}

/* Tier grid */
.voz-tier-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px;
}
@media (min-width: 640px) { .voz-tier-grid { grid-template-columns: repeat(4, 1fr); } }

.voz-tier-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--esc-rule);
  border-radius: 14px; padding: 22px 16px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; cursor: pointer; transition: all 0.18s;
  font-family: var(--esc-sans); position: relative;
}
.voz-tier-card:hover {
  border-color: var(--esc-amber-soft);
  background: rgba(212,165,116,0.04);
  transform: translateY(-2px);
}
.voz-tier-card.popular {
  border: 1px solid var(--esc-amber); background: rgba(212,165,116,0.06);
}
.voz-tier-card.popular::before {
  content: "popular"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--esc-amber); color: var(--esc-bg);
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--esc-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
}

.voz-tier-dur {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 17px; color: var(--esc-cool);
}
.voz-tier-price {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 28px; color: var(--esc-amber);
}
.voz-tier-rate {
  font-family: var(--esc-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--esc-cool-mute);
}
.voz-tier-btn {
  margin-top: 10px; background: transparent; color: var(--esc-cool);
  border: 1px solid var(--esc-amber-soft);
  padding: 8px 14px; border-radius: 8px;
  font-family: var(--esc-sans); font-size: 12px; font-weight: 500;
  cursor: pointer; width: 100%; transition: all 0.18s;
  letter-spacing: 0.04em;
}
.voz-tier-btn:hover:not(:disabled) { background: var(--esc-amber); color: var(--esc-bg); border-color: var(--esc-amber); }
.voz-tier-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Modal */
.voz-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,26,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 200; align-items: center; justify-content: center; padding: 20px;
}
.voz-modal-overlay.show { display: flex; }
.voz-modal-card {
  background: var(--esc-bg2); border: 1px solid var(--esc-rule);
  border-radius: 16px; max-width: 520px; width: 100%;
  padding: 28px 26px; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 80px rgba(212,165,116,0.08) inset;
}
.voz-modal-card h2 {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 22px; color: var(--esc-cool); margin: 0 0 14px;
}
.voz-modal-card p {
  font-family: var(--esc-sans); color: var(--esc-cool-dim);
  line-height: 1.65; margin: 0 0 14px; font-size: 14px;
}
.voz-modal-card ul {
  padding-left: 20px; margin: 0 0 16px;
  color: var(--esc-cool-dim); font-family: var(--esc-sans); font-size: 13.5px; line-height: 1.6;
}
.voz-modal-card ul li { margin-bottom: 8px; }
.voz-modal-card ul li strong { color: var(--esc-cool); font-weight: 500; }
.voz-modal-card a { color: var(--esc-amber); text-decoration: underline; text-underline-offset: 2px; }

.voz-modal-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 18px; flex-wrap: wrap;
}
.voz-modal-actions .voz-btn-primary, .voz-modal-actions .voz-btn-secondary {
  min-width: auto; padding: 10px 18px; font-size: 13px;
}

/* Histórico */
.voz-historico { margin-top: 24px; }
.voz-hist-item {
  background: rgba(255,255,255,0.02); border: 1px solid var(--esc-rule);
  border-radius: 10px; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-family: var(--esc-sans); font-size: 13px;
}
.voz-hist-tipo { font-weight: 500; color: var(--esc-cool); font-family: var(--esc-serif); font-style: italic; }
.voz-hist-data { color: var(--esc-cool-mute); font-family: var(--esc-mono); font-size: 11px; letter-spacing: 0.08em; }
.voz-hist-empty {
  text-align: center; color: var(--esc-cool-mute); font-style: italic;
  font-family: var(--esc-serif); padding: 24px;
}

/* Msg banner */
.voz-msg {
  padding: 12px 16px; border-radius: 10px; margin-bottom: 20px;
  font-family: var(--esc-sans); font-size: 13.5px; display: none;
  border: 1px solid var(--esc-rule);
}
.voz-msg.show { display: block; }
.voz-msg.success { background: rgba(170,200,170,0.08); color: #b5d4b5; border-color: rgba(170,200,170,0.22); }
.voz-msg.error   { background: rgba(220,120,120,0.10); color: #e8a8a8; border-color: rgba(220,120,120,0.28); }
.voz-msg.info    { background: rgba(212,165,116,0.08); color: var(--esc-amber); border-color: var(--esc-amber-soft); }

/* Sessão ao vivo — overlay fullscreen */
.voz-live-overlay {
  display: none; position: fixed; inset: 0;
  background: radial-gradient(ellipse at top, var(--esc-bg2) 0%, var(--esc-bg) 40%, var(--esc-void) 100%);
  z-index: 250; color: var(--esc-cool);
  flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; text-align: center;
}
.voz-live-overlay.show { display: flex; }

.voz-live-tipo {
  font-family: var(--esc-mono); text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--esc-amber); font-size: 10.5px; font-weight: 500; margin-bottom: 10px;
}
.voz-live-status {
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 26px; color: var(--esc-cool); margin-bottom: 6px; min-height: 32px;
}
.voz-live-substatus {
  font-family: var(--esc-sans); color: var(--esc-cool-dim);
  font-size: 14px; margin-bottom: 32px;
}

.voz-pulse {
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(212,165,116,0.32) 0%, rgba(212,165,116,0.06) 60%, rgba(212,165,116,0) 80%);
  display: flex; align-items: center; justify-content: center;
  margin: 16px 0 32px; position: relative; transition: transform 0.25s;
}
.voz-pulse::before, .voz-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--esc-amber); opacity: 0;
}
.voz-pulse.speaking::before { animation: voz-ring 1.4s ease-out infinite; }
.voz-pulse.speaking::after  { animation: voz-ring 1.4s ease-out infinite; animation-delay: 0.7s; }
@keyframes voz-ring {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.voz-pulse-core {
  width: 98px; height: 98px; border-radius: 50%;
  background: var(--esc-amber); color: var(--esc-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--esc-serif); font-style: italic; font-weight: 500;
  font-size: 38px;
  box-shadow: 0 8px 32px rgba(212,165,116,0.45), 0 0 60px rgba(212,165,116,0.2);
}

.voz-live-timer {
  font-family: var(--esc-mono); font-size: 40px; font-weight: 400;
  letter-spacing: 0.08em; color: var(--esc-cool); margin-bottom: 6px;
}
.voz-live-saldo-info {
  font-family: var(--esc-sans); color: var(--esc-cool-mute);
  font-size: 12.5px; margin-bottom: 32px;
}

.voz-live-btn-end {
  background: transparent; color: #e8a8a8;
  border: 1px solid rgba(220,120,120,0.38);
  padding: 14px 36px; border-radius: 12px;
  font-family: var(--esc-sans); font-weight: 500; font-size: 14px;
  cursor: pointer; letter-spacing: 0.04em; transition: all 0.18s;
}
.voz-live-btn-end:hover { background: rgba(220,120,120,0.12); border-color: rgba(220,120,120,0.6); }
.voz-live-btn-end:disabled { opacity: 0.5; cursor: not-allowed; }

.voz-live-hint {
  margin-top: 24px; font-family: var(--esc-sans); font-size: 12px;
  color: var(--esc-cool-mute); max-width: 400px; line-height: 1.6;
}

@media (max-width: 640px) {
  .voz-wrap { padding: 28px 16px 56px; }
  .voz-saldo-main { font-size: 42px; }
  .voz-section-title { font-size: 22px; }
  .voz-tier-card { padding: 18px 12px 14px; }
  .voz-tier-price { font-size: 24px; }
  .voz-pulse { width: 160px; height: 160px; }
  .voz-pulse-core { width: 82px; height: 82px; font-size: 32px; }
  .voz-live-timer { font-size: 32px; }
}
