/* --- Section --- */
.testimonials-section {
    padding: 3rem 0;
}

/* --- Swiper slide spacing --- */
.testimonials-swiper .swiper-slide {
    width: auto !important;      /* ← permet à la carte de prendre la largeur qu’on veut */
    max-width: 800px !important; /* ← taille maxi */
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

/* --- Carte en deux colonnes --- */
.testimonial-card {
    display: grid;
    grid-template-columns: 180px 1fr;  /* ← Deux colonnes */
    gap: 0 2rem;
    background: var(--card-bg, #ffffff);
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    transition: 0.25s ease;
}

body.dark-mode .testimonial-card {
    background: #212529;
    box-shadow: 0 6px 24px rgba(0,0,0,0.40);
}

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

/* --- Colonne gauche --- */
.testimonial-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color, #35d6b8);
    margin-bottom: 1rem;
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color, #35d6b8);
    text-decoration: none;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.85;
}

.testimonial-company {
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.85;
    text-decoration: none;
}

/* --- Colonne droite --- */
.testimonial-right {
    display: flex;
    align-items: center;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Responsive mobile (1 colonne) --- */
@media (max-width: 768px) {
    .testimonial-card {
        grid-template-columns: 1fr; /* ← une seule colonne */
        text-align: center;
        width: 90vw !important;
    }

    .testimonial-right {
        margin-top: 1rem;
    }
}
/* Positionnement */
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    color: var(--primary-color, #35d6b8);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.25s ease;
}

/* Mode sombre */
body.dark-mode .testimonials-swiper .swiper-button-prev,
body.dark-mode .testimonials-swiper .swiper-button-next {
    background: rgba(255,255,255,0.06);
    color: #35d6b8;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

/* Hover */
.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
    background: var(--primary-color, #35d6b8);
    color: #fff;
}

/* On recentre bien les flèches verticalement */
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
}

/* Petite taille sur mobile */
@media (max-width: 768px) {
    .testimonials-swiper .swiper-button-prev,
    .testimonials-swiper .swiper-button-next {
        width: 34px;
        height: 34px;
    }
}
/* Position + centrage */
.testimonials-pagination {
    margin-top: 1.5rem;
    text-align: center;
}

/* Style des bullets */
.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #999;
    opacity: 0.4;
    margin: 0 6px !important;
    transition: 0.25s ease;
}

/* Bullet active */
.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color, #35d6b8);
    opacity: 1;
    transform: scale(1.2);
}

/* Mode sombre */
body.dark-mode .testimonials-pagination .swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.3;
}

body.dark-mode .testimonials-pagination .swiper-pagination-bullet-active {
    background: #35d6b8;
    opacity: 1;
}

.testimonials-meta {
    margin-bottom: 10px;
}

/* footer du témoignage */
.testimonial-footer {
    margin-top: 10px;
}