/* Section « Côté client » : vidéo dans un téléphone + 3 étapes synchronisées */
.cdemo{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center;max-width:1040px;margin:0 auto}
.cdemo-steps{display:flex;flex-direction:column;gap:14px;order:1}
.cdemo-step{all:unset;box-sizing:border-box;display:grid;grid-template-columns:44px 1fr;gap:16px;align-items:start;padding:18px 20px;border-radius:18px;border:1px solid rgba(var(--fg-rgb),.12);background:rgba(var(--fg-rgb),.03);cursor:pointer;position:relative;overflow:hidden;transition:background .3s,border-color .3s,transform .3s}
.cdemo-step:hover{border-color:rgba(var(--fg-rgb),.28)}
.cdemo-step:focus-visible{outline:2px solid #1ECFDF;outline-offset:3px}
.cdemo-step .n{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:18px;background:rgba(var(--fg-rgb),.08);color:var(--muted);transition:.3s}
.cdemo-step h3{font-size:18px;font-weight:700;margin:2px 0 4px;color:var(--white)}
.cdemo-step p{font-size:14.5px;line-height:1.55;color:var(--muted);margin:0}
.cdemo-step .bar{position:absolute;left:0;bottom:0;height:3px;width:0;background:linear-gradient(90deg,#1ECFDF,#7c3aed)}
.cdemo-step.on{background:rgba(30,207,223,.09);border-color:rgba(30,207,223,.5);transform:translateX(4px)}
.cdemo-step.on .n{background:#1ECFDF;color:#04222a}
.cdemo-phone{order:2;justify-self:center;width:min(300px,78vw);position:relative}
.cdemo-frame{position:relative;aspect-ratio:390/844;border-radius:46px;padding:10px;background:linear-gradient(145deg,#2b2f3a,#0d0f14);box-shadow:0 40px 90px rgba(0,0,0,.45),inset 0 0 0 2px rgba(255,255,255,.08)}
.cdemo-frame:before{content:"";position:absolute;left:50%;top:18px;width:92px;height:26px;margin-left:-46px;background:#05060a;border-radius:20px;z-index:3}
.cdemo-screen{position:relative;width:100%;height:100%;border-radius:37px;overflow:hidden;background:#0b0f14}
.cdemo-screen video{width:100%;height:100%;object-fit:cover;display:block}
.cdemo-play{position:absolute;inset:0;display:none;place-items:center;background:rgba(0,0,0,.25);border:0;cursor:pointer;z-index:4}
.cdemo-play:after{content:"";width:0;height:0;border-left:24px solid #fff;border-top:15px solid transparent;border-bottom:15px solid transparent;margin-left:6px}
.cdemo[data-paused="1"] .cdemo-play{display:grid}
.cdemo-glow{position:absolute;inset:auto -20% -12% -20%;height:40%;background:radial-gradient(closest-side,rgba(30,207,223,.35),transparent);filter:blur(30px);z-index:-1}
@media(max-width:860px){.cdemo{grid-template-columns:1fr;gap:34px}.cdemo-phone{order:1}.cdemo-steps{order:2}.cdemo-step.on{transform:none}}
@media(prefers-reduced-motion:reduce){.cdemo-step,.cdemo-step .n{transition:none}}
