/* ============================================================
   LUNABB — Design System
   Conceito: "Dossiê Confidencial" — preto quente + dourado
   envelhecido, tipografia editorial, selo de cera como
   elemento de assinatura.
   ============================================================ */

:root {
  /* Cor */
  --bg: #0b0b0c;
  --bg-elevated: #16151a;
  --bg-elevated-2: #1e1c22;
  --ink: #f2ecdd;
  --ink-muted: #a79f8e;
  --ink-faint: #6f695d;
  --gold: #b8925a;
  --gold-bright: #e4c077;
  --gold-dim: rgba(184, 146, 90, 0.18);
  --oxblood: #7a3b3b;

  /* Tipografia */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Layout */
  --max-w: 1080px;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Textura de fundo sutil — grão + vinheta, nunca chapado */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184, 146, 90, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(184, 146, 90, 0.05), transparent 60%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- Utilitários tipográficos ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Selo de cera (elemento de assinatura) ---------- */

.wax-seal {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 55%, #8a6a3d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.5),
    inset 0 2px 3px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.wax-seal svg {
  width: 100%;
  height: 100%;
}

/* ---------- Linha de redação (divisor tipo "documento confidencial") ---------- */

.redact-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2.5rem 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.redact-divider::before,
.redact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1.05rem 2.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 70%);
  color: #17130a;
  box-shadow: 0 8px 24px rgba(184, 146, 90, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 146, 90, 0.4);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--ink);
}

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

.btn-block {
  width: 100%;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
