/* Testimonials Section */
.lp_gamme .testimonials {
    padding: 80px 0;
    background: var(--background-light);
}

.lp_gamme .testimonials-slider {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow: visible;
    position: relative;
    min-height: 650px; /* Hauteur augmentée pour éviter la coupure */
    padding-bottom: 80px; /* Espace pour les contrôles */
}

.lp_gamme .testimonial-card {
    flex: 1;
    min-width: 300px;
    background: var(--background-light);
    border-radius: 0; /* Contour carré */
    padding: 2rem;
    box-shadow: none; /* Suppression de l'ombre */
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.lp_gamme .testimonial-card:hover {
    transform: translateY(-5px);
}

.lp_gamme .testimonial-header {
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 280px; /* Augmenté de 200px à 280px pour les images plus grandes */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lp_gamme .testimonial-avatar {
    width: 360px; /* Augmenté de 240px à 360px (+50%) */
    height: 240px; /* Augmenté de 160px à 240px (+50%) */
    border-radius: 8px;
    margin: 0 auto 1rem;
    object-fit: contain; /* Changé de cover à contain pour éviter la coupure */
    max-width: 100%;
    max-height: 100%;
}



.lp_gamme .testimonial-quote {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
    flex-grow: 0;
}

.lp_gamme .testimonial-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Permet au texte de prendre l'espace disponible */
}

.lp_gamme .testimonial-author {
    font-weight: 500;
    color: var(--text-dark);
    flex-grow: 0;
    margin-top: auto; /* Pousse l'auteur vers le bas */
}

/* Contrôles de navigation */
.lp_gamme .testimonials-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    /* margin-top: 1rem; */
    position: relative;
    z-index: 10;
}

/* .lp_gamme .testimonial-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.lp_gamme .testimonial-nav-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.lp_gamme .testimonial-nav-btn:focus {
    outline: none;
} */

/* Responsive Testimonials */
@media (max-width: 768px) {
    .lp_gamme .testimonials-slider {
        flex-direction: column;
        gap: 0;
        min-height: 670px; /* Plus d'espace sur mobile */
        padding-bottom: 100px;
    }
    
    .lp_gamme .testimonial-card {
        display: none;
        min-width: auto;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        min-height: 650px;
    }
    
    .lp_gamme .testimonial-card.active {
        display: flex;
    }
    
    .lp_gamme .testimonials-controls {
        display: flex !important; /* Force l'affichage */
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1rem;
        position: relative; /* Changé de absolute à relative */
        z-index: 20;
    }
    
    /* .lp_gamme .testimonial-nav-btn {
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.2);
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        display: flex !important; 
    }
    
    .lp_gamme .testimonial-nav-btn:hover {
        background: rgba(0, 0, 0, 0.3);
    } */
    
    .lp_gamme .testimonial-header {
        min-height: 300px; /* Augmenté de 220px à 300px pour les images plus grandes */
    }
}
