.testimonials-section {
  padding: 80px 20px 120px 20px;
  background: transparent;
  position: relative;
  overflow: visible;
}

.testimonials-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Titre */
.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 60px;
  line-height: 1.2;
}

/* Splide */
.testimonials-splide {
  position: relative;
  padding: 0;
  overflow: hidden;
}

/* Slide - Layout horizontal 50/50 */
.testimonial-slide {
  display: flex;
  flex-direction: row;
  gap: 30px;
  background: transparent;
  height: 550px;
  align-items: stretch;
  min-width: 100%;
}

/* CARD TEXTE - 37% GAUCHE */
.testimonial-content {
  flex: 0 0 calc(37% - 15px);
  height: 550px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.testimonial-content:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Logo */
.testimonial-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  background: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Citation */
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-style: italic;
}

/* Auteur */
.testimonial-author {
  margin-bottom: 15px;
}

.testimonial-author .name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #F36B21 0%, #2F80ED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.testimonial-author .position {
  font-size: 0.9rem;
  color: #666666;
  margin-top: -0.24cm;
}

/* Divider */
.testimonial-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 15px 0;
}

/* Stats */
.testimonial-stats {
  display: flex;
  gap: 25px;
  margin-top: 15px;
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #F97316;
  line-height: 1.2;
  margin-bottom: 6px;
  text-align: left;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
  text-align: left;
}

/* IMAGE - 63% DROITE */
.testimonial-image {
  flex: 0 0 calc(63% - 15px);
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 550px;
  transition: transform 0.3s ease;
}

/* Config Splide */
.splide__track {
  overflow: hidden !important;
  width: 100%;
}

.splide__list {
  display: flex;
  width: 100%;
}

.splide__slide {
  opacity: 1;
  flex-shrink: 0;
  width: 100%;
}

.splide__pagination {
  display: none !important;
}

.splide__arrow {
  background: transparent;
  border: none;
  opacity: 1 !important;
}

.splide__arrow svg {
  fill: #1a1a1a;
}

/* ========================================
   RESPONSIVE TABLETTE (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .testimonials-section h2 {
    font-size: 2rem;
  }
  
  .testimonial-slide {
    display: flex;
    flex-direction: row;
    gap: 30px;
    background: transparent;
    height: 550px;
    align-items: stretch;
    min-width: 100%;
  }
  
  .testimonial-content {
    flex: 1;
    padding: 30px 25px;
    border-radius: 16px;
    position: relative;
    height: 550px;
  }
  
  .testimonial-image {
    flex: 1;
    min-height: 350px;
    border-radius: 16px;
  }
}

/* ========================================
   RESPONSIVE MOBILE (max-width: 768px)
   UNE SEULE CARTE - IMAGE EN HAUT, TEXTE EN BAS
   ======================================== */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 15px 80px 15px;
  }
  
  .testimonials-section h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }
  
  /* Layout vertical : image en haut, texte en bas */
  .testimonial-slide {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
    height: auto;
    min-height: auto;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  }
  
  /* Image en haut (mais en column-reverse, donc déclarée après) */
  .testimonial-image {
    flex: none;
    width: 100%;
    height: 200px;
    min-height: 200px;
    border-radius: 16px 16px 0 0;
    order: 2;
  }
  
  /* Texte en bas */
  .testimonial-content {
    flex: none;
    width: 100%;
    height: auto;
    padding: 25px 20px;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    background: #ffffff;
    order: 1;
  }
  
  .testimonial-content:hover {
    box-shadow: none;
  }
  
  .testimonial-logo {
    height: 40px;
    max-width: 120px;
    margin-bottom: 15px;
    padding: 10px 15px;
  }
  
  .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .testimonial-author {
    margin-bottom: 12px;
  }
  
  .testimonial-author .name {
    font-size: 0.95rem;
  }
  
  .testimonial-author .position {
    font-size: 0.85rem;
  }
  
  /* Stats - Chiffres sur la même ligne, labels en dessous, CENTRES */
  .testimonial-stats {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
    justify-content: center;
  }
  
  .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 4px;
    text-align: center;
  }
  
  .stat-label {
    font-size: 0.75rem;
    text-align: center;
  }
  
  /* Splide - une seule slide visible */
  .testimonials-splide {
    padding: 0;
  }
  
  .splide__slide {
    padding: 0 5px;
  }
}

/* ========================================
   RESPONSIVE PETIT MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  .testimonials-section {
    padding: 50px 10px 60px 10px;
  }
  
  .testimonials-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  .testimonial-image {
    height: 180px;
    min-height: 180px;
  }
  
  .testimonial-content {
    padding: 20px 15px;
  }
  
  .testimonial-logo {
    height: 35px;
    max-width: 100px;
    padding: 8px 12px;
  }
  
  .testimonial-quote {
    font-size: 0.9rem;
  }
  
  /* Stats - Chiffres sur la même ligne, labels en dessous, CENTRES */
  .testimonial-stats {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
  }
  
  .stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .stat-number {
    font-size: 1.3rem;
    margin-bottom: 4px;
    text-align: center;
  }
  
  .stat-label {
    font-size: 0.7rem;
    text-align: center;
  }
}

