/* ==========================================================================
   TESTIMONIALS - Témoignages et avis clients
   ========================================================================== */

/* Section témoignages générale */
.testimonials-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grille de témoignages */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Carte de témoignage */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Citation */
.testimonial-quote {
    position: relative;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 3rem;
    color: #1a73e8;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

/* Auteur du témoignage */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin: 0 0 5px 0;
    color: #1a73e8;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-role {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Notation étoiles */
.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.star.empty {
    color: #ddd;
}

/* Carrousel de témoignages */
.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    background: white;
    padding: 40px;
    text-align: center;
}

.carousel-quote {
    font-size: 1.3rem;
    color: #333;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
}

.carousel-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Contrôles carrousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-btn {
    background: #1a73e8;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #0d5bbc;
}

.carousel-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Indicateurs */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #1a73e8;
}

/* Témoignages en mosaïque */
.testimonials-masonry {
    column-count: 3;
    column-gap: 30px;
    margin: 40px 0;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
}

/* Témoignage compact */
.testimonial-compact {
    background: white;
    border-left: 4px solid #1a73e8;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.compact-quote {
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.compact-author {
    font-weight: 600;
    color: #1a73e8;
    font-size: 0.9rem;
}

/* Section vidéo témoignage */
.video-testimonial {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

/* Statistiques de satisfaction */
.satisfaction-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #1a73e8, #0d5bbc);
    border-radius: 15px;
    color: white;
}

.satisfaction-stat {
    text-align: center;
}

.satisfaction-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fbbc05;
    margin-bottom: 5px;
}

.satisfaction-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Call-to-action après témoignages */
.testimonials-cta {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
    border: 2px solid #1a73e8;
}

.testimonials-cta h3 {
    color: #1a73e8;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.testimonials-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Badges de vérification */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8f5e8;
    color: #155724;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
}

.verified-icon {
    color: #28a745;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .testimonials-masonry {
        column-count: 2;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-masonry {
        column-count: 1;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .carousel-slide {
        padding: 30px 20px;
    }
    
    .carousel-quote {
        font-size: 1.1rem;
    }
    
    .satisfaction-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .satisfaction-number {
        font-size: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-container {
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .carousel-slide {
        padding: 25px 15px;
    }
    
    .satisfaction-stats {
        grid-template-columns: 1fr;
    }
    
    .video-placeholder {
        height: 200px;
        font-size: 2rem;
    }
    
    .testimonials-cta {
        padding: 25px 20px;
    }
}