/* ============================================
   CSS COMMUN - Animations et utilitaires (theme)
   ============================================ */

/* Carrousel logos - Animations */
@keyframes scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes scroll-reverse {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.animate-scroll {
    animation: scroll 35s linear infinite;
    will-change: transform;
}

.animate-scroll-reverse {
    animation: scroll-reverse 35s linear infinite;
    will-change: transform;
}

/* Pause au survol */
.animate-scroll:hover,
.animate-scroll-reverse:hover {
    animation-play-state: paused;
}

/* Accessibilité : réduit l'animation si l'utilisateur l'a demandé */
@media (prefers-reduced-motion: reduce) {
    .animate-scroll,
    .animate-scroll-reverse {
        animation: none !important;
    }
}

/* Utilitaire focus visible (a11y) - adapté au thème */
.focus-ring:focus-visible {
    outline: 2px solid #3B82F6; /* secondary */
    outline-offset: 3px;
    border-radius: 10px; /* rend le focus plus "UI moderne" */
}
