/* Campus26 - Styles pour les carroussels Swiper.js */

/* Section Clients "Ils nous font confiance" */
.clients-section {
    padding: 4rem 0;
    background: #f8f9ff;
}

.clients-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #091540;
    margin-bottom: 1rem;
}

.clients-section .section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.clients-carousel {
    margin-bottom: 3rem;
    position: relative;
}

.clients-swiper {
    padding: 2rem 0;
    overflow: visible;
}

.clients-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #D81159;
}

.client-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logo .placeholder-logo {
    font-size: 0.9rem;
    font-weight: 600;
    color: #091540;
    text-align: center;
    line-height: 1.4;
    padding: 1rem;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 8px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles spécifiques pour chaque client */
.client-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.client-desc {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.3;
    opacity: 0.8;
}

.client-celnat {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4d4 100%);
    border-color: #4CAF50;
}
.client-celnat .client-name { color: #2E7D32; }
.client-celnat .client-desc { color: #388E3C; }

.client-ariege {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196F3;
}
.client-ariege .client-name { color: #1565C0; }
.client-ariege .client-desc { color: #1976D2; }

.client-secours {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-color: #D81159;
}
.client-secours .client-name { color: #AD1457; }
.client-secours .client-desc { color: #C2185B; }

.client-bricolage {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    border-color: #FF9800;
}
.client-bricolage .client-name { color: #E65100; }
.client-bricolage .client-desc { color: #F57C00; }

.client-puy {
    background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%);
    border-color: #9C27B0;
}
.client-puy .client-name { color: #6A1B9A; }
.client-puy .client-desc { color: #7B1FA2; }

.client-upvd {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-color: #3F51B5;
}
.client-upvd .client-name { color: #283593; }
.client-upvd .client-desc { color: #303F9F; }

.client-recticel {
    background: linear-gradient(135deg, #e0f2f1 0%, #80cbc4 100%);
    border-color: #009688;
}
.client-recticel .client-name { color: #00695C; }
.client-recticel .client-desc { color: #00796B; }

.client-arfabal {
    background: linear-gradient(135deg, #efebe9 0%, #bcaaa4 100%);
    border-color: #795548;
}
.client-arfabal .client-name { color: #4E342E; }
.client-arfabal .client-desc { color: #5D4037; }

/* Navigation buttons clients */
.clients-swiper .swiper-button-next,
.clients-swiper .swiper-button-prev {
    color: #D81159;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.clients-swiper .swiper-button-next:after,
.clients-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 700;
}

.clients-swiper .swiper-button-next:hover,
.clients-swiper .swiper-button-prev:hover {
    background: #D81159;
    color: white;
}

/* Pagination clients */
.clients-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.clients-swiper .swiper-pagination-bullet {
    background: #D81159;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.clients-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.clients-section .section-cta {
    text-align: center;
}

.clients-section .btn.btn-outline {
    border-color: #091540;
    color: #091540;
}

.clients-section .btn.btn-outline:hover {
    background: #091540;
    color: white;
}

/* Section Partenaires */
.partners-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.partners-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #091540;
    margin-bottom: 1rem;
}

.partners-section .section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.partners-carousel {
    margin-bottom: 3rem;
    position: relative;
}

.partners-swiper {
    padding: 2rem 0;
    overflow: visible;
}

.partners-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.8);
    transition: filter 0.3s ease;
}

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

/* Navigation buttons */
.partners-swiper .swiper-button-next,
.partners-swiper .swiper-button-prev {
    color: #D81159;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.partners-swiper .swiper-button-next:after,
.partners-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 700;
}

.partners-swiper .swiper-button-next:hover,
.partners-swiper .swiper-button-prev:hover {
    background: #D81159;
    color: white;
}

/* Pagination */
.partners-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.partners-swiper .swiper-pagination-bullet {
    background: #D81159;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.partners-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.partners-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partners-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Section Témoignages Carrousel */
.testimonials-carousel {
    padding: 4rem 0;
    background: #091540;
    color: white;
}

.testimonials-carousel .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-carousel .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.testimonials-carousel .section-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-swiper-container {
    margin-bottom: 3rem;
}

.testimonials-swiper {
    padding: 2rem 0;
    overflow: visible;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: white;
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 3rem;
    color: #D81159;
    position: absolute;
    left: -1rem;
    top: -1rem;
    line-height: 1;
}

.testimonial-text:after {
    content: '"';
    font-size: 3rem;
    color: #D81159;
    position: absolute;
    right: -0.5rem;
    bottom: -1.5rem;
    line-height: 1;
}

.testimonial-author .author-name {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.testimonial-author .author-role {
    display: block;
    font-size: 0.9rem;
    color: #D81159;
    font-weight: 500;
}

/* Navigation buttons témoignages */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: white;
    background: rgba(216, 17, 89, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.testimonials-swiper .swiper-button-next:after,
.testimonials-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 700;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    background: #D81159;
}

/* Pagination témoignages */
.testimonials-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.testimonials-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #D81159;
    transform: scale(1.2);
}

.testimonials-carousel .section-cta {
    text-align: center;
}

.testimonials-carousel .btn.btn-outline {
    border-color: white;
    color: white;
}

.testimonials-carousel .btn.btn-outline:hover {
    background: white;
    color: #091540;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-section,
    .testimonials-carousel {
        padding: 3rem 0;
    }
    
    .partners-section .section-title,
    .testimonials-carousel .section-title {
        font-size: 2rem;
    }
    
    .partner-logo {
        padding: 1rem;
        height: 100px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .testimonial-text:before,
    .testimonial-text:after {
        font-size: 2rem;
    }
}
