/* ==============================================
   HERO — Vídeo imersivo fullscreen
   ============================================== */

/* ==============================================
   HERO WRAPPER
   ============================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
}

/* ==============================================
   VIDEO BACKGROUND
   ============================================== */

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  will-change: transform;
  /* Subtle scale so parallax has room */
  transform: scale(1.06);
  transition: transform 0.1s linear;
}

/* Poster fallback while video loads */
.hero__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--void);
}

/* ==============================================
   OVERLAYS
   ============================================== */

/* Base dark overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Top vignette */
    linear-gradient(180deg,
      rgba(8, 8, 8, 0.55) 0%,
      rgba(8, 8, 8, 0.1)  30%,
      rgba(8, 8, 8, 0.1)  60%,
      rgba(8, 8, 8, 0.75) 85%,
      rgba(8, 8, 8, 0.98) 100%
    ),
    /* Subtle gold radial on left */
    radial-gradient(ellipse 60% 70% at 30% 60%,
      rgba(201, 168, 76, 0.07) 0%,
      transparent 70%
    );
}

/* Side falloff */
.hero__overlay-side {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.6) 0%,
    rgba(8, 8, 8, 0.1) 40%,
    rgba(8, 8, 8, 0.0) 60%,
    rgba(8, 8, 8, 0.4) 100%
  );
}

/* ==============================================
   PARTICLES LAYER
   ============================================== */

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* CSS-only particle dots */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  will-change: transform, opacity;
}

.particle:nth-child(1)  { width: 3px; height: 3px; left: 15%; top: 70%; animation: particleDrift  6s ease-in 0.0s  infinite; }
.particle:nth-child(2)  { width: 2px; height: 2px; left: 25%; top: 60%; animation: particleDrift2 7s ease-in 1.2s  infinite; }
.particle:nth-child(3)  { width: 4px; height: 4px; left: 35%; top: 75%; animation: particleDrift  8s ease-in 0.4s  infinite; }
.particle:nth-child(4)  { width: 2px; height: 2px; left: 45%; top: 80%; animation: particleDrift2 5s ease-in 2.1s  infinite; }
.particle:nth-child(5)  { width: 3px; height: 3px; left: 20%; top: 55%; animation: particleDrift  9s ease-in 0.8s  infinite; }
.particle:nth-child(6)  { width: 2px; height: 2px; left: 55%; top: 65%; animation: particleDrift2 6s ease-in 3.0s  infinite; }
.particle:nth-child(7)  { width: 4px; height: 4px; left: 10%; top: 85%; animation: particleDrift  7s ease-in 1.6s  infinite; }
.particle:nth-child(8)  { width: 2px; height: 2px; left: 30%; top: 90%; animation: particleDrift2 8s ease-in 0.6s  infinite; }
.particle:nth-child(9)  { width: 3px; height: 3px; left: 65%; top: 72%; animation: particleDrift  5s ease-in 4.0s  infinite; }
.particle:nth-child(10) { width: 2px; height: 2px; left: 75%; top: 68%; animation: particleDrift2 9s ease-in 2.4s  infinite; }
.particle:nth-child(11) { width: 3px; height: 3px; left: 40%; top: 82%; animation: particleDrift  6s ease-in 1.0s  infinite; }
.particle:nth-child(12) { width: 2px; height: 2px; left: 50%; top: 58%; animation: particleDrift2 7s ease-in 3.5s  infinite; }

/* ==============================================
   HERO CONTENT
   ============================================== */

.hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-block: 2rem;
}

.hero__content .container {
  padding-top: 100px; /* account for fixed nav */
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 0.01em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.8);
}

.hero__title span {
  background: linear-gradient(
    135deg,
    var(--gold-dark)   0%,
    var(--gold)       40%,
    var(--gold-bright) 65%,
    var(--gold)       100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(232, 224, 212, 0.82);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero__badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==============================================
   HERO SCROLL INDICATOR
   ============================================== */

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 2s ease 2s both;
}

.hero__scroll-text {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 224, 212, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out 2.5s infinite;
}

/* ==============================================
   HERO — WAIFF MINI BADGE
   ============================================== */

.hero__waiff {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 100px;
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(10px);
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__waiff-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: heartbeat 2s ease-in-out infinite;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 5rem;
  }

  .hero__content .container {
    padding-top: 80px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__subtitle {
    font-size: 0.95rem;
  }
}
