/* ========================================
   TESTIMONIALS PREMIUM DESIGN
   Style moderne et élégant pour les avis
======================================== */

/* Section avis - Layout général */
.preuves-section {
    background: linear-gradient(180deg, #FBF4EE 0%, #FEFDFB 100%);
    position: relative;
    overflow: hidden;
}

.preuves-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D7B089, transparent);
}

/* Statistiques d'avis - Bloc en avant */
.testimonials-stats {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FBF4EE 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(215, 176, 137, 0.2);
    border: 2px solid rgba(215, 176, 137, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonials-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D7B089, #CFAE88, #D7B089);
    border-radius: 30px 30px 0 0;
}

.testimonials-stats-number {
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
}

.testimonials-stats-stars {
    font-size: 36px;
    color: #D7B089;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.testimonials-stats-text {
    font-size: 18px;
    color: #8B7355;
    margin-top: 10px;
    font-weight: 500;
}

.testimonials-stats-subtext {
    font-size: 14px;
    color: #A89080;
    margin-top: 8px;
    font-style: italic;
}

/* Container des cartes d'avis */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Carte d'avis - Design premium */
.testimonial-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 8px 30px rgba(215, 176, 137, 0.15);
    border: 1px solid rgba(215, 176, 137, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 120px;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(215, 176, 137, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(215, 176, 137, 0.25);
    border-color: #D7B089;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D7B089, #CFAE88);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* En-tête du témoignage */
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* Avatar avec dégradé */
.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(215, 176, 137, 0.4);
    position: relative;
}

.testimonial-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

/* Info du témoignage */
.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: #4A4A4A;
    margin: 0 0 6px 0;
}

/* Étoiles */
.testimonial-stars {
    display: flex;
    gap: 3px;
    font-size: 16px;
}

.testimonial-stars i {
    color: #D7B089;
    text-shadow: 0 2px 4px rgba(215, 176, 137, 0.3);
}

/* Texte du témoignage */
.testimonial-text {
    color: #5A5A5A;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 18px 0;
    position: relative;
    z-index: 1;
}

/* Date */
.testimonial-date {
    display: inline-block;
    font-size: 13px;
    color: #A89080;
    font-weight: 500;
    padding: 6px 14px;
    background: rgba(215, 176, 137, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(215, 176, 137, 0.2);
}

/* Badge vérifié (optionnel) */
.testimonial-verified {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(215, 176, 137, 0.3);
}

/* Bouton "Voir tous les avis" */
.testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

.testimonials-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #D7B089;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    padding: 14px 30px;
    border: 2px solid #D7B089;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
}

.testimonials-link:hover {
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(215, 176, 137, 0.4);
}

.testimonials-link i {
    transition: transform 0.3s ease;
}

.testimonials-link:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-stats {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .testimonials-stats-number {
        font-size: 48px;
    }
    
    .testimonials-stats-stars {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .testimonials-stats-text {
        font-size: 16px;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-card::before {
        font-size: 80px;
        top: 10px;
        left: 10px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .testimonial-info h4 {
        font-size: 18px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonials-stats {
        padding: 25px 15px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
}

/* Animation d'entrée */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: slideInUp 0.6s ease-out backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }
