.customer-testimonials {
  width: 100%;
}


/* =========================================
   HEADER CLIENT
   ========================================= */

.customer-testimonials__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 120px;
}

.customer-testimonials__logo {
  width: auto;
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 30px;
}

.customer-testimonials__sector {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 10px;
}

.customer-testimonials__title {
  margin: 0 0 30px;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
}

.customer-testimonials__link {
  text-decoration: none;
  font-weight: 600;
}


/* =========================================
   LISTE DES TÉMOIGNAGES
   ========================================= */

.customer-testimonials__list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}


/* =========================================
   TÉMOIGNAGE
   ========================================= */

.customer-testimonial {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  align-items: center;
  gap: 80px;
}


/* Un témoignage sur deux est inversé */

.customer-testimonial--reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.5fr);
}

.customer-testimonial--reverse .customer-testimonial__media {
  order: 2;
}

.customer-testimonial--reverse .customer-testimonial__content {
  order: 1;
}

.testimonial-card__form-image {
  position: absolute;
  z-index: -1;
  left: -50%;
  bottom: -30%;
  width: 100%;
  height: 100%;
}

/* =========================================
   MEDIA / VIDÉO
   ========================================= */

.customer-testimonial__media {
  width: 100%;
  position: relative;
}

.customer-testimonial__media .testimonial-card {
  width: 100%;
}

.customer-testimonial__media .testimonial-card__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.customer-testimonial__media .testimonial-card__video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}


/* =========================================
   CONTENU TÉMOIGNAGE
   ========================================= */

.customer-testimonial__content {
  max-width: 500px;
}

.customer-testimonial__speaker {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color : var(--blue);

  span {
    color : var(--blue);
  }
}

.customer-testimonial__text {
  font-size: 18px;
  line-height: 1.6;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

  .customer-testimonials__header {
    margin-bottom: 70px;
  }

  .customer-testimonials__title {
    font-size: 42px;
  }

  .customer-testimonials__list {
    gap: 70px;
  }

  .customer-testimonial,
  .customer-testimonial--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Sur mobile, toujours vidéo puis contenu */
  .customer-testimonial__media,
  .customer-testimonial--reverse .customer-testimonial__media {
    order: 1;
  }

  .customer-testimonial__content,
  .customer-testimonial--reverse .customer-testimonial__content {
    order: 2;
  }

}