@charset "UTF-8";
.testimonials {
  margin: 40px auto;
}
@media screen and (min-width: 1024px) {
  .testimonials {
    margin: 64px auto;
  }
}
.testimonials--container {
  max-width: 1124px;
  margin: auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
  background: rgba(121, 60, 127, 0.1);
  border-radius: 36px;
}
.testimonials {
  /* =========================================================
     HEADING
     ========================================================= */
}
.testimonials--heading {
  max-width: 1044px;
  margin: auto;
  text-align: center;
}
.testimonials--heading .uptitle {
  margin-bottom: 16px;
  color: var(--violet-clair);
}
.testimonials--heading h2 {
  color: var(--violet);
  text-align: center;
}
.testimonials {
  /* =========================================================
     SLIDER
     ========================================================= */
}
.testimonials--slider {
  width: 100%;
  overflow: hidden;
}
.testimonials--wrapper {
  align-items: center;
}
.testimonials {
  /* =========================================================
     ITEM
     ========================================================= */
}
.testimonials--item {
  height: auto;
  min-height: 358px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  background-color: var(--blanc);
  border-radius: 30px;
}
.testimonials--avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
}
.testimonials--avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials {
  /* =========================================================
     CONTENT
     ========================================================= */
}
.testimonials--content p {
  color: var(--violet);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.testimonials--author {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
}
.testimonials--author strong,
.testimonials--author span {
  color: rgba(121, 60, 127, 0.5);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
.testimonials {
  /* =========================================================
     NAVIGATION
     ========================================================= */
}
.testimonials--navigation {
  margin: auto;
}
.testimonials {
  /* =========================================================
     DESKTOP
     ========================================================= */
}
@media screen and (min-width: 1024px) {
  .testimonials--container {
    padding: 56px 40px;
    gap: 40px;
  }
  .testimonials--heading .uptitle {
    margin-bottom: 24px;
  }
  .testimonials--slider {
    overflow: hidden;
  }
  .testimonials--wrapper {
    height: 500px;
    align-items: center;
  }
  .testimonials--item {
    height: 448px;
    padding: 40px;
    border-radius: 30px;
    gap: 24px;
    justify-content: center;
    transition: height 0.3s ease;
  }
  .testimonials--content p {
    font-size: 20px;
  }
  .testimonials--author strong,
  .testimonials--author span {
    font-size: 16px;
  }
  .testimonials {
    /* =====================================================
       MODE SWIPER DESKTOP
       Plus de 3 témoignages
       ===================================================== */
  }
  .testimonials:not(.is-static-desktop) .testimonials--item.swiper-slide-active {
    height: 500px;
  }
  .testimonials {
    /* =====================================================
       MODE STATIQUE DESKTOP
       3 témoignages ou moins
       ===================================================== */
  }
  .testimonials.is-static-desktop .testimonials--slider {
    overflow: visible;
  }
  .testimonials.is-static-desktop .testimonials--wrapper {
    display: grid;
    grid-template-columns: repeat(var(--testimonials-count), minmax(0, 1fr));
    align-items: center;
    gap: 40px;
    height: 500px;
    transform: none !important;
  }
  .testimonials.is-static-desktop .testimonials--item {
    width: auto !important;
  }
  .testimonials.is-static-desktop {
    /*
     * Avec exactement 3 témoignages : le deuxième est le central
     */
  }
  .testimonials.is-static-desktop[data-testimonials-count="3"] .testimonials--item:nth-child(2) {
    height: 500px;
  }
  .testimonials.is-static-desktop {
    /*
     * En desktop statique : aucune navigation nécessaire
     */
  }
  .testimonials.is-static-desktop .testimonials--navigation {
    display: none;
  }
}
