.testimonials { padding-block: clamp(3rem, 1.7rem + 5.6vw, 6.25rem); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.testimonial { margin: 0; display: flex; }

/* Cartes de hauteur égale : le texte est tronqué au même nombre de lignes,
   la signature reste alignée d'une carte à l'autre. */
.testimonial__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  background: var(--gl-bg-tint);
}

.testimonial__quote { position: relative; flex: 1; margin: 0; }

.testimonial__quote::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.0625rem;
  margin: 0 0 0.875rem;
  background: var(--gl-sand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cpath d='M0 20V11.4C0 5.1 3.7.9 9.9 0l.9 3.2c-3.4.9-5 2.8-4.8 5.6H11V20Zm17 0V11.4C17 5.1 20.7.9 26.9 0l.9 3.2c-3.4.9-5 2.8-4.8 5.6H28V20Z'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Cpath d='M0 20V11.4C0 5.1 3.7.9 9.9 0l.9 3.2c-3.4.9-5 2.8-4.8 5.6H11V20Zm17 0V11.4C17 5.1 20.7.9 26.9 0l.9 3.2c-3.4.9-5 2.8-4.8 5.6H28V20Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.testimonial__text {
  font-family: var(--gl-font-head);
  font-size: 1.1875rem;
  font-weight: 200;
  line-height: 1.79;
  letter-spacing: 0.0526em;
  color: var(--gl-text-dark);
}
.testimonial__text p { margin: 0 0 1em; }
.testimonial__text p:last-child { margin-bottom: 0; }

/* Replié : on borne le nombre de lignes visibles. */
.testimonial__text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
}

.testimonial__more {
  display: block;
  margin: 0.875rem 0 0;
  padding: 0;
  font-family: var(--gl-font-body);
  font-size: 0.875rem;
  color: var(--gl-plum);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  transition: color var(--gl-dur) var(--gl-ease);
}
.testimonial__more:hover, .testimonial__more:focus-visible { color: var(--gl-link-hover); }

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(42, 40, 38, 0.09);
}

.testimonial__avatar {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--gl-bg-alt);
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial__name {
  font-family: var(--gl-font-head);
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.26;
  color: var(--gl-text-dark);
}

@media (max-width: 61.99em) {
  .testimonials__grid { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
}
