/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* === Splash === */
.splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--obsidian);
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
  transition: opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
              visibility 0s linear 1.1s;
}
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-content {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(18px);
  animation: splash-rise 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s forwards;
}
@keyframes splash-rise {
  to { opacity: 1; transform: translateY(0); }
}
.splash-glyph {
  color: var(--whisky-gold);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0;
}
.splash-name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.85rem);
  letter-spacing: 8px;
  color: var(--champagne);
  font-weight: 500;
}
.splash-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--whisky-gold);
  opacity: 0.75;
  margin-top: 0.4rem;
}
body.splash-active { overflow: hidden; }

:root {
  --obsidian: #0a0a0a;
  --deep-smoke: #1a1208;
  --aged-oak: #4a3818;
  --burnt-gold: #8b6914;
  --dark-amber: #b8860b;
  --whisky-gold: #c9a227;
  --champagne: #e8dcc4;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--champagne);
  background: var(--obsidian);
  overflow-x: hidden;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.8rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.55), transparent);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav-logo {
  font-family: var(--serif);
  font-size: 0.95rem; letter-spacing: 5px;
  color: var(--champagne); font-weight: 500;
}

.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a {
  position: relative;
  color: var(--champagne); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 300;
  transition: color 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--whisky-gold);
  transform: translateX(-50%);
  transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-links a:hover { color: var(--whisky-gold); }
.nav-links a:hover::after { width: 100%; }

/* === Content + cena base === */
.content { position: relative; z-index: 10; }

.cena {
  position: relative;
  min-height: 100vh;
  padding: 6rem 2rem;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  overflow: hidden;
}

.cena-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cena-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.55) 100%);
  z-index: 2; pointer-events: none;
}

.cena-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.4rem; max-width: 1100px;
}

/* === Stagger reveals === */
[data-stagger] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-stagger].shown {
  opacity: 1;
  transform: translateY(0);
}

/* === Typography === */
.label {
  font-size: 0.78rem; letter-spacing: 5px; color: var(--whisky-gold);
  font-weight: 300;
}
.display-xl {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 500; letter-spacing: 6px; line-height: 1;
  color: white; text-shadow: 0 4px 30px rgba(0,0,0,0.85);
}
.display-lg {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 500; letter-spacing: 5px; line-height: 1.05;
  color: white; text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.display-md {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 500; letter-spacing: 4px; line-height: 1.05;
  color: white; text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  color: var(--whisky-gold); letter-spacing: 1px;
  margin-top: 0.5rem;
}
.body {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7; color: var(--champagne); max-width: 640px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.body.italic { font-style: italic; }
.edition {
  font-size: 0.72rem; letter-spacing: 4px;
  color: var(--champagne); opacity: 0.7;
  margin-top: 3rem;
}

/* === Cena 2 === */
.cena-2::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30vh;
  background: linear-gradient(to bottom, transparent, var(--obsidian));
  z-index: 3;
  pointer-events: none;
}
.cena-2-content {
  background: rgba(10,10,10,0.5);
  padding: 4rem 3rem; border-radius: 4px;
  backdrop-filter: blur(2px);
  gap: 2rem;
}
.data-points {
  display: flex; gap: 4rem; margin-top: 2rem;
  flex-wrap: wrap; justify-content: center;
}
.data-points > div { display: flex; flex-direction: column; align-items: center; }
.data-points .num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 500;
  color: var(--whisky-gold); margin-bottom: 0.4rem;
}
.data-points .lbl {
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--champagne); opacity: 0.7;
}

/* === Cena 3 (scroll-driven canvas) === */
.cena-3 {
  position: relative;
  min-height: 600vh;
  padding: 0;
  display: block;
  overflow: visible;
}
.cena-3-pin {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
  opacity: 0;
  will-change: opacity;
}
.cena-3-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 1;
  background: var(--obsidian);
}
.cena-3-pin .cena-vignette { z-index: 2; }

.cena-3-side {
  position: absolute; top: 50%;
  width: clamp(240px, 28vw, 360px);
  padding: 0.5rem 0;
  z-index: 10;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: auto;
}
.cena-3-side.revealed { opacity: 1; }

.cena-3-left {
  left: clamp(1.5rem, 5vw, 5rem);
  text-align: left;
  padding-left: 1.75rem;
}
.cena-3-right {
  right: clamp(1.5rem, 5vw, 5rem);
  text-align: right;
  padding-right: 1.75rem;
}

/* Linha dourada cresce de cima pra baixo no reveal */
.cena-3-side::before {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(201, 162, 39, 0.55);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cena-3-left::before  { left: 0; }
.cena-3-right::before { right: 0; }
.cena-3-side.revealed::before { transform: scaleY(1); }

/* Texto entra depois da linha terminar de desenhar */
.cena-3-side > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s,
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.55s;
}
.cena-3-side.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.cena-3-side .display-md {
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 28px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.55);
}
.cena-3-side .body {
  text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 0 8px rgba(0,0,0,0.5);
}
.cena-3-side .label {
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
.notes-list {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7; color: var(--whisky-gold);
  letter-spacing: 0.5px; margin-top: 0.6rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.5);
}

/* === Cena 4 === */
.cena-4 {
  align-items: flex-start;
  text-align: left;
  padding-left: clamp(2rem, 8vw, 7rem);
}
.cena-4 .cena-bg {
  filter: brightness(0.92);
}
.cena-4-content {
  align-items: flex-start;
  text-align: left;
  max-width: clamp(320px, 38vw, 480px);
  gap: 1.5rem;
}
.cena-4-content .ctas {
  justify-content: flex-start;
}
.cena-4-content .display-lg,
.cena-4-content .body,
.cena-4-content .price {
  text-shadow: 0 2px 28px rgba(0,0,0,0.92), 0 0 16px rgba(0,0,0,0.65);
}

.price {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  color: var(--whisky-gold); letter-spacing: 4px;
  margin: 1rem 0 1.5rem;
}
.ctas { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.btn, .btn-reveal {
  display: inline-block; padding: 1rem 2.4rem;
  background: transparent; border: 1px solid var(--whisky-gold);
  color: var(--whisky-gold);
  font-family: var(--sans);
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; font-weight: 400;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              letter-spacing 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn::before, .btn-reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--whisky-gold);
  transform: translateX(-101%);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: -1;
}
.btn:hover, .btn-reveal:hover {
  color: var(--obsidian);
  letter-spacing: 4px;
}
.btn:hover::before, .btn-reveal:hover::before {
  transform: translateX(0);
}

/* === Reveal footer === */
.reveal-footer {
  position: relative; z-index: 20;
  background: var(--obsidian);
  padding: 8rem 2rem 6rem;
  text-align: center;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.reveal-inner {
  max-width: 720px;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
}
.reveal-glyph {
  font-size: 1.85rem;
  color: var(--whisky-gold);
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.35);
  margin-bottom: 0.4rem;
}
.reveal-tag {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 500; color: white; letter-spacing: 1px;
  margin-bottom: 0;
}
.reveal-body {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.8; color: var(--champagne);
  margin-bottom: 0;
}

.helix-signature {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0 0.5rem;
}
.helix-prefix {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 5px;
  color: var(--champagne);
  opacity: 0.55;
  text-transform: uppercase;
}
.helix-mark {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 14px;
  color: var(--whisky-gold);
  text-indent: 14px;
  text-shadow: 0 0 32px rgba(201, 162, 39, 0.25);
}

.reveal-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right,
    transparent, rgba(201, 162, 39, 0.6), transparent);
  margin: 0.5rem 0;
}

.reveal-statement {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  color: var(--champagne);
  margin: 0.25rem 0 0.75rem;
}

.reveal-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-top: 0.75rem;
}

/* === Black overlay (cena 3 → 4 transition) === */
#black-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: var(--obsidian);
  pointer-events: none;
  opacity: 0;
}

/* === Custom cursor === */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--whisky-gold);
  z-index: 1001;
  transition: opacity 0.4s ease;
}
.cursor-ring {
  width: 32px; height: 32px;
  margin: -16px 0 0 -16px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  z-index: 1000;
  transition: opacity 0.4s ease,
              width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              margin 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.35s ease;
}
.cursor-dot.active,
.cursor-ring.active { opacity: 1; }
.cursor-ring.hovering {
  width: 54px; height: 54px;
  margin: -27px 0 0 -27px;
  border-color: rgba(201, 162, 39, 0.95);
}
body.cursor-active,
body.cursor-active a,
body.cursor-active button,
body.cursor-active .btn,
body.cursor-active .btn-reveal { cursor: none; }

@media (hover: none), (prefers-reduced-motion: reduce), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-active,
  body.cursor-active * { cursor: auto; }
}

/* === Edition stamp === */
.edition-stamp {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 5px;
  color: var(--whisky-gold);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(0,0,0,0.7);
  transition: opacity 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.edition-stamp.visible { opacity: 0.65; }
.edition-stamp span {
  color: var(--champagne);
  font-weight: 500;
}
@media (max-width: 768px) {
  .edition-stamp { display: none; }
}

/* === Mobile === */
/* === Tablet (intermediário) === */
@media (max-width: 1024px) {
  .cena-3-side {
    width: clamp(220px, 30vw, 320px);
  }
  .cena-4 {
    padding-left: clamp(1.5rem, 5vw, 4rem);
  }
  .cena-4-content {
    max-width: clamp(280px, 42vw, 420px);
  }
}

/* === Mobile === */
@media (max-width: 768px) {
  .nav { padding: 1.2rem 1.2rem; }
  .nav-links { display: none; }
  .cena { padding: 5rem 1.25rem; }

  .display-xl { letter-spacing: 2px; }
  .display-lg { letter-spacing: 2px; line-height: 1.08; }
  .display-md { letter-spacing: 2px; line-height: 1.08; }
  .body { line-height: 1.65; }

  .data-points { gap: 1.8rem; }
  .data-points .num { font-size: 2rem; }

  .cena-2-content { padding: 2.5rem 1.5rem; }

  /* Cena 3 sides: stack acima/abaixo da garrafa em vez de overlap nas laterais */
  .cena-3-side {
    width: calc(100vw - 2.5rem);
    max-width: 380px;
    left: 50%;
    right: auto;
    padding: 1.25rem 0 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(201, 162, 39, 0.5);
    text-align: center;
  }
  .cena-3-left {
    top: 14%;
    transform: translate(-50%, 0) translateY(-25px);
  }
  .cena-3-right {
    top: auto;
    bottom: 12%;
    transform: translate(-50%, 0) translateY(25px);
  }
  .cena-3-left.revealed,
  .cena-3-right.revealed {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  /* Cena 4 mobile: volta pro centro */
  .cena-4 {
    align-items: center;
    text-align: center;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .cena-4-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .cena-4-content .ctas {
    justify-content: center;
  }
  .ctas { flex-direction: column; width: 100%; max-width: 280px; }
  .btn, .btn-reveal { width: 100%; text-align: center; }

  /* Splash mobile */
  .splash-name {
    letter-spacing: 5px;
    font-size: clamp(1rem, 4.5vw, 1.4rem);
  }
  .splash-tag {
    letter-spacing: 3px;
    font-size: 0.62rem;
  }

  /* Reveal footer mobile */
  .reveal-footer { padding: 6rem 1.5rem 4rem; min-height: auto; }
  .helix-mark {
    font-size: clamp(1.4rem, 7vw, 1.85rem);
    letter-spacing: 8px;
    text-indent: 8px;
  }
  .helix-prefix {
    font-size: 0.62rem;
    letter-spacing: 4px;
  }
  .reveal-statement {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  }
}

/* === Small mobile === */
@media (max-width: 480px) {
  .display-xl { letter-spacing: 1px; }
  .display-lg, .display-md { letter-spacing: 1px; }

  .cena-3-side {
    max-width: 320px;
    width: calc(100vw - 2rem);
  }
  .cena-3-left { top: 12%; }
  .cena-3-right { bottom: 10%; }

  .helix-mark {
    letter-spacing: 6px;
    text-indent: 6px;
  }
  .splash-name { letter-spacing: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
