.trusted-wrapper {
    padding: 60px 0;
}

.trusted-logo-carousel {
    position: relative;
    margin-top: 30px;
    padding: 0 40px; /* place pour les flèches */
}

.trusted-logo-scroll {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.trusted-logo-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch; /* chaque logo occupe toute la hauteur de la ligne */
    list-style: none;
    margin: 0;
    padding: 0;
}

.trusted-logo-item {
    flex: 0 0 220px; /* largeur fixe par logo : le nombre visible s'adapte
                         naturellement à la largeur de l'écran, sans media
                         query ni calcul JS nécessaire */
    box-sizing: border-box;
    display: flex;
    align-items: center;    /* centrage vertical */
    justify-content: center; /* centrage horizontal */
    padding: 0 20px;
    min-height: 128px; /* garantit un espace vertical identique pour tous, même les logos très fins */
}

.trusted-logo-img {
    max-height: 128px;
    max-width: 128px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.trusted-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.trusted-logo-carousel .prev,
.trusted-logo-carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
    color: #999;
    user-select: none;
}

.trusted-logo-carousel .prev {
    left: 0;
}

.trusted-logo-carousel .next {
    right: 0;
}

.trusted-logo-carousel .prev:hover,
.trusted-logo-carousel .next:hover {
    color: #333;
}
