/* =========================================
= FRONT PAGE — HERO
========================================= */
.nl-home-hero {
  position: relative;
  min-height: 17.5rem;
  height: calc(-2.5rem + 100vh);
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* contenu en bas */
}

/* Média (cible du parallax) : vidéos empilées, plus haut que le hero pour
   avoir du jeu au scroll sans exposer les bords. */
.nl-home-hero--media {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  will-change: transform;
}

.nl-home-hero--video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.nl-home-hero--video.is-active { opacity: 1; }

.nl-home-hero--overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.10);
}

/* Contenu : bas-gauche */
.nl-home-hero--content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  text-align: left;
  color: var(--secondary);
}

/* Tablette + mobile : contenu centré (vertical + horizontal) */
@media (max-width: 64rem) {
  .nl-home-hero { align-items: center; }
  .nl-home-hero--content {
    padding: 8rem 1rem;
    align-items: center;
    text-align: center;
  }
}

.nl-home-hero--title {
  margin: 0;
  font-size: var(--text-display);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: var(--ls-normal);
  line-height: 1;
}

/* Les deux boutons sur la même ligne */
.nl-home-hero--actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
}

.nl-home-hero--btn {
  position: relative;
  display: inline-block;
  color: var(--secondary-c);
  text-decoration: none;
  text-transform: uppercase;
  font-size: var(--text-xs);
}
.nl-home-hero--btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.125em;
  width: 100%;
  height: 0.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}
.nl-home-hero--btn:hover::after,
.nl-home-hero--btn:focus-visible::after {
  transform: scaleX(1);
}

