/* —————— Section Partenaires —————— */
.partners-section {
    background-color: var(--light-bg);
    padding: 80px 0;
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-orange);
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--dark-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Carrousel */
.partners-carousel {
    overflow: hidden;
    max-width: 100%;
}

.partners-track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    width: fit-content;
    padding: 20px 0;
    animation: scroll-partners 40s linear infinite;
}

.partner-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 15px;
    
}

.partner-logo {
    max-height: 80%;
    max-width: 140px;
    height: auto;
    width: auto;
    filter: grayscale(10%) contrast(1.1);
    opacity: 0.75;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) contrast(1.2);
    transform: scale(1.05);
}

/* Animation */
@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
}

.partners-track:hover {
    animation-play-state: paused;
}

/* CTA */
.partners-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title { font-size: 1.7rem; }
    .partner-item { height: 70px; }
    .partner-logo { max-width: 120px; }
}

@media (max-width: 768px) {
    .partners-section { padding: 60px 0; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 1rem; }
    .partner-item { height: 60px; gap: 25px; }
    .partner-logo { max-width: 100px; }
    @keyframes scroll-partners {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50%)); }
    }
}