.logo-carousel {
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 50px;
    width: fit-content;
    will-change: transform;
    animation: scroll 30s linear infinite;
}

.logo-item
{
    flex: 0 0 auto;
    text-align: center;
    min-width: 150px;
    width: auto;
}

.logo-item img
{
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
}

.logo-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fallback si JavaScript ne fonctionne pas - utilise une estimation */
.carousel-track:not([style*="animation"]) {
    animation: scroll 30s linear infinite;
}