/* ═══════════════════════════════════════════════════════════
   HERO SLIDER — Video Background + Image Slides
   ═══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

/* ── Slides Container ── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-luxury);
}

.hero-slide.active {
  opacity: 1;
}

/* Video Slide */
.hero-slide-video {
  position: absolute;
  inset: 0;
}

.hero-slide-video iframe,
.hero-slide-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.2);
  pointer-events: none;
}

/* Image Slide */
.hero-slide-image {
  position: absolute;
  inset: 0;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 12s ease-out;
}

.hero-slide.active .hero-slide-image img {
  transform: scale(1.15); /* Zoom mais destacado e mais rápido (12s vs 20s) */
}

/* ── Overlay Gradient ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, 
      rgba(5, 13, 8, 0.85) 0%,
      rgba(5, 13, 8, 0.70) 35%,
      rgba(5, 13, 8, 0.80) 65%,
      rgba(9, 21, 16, 0.98) 100%
    );
}

.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5, 13, 8, 0.2) 20%, rgba(5, 13, 8, 0.85) 100%);
}

/* ── Hero Content ── */
.hero-texts {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease-out; /* Fade out rápido para evitar sobreposição */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-text.active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 1.2s ease-in 0.4s; /* Fade in suave com delay para a frase anterior sumir */
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 2rem;
  animation: fadeInUp 1.2s var(--ease-luxury) 0.5s both;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-title strong {
  font-weight: 700;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero-divider-line {
  width: 60px;
  height: 1px;
  background: rgba(233, 195, 73, 0.3);
}

.hero-divider-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233, 195, 73, 0.5);
}

/* ── Slide Indicators ── */
.hero-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.75rem;
}

.hero-indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-luxury);
  padding: 0;
}

.hero-indicator.active {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  width: 60px;
}

.hero-indicator:hover {
  background: rgba(233, 195, 73, 0.5);
}

/* ── Scroll Down Arrow ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 5rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: floatSlow 3s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(233, 195, 73, 0.4);
  writing-mode: vertical-rl;
}

.hero-scroll-hint .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 0 1.25rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-indicators {
    bottom: 2rem;
  }
  
  .hero-label {
    font-size: 0.7rem;
  }
}

.slide-dark-green::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 8, 0.4);
  z-index: 1;
}
