
/* ==========================================================================
   TÉMOIGNAGES - SLIDER INFINI (VERSION FINALE)
   ========================================================================== */
.testimonials {
    background: #f8fafc;
    padding: 100px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonials-container {
    width: 100%;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* L'animation fait défiler de 0 à -50% (la moitié des cartes) */
    animation: scrollTesti 60s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTesti {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testi-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    width: 400px;
    flex-shrink: 0;
    border-top: 4px solid var(--accent);
    transition: 0.3s;
}

.testi-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.testi-quote { color: var(--accent); font-size: 1.5rem; margin-bottom: 20px; opacity: 0.6; }
.testi-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 30px;
    min-height: 100px;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.testi-user img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
}

.testi-info h4 { font-size: 1rem; margin: 0; color: var(--dark); font-weight: 800; }
.testi-info span { font-size: 0.75rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
    .testi-card { width: 320px; padding: 25px; }
}
