.homepage-title {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem); /* responsive */
  color: #222;
  margin: 0;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

.title-underline {
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  border-radius: 2px;
  margin: 0.5rem auto 0;
  transition: width 0.3s ease;
}

.page-title-box:hover .title-underline {
  width: 120px; /* effet hover subtil */
}








/* --- En-tête section --- */
.homepage-section-title {
  font-weight: 600;
  font-size: 1.4rem;
  position: relative;
  color:#222;
}

.explore-link {
  font-size: 0.95rem;
  color: #555;
  transition: color 0.3s ease;
}

.explore-link:hover {
  color: #007bff;
}







.scroll-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 12px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* Masquer scrollbar */
  -ms-overflow-style: none;  /* IE et Edge */
  scrollbar-width: none;     /* Firefox */
}

.scroll-track::-webkit-scrollbar {
  display: none;
}

/* Flèches de navigation (desktop only) */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s;
  z-index: 2;
}

.scroll-btn:hover {
  background: rgba(255,255,255,1);
}

.scroll-btn.left {
  left: 8px;
}

.scroll-btn.right {
  right: 8px;
}

/* Masquer les flèches sur mobile */
@media (max-width: 768px) {
  .scroll-btn {
    display: none !important;
  }
}

.info {
    line-height: 1.2; /* réduit l’espace vertical entre les deux lignes */
    margin-top: 4px;  /* espace entre image et texte */
}








.artist-card {
    flex: 0 0 auto;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 240px;
    background: #EEE;
    border-radius: 20px;
}

.artist-image img {
    width: 240px;
    height: 315px;
    border-radius: 7px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.artist-name {
    margin-top: 3px;
    text-align: center;
    font-weight: 500;
    font-size: 1.05rem;
    display: block;
}

.artist-category {
    display: block;
    font-size: 14px;
}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .artist-card,
    .artist-image img {
        width: 200px;
    }

    .artist-image img {
        height: 300px; /* Garde la même proportion (≈ 1.31) */
    }

}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .artist-card,
    .artist-image img {
        width: 200px;
    }

    .artist-image img {
        height: 260px; /* même ratio */
    }

}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .artist-card,
    .artist-image img,
    .artist-name,
    .artist-category {

    }

    .artist-image img {
        height: 370px; /* même ratio */
    }

}















.featured-card {
    flex: 0 0 auto;
    width: 160px;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.featured-image img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.featured-title {
    margin-top: 3px;
    text-align: left;
    font-weight: 500;
    font-size: 1.05rem;
    width: 160px;
    display: block;
}

.featured-title-name {
    width: 160px;
    display: block;
    font-size: 14px;
}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .featured-card,
    .featured-image img,
    .featured-title,
    .featured-title-name {
        width: 140px;
    }

    .featured-image img {
        height: 140px;
    }
}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .featured-card,
    .featured-image img,
    .featured-title,
    .featured-title-name {
        width: 200px;
    }

    .featured-image img {
        height: 200px;
    }
}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .featured-card,
    .featured-image img,
    .featured-title,
    .featured-title-name {
        width: 240px;
    }

    .featured-image img {
        height: 240px;
    }

    .featured-title {
        font-size: 1.05rem;
    }

    .featured-name {
        font-size: 14px;
    }
}

















/* HOME CARD */
.category-card {
    position: relative;
    flex: 0 0 auto;
    width: 140px;
    height: 45px;
    margin-right: 0px;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover;
    background-position: center;
    padding: 0 10px;
    border: 1px solid #CCC;
}
.category-card .category-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.category-card span {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000;
}















.ajoutrecent-card {
    flex: 0 0 auto;
    width: 160px;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ajoutrecent-image img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.ajoutrecent-title {
    margin-top: 3px;
    text-align: left;
    font-weight: 500;
    font-size: 1.05rem;
    width: 160px;
    display: block;
}

.ajoutrecent-name {
    width: 160px;
    display: block;
    font-size: 14px;
}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .ajoutrecent-card,
    .ajoutrecent-image img,
    .ajoutrecent-title,
    .ajoutrecent-name {
        width: 140px;
    }

    .ajoutrecent-image img {
        height: 140px;
    }
}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .ajoutrecent-card,
    .ajoutrecent-image img,
    .ajoutrecent-title,
    .ajoutrecent-name {
        width: 200px;
    }
    .ajoutrecent-image img {
        height: 200px;
    }
}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .ajoutrecent-card,
    .ajoutrecent-image img,
    .ajoutrecent-title,
    .ajoutrecent-name {
        width: 240px;
    }

    .ajoutrecent-image img {
        height: 240px;
    }

    .ajoutrecent-title {
        font-size: 1.05rem;
    }

    .ajoutrecent-name {
        font-size: 14px;
    }
}















.similaires-card {
    flex: 0 0 auto;
    width: 160px;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.similaires-image img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.similaires-title {
    margin-top: 3px;
    text-align: left;
    font-weight: 500;
    font-size: 1.05rem;
    width: 160px;
    display: block;
}

.similaires-name {
    width: 160px;
    display: block;
    font-size: 14px;
}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .similaires-card,
    .similaires-image img,
    .similaires-title,
    .similaires-name {
        width: 140px;
    }

    .similaires-image img {
        height: 140px;
    }
}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .similaires-card,
    .similaires-image img,
    .similaires-title,
    .similaires-name {
        width: 200px;
    }

    .similaires-image img {
        height: 200px;
    }
}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .similaires-card,
    .similaires-image img,
    .similaires-title,
    .similaires-name {
        width: 240px;
    }

    .similaires-image img {
        height: 240px;
    }

    .similaires-title {
        font-size: 1.05rem;
    }

    .similaires-name {
        font-size: 14px;
    }
}


























.recommended-card {
    flex: 0 0 auto;
    width: 160px;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.recommended-image img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.recommended-title {
    margin-top: 3px;
    text-align: left;
    font-weight: 500;
    font-size: 1.05rem;
    width: 160px;
    display: block;
}

.recommended-name {
    width: 160px;
    display: block;
    font-size: 14px;
}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .recommended-card,
    .recommended-image img,
    .recommended-title,
    .recommended-name {
        width: 140px;
    }

    .recommended-image img {
        height: 140px;
    }
}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .recommended-card,
    .recommended-image img,
    .recommended-title,
    .recommended-name {
        width: 200px;
    }

    .recommended-image img {
        height: 200px;
    }
}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .recommended-card,
    .recommended-image img,
    .recommended-title,
    .recommended-name {
        width: 240px;
    }

    .recommended-image img {
        height: 240px;
    }

    .recommended-title {
        font-size: 1.05rem;
    }

    .recommended-name {
        font-size: 14px;
    }
}





















.likes-card {
    flex: 0 0 auto;
    width: 160px;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.likes-image img {
    width: 160px;
    height: 160px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.likes-title {
    margin-top: 3px;
    text-align: left;
    font-weight: 500;
    font-size: 1.05rem;
    width: 160px;
    display: block;
}

.likes-name {
    width: 160px;
    display: block;
    font-size: 14px;
}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .likes-card,
    .likes-image img,
    .likes-title,
    .likes-name {
        width: 140px;
    }

    .likes-image img {
        height: 140px;
    }
}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .likes-card,
    .likes-image img,
    .likes-title,
    .likes-name {
        width: 200px;
    }

    .likes-image img {
        height: 200px;
    }
}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .likes-card,
    .likes-image img,
    .likes-title,
    .likes-name {
        width: 240px;
    }

    .likes-image img {
        height: 240px;
    }

    .likes-title {
        font-size: 1.05rem;
    }

    .likes-name {
        font-size: 14px;
    }
}



















.likesArtistes-card {
    flex: 0 0 auto;
    width: 240px;
    background: #EEE;
    border-radius: 20px;
    margin-right: 0px;
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.likesArtistes-image img {
    width: 240px;
    height: 315px;
    display: block;
    object-fit: cover;
    background-position: center;
}

.likesArtistes-title {
    margin-top: 3px;
    text-align: center;
    font-weight: 500;
    font-size: 1.05rem;
    display: block;
}

.likesArtistes-name {
    display: block;
    font-size: 16px;
    font-size: 14px;
}

.initials-placeholder {
    width: 240px;
    height: 315px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border-radius: 7px; /* même border-radius que l'image */
    text-transform: uppercase;
    /* Font-size responsive selon la hauteur du container */
    font-size: clamp(2rem, 10vw, 5rem);
    text-align: center;

}

/* --------------------------- */
/* 📱 Petits écrans (mobile)   */
/* --------------------------- */
@media (max-width: 600px) {
    .likesArtistes-card,
    .likesArtistes-image img {
        width: 200px;
    }

    .likesArtistes-image img {
        height: 300px;
    }

    .initials-placeholder {
      width: 250px;
      height: 300px;
    }
}

/* --------------------------- */
/* 💻 Tablettes (moyens écrans)*/
/* --------------------------- */
@media (min-width: 601px) and (max-width: 1024px) {
    .likesArtistes-card,
    .likesArtistes-image img{
      width: 200px;
    }

    .likesArtistes-image img {
        height: 260px;
    }

    .initials-placeholder {
      width: 200px;
      height: 260px;
    }
}

/* --------------------------- */
/* 🖥️ Grands écrans (desktop)  */
/* --------------------------- */
@media (min-width: 1025px) {
    .likesArtistes-card,
    .likesArtistes-image img,
    .likesArtistes-title,
    .likesArtistes-name {
    }

    .likesArtistes-image img {
        height: 370px;
    }

    .initials-placeholder {
      width: 280px;
      height: 370px;
    }
}
