/* SLIDES - Responsive */
.swiper-slide {
    border-radius: 0px;
    width: 100%; /* Prend toute la largeur disponible */
}

/* Largeur max uniquement sur desktop */
@media (min-width: 768px) {
    .swiper-slide {
        max-width: 320px;
    }
}

/* Container Swiper */
.swiper.allsite,
.swiper.partnersSwiper {
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Sur desktop, centrer et limiter */
@media (min-width: 768px) {
    .swiper.allsite {
        max-width: 700px; /* 2 slides de 320px + espacement */
    }
    .swiper.partnersSwiper {
        max-width: 700px;
    }
}

/* --- TITRES --- */
.column-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ada-green-light);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.column-title span {
    width: 30px;
    height: 4px;
    background: var(--ada-green-light);
    display: inline-block;
    border-radius: 10px;
}

/* --- NAVIGATION --- */
.swiper-rel { 
    position: relative; 
}

.nav-arrow {
    width: 60px;
    height: 60px;
    background: white;
    border: 1px solid var(--ada-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ada-navy);
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nav-arrow:hover {
    background: var(--ada-green-light);
    color: white;
    border-color: var(--ada-green-light);
}

.prev-allsite { left: -20px; }
.next-allsite { right: -20px; }
.prev-partenaire { left: -20px; }
.next-partenaire { right: -20px; }

/* --- LOGO CARD --- */
.logo-card {
    display: block;
    text-decoration: none;
    text-align: center;
    background: transparent;
    padding: 10px;
    border: none;
    box-shadow: none;
    height: 100%;
}

.logo-card .logo-wrapper {
    background-color: white;
    border-radius: 12px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card .logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-card .partner-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #797979;
    text-transform: unset;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    text-align: left;
}

.logo-card .partner-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #797979;
}

.logo-card .visit-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6abf69;
    text-transform: inherit;
    letter-spacing: 0.5px;
    transition: 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid transparent;
    padding-top: 5px;
}

.logo-card .visit-link i {
   font-size: 1.2rem;
}

.logo-card:hover .logo-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.logo-card:hover .visit-link {
    color: #2e7d32;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .nav-arrow { 
        display: none; 
    }
    
    .logo-card { 
        height: 100%; 
    }
    
    .col-spacer { 
        margin-top: 50px; 
    }
    
    /* Ajuster la hauteur de la logo-wrapper en mobile */
    .logo-card .logo-wrapper {
        height: 200px;
        padding: 20px;
    }
}

/* Mobile très petit */
@media (max-width: 480px) {
    .logo-card .logo-wrapper {
        height: 180px;
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .logo-card .partner-name {
        font-size: 1rem;
    }
    
    .logo-card .visit-link {
        font-size: 0.8rem;
    }
}

/* RTL Support */
html[lang="ar"] .logo-card .partner-name {
    text-align: right;
}

html[lang="ar"] .logo-card .partner-name::after {
    left: auto;
    right: 0;
}