/* =========================================================
   HERO SLIDESHOW
   ========================================================= */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Neil — photo astronaute : sujet à droite (échelle / couverture) */
.hero__slide img.img-neil-astronaut-cover {
  object-position: 72% center;
}

/* Gradient scrim to ensure text legibility */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 52%, rgba(0, 0, 0, 0.55) 0%, transparent 72%),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.2) 60%,
      rgba(0, 0, 0, 0.45) 100%
    );
  z-index: 1;
}

/* Counter badge */
.hero__counter {
  position: absolute;
  top: 32px;
  left: 48px;
  z-index: 3;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

/* Central text overlay */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

.hero__logo {
  width: auto;
  height: 52px;
  object-fit: contain;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  color: #fff;
}

.hero__subtitle {
  font-family: 'Jost', sans-serif;
  font-size: clamp(0.72rem, 2.2vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(0, 0, 0, 0.75);
  max-width: 28em;
  line-height: 1.6;
}

/* Arrow controls */
.hero__controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.hero__arrow {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.7rem;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__arrow:hover {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.46);
  transform: scale(1.1);
}

/* Progress dots */
.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  padding: 0;
}

.hero__dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

@media (max-width: 600px) {
  .hero__counter {
    left: 24px;
    top: 24px;
  }

  .hero__title {
    letter-spacing: 0.3em;
  }
}
