/* ============================================
   CSS COMMUN - Animations et utilitaires
   ============================================ */

/* 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 (améliore a11y globale) */
.focus-ring:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
}

