/* Styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}



body {
  background-size: cover; /* Couvre tout l'écran */
  background-position: center; /* Centrer l'image */
  background-attachment: fixed; /* Garder l'image fixe pendant le défilement */
  font-family: 'Roboto Mono', monospace;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  

}


/* Spécial mobile */
@media (max-width: 768px) {
  body {
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;      /* évite la mosaïque */
    overflow-x: hidden;
    position: relative;


  }
}


html, body {
  
  margin: 0;
  padding: 0;
  height: 100%;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' height='32' width='32'><text y='25' font-size='28'>🎈</text></svg>") 0 0, auto;

}




/* fond fixe derrière */
.background-fixe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}



.background-fixe img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* Remplit tout sans déformer */
  object-position: center;  /* Centre l’image */
  pointer-events: none;     /* évite les bugs de clic */
  position: fixed;

}



/* contenu par-dessus */
.contenu {
  position: relative;
  z-index: 1;
  

}



/* Par défaut : cacher mobile */
.bg-mobile {
  display: none;
}

/* Sur mobile : cacher desktop et afficher mobile */
@media screen and (max-width: 768px) {
  .bg-desktop {
    display: none;
  }
  .bg-mobile {
    display: block;
  }
  .background-fixe img {
    object-position: 30% center; /* décale légèrement à droite */
    
  }
}


/* ---  POCCHETTE EP --- */
/* ========================================================
   DISPOSITIF COVER - TAILLE MOYENNE, CENTRÉ, EFFET HALO DOUX
   ======================================================== */

.cover-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px auto; /* Espacement vertical un peu plus grand */
    padding: 0 20px;
    box-sizing: border-box;
}

/* On cible l'image et on la rend responsive par défaut */
.cover-container img, 
.cover-img, 
.cover-image {
    width: 100%;
    height: auto;
    max-width: 500px; /* Taille max sur ordinateur */
    aspect-ratio: 1 / 1; /* Force le format carré proprement */
    object-fit: cover;
    border-radius: 8px; /* Bordure arrondie */
    
    /* Lumière blanche très douce et subtile (halo léger) */
    box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.15);
    
    display: block;
    margin: 0 auto;
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Pour un effet au survol */
}

/* Version Spéciale Mobile (Écrans de moins de 768px) */
@media screen and (max-width: 768px) {
    .cover-container img, 
    .cover-img, 
    .cover-image {
        /* L'image va prendre automatiquement la largeur du téléphone moins le padding (sans dépasser) */
        max-width: 85%; /* Évite qu'elle colle trop aux bords du téléphone */
        
        /* Halo plus léger sur mobile pour la discrétion */
        box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.12);
    }
}


.entrance-sentence {
  display: flex;
  justify-content: center; /* Centrage horizontal */
  align-items: center;     /* Centrage vertical */
  text-align: center;

}


.nouveaute-italic p {
    font-style: italic ;
    font-weight: normal;
}
/* Spécial mobile */


@media (max-width: 600px) {
  .entrance-sentence {
    font-size: 12px;
    margin-left: 40px;
  }
}



/* Style de la barre de navigation */
.navbar {
  position: fixed; /* Fixe la barre de navigation en haut de l'écran */
  top: 0;
  left: 0;
  width: 100%;
  /* padding: 15px; */
  z-index: 1000; /* Pour s'assurer que la barre soit toujours au-dessus */
}


header {
  padding: 20px;
  text-align: center;
}


.navbar h1 {
  font-size: 3em;
  font-family: 'bebas neue pro', sans-serif;
  text-transform: uppercase;
  letter-spacing: -1px;
  
}

nav ul {
  list-style: none;
  padding: 10px 0;

}

nav ul li {
  display: inline;
  margin: 0 30px;
}

@media screen and (max-width: 780px){
nav ul li {
  margin: 0 8px;
}
}

nav ul li a {
  text-decoration: none;
  color: #fff; /* Blanc par défaut */
  font-size: medium;
  text-transform: uppercase;
  font-family: 'Roboto Mono', monospace;
  font-weight: 400; /* Léger */
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

nav ul li a:hover {
  color: #ff5c64; /* Rouge néon */
  text-shadow: 0 0 5px #dd222b, 0 0 10px #dd222b, 0 0 15px #dd222b, 0 0 20px #dd222b; /* Effet néon */
}


.section {
  padding: 40px 20px;
  text-align: center;
  
}

#nouveau {
  scroll-margin-top: -90px; /* Ajuste cette valeur en fonction de la hauteur de ta navbar */
}


h1 {

  position: fixed;
  top: 85px; /* Ajuste selon la hauteur de ta navbar */
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  opacity: 1;
  transition: opacity 0.5s ease-out, top 0.5s ease-out; /* Animation pour fade-out et position */
  


  text-decoration: none;
  color: #fff; /* Blanc par défaut */
  font-size: medium;
  text-transform: uppercase;
  font-family: 'Roboto Mono', monospace;
  font-weight: 200; /* Léger */

}


h1.fixed {
  top: 20px; /* Position du h1 en haut à gauche de la navbar */
  left: 20px;
  transform: translateX(0); /* Aligne à gauche */
  opacity: 0; /* Pour faire fade-out au scroll */
}

h1.fixed.show {
  opacity: 1; /* Faire fade-in lors de l’apparition en haut à gauche */
}


.background-title {
  position: absolute;
  top: 0%; /* à adapter selon ton design */
  scroll-behavior: smooth;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none; /* pour ne pas bloquer les clics */

}




.background-title h1 {
  font-size: 10vw; /* super grand pour l'effet "fond" */
  color: rgba(255, 255, 255, 0.01); /* couleur très pâle pour effet  */
  text-transform: uppercase;
  font-weight: bold;
  white-space: nowrap;
}




/* Style de base de ton texte dans le header */
/* Style de base de ton texte dans le header */
.watermark h1 {
  position: fixed;
  top: 10vh; /* Espace par rapport au haut */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 6vw; /* Taille grande au départ */
  font-family: 'Roboto Mono', monospace;
  font-weight: 600; /* Applique l'effet gras */
  text-transform: uppercase;
  margin: 0;
  z-index: -1; /* En dessous de tout */
  transition: all 0.5s ease; /* Animation douce */
  opacity: 1; /* Opacité par défaut */
}


@media screen and (max-width: 780px){
  .watermark h1{
    margin-top: 80px;
    font-size: 9vw; /* super grand pour l'effet "fond" */


  }
  }




/* Lors du scroll, on applique un style plus petit et on diminue l'opacité */
.watermark h1.fixed {
  font-size: large; /* Taille plus petite */
  top: 11vh; /* Remonter légèrement */
  opacity: 0.5; /* Réduire l'opacité à 50% */
  text-decoration: none;
  filter: blur(10px);
  
}






/* Effet de fade-in lors du changement de style */
.watermark h1.show {
  transition: opacity 0.5s ease;
}




h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #b41d24;
  letter-spacing: 2px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-family: 'Roboto Mono', monospace;

}


h4 {
font-size: 1.5em;
margin-bottom: 10px;
font-family: 'Roboto Mono', monospace;
word-spacing: -6px; /* Réduit l'espace entre les mots */


}

.stories_top_h3 {

  margin-left: 800px; /* Ajuste la marge à gauche */
  margin-right: 800px; /* Ajuste la marge à droite */  
  padding: 20px 20px; 


}

#stories article {
    text-align: center; /* Centre tout le texte et les éléments inline dans cette section */
}

#stories h3 {
    display: inline-block; /* Permet au titre de répondre au text-align: center */
    width: 100%;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px; /* Optionnel : pour le style */
}

.nouveau_titre_H1 {

font-style: normal;


}

.nouveau_titre_h2 {

font-size: 14PX;


}

/* Cache le texte proprement pour l'œil humain, mais visible pour Google */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.message_du_jour {
  padding: 40px; /* Espacement intérieur pour ne pas que le texte touche la bordure */
  border-radius: 80px; /* Arrondir les coins de l'encadrement */
  margin-top: 0px; /* Ne touche pas à la marge en haut */
  margin-bottom: 0px; /* Ne touche pas à la marge en bas */
  font-family: 'Courier New', Courier, monospace; /* Police à aspect digital */
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  font-weight: bold;


  backdrop-filter: blur(4px);          /* Flou de l'arrière-plan */
  -webkit-backdrop-filter: blur(4px);  /* Pour Safari */
  border-radius: 1px;                   /* Coins arrondis pour un meilleur rendu */
  padding: 9px;

  width: 600px;      /* Largeur fixe */
  max-width: 80%;    /* Ou largeur max responsive */
  margin: 0 auto;    /* Centrer horizontalement si tu veux */

  mask-image: linear-gradient(to bottom, transparent 0%, black 1%, black 95%, transparent 100%);


}



@media screen and (max-width: 780px){
  .message_du_jour{
    width: 300px;      /* Largeur fixe */


  }
  }






.message_du_jour::before {
  content: ""; /* Crée un pseudo-élément */
  position: absolute; /* Le positionne absolument par rapport à l'élément parent */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit; /* Hérite du fond de l'élément parent */
  z-index: -1; /* Assure que le pseudo-élément est derrière le contenu */
  filter: blur(10px); /* Applique un flou aux bords */
  border-radius: 10px; /* Assure que les bords flous suivent la forme arrondie */
  
}


.message_du_jour p {
  margin-bottom: 10px; /* Espacement entre les paragraphes */
  font-size: 16px; 
  filter: brightness(85%);

}


mark {
  background-color: #b41d24; /* Rouge fluo */
  color: #fff; /* Texte en blanc */
  padding: 0.1em 0.3em; /* Espacement pour que le fond ne touche pas le texte */
  border-radius: 2px; /* Un léger arrondi des coins */
}


mark2 {
  background-color: #740d12ea; /* Rouge fluo */
  color: #fff; /* Texte en blanc */
  padding: 0.1em 0.3em; /* Espacement pour que le fond ne touche pas le texte */
  border-radius: 2px; /* Un léger arrondi des coins */
}





article {
  margin-bottom: 40px;
}

.gallery {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap; /* Important pour responsive : retour à la ligne si trop large */
  

  max-width: 780px;
  margin: 0 auto; /* Centre le contenu horizontalement */
  padding: 2rem;
  position: relative;
  z-index: 1;

}

.gallery-item img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 400px; /* facultatif : limite la hauteur sans couper */
  box-shadow: 0 0 10px #7e6767;
  display: block;
  cursor: pointer; /* 👉 Curseur "doigt" uniquement */
  border-radius: 6px; /* 👈 Courbure des coins */
    margin: 0 auto; /* 👈 Centre l'image */



}

.gallery-item2 img {
  height: auto;
  width: 200px;
  max-height: 400px; /* facultatif : limite la hauteur sans couper */
  box-shadow: 0 0 10px #7e6767;
  display: block;
  border-radius: 2px; /* 👈 Courbure des coins */


}



.gallery-item2:hover {
  transform: scale(1.2); /* zoom léger */
}

.image-wrapper {
box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* L'ombre est uniquement sur l'image */
}



.gallery-item-cite {
  display: inline-block;
  margin: 10px;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease;
}




.gallery-item-cite:hover {
  transform: scale(1.2); /* zoom léger */
}

.gallery-item-cite img {
  display: block;
  width: 350px;
  height: auto;
  object-fit: cover;
}



.gallery-item-cite2 {
  border-radius: 6px;
}

.img-positionnee {
  position: relative;
  border-radius: 6px;

  left: 50px; /* X */
  top: 30px;  /* Y */
  width: 400px;
  transition: transform 0.2s ease;

}

.img-positionnee:hover {
  transform: scale(1.2); /* zoom léger */
  box-shadow: 0 0 20px #e16368; /* accentuation de l'ombre si tu veux */
}
.img-positionnee2 {
  position: relative;
  border-radius: 6px;
  margin-top: 40px;
  margin-left: -200px;

  left: 50px; /* X */
  top: 30px;  /* Y */
  width: 400px;
  transition: transform 0.2s ease;

}


.img-positionnee2:hover {
  transform: scale(1.2); /* zoom léger */
  box-shadow: 0 0 20px #e16368; /* accentuation de l'ombre si tu veux */

}




.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
}

/* Fond noir en pseudo-élément */
.lightbox-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Image zoomée */
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 30px #e16368(255, 255, 255, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  z-index: 1;
  cursor: pointer; /* idem pendant le zoom pour dézoomer */
}

/* Lancement animation */
.lightbox-overlay.show {
  pointer-events: all;
}

.lightbox-overlay.show img {
  transform: scale(1);
}

/* Fade du fond noir une fois zoom fini */
.lightbox-overlay.show::after {
  opacity: 1;
}


/* --- NOTES DU JOURNAL --- */

.container_journal_note {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}



/* --- CARROUSEL --- */

.texte-mobile {
  display: none;
  font-style: italic;
  opacity: 0.75;
}

/* Affiche uniquement sur mobile */
@media screen and (max-width: 768px) {
  .texte-desktop {
    display: none;
  }
  .texte-mobile {
    display: block;
  }
}





.video-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* C'est le ratio magique 16:9 (9 / 16 = 0.5625) */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.carrousel-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.carousel-container {
  position: relative;
  overflow: hidden;

  max-width: 980px; /* ← limite la largeur visible */
  width: 100%;       /* prend toute la largeur possible (responsive) */
  margin: 0 auto;    /* centre le carrousel si la page est plus large */
}


@media (max-width: 768px) {
  .carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  


  }
}



/* Charger une animation de loader */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 8px solid rgba(183, 118, 118, 0.7); /* Gris clair */
  border-top: 8px solid hsla(357, 93%, 45%, 0.5); 
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Animation de rotation pour le loader */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.carousel-track.hidden {      /* ← track masqué avant 2 s */
  opacity: 0;
  pointer-events: none;
}

/* 2. le track redevient visible quand on enlève .hidden */
.carousel-track {
  display: flex;
  transition: transform .5s ease, opacity .5s ease;
  gap: 1rem;
  padding: 50px 0; /*bien pour laisser le texte en bas*/
  opacity: 1;                /* visible par défaut, mais caché si .hidden */

  
  overflow-x: auto; /*ça bouge en y, donc trouver le moyen de bloquer y et faire défiler que en horizontale*/
  scroll-snap-type: x mandatory;
  scrollbar-color: #ce4d4d8c #00000006;
  overflow-y: hidden; /* masque la scrollbar verticale */
  padding-bottom: 65px; /* ou la hauteur que tu veux */
  mask-image: linear-gradient(to right, transparent -10%, black 10%, black 90%, transparent 100%);


}







.carousel-item{
  flex: 0 0 calc(33.333% - 20px); /* 3 cartes par vue − le 40 px compense le gap */
  width: 280px;
  aspect-ratio: 9/16;
  height: 530px;                  /* ↑ taille (480 px → 520 px) */
}


/* Quand les vidéos sont chargées, elles deviennent visibles */
.carousel-item.loaded {
  opacity: 1;
}



.carousel-video {
  width: 100%;
  height: 99%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgb(0, 0, 0);
  transition: filter 0.3s ease;
  filter: blur(10px); /* Appliquer un flou par défaut */
  
}


/* Quand la vidéo est en lecture, enlever le flou */
.carousel-video.playing {
  filter: none; /* Enlève le flou dès que la vidéo commence à jouer */
  box-shadow: 0 0 20px 6px #00000068;
  transition:box-shadow .92s ease;



}



/* Lorsque la souris est au-dessus de la vidéo, changer le curseur en bouton play */
.carousel-video:hover {
  cursor: url('images/boutton_play1.png') 16 16, zoom-in; /* On ajuste les coordonnées si besoin */
}


/* Lorsque la vidéo est en lecture, changer le curseur en bouton pause */
.carousel-video.playing {
  cursor: url('images/boutton_pause1.png') 16 16, pointer; /* On ajuste les coordonnées si besoin */
}




/* Style pour la classe img-carou-bts */
.img-carou-bts {
  flex: 0 0 calc(33.333% - 40px); /* Comme les vidéos, 3 images par vue */
  aspect-ratio: 9 / 16;           /* Pour garder un aspect 9:16 */
  height: 520px;                  /* Taille uniforme avec les vidéos */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: filter 0.3s ease;
}

.img-carou-bts .carousel-image {
  width: 100%;
  height: 100%;
  object-fit:cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgb(0, 0, 0);
  filter: blur(10px); /* Flou par défaut sur l'image */
  transition: filter 0.3s ease, box-shadow 0.3s ease; /* Transition pour le flou et l'ombre */
}

/* Effet au survol de l'image (comme les vidéos) */
.img-carou-bts:hover .carousel-image {
  
  filter: none; /* Enlève le flou dès que la vidéo commence à jouer */
  box-shadow: 0 0 20px 6px #00000068;
  


}

.img-carou-bts .caption {
  position: absolute;
  bottom: -60px;
  left: 15px;
  color: white;
  font-size: 12px;
}

.caption {
  font-size: 12px;
}


.caption2 {
  display:block;
  margin-top:8px;
  text-align:center;
  font-size:0.8rem;
  font-style: italic;
  font-family:'Roboto Mono', monospace;
  color:#fff;
  opacity:0.8;

}



.nav {
  position: absolute;
  top: 50.5%;
  transform: translateY(-50%);
  background: #ffffffd3;
  color: #000000fe;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  z-index: 10;
  opacity: 1;
}


.nav.prev {
  margin-top: 400px;
  left: 45px;
}

.nav.next {
  margin-top: 400px;
  right: 45px;
}

.nav:hover {
opacity: 0.7;  
transition-duration: 0.5s;

}


  


@media (max-width: 768px) {
  .nav.prev {
    left: 10px;
    background: linear-gradient(to bottom right, rgba(19, 104, 36, 0.816), rgba(202, 34, 34, 0.687));
    background: none;
    color: #ffffff39;
    top: 47.5%;

  }
}

@media (max-width: 768px) {
  .nav.next {
    right: 15px;
    background: linear-gradient(to bottom right, rgba(19, 104, 36, 0.816), rgba(202, 34, 34, 0.687));
    background: none;
    color: #ffffff32;
    top: 47.5%;
  }
}







/* --- FIN CARROUSEL --- */




/*audio play*/

/* Audio player container */


@media (max-width: 768px) {
  .mesdémos {
    margin-bottom: 180px;

  }
}


@media (max-width: 768px) {
  .demo_message {
    margin-top: 180px;
    font-size: 15px;

  }
}



@media screen and (max-width: 400px){
  .social-section {
margin-top: 50px; /* Réduit de 290px à 50px */ 
font-weight: bold;
    display: block;   /* Assure la visibilité */
    clear: both;      /* Évite les collisions avec SoundCloud */
  }
  }
  




  


/* Fade-in / fade-out effect */
@keyframes fadeIn {
from {
  opacity: 0;
  transform: translateY(-40px);
}
to {
  opacity: 1;
  transform: translateY(-20px);
}
}

.audio-player-container {
  display: flex;
  justify-content: center;
  margin: 0 3rem;
  gap: 2rem;
  height: 170px;

}




@media (max-width: 768px) {
  .audio-player-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement les enfants */
    justify-content: center;
    margin: 0 auto; /* Centre le conteneur lui-même */
    gap: 10px;
height: auto;       /* Laisse la hauteur s'adapter */    
  }
  
}





.audio-player {
display: flex;
flex-direction: column;
align-items: start;
background: linear-gradient(to bottom right, rgba(19, 104, 36, 0.457), rgba(202, 34, 34, 0.585));
border-radius: 12px;
padding: 17px;
color: #fff;
width: 500px;

max-width: 380px;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.583);



/* Application de l'animation */

opacity: 0;
transform: translateY(50px); /* Position initiale en bas */
animation: slideUpFadeIn 1s ease-out forwards; /* Animation de 1 seconde */
transition: all 0.3s ease; /* Transition générale pour les autres effets */

  
}





@media (max-width: 600px) {
  .audio-player {
    width: 340px;
    max-width: 380px;

    padding: 32px;

  }
}


/* Animation slide-up + fade-in */
@keyframes slideUpFadeIn {
0% {
  opacity: 0;
  transform: translateY(50px); /* Démarre en bas de l'écran */
}
100% {
  opacity: 1;
  transform: translateY(0); /* Fin à la position initiale */
}
}


.audio-info {
width: 100%;
display: flex;
align-items: flex-start; /* Alignement en haut */
gap: 19px; /* Espace entre l'image et le texte */
}

.audio-controls {
width: 100%;
}

.audio-text-controls {
display: flex;
width: 100%;
justify-content: space-between;  /* Centre le contenu horizontalement */
align-items: center;      /* Centre le contenu verticalement */
gap: 15px;                /* Espace entre l'icône et la barre de volume */

}

.audio-text {
display: flex;
flex-direction: column;
align-items: flex-start; /* Aligne le texte à gauche */
justify-content: center;
font-family: 'Roboto Mono', monospace;

}



.audio-cover img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: 8px;
}


/* Classe active qui zoom l'image */
.audio-cover img.zoomed {
  transform: scale(1.5); /* zoom à 150% */
}


@media (max-width: 600px) {
  .audio-cover img {
    margin-left: -9px;
    }
    
}



.audio-text .audio-title {
font-family: 'Roboto Mono', monospace;
font-size: 16px;
margin: 0;
font-weight: bold;
}



.audio-title-2 {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  margin: 0;
  word-spacing: 0px; /* Réduit l'espace entre les mots */

  }
  

@media (max-width: 600px) {
  .audio-text-controls {
    gap: 2px;                /* Espace entre l'icône et la barre de volume */

  }
}



@media (max-width: 600px) {
  .audio-text .audio-title {
    font-size: 12px;
    letter-spacing: 0.9px;
    align-items: left;
    
  }
}

.audio-text .audio-artist {
font-size: 14px;
margin: 0;
color: #b3b3b3;
}

.audio-text .type-projet-musique {
font-size: 12px;
margin: 0;
color: #b3b3b3;
}

audio {
width: 100%;
outline: none;
border-radius: 6px;
}


.audio-artist a {
color: #b3b3b3;
text-decoration: none;
transition: color 0.3s ease;
}

.audio-artist a:hover {
color: #1DB954; /* Vert Spotify */
}





.play-pause-btn {
background-color: #d5020d;
color: white;
border: none;
width: 60px;
height: 60px;
border-radius: 50%;
cursor: pointer;
transition: transform 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hover : agrandit légèrement + éclaircit */
.play-pause-btn:hover {
background-color: #da2225; /* Plus clair que #dd222b */
transform: scale(1.08);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Clic maintenu : réduit + assombri */
.play-pause-btn:active {
background-color: #a8181e; /* Plus sombre */
transform: scale(0.94);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.play-pause-btn svg {
width: 40px;           /* Taille plus grande */
height: 40px;
transition: transform 0.1s ease;
pointer-events: none;  /* Évite d'intercepter les clics */
}





.progress-bar-container {
margin-bottom: 8px; /* Ajoute de l'espace entre la barre de progression et les durées */
display: none;
width: 100%;
position: absolute;
animation: fadeIn 0.5s ease-in-out forwards;

}

.progress-bar {
margin: 16% 20% 0 auto; /* Centré horizontalement avec un margin-top */
width: 100%;             /* Ajuste à la largeur du conteneur */
max-width: 300px;        /* Facultatif : limite la taille max */
height: 5px;
background: #1b0000be;
border-radius: 30px;
appearance: none;
outline: none;
display: block;          /* Nécessaire pour que margin auto fonctionne */
box-shadow: 0 1px 3px #140000;
}




@media (max-width: 600px) {
  .progress-bar {
    margin-left: -10px;
    
    }
    
}




.progress-bar::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 17px;
background: #ffffff;
border-radius: 50%;
border: 2px solid #ccc; /* Ajout du contour gris clair */
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

}

/*Le bouton de lecture rond avec un triangle*/
.play-button {
width: 50px;
height: 50px;
background-color: #1DB954;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 20px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-left: auto;
}

.play-button:hover {
background-color: #1ed760;
}

/*Le player fixe qui slide depuis le bas (type Spotify)*/

.fixed-audio-bar {
position: fixed;
bottom: -120px; /* caché au départ */
left: 0;
width: 100%;
background-color: #181818;
color: white;
padding: 20px;
box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
transition: bottom 0.4s ease;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000;
}

.fixed-audio-bar.active {
bottom: 0;
}

.fixed-audio-bar .controls {
display: flex;
gap: 15px;
align-items: center;
}

.fixed-audio-bar .btn {
background: none;
border: none;
color: white;
font-size: 18px;
cursor: pointer;
}

.fixed-audio-bar audio {
width: 200px;
}





/* Optionnel : change la couleur de la durée actuelle */
#currentTime {
color: #dd222b61;
}


/* Optionnel : change la couleur de la durée actuelle */
#currentTime2 {
  color: #22dd2561;
  }



/* Optionnel : change la couleur de la durée actuelle */
#currentTime3 {
  color: hsla(0, 91%, 54%, 0.808);
  }



.time-display {
font-family: 'Roboto Mono', monospace;
font-size: 14px;
color: #cabebeb4;
}




.separator {
color: #9f9f9f8a; /* Change la couleur de la barre séparatrice */
}



.social-section {
  text-align: center;
  padding: 50px 20px;
}

.social-section h2 {
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}



.social-icons-fete25 {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icons-fete25 img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.social-icons-fete25 img:hover {
  transform: scale(1.1);
}



footer {
  position: fixed; /* Fixe le footer au bas de l'écran */
  bottom: 0; /* Aligne le footer tout en bas */
  left: 0; /* Positionne le footer à gauche */
  width: 100%; /* Prend toute la largeur de la page */
  color: white; /* Texte en blanc */
  text-align: center; /* Centre le texte */
  padding: 10px 0; /* Espacement vertical */
  font-size: 1em; /* Taille de la police */
  z-index: -1; /* Assure que le footer soit au-dessus du contenu */
  margin-bottom: 20px;
}


footer p {
  color: #fff;
  font-size: 13.5px;
} /* <-- L'accolade corrective

 /* YOUTUBE format 16:9 */
  

.video-player-container {
  position: relative;
  padding-bottom: 56.25%; /* format 16:9 */
  height: 0;
  overflow: hidden;
}

.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

  
}
