/* ==========================================================================
   ARCHIVO SAN GIOVANNI — CATHEDRAL OBSIDIAN, CANDLELIGHT AMBER & BYZANTINE GOLD
   Luxury Sacred Editorial Design System (Pure CSS, Mobile-First)
   ========================================================================== */

:root {
  --bg-void: #050811;
  --surface-low: #080C17;
  --bg-card: rgba(11, 16, 29, 0.85);
  --bg-card-elevated: rgba(16, 23, 41, 0.92);

  --gold-main: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-deep: #B38728;
  --gold-rich: #C59B27;
  --on-gold: #140F05;
  --gold-container: rgba(212, 175, 55, 0.10);
  --gold-glow: rgba(212, 175, 55, 0.36);

  --text-primary: #F9F6EE;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;

  --border-subtle: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.44);

  --crimson: #8E1B24;
  --crimson-bright: #C43C44;
  --on-crimson: #FFF5F5;

  --emerald: #1F7A4D;
  --emerald-soft: #86EFAC;

  --parchment-bg: #F2E7CF;
  --parchment-edge: #D9C49B;
  --parchment-ink: #231910;

  --font-display: 'Cinzel', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

@property --rim-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.56;
  min-height: 100vh;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Luz de velas no topo + grão analógico sutil para zero aparência plástica */
body.sanctuary-obsidian::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 92% 48% at 50% 24%, rgba(212, 175, 55, 0.12), rgba(26, 21, 8, 0.45) 44%, transparent 76%),
    radial-gradient(circle at 82% 84%, rgba(212, 175, 55, 0.06), transparent 55%),
    radial-gradient(circle at 18% 92%, rgba(26, 21, 8, 0.35), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

body.sanctuary-obsidian::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.026;
  pointer-events: none;
  z-index: 0;
}

.svg-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  vertical-align: middle;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Shell Centralizado Editorial Mobile-First */
.sanctuary-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: transparent;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

body.has-sticky-bar .sanctuary-shell {
  padding-bottom: 72px;
}

@media (min-width: 520px) {
  .sanctuary-shell {
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(16, 14, 21, 0.72) 0%, rgba(7, 6, 9, 0.88) 100%);
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.92);
  }
}

body.somatic-immersive .sanctuary-shell {
  background: rgba(5, 4, 7, 0.94);
}

/* ==========================================================================
   MOVIMENTO COREOGRÁFICO & BOTÕES METÁLICOS SOBERANOS
   ========================================================================== */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-in { animation: fadeSlide 560ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.d1 { animation-delay: 70ms; }
.d2 { animation-delay: 145ms; }
.d3 { animation-delay: 220ms; }
.d4 { animation-delay: 295ms; }
.d5 { animation-delay: 370ms; }

.stage-viewport {
  padding: 14px 16px 16px;
  transition: opacity 170ms ease, transform 170ms ease;
}

.stage-viewport.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}

.stage-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeSlide 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-sacred-btn,
.emerald-buy-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 54px;
  padding: 15px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(245, 226, 174, 0.55);
  background: linear-gradient(180deg, #EED28C 0%, #D4AC54 54%, #AE8430 100%);
  color: var(--on-gold);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 32px -10px rgba(216, 180, 100, 0.44);
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms ease, filter 160ms ease;
}

.emerald-buy-btn {
  min-height: 58px;
  font-size: 0.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 18px 40px -10px rgba(216, 180, 100, 0.54);
}

.primary-sacred-btn:hover,
.emerald-buy-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 38px -8px rgba(216, 180, 100, 0.58);
}

.primary-sacred-btn:active,
.emerald-buy-btn:active {
  transform: scale(0.984);
}

.primary-sacred-btn:disabled,
.emerald-buy-btn:disabled {
  cursor: default;
  transform: none;
}

.btn-locked-gray,
.primary-sacred-btn.btn-locked-gray {
  background: #23202B !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #7E788C !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: none !important;
  transform: none !important;
}

.btn-locked-gray::after,
.primary-sacred-btn.btn-locked-gray::after {
  display: none !important;
  animation: none !important;
}

.primary-sacred-btn::after,
.emerald-buy-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translateX(-150%) skewX(-18deg);
  animation: ctaSheen 3.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaSheen {
  0% { transform: translateX(-150%) skewX(-18deg); }
  55%, 100% { transform: translateX(300%) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .anim-in,
  .primary-sacred-btn::after,
  .emerald-buy-btn::after,
  .shimmer-bar::after,
  .wax-seal-btn,
  .candle-flame-outer,
  .candle-flame-inner,
  .astrolabe-ring-outer,
  .astrolabe-ring-inner,
  .geom-ring { animation: none !important; }
}

/* ==========================================================================
   HEADER LITÚRGICO + CONSTELAÇÃO DOS 9 SELOS + DOSSIER FOLIO #SG-0419
   ========================================================================== */
.top-liturgy-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 6, 9, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 11px 16px 12px;
}

.top-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.step-pill {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-main);
  font-variant-numeric: tabular-nums;
}

.live-faithful-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.85);
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.sound-toggle-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 9999px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.sound-toggle-btn:hover {
  border-color: var(--gold-main);
  background: var(--gold-container);
}

.sound-toggle-btn.muted {
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

/* 9-Seal Liturgical Constellation */
.seal-constellation {
  position: relative;
  width: 100%;
  height: 16px;
  display: flex;
  align-items: center;
}

.constellation-track {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
  background: rgba(216, 180, 100, 0.14);
  overflow: hidden;
}

.constellation-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  box-shadow: 0 0 8px rgba(216, 180, 100, 0.5);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.constellation-nodes {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.constellation-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 1.5px solid rgba(216, 180, 100, 0.28);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.constellation-node.done {
  background: var(--gold-main);
  border-color: var(--gold-light);
}

.constellation-node.active {
  width: 12px;
  height: 12px;
  background: var(--gold-light);
  border-color: var(--gold-main);
  box-shadow: 0 0 0 4px rgba(216, 180, 100, 0.18), 0 0 12px rgba(216, 180, 100, 0.65);
  transform: scale(1.06);
}

/* Living Folio Forge Strip */
.folio-forge-slot {
  padding: 0 16px;
}

.folio-forge-card {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(22, 19, 28, 0.92), rgba(16, 14, 21, 0.96));
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.12), 0 12px 26px -14px rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.folio-forge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.folio-code-tag {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.folio-readiness {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.folio-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.folio-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color 280ms ease, color 280ms ease, background 280ms ease;
}

.folio-chip.active {
  background: var(--gold-container);
  border-color: var(--border-strong);
  color: var(--gold-light);
}

.folio-chip.alert {
  background: rgba(142, 27, 36, 0.24);
  border-color: rgba(196, 60, 68, 0.55);
  color: #FCA5A5;
}

.folio-chip.just-updated {
  animation: chipForgePulse 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chipForgePulse {
  0% { transform: scale(0.92); box-shadow: 0 0 0 0 rgba(216, 180, 100, 0.6); }
  50% { transform: scale(1.06); box-shadow: 0 0 14px 2px rgba(216, 180, 100, 0.35); }
  100% { transform: scale(1); box-shadow: none; }
}

.forge-toast {
  position: fixed;
  top: 66px;
  left: 50%;
  transform: translate(-50%, -26px);
  opacity: 0;
  pointer-events: none;
  z-index: 65;
  background: rgba(16, 14, 21, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
  white-space: nowrap;
}

.forge-toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ==========================================================================
   TIPOGRAFIA EDITORIAL SACRA
   ========================================================================== */
.editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-main);
  text-transform: uppercase;
}

.editorial-eyebrow .eyebrow-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-main));
  flex-shrink: 0;
}

.editorial-eyebrow.centered {
  justify-content: center;
  width: 100%;
}

.editorial-eyebrow.centered .eyebrow-line-right {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-main), transparent);
  flex-shrink: 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  color: var(--gold-main);
  text-transform: uppercase;
  font-weight: 700;
}

.stage-headline {
  font-family: var(--font-serif);
  font-size: 1.72rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--text-primary);
  text-wrap: balance;
}

.stage-headline.centered { text-align: center; }

.gold-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--gold-light);
}

.stage-subheadline {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.54;
  text-wrap: pretty;
}

.stage-subheadline.centered { text-align: center; }

/* ==========================================================================
   BARRAS DE ADMIN, BOLSA DE 85% & RETOMADA
   ========================================================================== */
.dev-admin-bar {
  background: var(--surface-low);
  border-bottom: 1px solid var(--border-strong);
  padding: 8px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.72rem;
  color: var(--gold-main);
}

.dev-admin-bar select,
.dev-admin-bar button {
  background: var(--bg-card-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 0.72rem;
  cursor: pointer;
}

.beca-urgent-bar {
  margin: 10px 16px 0;
  background: rgba(142, 27, 36, 0.22);
  border: 1px solid rgba(196, 60, 68, 0.45);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}

.beca-timer-chip {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  background: var(--bg-void);
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.resume-banner {
  margin: 10px 16px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.resume-banner button {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--gold-main);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   ETAPA 1: PORTAL DOCUMENTAL 4:5 + PROVAS VERIFICADAS + SWIPE DOURADO
   ========================================================================== */
.time-portal-chip {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  background: var(--gold-container);
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  padding: 5px 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero-video-portal,
.hero-video-portal.mirror-tall {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 455px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-low);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.22), 0 26px 52px -18px rgba(0, 0, 0, 0.94);
}

.hero-video-portal video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}

.hero-video-Portal-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 9, 0.42) 0%, rgba(7, 6, 9, 0.05) 40%, rgba(7, 6, 9, 0.92) 100%);
  pointer-events: none;
}

.hero-top-pills {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 3;
}

.hero-live-chip {
  background: rgba(7, 6, 9, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-live-chip .cam-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson-bright);
  animation: pulseDot 1.6s infinite;
}

.cam-badge-pill {
  padding: 5px 10px;
  border-radius: 9999px;
  background: rgba(7, 6, 9, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--gold-main);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-portal-caption-inside {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  background: rgba(7, 6, 9, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 180, 100, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
}

.hero-portal-caption-inside p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.32;
  color: var(--gold-light);
}

.sacred-emblem-hero {
  width: 72px;
  height: 72px;
  margin: 4px auto;
  border-radius: 50%;
  background: var(--gold-container);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-mini-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.16), 0 22px 44px -18px rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.proof-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--gold-main);
}

.proof-mini-title {
  font-family: var(--font-display);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-main);
  font-weight: 700;
}

.proof-mini-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.46;
  padding-left: 11px;
  border-left: 2px solid rgba(216, 180, 100, 0.45);
}

.name-capture-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.name-capture-box label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.sacred-input {
  width: 100%;
  min-height: 50px;
  background: var(--surface-low);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.sacred-input::placeholder { color: var(--text-muted); }

.sacred-input:focus {
  border-color: var(--gold-main);
  box-shadow: 0 0 0 3px rgba(216, 180, 100, 0.18);
}

.urgent-slots-strip {
  background: rgba(142, 27, 36, 0.18);
  border: 1px solid rgba(196, 60, 68, 0.36);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-primary);
  text-align: center;
}

.urgent-slots-strip strong { color: #FCA5A5; font-variant-numeric: tabular-nums; }

/* Swipe Tactile */
.swipe-container {
  position: relative;
  width: 100%;
  height: 60px;
  background: var(--bg-card-elevated);
  border: 1px solid rgba(216, 180, 100, 0.48);
  border-radius: 9999px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.2), 0 18px 36px -12px rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.shimmer-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 44%;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 100, 0.2), transparent);
  animation: shimmerSweep 2.9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(240%); }
}

.swipe-fill-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, rgba(216, 180, 100, 0.26), rgba(216, 180, 100, 0.56));
  pointer-events: none;
}

.swipe-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 46px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  pointer-events: none;
}

.swipe-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 50px;
  height: 50px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #EED28C 0%, #D4AC54 55%, #AE8430 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 18px rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-gold);
  cursor: grab;
  z-index: 3;
}

.swipe-thumb:active { cursor: grabbing; }

.quick-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  background: var(--surface-low);
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  color: var(--gold-main);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.quick-open-link:hover {
  background: var(--gold-container);
  border-color: var(--gold-main);
}

.trust-micro-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ETAPA 2: VSL CINEMATOGRÁFICO EDITORIAL
   ========================================================================== */
.sound-alert-pill {
  background: var(--gold-container);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.vsl-cinema-halo {
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(216, 180, 100, 0.58), rgba(216, 180, 100, 0.14) 55%, rgba(216, 180, 100, 0.45));
  box-shadow: 0 26px 56px -16px rgba(0, 0, 0, 0.92);
}

.vsl-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 465px;
  border-radius: 15px;
  overflow: hidden;
  background: #050408;
}

.vsl-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 9, 0.52) 0%, transparent 28%, rgba(7, 6, 9, 0.25) 60%, rgba(7, 6, 9, 0.94) 100%);
  pointer-events: none;
}

.vsl-top-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.vsl-doc-badge,
.vsl-timecode-pill {
  background: rgba(7, 6, 9, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.vsl-doc-badge { color: var(--gold-main); }
.vsl-timecode-pill { color: var(--text-primary); }

.vturb-unmute-overlay {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(7, 6, 9, 0.48);
  backdrop-filter: blur(3px);
  cursor: pointer;
  padding: 18px;
  text-align: center;
}

.vsl-play-circle {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #EED28C 0%, #D4AC54 55%, #AE8430 100%);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 14px 34px rgba(216, 180, 100, 0.48);
  animation: vslUnmutePulse 1.8s ease-in-out infinite;
}

@keyframes vslUnmutePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 0 0 0 rgba(216, 180, 100, 0.55), 0 14px 34px rgba(216, 180, 100, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 0 0 16px rgba(216, 180, 100, 0), 0 16px 38px rgba(216, 180, 100, 0.62);
  }
}

.vsl-unmute-pill-label {
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(7, 6, 9, 0.92);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.vsl-captions-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 10px 10px;
  pointer-events: none;
}

.vsl-caption-pill {
  align-self: center;
  max-width: 96%;
  background: rgba(7, 6, 9, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 180, 100, 0.28);
  border-radius: 12px;
  padding: 9px 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.52);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.vsl-caption-pill.cap-swap {
  animation: vslCapIn 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes vslCapIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.vsl-caption-text {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #FAF6EC;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.vsl-caption-text strong {
  color: var(--gold-light);
  font-weight: 800;
}

.vsl-smart-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  overflow: hidden;
}

.vsl-smart-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transition: width 220ms linear;
}

.vsl-inline-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin: 14px 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(216, 180, 100, 0.08);
  border: 1px solid rgba(216, 180, 100, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
}

.vsl-unlock-meter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vsl-status-note {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.belief-break-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.18), 0 24px 48px -18px rgba(0, 0, 0, 0.9);
  transition: opacity 460ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.belief-break-card.unlocked-glow {
  border-color: var(--gold-main);
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.3), 0 24px 50px -16px rgba(216, 180, 100, 0.18);
}

.not-needed-list {
  list-style: none;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.not-needed-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.icon-no {
  color: var(--crimson-bright);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   ETAPA 3: COMANDO DE INTERFERÊNCIA + OSCILOSCÓPIO EM TEMPO REAL
   ========================================================================== */
.interference-gauge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.18), 0 24px 48px -18px rgba(0, 0, 0, 0.9);
  transition: border-color 300ms ease;
}

.interference-gauge-card[data-sev="high"],
.interference-gauge-card[data-sev="crit"] {
  border-color: rgba(196, 60, 68, 0.65);
}

.gauge-top-flex {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gauge-ring-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
}

.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--bg-card-elevated); stroke-width: 7.5; }
.gauge-arc {
  fill: none;
  stroke: var(--gold-main);
  stroke-width: 7.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 450ms cubic-bezier(0.22, 1, 0.36, 1), stroke 300ms ease;
}

.interference-gauge-card[data-sev="warn"] .gauge-arc { stroke: #F59E0B; }
.interference-gauge-card[data-sev="high"] .gauge-arc { stroke: #EA580C; }
.interference-gauge-card[data-sev="crit"] .gauge-arc { stroke: #EF4444; }

.gauge-center-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.gauge-kicker {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.gauge-status-label {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 2px;
}

.interference-gauge-card[data-sev="crit"] .gauge-status-label { color: #FCA5A5; }

.oscilloscope-box {
  background: #08070B;
  border: 1px solid rgba(216, 180, 100, 0.16);
  border-radius: 10px;
  padding: 6px 8px;
}

#interference-wave-canvas {
  display: block;
  width: 100%;
  height: 46px;
}

.signals-check-box { display: flex; flex-direction: column; gap: 9px; }

.signal-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 160ms ease;
}

.signal-item:active { transform: scale(0.99); }

.signal-item.checked {
  background: rgba(142, 27, 36, 0.18);
  border-color: rgba(196, 60, 68, 0.65);
}

.signal-box-ui {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: transparent;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.signal-item.checked .signal-box-ui {
  background: var(--crimson);
  border-color: #FCA5A5;
  color: var(--on-crimson);
}

.signal-text { font-size: 0.9rem; color: var(--text-primary); line-height: 1.44; }

.signal-diagnosis-banner {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.signal-diagnosis-banner.alert-active {
  background: rgba(142, 27, 36, 0.24);
  border-color: rgba(196, 60, 68, 0.72);
  color: #FEE2E2;
  font-weight: 600;
}

.enemy-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 390px) { .enemy-grid { grid-template-columns: 1fr 1fr; } }

.enemy-card {
  background: var(--surface-low);
  border: 1px solid rgba(196, 60, 68, 0.28);
  border-radius: 12px;
  padding: 13px;
}

.enemy-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FCA5A5;
  margin-bottom: 8px;
}

.enemy-card h3 { font-size: 0.78rem; font-weight: 700; color: #FCA5A5; line-height: 1.3; }
.enemy-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.enemy-card li { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }

.hero-mechanism-card {
  position: relative;
  background: linear-gradient(155deg, rgba(216, 180, 100, 0.14), rgba(22, 19, 28, 0.98) 56%);
  border: 1px solid var(--gold-main);
  border-radius: 16px;
  padding: 20px 16px 16px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.28), 0 22px 48px -18px rgba(0, 0, 0, 0.9);
}

.hero-floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #EED28C 0%, #D4AC54 100%);
  color: var(--on-gold);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 10px;
}

.hero-mechanism-card h3 { font-family: var(--font-serif); font-size: 1.38rem; color: var(--gold-light); margin-bottom: 4px; }
.hero-sub { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 11px; }
.hero-mechanism-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-mechanism-card li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--text-primary); }
.hero-mechanism-card li .hero-pt-ico { color: var(--gold-main); margin-top: 2px; }

.sacred-quote-strip {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.16rem;
  color: var(--gold-light);
  text-align: center;
  padding: 4px 10px;
}

/* ==========================================================================
   ETAPA 4: CANAL SACRISTIA + CALIBRAÇÃO ASTROLÁBIO + PLAYER 22s 432Hz
   ========================================================================== */
.whatsapp-sacred-window {
  background: var(--surface-low);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.9);
}

.wa-header {
  background: var(--bg-card-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.wa-avatar-wrap { position: relative; flex-shrink: 0; }
.wa-avatar-wrap img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-main);
  display: block;
}

.wa-online-dot {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg-card-elevated);
}

.wa-header-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.wa-header-info p { font-size: 0.74rem; color: var(--gold-main); }

.wa-chat-feed {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-system-note {
  align-self: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 9999px;
}

.wa-msg-in {
  align-self: flex-start;
  max-width: 90%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 13px;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.48;
  animation: fadeSlide 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-msg-out {
  align-self: flex-end;
  max-width: 86%;
  background: var(--gold-container);
  border: 1px solid var(--border-strong);
  border-radius: 14px 4px 14px 14px;
  padding: 10px 13px;
  font-size: 0.88rem;
  color: var(--gold-light);
  animation: fadeSlide 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-msg-photo { width: 100%; border-radius: 8px; display: block; margin-bottom: 6px; border: 1px solid var(--border-subtle); }
.wa-photo-caption { font-size: 0.76rem; color: var(--gold-main); display: block; }
.wa-msg-time { display: block; text-align: right; font-size: 0.66rem; color: var(--text-muted); margin-top: 4px; }

.wa-typing { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-muted); padding: 4px 8px; }
.typing-dots span { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-main); animation: blinkDot 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blinkDot { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.wa-quick-options { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.wa-option-btn {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 160ms ease, background 160ms ease;
}

.wa-option-btn:hover { background: var(--gold-container); border-color: var(--gold-main); }

/* Astrolabe Calibration Sequence (Step 4) */
.calibration-card {
  background: linear-gradient(155deg, rgba(216, 180, 100, 0.1), rgba(16, 14, 21, 0.96));
  border: 1px solid var(--gold-main);
  border-radius: 14px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  animation: fadeSlide 320ms ease;
}

.astrolabe-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astrolabe-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(216, 180, 100, 0.68);
  animation: spinSlow 6s linear infinite;
}

.astrolabe-ring-inner {
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spinReverse 2.4s linear infinite;
}

.astrolabe-core {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

.calibration-badge {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-main);
}

.calibration-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calibration-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.gift-scroll-box {
  background: var(--gold-container);
  border: 1px solid var(--gold-main);
  border-radius: 12px;
  padding: 13px;
  font-size: 0.86rem;
  line-height: 1.48;
}

.gift-scroll-box h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wa-voice-bubble {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-voice-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(180deg, #EED28C 0%, #D4AC54 100%);
  color: var(--on-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.wa-voice-wave { flex: 1; height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.wa-voice-wave i { display: block; width: 2.5px; background: var(--gold-main); opacity: 0.6; border-radius: 2px; }
.wa-voice-bubble.playing .wa-voice-wave i { animation: waveBounce 0.7s infinite alternate; opacity: 1; }
@keyframes waveBounce { from { transform: scaleY(0.45); } to { transform: scaleY(1.25); } }
.wa-voice-dur { font-size: 0.74rem; color: var(--gold-main); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Player 22s Somatic Sanctuary */
.somatic-sanctuary-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-main);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.22), 0 22px 46px -18px rgba(0, 0, 0, 0.9);
}

.somatic-sanctuary-card.locked-state { border-color: rgba(196, 60, 68, 0.72); }
.somatic-sanctuary-card.lock-shake { animation: lockShake 460ms ease; }
@keyframes lockShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  45% { transform: translateX(6px); }
  70% { transform: translateX(-4px); }
}

.somatic-portal-media { position: relative; height: 164px; overflow: hidden; background: var(--bg-void); }
.somatic-video-bg { width: 100%; height: 100%; object-fit: cover; opacity: 0.52; display: block; }
.somatic-portal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 9, 0.2) 0%, rgba(7, 6, 9, 0.65) 55%, #070609 100%);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.somatic-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.somatic-title { font-family: var(--font-display); font-size: 0.86rem; font-weight: 700; color: var(--gold-main); letter-spacing: 0.06em; }
.somatic-sub { font-size: 0.76rem; color: var(--text-muted); }
.somatic-countdown-big { font-size: 0.94rem; font-weight: 700; color: var(--gold-light); font-variant-numeric: tabular-nums; }

.somatic-visualizer { height: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; }
.somatic-bar { flex: 1; height: 20%; background: var(--gold-main); border-radius: 9999px; transition: height 75ms ease; }
.somatic-progress-bg { height: 4px; background: var(--bg-card-elevated); border-radius: 9999px; overflow: hidden; }
.somatic-progress-fill { height: 100%; width: 0%; background: var(--gold-main); }

.somatic-body-pad { padding: 14px; display: flex; flex-direction: column; gap: 11px; }

.compases-mini-rail { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.compas-pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.compas-pill.active { background: var(--gold-container); border-color: var(--gold-main); color: var(--gold-light); }
.compas-pill.cut-off { background: rgba(142, 27, 36, 0.22); border-color: rgba(196, 60, 68, 0.65); color: #FCA5A5; }

/* Sacred Geometry Breath Halo */
.somatic-breath-halo {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 4px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geom-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 100, 0.28);
  pointer-events: none;
}

.geom-ring.r1 { inset: 0; border-style: dashed; }
.geom-ring.r2 { inset: 10px; border-color: rgba(216, 180, 100, 0.42); }
.geom-ring.r3 { inset: 20px; border-color: rgba(245, 226, 174, 0.3); }

.somatic-breath-halo.breathing .geom-ring.r1 { animation: spinSlow 14s linear infinite; border-color: rgba(216, 180, 100, 0.55); }
.somatic-breath-halo.breathing .geom-ring.r2 { animation: spinReverse 9s linear infinite; }

.somatic-breath-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-main);
  background: radial-gradient(circle, rgba(216, 180, 100, 0.16), transparent 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
}

.somatic-breath-ring.breathing { animation: breatheRing 4s ease-in-out infinite; }
@keyframes breatheRing {
  0%, 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(216, 180, 100, 0.25); }
  50% { transform: scale(1.08); box-shadow: 0 0 28px 6px rgba(216, 180, 100, 0.22); }
}

.breath-ring-inner { font-size: 0.65rem; font-weight: 700; color: var(--gold-light); letter-spacing: 0.04em; line-height: 1.25; }
.somatic-cue-box { text-align: center; font-size: 0.85rem; color: var(--gold-light); min-height: 22px; }
.somatic-timer-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.somatic-timer-lock { display: inline-flex; align-items: center; gap: 4px; }

.locked-overlay-box {
  background: rgba(142, 27, 36, 0.22);
  border: 1px solid rgba(196, 60, 68, 0.62);
  border-radius: 12px;
  padding: 13px;
  text-align: center;
}
.locked-overlay-box h4 {
  font-size: 0.86rem;
  color: #FCA5A5;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.locked-overlay-box p { font-size: 0.8rem; color: var(--text-secondary); }

/* ==========================================================================
   ETAPA 5: PROVA FORENSE + ÁUDIO CARMEN + BOLONHA
   ========================================================================== */
.wa-screenshot-proof {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.16), 0 22px 46px -18px rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-print-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-main);
}

.verified-pill {
  background: rgba(31, 122, 77, 0.24);
  border: 1px solid rgba(134, 239, 172, 0.45);
  color: var(--emerald-soft);
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bank-push-banner {
  background: rgba(31, 122, 77, 0.16);
  border: 1px solid rgba(134, 239, 172, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  color: #DCFCE7;
  font-size: 0.84rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.wa-print-msg { font-size: 0.9rem; color: var(--text-primary); line-height: 1.5; }

.voice-note-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.16), 0 22px 46px -18px rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vn-header { display: flex; align-items: center; gap: 11px; }
.vn-header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--gold-main); flex-shrink: 0; }
.vn-header-meta { flex: 1; min-width: 0; }
.vn-header-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.vn-header h4 { font-size: 0.88rem; color: var(--text-primary); font-weight: 700; }
.vn-header span.vn-time { font-size: 0.72rem; color: var(--gold-main); font-weight: 700; font-variant-numeric: tabular-nums; }
.vn-header span.vn-sub { font-size: 0.76rem; color: var(--text-muted); display: block; }

.carmen-progress-track { width: 100%; height: 4px; background: var(--bg-card-elevated); border-radius: 9999px; overflow: hidden; }
.carmen-progress-fill { height: 100%; width: 0%; background: var(--gold-main); transition: width 150ms linear; }

.vn-transcript-box {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vn-line { font-size: 0.82rem; color: var(--text-muted); line-height: 1.44; transition: color 200ms ease; }
.vn-line.active { color: var(--gold-light); font-weight: 600; }

.extra-proof-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.extra-proof-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 13px; }
.extra-proof-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 0.75rem; }
.extra-proof-top strong { color: var(--text-primary); }
.extra-proof-top span { color: var(--gold-main); font-weight: 600; }
.extra-proof-card p { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.44; }

.bologna-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.stat-counter-banner {
  background: var(--gold-container);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.stat-counter-number { font-size: 1.32rem; font-weight: 800; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.chart-row { margin-bottom: 10px; }
.chart-row-top { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.chart-bar-bg { height: 7px; background: var(--bg-card-elevated); border-radius: 9999px; overflow: hidden; }
.chart-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); border-radius: 9999px; transition: width 920ms cubic-bezier(0.22, 1, 0.36, 1); }
.chart-row-desc { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; }

/* ==========================================================================
   ETAPA 6: CONTRASTE DOR VS ALÍVIO + VELA ESCULPIDA + PERGAMINHO VIVO
   ========================================================================== */
.contrast-stack { display: flex; flex-direction: column; gap: 11px; }

.pain-zone-card {
  background: rgba(142, 27, 36, 0.14);
  border: 1px solid rgba(196, 60, 68, 0.38);
  border-radius: 14px;
  padding: 15px;
}
.pain-zone-card h4 { font-size: 0.92rem; color: #FCA5A5; margin-bottom: 9px; font-weight: 700; }
.pain-zone-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.pain-zone-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; color: var(--text-secondary); }
.pain-zone-card li .contrast-ico { color: var(--crimson-bright); margin-top: 2px; }

.gain-zone-card {
  background: linear-gradient(155deg, rgba(216, 180, 100, 0.12), rgba(22, 19, 28, 0.98) 65%);
  border: 1px solid var(--gold-main);
  border-radius: 14px;
  padding: 15px;
}
.peace-future-video-wrap {
  aspect-ratio: 9 / 14;
  max-height: 420px;
  width: 100%;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #050408;
}
.peace-future-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
}
.gain-zone-card h4 { font-size: 0.94rem; color: var(--gold-light); margin-bottom: 9px; font-weight: 700; }
.gain-zone-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.gain-zone-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.85rem; color: var(--text-primary); }
.gain-zone-card li .contrast-ico { color: var(--gold-main); margin-top: 2px; }

.altar-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.altar-form-card h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold-light); }

/* Vela Votiva Esculpida com Chama Orgânica */
.sacred-candle-widget { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 10px 0 4px; }
.candle-stage-btn {
  position: relative;
  width: 82px;
  height: 112px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.candle-aura {
  position: absolute;
  top: -8px;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 226, 174, 0.38), rgba(216, 180, 100, 0.1) 50%, transparent 72%);
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}
.candle-stage-btn.lit .candle-aura { opacity: 1; }
.candle-flame-wrap { position: relative; width: 20px; height: 34px; opacity: 0.14; transform: scale(0.65); transition: opacity 320ms ease, transform 320ms ease; }
.candle-stage-btn.lit .candle-flame-wrap { opacity: 1; transform: scale(1); }
.candle-flame-outer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, #f59e0b, #fbbf24 55%, #ef4444 95%);
  border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%;
  filter: blur(0.4px);
  animation: flameFlicker 1.25s infinite alternate;
}
.candle-flame-inner {
  position: absolute;
  bottom: 3px;
  left: 5px;
  right: 5px;
  height: 17px;
  background: #fffbeb;
  border-radius: 50%;
  animation: flameFlicker 0.9s infinite alternate-reverse;
}
@keyframes flameFlicker {
  from { transform: scaleY(0.94) rotate(-2deg); }
  to { transform: scaleY(1.07) rotate(2deg); }
}
.candle-wick { width: 2px; height: 7px; background: #4a3728; }
.candle-wax-body {
  width: 34px;
  height: 44px;
  background: linear-gradient(90deg, #ede0c4, #faf5e8 48%, #d6c39c);
  border-radius: 4px 4px 2px 2px;
}
.candle-brass-base {
  width: 48px;
  height: 9px;
  background: linear-gradient(180deg, #EED28C, #9A7932);
  border-radius: 0 0 8px 8px;
}
.candle-status-text { font-size: 0.78rem; color: var(--gold-main); font-weight: 600; text-align: center; }

/* Aged Vellum Parchment */
.parchment-scroll {
  background: radial-gradient(circle at 50% 25%, #FAF3E2, var(--parchment-bg) 75%, #E7D6B4 100%);
  color: var(--parchment-ink);
  border: 1px solid var(--parchment-edge);
  border-radius: 12px;
  padding: 15px 14px;
  box-shadow: inset 0 0 28px rgba(120, 82, 32, 0.16);
  transition: box-shadow 420ms ease, transform 240ms ease;
}
.parchment-scroll.candle-blessed {
  box-shadow: inset 0 0 24px rgba(216, 180, 100, 0.45), 0 0 30px rgba(216, 180, 100, 0.25);
}
.parchment-scroll.ink-flash {
  transform: scale(1.01);
}
.parchment-scroll-header {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #7c5821;
  border-bottom: 1px solid rgba(124, 88, 33, 0.28);
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.parchment-scroll-body { font-size: 0.82rem; color: #43301c; }
.parchment-names {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--parchment-ink);
  margin: 6px 0 8px;
  min-height: 30px;
}
.parchment-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(124, 88, 33, 0.13);
  color: #5a3e13;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
}

.editorial-preframe-box {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.editorial-preframe-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-main);
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   ETAPA 7: LACRE CARMESIM 3D + CERIMÔNIA DE MONTAGEM DO FOLIO + 85% BOLSA
   ========================================================================== */
.wax-envelope-stage {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.18), 0 24px 48px -18px rgba(0, 0, 0, 0.9);
}

.linen-envelope {
  background: radial-gradient(circle at 50% 45%, #1F171A, #120E14);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.linen-envelope.envelope-glow-1 { box-shadow: inset 0 0 30px rgba(216, 180, 100, 0.14); border-color: var(--gold-main); }
.linen-envelope.envelope-glow-2 { box-shadow: inset 0 0 46px rgba(216, 180, 100, 0.3); border-color: var(--gold-light); }

.wax-seal-btn {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 9999px;
  border: 2px solid var(--gold-main);
  color: var(--on-crimson);
  background: radial-gradient(circle at 32% 30%, #B8222C 0%, #8E1B24 58%, #54090E 100%);
  box-shadow:
    inset 0 2px 8px rgba(255, 220, 220, 0.25),
    inset 0 -8px 14px rgba(0, 0, 0, 0.55),
    0 20px 40px -10px rgba(142, 27, 36, 0.6);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: sealPulse 2.5s ease-in-out infinite;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.wax-seal-btn::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 1px solid rgba(245, 226, 174, 0.45);
  pointer-events: none;
}

.wax-seal-btn:active { transform: scale(0.9); }
.wax-seal-btn.hit-shake { animation: hitShake 260ms ease-in-out; }

@keyframes hitShake {
  0%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(-5px) rotate(-2deg) scale(0.96); }
  75% { transform: translateX(5px) rotate(2deg) scale(1.02); }
}

@keyframes sealPulse {
  0%, 100% { box-shadow: inset 0 2px 8px rgba(255, 220, 220, 0.25), inset 0 -8px 14px rgba(0, 0, 0, 0.55), 0 20px 40px -10px rgba(142, 27, 36, 0.6); }
  50% { box-shadow: inset 0 2px 8px rgba(255, 220, 220, 0.35), inset 0 -8px 14px rgba(0, 0, 0, 0.55), 0 0 42px 4px rgba(216, 180, 100, 0.35); }
}

.wax-seal-center-text { display: flex; flex-direction: column; align-items: center; gap: 3px; position: relative; z-index: 2; }
.wax-seal-crest { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: var(--gold-light); white-space: nowrap; letter-spacing: 0.08em; }
.wax-seal-counter { font-size: 0.72rem; font-weight: 700; color: var(--on-crimson); font-variant-numeric: tabular-nums; }

.wax-crack-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 180ms ease; }
.wax-seal-btn.crack-1 .wax-crack-svg.c1 { opacity: 0.92; }
.wax-seal-btn.crack-2 .wax-crack-svg.c1,
.wax-seal-btn.crack-2 .wax-crack-svg.c2 { opacity: 1; }

.seal-tap-progress-track { width: 170px; height: 4px; background: var(--bg-card-elevated); border-radius: 9999px; overflow: hidden; }
.seal-tap-progress-fill { height: 100%; width: 0%; background: var(--gold-main); transition: width 180ms ease; }
.seal-instruction-text { font-size: 0.74rem; color: var(--gold-main); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Cerimônia de Montagem do Folio */
.assembly-card {
  background: var(--surface-low);
  border: 1px solid var(--gold-main);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeSlide 300ms ease;
}

.assembly-title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-main);
  text-align: center;
}

.assembly-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.assembly-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  opacity: 0.35;
  transform: translateX(-6px);
  transition: opacity 280ms ease, transform 280ms ease, color 280ms ease;
}

.assembly-row.done {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold-light);
  font-weight: 600;
}

.assembly-check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-main);
}

.assembly-row.done .assembly-check-badge {
  background: var(--gold-container);
  border-color: var(--gold-main);
}

.scholarship-revealed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  animation: fadeSlide 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reward-huge-pct {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.05;
}

.folio-personal-chip {
  background: var(--gold-container);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ETAPA 8: SANTUÁRIO PRIVADO (APP PREVIEW) + LÂMINAS ROMANAS I–V
   ========================================================================== */
.sanctuary-app-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 15px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.2), 0 24px 48px -18px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.app-preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-main);
}

.app-preview-badge { display: inline-flex; align-items: center; gap: 6px; }
.app-preview-greet { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-preview-greet small { display: block; font-size: 0.72rem; color: var(--text-muted); }
.app-preview-greet strong { font-size: 1rem; color: var(--text-primary); }
.app-preview-fam-chip {
  font-size: 0.72rem;
  background: var(--gold-container);
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.app-preview-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.app-prev-tab {
  min-height: 40px;
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.app-prev-tab.active { background: var(--gold-container); border-color: var(--gold-main); color: var(--gold-light); }

.app-prev-panel { background: var(--surface-low); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 13px; }
.prev-pill-done,
.sos-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  background: var(--gold-container);
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
  margin-bottom: 6px;
}
.app-prev-panel h4 { font-size: 0.94rem; color: var(--text-primary); margin-bottom: 4px; }
.app-prev-panel p { font-size: 0.8rem; color: var(--text-muted); }
.prev-lock-row {
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--gold-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-prev-nights { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.night-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.night-dot.ready { background: linear-gradient(180deg, #EED28C, #D4AC54); color: var(--on-gold); font-weight: 700; border-color: var(--gold-light); }
.app-prev-altar { display: flex; align-items: center; gap: 11px; }
.prev-mini-flame { color: var(--gold-main); }

.bundle-showcase-img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  display: block;
}

.deliverables-list { display: flex; flex-direction: column; gap: 9px; }
.deliverable-item {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.16), 0 18px 34px -16px rgba(0, 0, 0, 0.88);
}

.roman-medallion {
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: var(--gold-container);
  border: 1px solid rgba(216, 180, 100, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-main);
  flex-shrink: 0;
}

.deliverable-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.deliverable-item h4 { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.deliverable-right-tags { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.deliverable-value-tag { font-size: 0.74rem; font-weight: 700; color: #FCA5A5; }
.deliverable-ready-tag { font-size: 0.68rem; font-weight: 700; color: var(--gold-main); }
.deliverable-item p { font-size: 0.81rem; color: var(--text-muted); margin-top: 3px; }

/* ==========================================================================
   ETAPA 9: CUSTÓDIA PESSOAL + PREVIEW BUMPS + MONOLITO $19.90 + FAQ ACORDEÃO
   ========================================================================== */
.date-scarcity-banner {
  background: var(--gold-container);
  border: 1px solid rgba(216, 180, 100, 0.45);
  color: var(--gold-light);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

/* Showcase Desejo do App na Etapa 9 */
.step9-app-desire-showcase {
  position: relative;
  background: linear-gradient(165deg, #1B1724 0%, #100E16 100%);
  border: 1.5px solid var(--gold-main);
  border-radius: 18px;
  padding: 15px 14px;
  box-shadow:
    inset 0 1px 0 rgba(245, 226, 174, 0.28),
    0 24px 50px -16px rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.s9-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border-subtle);
}

.s9-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.s9-app-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
  border: 1px solid var(--gold-main);
}

.s9-app-brand-text small {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-main);
}

.s9-app-brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.s9-app-live-pill {
  background: rgba(31, 122, 77, 0.24);
  border: 1px solid rgba(134, 239, 172, 0.45);
  color: var(--emerald-soft);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.s9-app-hero-player {
  background: radial-gradient(circle at 85% 15%, rgba(216, 180, 100, 0.16), rgba(13, 11, 18, 0.96) 70%);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s9-player-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.s9-cover-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gold-main);
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75);
}

.s9-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s9-cover-play-badge {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 9, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.s9-player-info {
  flex: 1;
  min-width: 0;
}

.s9-freq-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-main);
  margin-bottom: 2px;
}

.s9-player-info h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.18;
}

.s9-player-info p {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.s9-wave-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s9-eq-bars {
  flex: 1;
  height: 18px;
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
}

.s9-eq-bars i {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  border-radius: 2px;
  animation: waveBounce 0.9s infinite alternate;
}

.s9-eq-bars i:nth-child(2n) { animation-delay: 0.2s; }
.s9-eq-bars i:nth-child(3n) { animation-delay: 0.45s; }

.s9-dur-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.s9-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.s9-mod-card {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s9-mod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-main);
  font-size: 0.62rem;
  font-weight: 700;
}

.s9-mod-card strong {
  font-size: 0.73rem;
  color: var(--text-primary);
  line-height: 1.22;
}

.s9-mod-card span {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.s9-app-footer-note {
  background: var(--gold-container);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.74rem;
  color: var(--gold-light);
  text-align: center;
  font-weight: 600;
}

/* Resumo Pessoal de Custódia na Etapa 9 */
.custody-summary-card {
  background: var(--surface-low);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.custody-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 10px;
}

.custody-cell small {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.custody-cell strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bumps-box { display: flex; flex-direction: column; gap: 8px; }
.bumps-box-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-main);
  margin-bottom: 2px;
}

.bump-item {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  box-shadow: inset 0 1px 0 rgba(216, 180, 100, 0.12);
}

.bump-thumb { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-strong); }
.bump-info { flex: 1; min-width: 0; }
.bump-info-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.bump-info h5 { font-size: 0.82rem; color: var(--text-primary); font-weight: 700; line-height: 1.3; }
.bump-price-tag { color: var(--gold-main); font-weight: 700; font-size: 0.8rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.bump-info p { font-size: 0.76rem; color: var(--text-muted); line-height: 1.4; }
.bump-hot-pill {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(142, 27, 36, 0.3);
  color: #FCA5A5;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}
.bump-preview-pill {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  background: var(--gold-container);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Monolito Oferta Única $19.90 */
.pricing-tiers-stack { display: flex; flex-direction: column; gap: 14px; }

.tier-card-recommended {
  position: relative;
  background: linear-gradient(165deg, #1E1A26 0%, #14111B 100%);
  border: 1.5px solid var(--gold-main);
  border-radius: 18px;
  padding: 20px 16px;
  box-shadow: inset 0 1px 0 rgba(245, 226, 174, 0.25), 0 26px 56px -18px rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@supports (background: paint(something)) or (--css: variables) {
  .tier-card-recommended::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 18px;
    padding: 1.5px;
    background: conic-gradient(from var(--rim-angle), rgba(216, 180, 100, 0.25), rgba(245, 226, 174, 0.95) 20%, rgba(216, 180, 100, 0.15) 55%, rgba(216, 180, 100, 0.25) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: rimOrbit 7s linear infinite;
  }
}

@keyframes rimOrbit { to { --rim-angle: 360deg; } }

.tier-rec-badge {
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-main);
}

.tier-card-recommended h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.15;
}

.reservation-ticket-strip {
  background: var(--gold-container);
  border: 1px dashed rgba(216, 180, 100, 0.45);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.76rem;
  color: var(--gold-light);
}

.price-row-flex { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

.price-hero-value {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.02;
  font-variant-numeric: tabular-nums;
}

.price-anchor-strike { font-size: 0.78rem; color: var(--text-muted); text-align: right; }
.price-anchor-strike s { color: #FCA5A5; }

.daily-coffee-anchor {
  background: var(--surface-low);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 0.79rem;
}

.tier-features {
  list-style: none;
  border-top: 1px solid var(--border-strong);
  padding-top: 11px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.tier-features li .feat-ico { color: var(--gold-main); margin-top: 2px; }

.payment-trust-badges { text-align: center; font-size: 0.74rem; color: var(--gold-light); font-weight: 600; }
.sub-cta-note { text-align: center; font-size: 0.74rem; color: var(--text-muted); }

.guarantee-sacred-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.guarantee-sacred-box .guarantee-ico { color: var(--gold-main); margin-bottom: 2px; }
.guarantee-sacred-box h4 { font-family: var(--font-serif); font-size: 1.24rem; font-weight: 700; color: var(--gold-light); }
.guarantee-sacred-box p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.48; }

.faq-accordion { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; }
.faq-item.open { border-color: var(--border-strong); }

.faq-trigger {
  width: 100%;
  padding: 13px 14px;
  min-height: 46px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.faq-chevron {
  color: var(--gold-main);
  flex-shrink: 0;
  transition: transform 240ms ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-body-wrap { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; }
.faq-body { padding: 0 14px 13px; font-size: 0.81rem; color: var(--text-muted); line-height: 1.48; }

.open-boats-trigger {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
  text-align: center;
}

.open-boats-trigger:hover { color: var(--gold-main); }

/* Hotmart Iframe Wrapper Integrado */
.hotmart-sanctuary-wrapper { margin-top: 14px; background: var(--bg-card); border: 1px solid var(--gold-main); border-radius: 14px; padding: 14px 10px 10px; }
.hotmart-sanctuary-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 700; color: var(--gold-main); margin-bottom: 8px; }
.hotmart-offer-pill { background: var(--gold-container); border: 1px solid var(--border-strong); color: var(--gold-light); padding: 2px 8px; border-radius: 9999px; font-size: 0.66rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hotmart-parchment-reminder { background: var(--gold-container); border-radius: 8px; padding: 8px; font-size: 0.78rem; color: var(--gold-light); text-align: center; margin-bottom: 10px; }
.hotmart-mount-card { position: relative; background: #ffffff; border-radius: 12px; min-height: 760px; padding: 0; overflow: hidden; }
.hotmart-checkout-iframe { width: 100%; height: 780px; border: 0; display: block; background: #ffffff; }
.hotmart-loading-state { padding: 36px 16px; text-align: center; color: #475569; font-size: 0.86rem; font-weight: 600; }
.hotmart-setup-box { background: var(--surface-low); color: var(--text-primary); border-radius: 10px; padding: 14px; font-size: 0.82rem; }
.hotmart-payload-pre { background: #050507; border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px; font-family: monospace; font-size: 0.72rem; color: var(--gold-light); overflow-x: auto; margin: 8px 0; white-space: pre-wrap; }

/* ==========================================================================
   STICKY BAR, SOCIAL TOAST & MODAL DOS 4 BARCOS
   ========================================================================== */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(115%);
  width: 100%;
  max-width: 460px;
  background: rgba(7, 6, 9, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--gold-main);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 55;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.86);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-buy-bar.visible { transform: translateX(-50%) translateY(0); }
.sticky-buy-price { flex-shrink: 0; line-height: 1.12; }
.sticky-buy-price small { display: block; font-size: 0.62rem; color: var(--gold-main); text-transform: uppercase; font-weight: 700; letter-spacing: 0.08em; }
.sticky-buy-price strong { font-family: var(--font-serif); font-size: 1.28rem; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.sticky-buy-cta { min-height: 46px !important; padding: 10px 12px !important; font-size: 0.74rem !important; letter-spacing: 0.02em !important; white-space: nowrap; }

.social-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  background: rgba(22, 19, 28, 0.95);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85);
  z-index: 50;
  transition: transform 260ms ease, opacity 260ms ease;
  white-space: nowrap;
}

.social-toast.visible { transform: translate(-50%, 0); opacity: 1; }

.sacred-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 7, 0.86);
  backdrop-filter: blur(8px);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.sacred-modal-backdrop.open { display: flex; }

.sacred-modal-card {
  width: 100%;
  max-width: 410px;
  background: var(--bg-card);
  border: 1px solid var(--gold-main);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.94);
  animation: fadeSlide 280ms ease;
}

.sacred-modal-card h3 { font-family: var(--font-serif); font-size: 1.48rem; color: var(--gold-light); margin: 6px 0 12px; }
.sacred-modal-story { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.54; margin-bottom: 12px; }

.modal-stay-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ==========================================================================
   HOLD-TO-BREAK SEAL (2s Tactile Ritual Button)
   ========================================================================== */
.hold-seal-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 4px;
  padding: 16px 14px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  text-align: center;
}

.hold-seal-kicker {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hold-seal-btn {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F3E5AB 0%, #C59B27 48%, #7F5B12 100%);
  border: 2px solid rgba(243, 229, 171, 0.72);
  color: var(--on-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.55), 0 12px 34px rgba(212, 175, 55, 0.36);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hold-seal-btn.holding {
  transform: scale(0.96);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.7), 0 0 36px rgba(243, 229, 171, 0.65);
  animation: sealHoldShake 0.14s linear infinite;
}

.hold-seal-btn.broken {
  transform: scale(1.08);
  box-shadow: 0 0 48px rgba(243, 229, 171, 0.9);
}

@keyframes sealHoldShake {
  0%, 100% { transform: scale(0.96) translate(0, 0); }
  25% { transform: scale(0.96) translate(-1px, 1px); }
  50% { transform: scale(0.96) translate(1px, -1px); }
  75% { transform: scale(0.96) translate(-1px, -1px); }
}

.hold-seal-ring {
  position: absolute;
  inset: -10px;
  width: 132px;
  height: 132px;
  transform: rotate(-90deg);
  pointer-events: none;
}

.hold-seal-ring-bg {
  fill: none;
  stroke: rgba(212, 175, 55, 0.18);
  stroke-width: 4;
}

.hold-seal-ring-fg {
  fill: none;
  stroke: #F3E5AB;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 377;
  filter: drop-shadow(0 0 6px rgba(243, 229, 171, 0.85));
}

.hold-seal-pct {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hold-seal-hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 280px;
}

/* ==========================================================================
   4-SECOND SPIRITUAL ATTUNEMENT SCREEN (Sacred Geometry)
   ========================================================================== */
.attunement-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 62vh;
  padding: 28px 18px;
  gap: 18px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 0 40px rgba(212, 175, 55, 0.07);
}

.sacred-geo-spinner {
  position: relative;
  width: 138px;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sacred-geo-outer {
  position: absolute;
  inset: 0;
  color: var(--gold-main);
  animation: spinSacredSlow 9s linear infinite;
}

.sacred-geo-inner {
  position: absolute;
  inset: 18px;
  color: var(--gold-light);
  animation: spinSacredReverse 6s linear infinite;
}

@keyframes spinSacredSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSacredReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.attunement-status-msg {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-primary);
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attunement-bar-track {
  width: 100%;
  max-width: 280px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.attunement-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #C59B27, #F3E5AB, #B38728);
  box-shadow: 0 0 12px rgba(243, 229, 171, 0.7);
  transition: width 160ms linear;
}

/* ==========================================================================
   HYPER-PERSONALIZED PERGAMINO DE DIAGNÓSTICO ESPIRITUAL (STEP 9)
   ========================================================================== */
.s9-diagnostic-pergamino {
  background: linear-gradient(155deg, rgba(242, 231, 207, 0.97) 0%, rgba(229, 211, 173, 0.96) 100%);
  color: #231910;
  border: 1.5px solid #B38728;
  border-radius: 16px;
  padding: 15px 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.48), inset 0 0 24px rgba(179, 135, 40, 0.16);
}

.s9-pergamino-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dashed rgba(35, 25, 16, 0.28);
  padding-bottom: 8px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B4E11;
}

.s9-pergamino-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.s9-pergamino-cell small {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B4E11;
}

.s9-pergamino-cell strong {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: #1F150B;
}
