/* Temoignages : carrousel, deux cartes a la fois (une sur mobile). */
.lp-tst { --tst-blue: #0b5ed7; --tst-teal: #14b8a6; --tst-ink: #0f172a; --tst-muted: #52627a; --tst-line: #e2e9f2;
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 96px) 20px;
  background: radial-gradient(1200px 500px at 85% -10%, rgb(20 184 166 / 13%), transparent 60%), radial-gradient(900px 480px at 0% 110%, rgb(11 94 215 / 10%), transparent 60%), linear-gradient(180deg, #f6f9ff 0%, #f2fbf9 100%); }
.lp-tst::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgb(11 94 215 / 9%) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.lp-tst-inner { max-width: 1120px; margin: 0 auto; }
.lp-tst-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.lp-tst-kicker { display: inline-flex; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tst-line); color: var(--tst-blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 6px 16px -10px rgb(11 94 215 / 40%); }
.lp-tst-head h2 { margin: 0 0 12px; color: var(--tst-ink); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.8px; line-height: 1.12; }
.lp-tst-lead { margin: 0; color: var(--tst-muted); font-size: 17px; }

.lp-tst-carousel { position: relative; }
.lp-tst-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; margin: -16px -24px 0; padding: 16px 24px 56px; scroll-padding-inline: 24px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.lp-tst-track::-webkit-scrollbar { display: none; }
.is-single .lp-tst-track { grid-auto-columns: min(100%, 760px); justify-content: center; }
.lp-tst-slide { display: flex; scroll-snap-align: start; min-width: 0; }
.lp-tst-card { position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; margin: 0; padding: 32px 34px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--tst-line);
  box-shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 24px 48px -24px rgb(11 94 215 / 28%); transition: transform .3s ease, box-shadow .3s ease; }
.lp-tst-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--tst-blue), var(--tst-teal)); }
.lp-tst-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 32px 60px -26px rgb(11 94 215 / 36%); }
.lp-tst-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.lp-tst-img { display: block; flex-shrink: 0; width: 72px; height: 72px; }
.lp-tst-img.is-logo { width: auto; max-width: 168px; height: 64px; object-fit: contain; object-position: left center; }
.lp-tst-img.is-photo { border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 18px -6px rgb(15 23 42 / 30%); }
.lp-tst-initials { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; background: linear-gradient(135deg, var(--tst-blue), var(--tst-teal)); color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .5px; box-shadow: 0 10px 22px -10px rgb(11 94 215 / 60%); }
.lp-tst-mark { width: 40px; height: 30px; flex-shrink: 0; fill: rgb(11 94 215 / 20%); }
.lp-tst-card blockquote { flex: 1; margin: 0 0 24px; color: var(--tst-ink); font-size: 16.5px; line-height: 1.7; white-space: pre-line; }
.is-single .lp-tst-card blockquote { font-size: clamp(17px, 1.9vw, 20px); }
.lp-tst-card figcaption { display: grid; gap: 3px; padding-top: 18px; border-top: 1px solid #edf1f6; color: var(--tst-muted); font-size: 14px; line-height: 1.4; }
.lp-tst-card figcaption strong { color: var(--tst-ink); font-size: 16px; }
.lp-tst-in { justify-self: start; margin-top: 4px; color: var(--tst-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.lp-tst-in:hover, .lp-tst-in:focus-visible { text-decoration: underline; }

.lp-tst-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: -24px; }
.lp-tst-controls[hidden] { display: none; }
.lp-tst-arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--tst-line); background: #fff; color: var(--tst-ink); cursor: pointer; box-shadow: 0 8px 20px -12px rgb(15 23 42 / 35%); transition: background .2s ease, color .2s ease, transform .2s ease; }
.lp-tst-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lp-tst-arrow:hover, .lp-tst-arrow:focus-visible { background: var(--tst-blue); border-color: var(--tst-blue); color: #fff; }
.lp-tst-arrow:active { transform: scale(.94); }
.lp-tst-arrow:focus-visible, .lp-tst-dot:focus-visible { outline: 3px solid rgb(11 94 215 / 35%); outline-offset: 3px; }
.lp-tst-dots { display: flex; gap: 8px; }
.lp-tst-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #c7d3e3; cursor: pointer; transition: width .3s ease, background .3s ease; }
.lp-tst-dot[aria-current="true"] { width: 28px; background: linear-gradient(90deg, var(--tst-blue), var(--tst-teal)); }

.lp-tst-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin: 36px auto 0; padding: 0; list-style: none; }
.lp-tst-logos li { display: grid; place-items: center; height: 76px; padding: 0 26px; border-radius: 18px; background: #fff; border: 1px solid var(--tst-line); box-shadow: 0 10px 24px -16px rgb(15 23 42 / 30%); transition: transform .2s ease; }
.lp-tst-logos li:hover { transform: translateY(-2px); }
.lp-tst-logos img { display: block; width: auto; max-width: 140px; height: 48px; object-fit: contain; }

@media (max-width: 760px) {
  .lp-tst-track { grid-auto-columns: 100%; gap: 16px; margin: -16px -20px 0; padding: 16px 20px 48px; scroll-padding-inline: 20px; }
  .lp-tst-card { padding: 28px 22px 22px; border-radius: 20px; }
  .lp-tst-img.is-logo { max-width: 140px; height: 54px; }
  .lp-tst-logos li { height: 64px; padding: 0 18px; }
  .lp-tst-logos img { max-width: 110px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-tst-track { scroll-behavior: auto; }
  .lp-tst-card, .lp-tst-arrow, .lp-tst-dot, .lp-tst-logos li { transition: none; }
  .lp-tst-card:hover, .lp-tst-logos li:hover { transform: none; }
}
