/* ============================================
   SECTION CLIENTS - CARROUSEL AMÉLIORÉ
   ============================================ */

/* Container carrousel */
.clients-carousel-container {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
    padding: 40px 0 !important;
}

/* Carrousel */
.clients-carousel {
    display: flex !important;
    gap: 60px !important;
    animation: scroll-carousel 30s linear infinite !important;
    width: max-content !important;
}

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

/* Animation carrousel RTL (pour l'arabe) */
@keyframes scroll-carousel-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* Appliquer l'animation RTL en mode arabe */
[dir="rtl"] .clients-carousel,
html[lang="ar"] .clients-carousel {
    animation: scroll-carousel-rtl 30s linear infinite !important;
    direction: rtl !important;
}

/* Pause au survol */
.clients-carousel:hover {
    animation-play-state: paused !important;
}

/* Logo client - TAILLE UNIFORME - TOUJOURS VISIBLE */
.client-logo-item {
    width: 220px !important;
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s ease !important;
    filter: none !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
}

.client-logo-item:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25) !important;
    border: 2px solid rgba(212, 175, 55, 0.4) !important;
}

/* Image logo - TAILLE UNIFORME - TOUJOURS VISIBLE */
.client-logo-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

/* Section clients - ESPACE TRÈS RÉDUIT */
.clients-section {
    background: #f8f9fa !important;
    padding: 40px 0 !important;
}

/* Header */
.clients-section .section-badge {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #d4af37 !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: inline-block !important;
    margin-bottom: 20px !important;
}

.clients-section .section-title {
    color: #001f3f !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    margin-bottom: 60px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .clients-section {
        padding: 80px 0 !important;
    }
    
    .clients-carousel {
        gap: 30px !important;
    }
    
    .client-logo-item {
        width: 180px !important;
        height: 120px !important;
        padding: 20px !important;
    }
    
    .clients-section .section-title {
        font-size: 32px !important;
    }
}
