/* LCP hero: image réelle au lieu d’un background-image */
.modular-hero.hero {
  position: relative;
  overflow: hidden;
  background-image: none !important;
}

.modular-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
}

.modular-hero.parallax .hero-bg {
  height: 120%;
  top: -10%;
  will-change: transform;
}

.modular-hero .image-overlay,
.modular-hero .container,
.modular-hero #to-start {
  position: relative;
  z-index: 1;
}

.modular-hero .image-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .modular-hero.parallax .hero-bg {
    transform: none !important;
    will-change: auto;
  }
}
