/* Hero override: photo desktop background (index.html) */

.hero.hero--photo {
  background:
    linear-gradient(90deg,
      rgba(26, 10, 8, 0.92) 0%,
      rgba(32, 13, 20, 0.78) 48%,
      rgba(30, 8, 32, 0.62) 100%
    ),
    url("../images/hero-bicyclette.jpg") center / cover no-repeat;
  background-image:
    linear-gradient(90deg,
      rgba(26, 10, 8, 0.92) 0%,
      rgba(32, 13, 20, 0.78) 48%,
      rgba(30, 8, 32, 0.62) 100%
    ),
    -webkit-image-set(
      url("../images/hero-bicyclette-bg.webp") type("image/webp"),
      url("../images/hero-bicyclette.jpg") type("image/jpeg")
    );
}

/* Utilise toute la largeur pour le texte */
.hero.hero--photo .hero-container {
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

/* On masque l'ancien visuel “bike card” (si réintroduit plus tard) */
.hero.hero--photo .hero-visual {
  display: none;
}

/* Lisibilité */
.hero.hero--photo .hero-text p {
  color: rgba(255, 255, 255, 0.84);
}

/* Liens maillage (catégories) dans les stats hero */
.hero.hero--photo .hero-stat span a {
  color: var(--accent, #fdba74);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.hero.hero--photo .hero-stat span a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .hero.hero--photo {
    background:
      linear-gradient(180deg,
        rgba(26, 10, 8, 0.92) 0%,
        rgba(26, 10, 8, 0.82) 40%,
        rgba(26, 10, 8, 0.70) 100%
      ),
      url("../images/hero-mobile-bicyclette.jpg") center / cover no-repeat;
    background-image:
      linear-gradient(180deg,
        rgba(26, 10, 8, 0.92) 0%,
        rgba(26, 10, 8, 0.82) 40%,
        rgba(26, 10, 8, 0.70) 100%
      ),
      -webkit-image-set(
        url("../images/hero-mobile-bicyclette.webp") type("image/webp"),
        url("../images/hero-mobile-bicyclette.jpg") type("image/jpeg")
      );
  }
}

