/* /temoignages (noir) : le titre, puis les dix cartes. La base (en-tête, titre géant, pied) vient d'accueil.css. Au clic, la
   vidéo YouTube prend la place de l'image, à la même taille (temoignages.js). */
.temoins { padding: max(120px, 20vh) var(--marge) 16vh; }
.temoins-intro { margin-top: 22px; max-width: 26em; font-size: 18px; color: var(--gris); text-wrap: balance; }
.temoins-note { margin: 10px 0 9vh; font-size: 14px; color: var(--gris); } /* ce qu'un clic charge (youtube-nocookie) */
.temoins-grille { display: grid; gap: 44px 24px; list-style: none; margin: 0; padding: 0; }
.temoin-video, .temoin iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: var(--noir); }
.temoin-video { position: relative; overflow: clip; padding: 0; cursor: pointer; }
.temoin-video img { width: 100%; height: 100%; object-fit: cover; }
.temoin-lecture { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #fff; color: var(--noir); }
.temoin-nom { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.temoin-nom span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--gris); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .temoin-video img, .temoin-lecture svg { transition: transform 1s var(--sortie); }
  .temoin-video:is(:hover, :focus-visible) img { transform: scale(1.04); }
  .temoin-video:is(:hover, :focus-visible) .temoin-lecture svg { transform: scale(1.15); }
}
@media (min-width: 760px) {
  .temoins-grille { grid-template-columns: 1fr 1fr; gap: 64px clamp(24px, 3vw, 48px); }
  .temoin-lecture { right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 10px; }
  .temoin-nom { font-size: 30px; }
}
