/* Témoignages publiés sur l'accueil (inc/differe-avis.php, jeton {{temoignages}}). */
.lxv .lead { margin-bottom: clamp(24px, 4vw, 40px); }
.lxv-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.lxv-card { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color var(--t-std) var(--ease); }
.lxv-card.has-audio { background: radial-gradient(120% 90% at 0% 0%, rgba(139, 61, 255, .16), transparent 60%), var(--surface); }
.lxv-card.is-playing { border-color: var(--orchid); }
.lxv-stars { margin: 0; color: #FFC83D; font-size: 18px; letter-spacing: 2px; }
.lxv-stars .is-off { color: var(--line-strong); }
.lxv-audio { --p: 0; display: flex; align-items: center; gap: 12px; }
.lxv-play { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; color: #fff; cursor: pointer;
  background: radial-gradient(circle at 30% 25%, var(--orchid), var(--violet-brand)); box-shadow: 0 8px 22px rgba(139, 61, 255, .45); transition: transform var(--t-quick); }
.lxv-play:hover { transform: scale(1.06); }
.lxv-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lxv-play .i-pause, .is-playing .lxv-play .i-play { display: none; }
.is-playing .lxv-play .i-pause { display: inline; }
.lxv-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px;
  -webkit-mask: linear-gradient(90deg, #000 calc(var(--p) * 100%), rgba(0, 0, 0, .35) 0); mask: linear-gradient(90deg, #000 calc(var(--p) * 100%), rgba(0, 0, 0, .35) 0); }
.lxv-wave i { flex: 1; border-radius: 2px; background: linear-gradient(var(--orchid), var(--violet)); height: 40%; }
.lxv-wave i:nth-child(3n) { height: 75%; }
.lxv-wave i:nth-child(4n+1) { height: 55%; }
.lxv-wave i:nth-child(5n+2) { height: 95%; }
.lxv-wave i:nth-child(7n) { height: 30%; }
.lxv-dur { flex: none; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lxv-quote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.lxv-quote::before { content: "« "; color: var(--orchid); }
.lxv-quote::after { content: " »"; color: var(--orchid); }
.lxv-card figcaption { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.lxv-card figcaption span { color: var(--muted); }

/* La section précède « Votre premier sous-niveau » (#cycle, sans marge haute) : l'écart vient d'ici. */
.lxv { padding-bottom: clamp(56px, 9vw, 96px); }

/* À partir de 4 témoignages : une rangée qui défile sans fin, comme « Tout ce que vous allez apprendre » ;
   pause au survol, au toucher, au clavier et pendant l'écoute d'un vocal. */
.lxv.is-defile { overflow: hidden; }
.lxv-viewport { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lxv-move { display: flex; width: max-content; animation: lxv-defile var(--lxv-dur, 60s) linear infinite; }
.lxv-viewport:hover .lxv-move, .lxv-viewport:focus-within .lxv-move, .lxv-viewport:active .lxv-move, .lxv-viewport.is-paused .lxv-move { animation-play-state: paused; }
@keyframes lxv-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .lxv-move { animation-name: lxv-defile-rtl; }
@keyframes lxv-defile-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.lxv-track { display: flex; align-items: stretch; gap: 16px; margin: 0; padding: 4px 16px 4px 0; list-style: none; }
.lxv-track > li { flex: none; width: min(340px, 82vw); display: flex; }
.lxv-track .lxv-card { width: 100%; }
.lxv-track .lxv-quote { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .lxv-move { animation: none; }
  .lxv-viewport { overflow-x: auto; -webkit-mask: none; mask: none; }
  .lxv-track[aria-hidden="true"] { display: none; }
}
