/* hero.css — Golden Play France
   L'image hero doit rester entière, non recadrée, sur toute la largeur (LCP). */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.hero__media {
  position: relative;
  width: 100%;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.35) 0%, rgba(19, 19, 19, 0.75) 65%, rgba(19, 19, 19, 0.92) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content-inner {
  width: 100%;
  padding-block: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.hero__breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}
.hero__breadcrumb-item a { color: var(--color-text-muted); }
.hero__breadcrumb-item a:hover { color: var(--color-gold); }
.hero__breadcrumb-sep { margin-left: 0.3rem; color: var(--color-border); }

.hero__rating {
  margin-bottom: 0.25rem;
}
.hero__rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gradient-gold);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.hero__title {
  font-size: var(--fs-h1-banner);
  font-weight: 600;
  font-family: var(--font-primary);
  line-height: var(--lh-banner);
  text-transform: none;
  color: var(--color-white);
  max-width: 44rem;
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
  max-width: 38rem;
  margin-bottom: 0.4rem;
}

.hero__cta {
  margin-top: 0.4rem;
}

@media (min-width: 768px) {
  .hero__content-inner { padding-block: var(--space-xl); gap: 0.85rem; }
}

/* Mobile uniquement (<768px) : le banner devient un simple arrière-plan.
   Au lieu de forcer le contenu (h1, note, bouton) dans la hauteur imposée
   par le ratio naturel de l'image — ce qui le fait déborder et se faire
   couper par overflow:hidden — c'est désormais le contenu qui définit la
   hauteur du hero (flux normal), et l'image se contente de couvrir tout cet
   espace en fond (recadrage autorisé ici uniquement ; au-delà de 768px,
   l'image reste entière et non recadrée, comportement inchangé). */
@media (max-width: 767px) {
  .hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero__content {
    position: relative;
    z-index: 1;
  }
}
