
/* ==================================================================
   BANDEAU TEXTE DÉFILANT (marquee)
   ================================================================== */

/* 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); }
}



/* ==================================================================
   Bandeau bannière type "marquee-objets" (Conteneur)
   ================================================================== */

.marquee-objets {
  background: var(--couleur-principale);
  display: inline-block;
  
  /* Bordure de l'étiquette */
  border: 1px solid var(--couleur-principale);
  border-radius: 4px;
  
  margin: 0.1em 0.3em;
}

/* Styles appliqués au lien à l'intérieur */
.marquee-objets a {
  display: inline-block;
  line-height: 1;
  padding: 0.3em 0.6em;
  text-decoration: none !important; /* Garantie sans soulignement */
  
  /* Typographie */
  font-family: 'InterTight', sans-serif !important;
  font-size: 1.1rem;
  font-weight: 500 !important;
  letter-spacing: 0.8px;
  
  /* Lissage du texte */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Transition fluide (durée 0.2s) */
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Couleurs des états */
.marquee-objets a:link { 
  color: #F4F1EA !important; 
}

.marquee-objets a:visited { 
  color: #E0E0E0 !important; 
}

/* Survol : micro-élévation de 1px + changement de couleur fluide sans underline */
.marquee-objets a:hover { 
  color: #E9C46A !important; 
  text-decoration: none !important;
  transform: translateY(-1px); /* Effet très subtil */
}

