/* =====================================================
   LOTUS — Sistema de diseño compartido
   Mobile-first · Negro profundo + dorado
   ===================================================== */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-elev: #161616;
  --ink: #f5f1e8;
  --ink-soft: #b8b2a5;
  --ink-dim: #6b6658;
  --gold: #c9a35c;
  --gold-soft: #a88647;
  --gold-warm: #dbb46c;
  --gold-glow: rgba(201, 163, 92, 0.35);
  --line: rgba(201, 163, 92, 0.18);
  --line-soft: rgba(255,255,255,0.06);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 220ms;
  --t-slow: 650ms;

  --pad-x: 24px;
  --pad-x-lg: 64px;

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ UTIL ============ */
.container { padding-inline: var(--pad-x); max-width: 1280px; margin-inline: auto; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.h-1 { font-size: clamp(2.4rem, 9vw, 5.5rem); }
.h-2 { font-size: clamp(1.9rem, 6vw, 3.6rem); }
.h-3 { font-size: clamp(1.4rem, 4vw, 2.2rem); }

.divider-gold {
  width: 40px; height: 1px;
  background: var(--gold);
  margin: 28px auto;
  opacity: 0.7;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--t-fast) var(--ease), backdrop-filter var(--t-fast), padding var(--t-fast);
}
.nav.scrolled {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
}
.brand img {
  height: 42px;
  width: auto;
  display: block;
  transition: height var(--t-fast);
}
.nav.scrolled .brand img { height: 36px; }
.nav-links { display: none; }
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

.nav-right { display: flex; gap: 10px; align-items: center; }

.nav-burger {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 14px; height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content:''; position: absolute; left: 0; width: 14px; height: 1px;
  background: var(--ink);
  transition: transform var(--t-fast);
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 100px var(--pad-x) 40px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 500ms var(--ease);
  opacity: 0;
  pointer-events: none;
}
.drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.drawer a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color var(--t-fast);
}
.drawer a:hover,
.drawer a.active { color: var(--gold); }
.drawer-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 24px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all var(--t-fast) var(--ease);
  min-height: 52px;
  font-weight: 500;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-primary:hover { background: var(--gold-warm); transform: translateY(-2px); box-shadow: 0 10px 30px var(--gold-glow); }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn .arr {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .arr { transform: translateX(4px); }

/* ============ SECTION BASE ============ */
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 18px; }

/* ============ PAGE HERO (para páginas internas) ============ */
.page-hero {
  padding: 160px var(--pad-x) 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,163,92,0.18), transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(201,163,92,0.08), transparent 50%);
  z-index: -1;
}
.page-hero .eyebrow { display: block; margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  line-height: 1;
  max-width: 14ch;
  margin: 0 auto;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero .lead {
  margin: 24px auto 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 15px;
}
.breadcrumb {
  position: absolute; top: 100px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; color: var(--ink-dim);
  text-transform: uppercase;
}
.breadcrumb a { transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: var(--gold); }

/* ============ FOOTER ============ */
footer {
  padding: 64px var(--pad-x) 32px;
  background: #000;
  border-top: 1px solid var(--line-soft);
}
.foot-grid {
  display: grid; gap: 40px;
  max-width: 1280px; margin: 0 auto;
}
.foot-brand img { height: 56px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 13px; color: var(--ink-soft); max-width: 36ch; }
.foot-col h5 {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 13px; color: var(--ink-soft); transition: color var(--t-fast); }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  max-width: 1280px; margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.15em; color: var(--ink-dim);
  text-transform: uppercase;
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }
.reveal-delay-3 { transition-delay: 360ms; }

/* ============ CANDLES (usadas por varias páginas) ============ */
.candle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px 4px rgba(201,163,92,0.6);
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ============ DESKTOP ============ */
@media (min-width: 768px) {
  :root { --pad-x: 48px; }
  .nav-burger { display: none; }
  .nav-links {
    display: flex; gap: 28px;
    font-size: 12px; letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .nav-links a {
    color: var(--ink-soft);
    transition: color var(--t-fast);
    position: relative;
    padding: 6px 0;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a.active { color: var(--gold); }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width var(--t-fast);
  }
  .nav-links a:hover::after,
  .nav-links a.active::after { width: 100%; }

  section { padding: 140px 0; }

  .page-hero { padding-top: 200px; padding-bottom: 120px; }

  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  :root { --pad-x: 64px; }
}
