/* v4 : clients "Trusted by the best", cartes projets, emplacement libre */
/* cartes projets */
.rl-f{border-radius:clamp(20px,2.2vw,32px);overflow:hidden;background:#111;aspect-ratio:4/5;display:block;isolation:isolate}
.rl-m{position:absolute;inset:0;aspect-ratio:auto;border-radius:0}
.rl-f::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#0000 45%,#000a 100%);pointer-events:none}
.rl-t{position:absolute;inset:0;z-index:3;flex-direction:column;justify-content:space-between;align-items:stretch;padding:clamp(14px,1.6vw,24px);pointer-events:none}
.rl-t p{order:-1;align-self:flex-start;display:inline-flex;align-items:center;gap:.5em;background:#fff;color:#000;font-size:.78rem;letter-spacing:.02em;text-transform:none;padding:.5em .95em;border-radius:999px;text-align:left}
.rl-t p::before{content:"";width:.5em;height:.5em;border-radius:50%;background:#000}
.rl-t h3{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;color:#fff;font-weight:500;pointer-events:auto}
.rl-t h3 a{pointer-events:auto}
.rl-t h3 span{display:grid;place-items:center;flex:none;width:2.1em;height:2.1em;border-radius:50%;background:#FFDB00;color:#000;font-size:.6em}
@media(min-width:900px){.rl-on .rl-track{align-items:flex-start}.rl-on .rl-f:nth-child(even){margin-top:clamp(28px,4.5vw,72px)}.rl-on .rl-f{flex-basis:clamp(320px,30vw,500px)}}
.rl-grid .rl-f{aspect-ratio:4/5}
@media(min-width:701px){.rl-grid .rl-f:nth-child(even){transform:translateY(clamp(20px,3vw,48px))}}

/* emplacement libre (cadre façon Figma) */
.rl-slot{background:#fff;border:2px dashed #0006;aspect-ratio:4/5}
.rl-slot::after{display:none}

.slot{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(16px,1.8vw,26px);color:#000;pointer-events:auto}
.slot i.h{position:absolute;width:11px;height:11px;background:#fff;border:2px solid #2b6bff;z-index:4}
.slot i.h:nth-of-type(1){left:-7px;top:-7px}.slot i.h:nth-of-type(2){right:-7px;top:-7px}.slot i.h:nth-of-type(3){left:-7px;bottom:-7px}.slot i.h:nth-of-type(4){right:-7px;bottom:-7px}
.rl-slot{overflow:visible;border-color:#2b6bff;border-style:dashed}
.slot-top{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#555}
.slot-pill{background:#FFDB00;color:#000;border-radius:999px;padding:.4em .9em;font-weight:500}
.slot h3{margin:0;font-size:clamp(1.8rem,3vw,3.1rem);font-weight:700;letter-spacing:-.045em;line-height:.98}
.slot-btns{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.slot-btns a{font-size:.9rem;text-decoration:none;padding:.7em 1.1em;border-radius:999px;border:1px solid #000;color:#000;position:relative;z-index:5}
.slot-btns a:first-child{background:#000;color:#fff}
.slot-btns a:hover{background:#FFDB00;color:#000;border-color:#FFDB00}
.cur{position:absolute;z-index:6;display:flex;align-items:flex-start;gap:2px;font-size:.72rem;font-weight:500;pointer-events:none;animation:cur 6s ease-in-out infinite}
.cur svg{width:16px;height:16px}
.cur b{font-weight:500;color:#fff;padding:.25em .6em;border-radius:999px;margin-top:12px}
.cur.a{right:14%;top:34%;color:#2b6bff}.cur.a b{background:#2b6bff}
.cur.b{left:18%;top:52%;color:#c4166f;animation-delay:-3s}.cur.b b{background:#c4166f}
@keyframes cur{50%{transform:translate(-26px,18px)}}
@media(prefers-reduced-motion:reduce){.cur{animation:none}}
.cb{border-radius:0!important;margin:0!important;clip-path:none!important}
.rl-t h3 a{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;width:100%}
.rl-t h3{display:block}

/* clients : lignes de logos, fond blanc, défilement lié au scroll */
.cb{background:#fff;color:#111;padding:clamp(40px,6vw,96px) 0;overflow:hidden;border:0;border-radius:0;margin:0}
.tb-rows{display:flex;flex-direction:column;gap:clamp(8px,.8vw,12px)}
.tb-row{display:flex;width:max-content;will-change:transform}
.tb-set{display:flex;align-items:center;gap:clamp(8px,.8vw,12px);padding-right:clamp(8px,.8vw,12px);margin:0}
.tb-l{display:flex;align-items:center;justify-content:center;flex:none;width:clamp(112px,10.8vw,170px);height:clamp(46px,4.1vw,64px);text-decoration:none}
.tb-l img{display:block;width:auto;height:auto;max-width:80%;max-height:62%;object-fit:contain;filter:grayscale(1);opacity:.88}
a.tb-l:hover img{opacity:1}
a.tb-l:focus-visible{outline:2px solid #111;outline-offset:2px}
.tb-w{display:inline-block;overflow:hidden;flex:none;padding:0 clamp(14px,2vw,32px);font-size:clamp(2rem,3.5vw,3.5rem);font-weight:600;letter-spacing:-.045em;line-height:1.15;white-space:nowrap}
.tb-w i{display:inline-block;font-style:normal;transition:transform .9s cubic-bezier(.19,.8,.22,1)}
.tb-hide .tb-w i{transform:translateY(108%)}
.tb-hide.in .tb-w i{transform:none}
.tb-hide.in .tb-row:nth-child(2) .tb-w i{transition-delay:.18s}
.tb-hide.in .tb-row:nth-child(3) .tb-w i{transition-delay:.36s}
.tb-foot{margin:clamp(28px,3.4vw,52px) auto 0;padding:0 var(--pad,5vw);max-width:44rem;text-align:center;font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.45;color:#222}

.rl-t p{display:none}
.rl-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.rl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.rl-grid{grid-template-columns:1fr}}

@media(max-width:899px),(hover:none){}
.rl{width:100vw;margin-left:calc(50% - 50vw)}
.rl-t h3 span{display:none!important}
.rl-intro h1{margin-bottom:clamp(20px,2.6vw,40px);padding-bottom:.12em}
