/* Slider de l'accueil : flèches gauche / droite
   À charger APRÈS styles-1.css (il remplace l'ancienne animation CSS par le défilement piloté par le script). */

.defilement { position: relative; }

/* le déplacement est maintenant géré par le script (transform) : on coupe l'animation CSS */
.defilement.actif .piste { animation: none; will-change: transform; }

.fleche {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 54px; padding: 0;
  color: #555; background: rgba(255, 255, 255, .75);
  border: 0; cursor: pointer;
  transition: background-color .2s;
}
.fleche:hover,
.fleche:focus-visible { background: #fff; color: #000; }
.fleche:focus-visible { outline: 2px solid #000; outline-offset: -4px; }
.fleche-gauche { left: 0; }
.fleche-droite { right: 0; }
.fleche svg { display: block; }

@media (max-width: 560px) {
  .fleche { width: 36px; height: 44px; }
}
