/* ============================================
   HERO IMAGE — FULLSCREEN MOBILE & DESKTOP
============================================ */

.hero-image {
  position: relative;
  width: 100%;

  /* ✅ Viewport mobile stable */
  height: 100svh;
  min-height: 100dvh;

  overflow: hidden;
}

/* ============================================
   IMAGE DE FOND UNIQUEMENT
============================================ */

.hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
  display: block;

  /* ⚠️ Filtre appliqué UNIQUEMENT au fond */
  filter: brightness(95%) contrast(1.08);

  transition: object-position 0.45s ease;
}

/* ============================================
   GRADIENT
============================================ */

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 70%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* ============================================
   OVERLAY TEXTE
============================================ */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0 20px;
  color: #fff;
}

/* ============================================
   CONTENEUR TEXTE
============================================ */

.hero-text {
  display: inline-grid;
  grid-auto-flow: row;
  justify-items: center;
  text-align: center;

  width: max-content;
  max-width: 100%;
}

/* ============================================
   SIGNATURE IMAGE
============================================ */

.hero-signature {
  width: clamp(275px, 45vw, 375px);
  max-width: calc(100vw - 40px);
  height: auto;

  /* ✅ Aucun héritage de filtre */
  filter: none !important;
  opacity: 1;

  /* ✅ Toujours au-dessus */
  position: relative;
  z-index: 3;

  /* ✅ Stabilisation mobile GPU */
  pointer-events: none;
  will-change: transform;

  /* ✨ Glow premium très léger */
  filter:
    drop-shadow(0 2px 8px rgba(0,0,0,0.35))
    drop-shadow(0 0 18px rgba(255,240,220,0.12));
}

/* ============================================
   SOUS-TITRE
============================================ */

.hero-text p {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.82rem, 1.60vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-top: 8px;

  color: #f3e3c3;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 -1px 2px rgba(255, 230, 210, 0.15);
}

/* ============================================
   📱 MOBILE
============================================ */

@media (max-width: 700px) {
  .hero-bg {
    object-position: 60% 25%;
  }
}

@media (max-width: 480px) {
  .hero-bg {
    object-position: 65% 25%;
  }
}
