.ambrandlist.brands-section {
    padding: 26px 0;
    border-top: 1px solid var(--gray-200, #e5e7eb);
    border-bottom: 1px solid var(--gray-200, #e5e7eb);
}

.ambrandlist .brands-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 0;
}

.ambrandlist .brands-inner .section-title {
    flex-shrink: 0;
}

.ambrandlist .brands-inner .see-all {
    flex-shrink: 0;
}

.ambrandlist .brand-logo {
    opacity: .5;
    transition: opacity .2s;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary, #0a1628);
    white-space: nowrap;
    text-decoration: none;
}

.ambrandlist .brand-logo:hover {
    opacity: 1;
}

.ambrandlist .brand-logo img {
    height: 44px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) opacity(.7);
    transition: filter .2s;
}

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

/* Tablette : logos centrés, titre et lien sur toute la largeur */
@media (max-width: 768px) {
    .ambrandlist .brands-inner {
        gap: 12px;
        justify-content: center;
    }

    .ambrandlist .brands-inner .section-title {
        width: 100%;
        text-align: center;
    }

    .ambrandlist .brands-inner .see-all {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile : bandeau de logos en scroll horizontal */
@media (max-width: 480px) {
    .ambrandlist .brands-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .ambrandlist .brands-inner::-webkit-scrollbar {
        display: none;
    }

    .ambrandlist .brand-logo {
        flex-shrink: 0;
    }

    .ambrandlist .brands-inner .section-title,
    .ambrandlist .brands-inner .see-all {
        width: auto;
    }
}
