/* ==================================================================
   BANDEAU TEXTE DÉFILANT (marquee)
   Différent de .marquee-top (bannière statique, voir fichier 06) :
   ici le texte défile horizontalement en boucle.
   Ancienne version simple (commentée dans l'original) conservée
   ci-dessous à titre de mémoire, remplacée par la version .marquee-w.
   ================================================================== */

/* Version historique (désactivée) :
.marquee { width: 100%; color: white; background: var(--couleur-principale-sombre); white-space: nowrap; overflow: hidden; }
.marquee div {
  font-size: 2.2rem; font-weight: lighter; padding-left: 20%;
  padding-top: 5px; padding-bottom: 5px; display: inline-block; animation: animate 40s linear infinite;
}
@keyframes animate { 100% { transform: translate(-100%, 0); } }
*/

.marquee-w {
  background: var(--couleur-principale-sombre);
  color: white;
  position: relative;
  display: block;
  height: 80px;
  top: 40px;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.marquee {
  position: absolute;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  min-width: 80%;
}

.marquee span {
  display: inline-block;
  padding-left: 20%;
  text-align: center;
  white-space: nowrap;
  min-width: 80%;
  height: 100%;
  line-height: 80px;
  font-size: 34px;
  animation: marquee 30s linear infinite;
}

/* Deuxième bandeau (si utilisé en parallèle) : décalage de départ */
.marquee2 span {
  animation-delay: 10s;
}

@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}
