/* ============================================================
   FLUXIA — sections sous le hero
   ============================================================ */

.section { padding: clamp(90px, 13vh, 170px) var(--pad); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.h2 { font-size: clamp(40px, 5.4vw, 84px); font-weight: 600; }
.h2 em { color: var(--accent); }

/* ---- Fonctionnement : six étapes carrées ---- */
.how { background: var(--bg); }
.how__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vh, 72px); }
.how__head .lede { margin-top: 0; max-width: 42ch; }
.how__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.how__step { --txt-h: 140px; position: relative; aspect-ratio: 1 / 1.12; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.4vw, 36px); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg); overflow: hidden; transition: background .5s var(--ease); }
.how__step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .7s var(--ease); }
.how__step:hover { background: var(--bg-2); }
.how__step:hover::before { width: 100%; }
.how__n { font-family: var(--serif); font-weight: 700; font-size: clamp(52px, 5.4vw, 86px); line-height: .85; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px var(--fg); transition: color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.how__step:hover .how__n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.how__tag { position: absolute; top: clamp(22px, 2.4vw, 36px); right: clamp(22px, 2.4vw, 36px); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.how__txt { min-height: var(--txt-h); }
.how__txt h3 { font-size: clamp(22px, 2.05vw, 31px); line-height: 1.08; font-weight: 600; }
.how__txt p { margin-top: 8px; color: var(--fg-soft); font-size: clamp(14.5px, 1.1vw, 16px); line-height: 1.5; max-width: 34ch; }
.how__step--last { background: var(--accent); }
.how__step--last .how__n { -webkit-text-stroke-color: var(--on-accent); }
.how__step--last .how__tag, .how__step--last .how__txt h3 { color: var(--on-accent); }
.how__step--last .how__txt p { color: color-mix(in srgb, var(--on-accent) 85%, transparent); }
.how__step--last:hover { background: var(--accent); }
.how__step--last:hover .how__n { color: var(--on-accent); -webkit-text-stroke-color: var(--on-accent); }
.how__step--last::before { background: var(--on-accent); }
.how__cta { margin-top: clamp(28px, 4vh, 48px); }

@media (min-width: 1180px) { .how__grid { grid-template-columns: repeat(3, 1fr); } }
/* ---- Illustrations des étapes : se jouent au survol, au clavier, ou à l'écran sur tactile ---- */
.how__step:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.how__art { flex: 1; min-height: 76px; display: grid; place-items: center; margin: 8px 0 12px; color: var(--fg); }
.how__art svg { width: 100%; max-width: 270px; height: 100%; max-height: 118px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.how__art .hot { stroke: var(--accent); }
.how__art .bar { fill: currentColor; stroke: none; opacity: .28; }
.how__art svg * { transform-box: fill-box; transition: transform .6s var(--ease), opacity .6s var(--ease), stroke-dashoffset .9s var(--ease), stroke .4s, fill .4s; }
.how__step--last .how__art { color: var(--on-accent); }
.how__step--last .how__art .hot { stroke: var(--on-accent); }

/* 1 · Appel : les ondes partent, les tâches chronophages apparaissent */
.how__art .fillc { fill: color-mix(in srgb, var(--accent) 16%, transparent); stroke: var(--accent); }
.how__art .w { opacity: .18; }
.how__art .r { opacity: .4; }
.how__art .r .bar { transform-origin: left center; transform: scaleX(.35); }
.how__art .clk { stroke: currentColor; opacity: .7; }
.how__step:hover .w, .how__step:focus-visible .w, .how__step.is-play .w { animation: howWave 1.5s var(--ease) infinite; }
.how__step:hover .w2, .how__step:focus-visible .w2, .how__step.is-play .w2 { animation-delay: .18s; }
.how__step:hover .w3, .how__step:focus-visible .w3, .how__step.is-play .w3 { animation-delay: .36s; }
@keyframes howWave { 0% { opacity: .15; transform: translateX(-4px); } 40% { opacity: 1; } 100% { opacity: .15; transform: translateX(4px); } }
.how__step:hover .r, .how__step:focus-visible .r, .how__step.is-play .r { opacity: 1; }
.how__step:hover .r .bar, .how__step:focus-visible .r .bar, .how__step.is-play .r .bar { transform: scaleX(1); opacity: .5; }
.how__step:hover .r .clk, .how__step:focus-visible .r .clk, .how__step.is-play .r .clk { stroke: var(--accent); opacity: 1; }
.how__step:hover .r1, .how__step.is-play .r1, .how__step:hover .r1 *, .how__step.is-play .r1 * { transition-delay: .15s; }
.how__step:hover .r2, .how__step.is-play .r2, .how__step:hover .r2 *, .how__step.is-play .r2 * { transition-delay: .4s; }
.how__step:hover .r3, .how__step.is-play .r3, .how__step:hover .r3 *, .how__step.is-play .r3 * { transition-delay: .65s; }

/* 2 · Présentation : le schéma se relie, un flux circule */
.how__art .nd { fill: none; stroke: currentColor; opacity: .55; }
.how__art .nd2 { stroke: var(--accent); opacity: 1; }
.how__art .lk { stroke-dasharray: 22; stroke-dashoffset: 22; opacity: .5; }
.how__art .pulse { fill: var(--accent); stroke: none; opacity: 0; }
.how__art .dotc { opacity: .4; }
.how__step:hover .lk, .how__step:focus-visible .lk, .how__step.is-play .lk { stroke-dashoffset: 0; opacity: 1; }
.how__step:hover .lk2, .how__step.is-play .lk2 { transition-delay: .5s; }
.how__step:hover .nd3, .how__step.is-play .nd3 { stroke: var(--accent); opacity: 1; transition-delay: .9s; }
.how__step:hover .dotc, .how__step.is-play .dotc { animation: howBeat 1.1s var(--ease) infinite; opacity: 1; }
@keyframes howBeat { 50% { transform: scale(1.35); } }
.how__step:hover .pulse, .how__step:focus-visible .pulse, .how__step.is-play .pulse { animation: howFlow 2s var(--ease) infinite .4s; }
@keyframes howFlow { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(104px); opacity: 0; } }
.how__step--last .how__art .pulse { fill: var(--on-accent); }

/* 3 · Signature : le document se signe, le tampon valide */
.how__art .doc { fill: color-mix(in srgb, currentColor 5%, transparent); opacity: .7; }
.how__art .sig { stroke-dasharray: 150; stroke-dashoffset: 150; stroke-width: 2.2; }
.how__art .ok { opacity: 0; transform: scale(.4); }
.how__art .okc { fill: var(--accent); stroke: none; }
.how__art .ok path { stroke: #fff; stroke-width: 2.4; }
.how__step:hover .sig, .how__step:focus-visible .sig, .how__step.is-play .sig { stroke-dashoffset: 0; transition-duration: 1.3s; transition-delay: .15s; }
.how__step:hover .ok, .how__step:focus-visible .ok, .how__step.is-play .ok { opacity: 1; transform: scale(1); transition-delay: 1.3s; }

/* 4 · Implémentation : l'agent se branche sur vos outils */
.how__art .lk.l1, .how__art .lk.l2, .how__art .lk.l3, .how__art .lk.l4 { stroke-dasharray: 80; stroke-dashoffset: 80; }
.how__art .tl { opacity: .4; transform: scale(.7); }
.how__art .ag { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); }
.how__art .agc { fill: var(--accent); }
.how__step:hover .l1, .how__step:hover .l2, .how__step:hover .l3, .how__step:hover .l4, .how__step:focus-visible .lk, .how__step.is-play .lk { stroke-dashoffset: 0; }
.how__step:hover .l2, .how__step.is-play .l2 { transition-delay: .25s; } .how__step:hover .l3, .how__step.is-play .l3 { transition-delay: .5s; } .how__step:hover .l4, .how__step.is-play .l4 { transition-delay: .75s; }
.how__step:hover .tl, .how__step:focus-visible .tl, .how__step.is-play .tl { opacity: 1; transform: scale(1); }
.how__step:hover .t1, .how__step.is-play .t1 { transition-delay: .35s; } .how__step:hover .t2, .how__step.is-play .t2 { transition-delay: .6s; } .how__step:hover .t3, .how__step.is-play .t3 { transition-delay: .85s; } .how__step:hover .t4, .how__step.is-play .t4 { transition-delay: 1.1s; }
.how__step:hover .agc, .how__step.is-play .agc { animation: howBeat 1.2s var(--ease) infinite 1.2s; }
.how__step--last .how__art .ag, .how__step--last .how__art .agc { stroke: var(--on-accent); }

/* 5 · Maintenance et optimisation : la courbe monte, le moteur tourne */
.how__art .base { opacity: .4; }
.how__art .br { fill: currentColor; stroke: none; opacity: .25; transform-origin: bottom center; transform: scaleY(.35); }
.how__art .trend { stroke-dasharray: 150; stroke-dashoffset: 150; stroke-width: 2.2; }
.how__art .gear { opacity: .55; transform-origin: center; }
.how__step:hover .br, .how__step:focus-visible .br, .how__step.is-play .br { transform: scaleY(1); opacity: .5; }
.how__step:hover .b2, .how__step.is-play .b2 { transition-delay: .1s; } .how__step:hover .b3, .how__step.is-play .b3 { transition-delay: .2s; } .how__step:hover .b4, .how__step.is-play .b4 { transition-delay: .3s; } .how__step:hover .b5, .how__step.is-play .b5 { transition-delay: .4s; }
.how__step:hover .trend, .how__step:focus-visible .trend, .how__step.is-play .trend { stroke-dashoffset: 0; transition-duration: 1.2s; transition-delay: .3s; }
.how__step:hover .gear, .how__step:focus-visible .gear, .how__step.is-play .gear { animation: howSpin 4s linear infinite; opacity: 1; }
@keyframes howSpin { to { transform: rotate(360deg); } }

/* 6 · Lancement : l'interrupteur passe en production, 100 % */
.how__art .trk { fill: none; stroke: currentColor; opacity: .55; }
.how__art .knob { fill: currentColor; stroke: none; }
.how__art .ring { stroke: currentColor; opacity: 0; }
.how__art .chk { stroke: var(--accent); stroke-width: 2.6; opacity: 0; }
.how__step--last .how__art .chk { stroke: var(--accent); }
.how__art .pbg { fill: currentColor; stroke: none; opacity: .22; }
.how__art .pfill { fill: currentColor; stroke: none; transform-origin: left center; transform: scaleX(.08); opacity: .9; }
.how__step:hover .knob, .how__step:focus-visible .knob, .how__step.is-play .knob, .how__step:hover .ring, .how__step.is-play .ring, .how__step:hover .chk, .how__step.is-play .chk { transform: translateX(44px); }
.how__step:hover .chk, .how__step.is-play .chk { opacity: 1; transition-delay: .35s; }
.how__step:hover .ring, .how__step:focus-visible .ring, .how__step.is-play .ring { animation: howRing 1.6s var(--ease) infinite .5s; }
@keyframes howRing { 0% { opacity: .8; transform: translateX(44px) scale(1); } 100% { opacity: 0; transform: translateX(44px) scale(1.9); } }
.how__step:hover .pfill, .how__step:focus-visible .pfill, .how__step.is-play .pfill { transform: scaleX(1); transition-duration: 1.2s; transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .how__art svg *, .how__art svg * { animation: none !important; transition: none !important; }
  .how__art .sig, .how__art .trend, .how__art .lk { stroke-dashoffset: 0 !important; }
  .how__art .ok, .how__art .tl, .how__art .r { opacity: 1 !important; transform: none !important; }
  .how__art .r .bar, .how__art .br, .how__art .pfill { transform: none !important; }
}

/* ---- Scènes « vidéo » : une courte séquence claire par étape, rejouée à chaque survol ---- */
.how__step { --on: ':is(.how__step:hover, .how__step:focus-visible, .how__step.is-play)'; }
.how__scene { position: absolute; z-index: 2; left: clamp(16px, 2vw, 28px); right: clamp(16px, 2vw, 28px); top: clamp(16px, 2vw, 28px); bottom: calc(var(--txt-h) + clamp(22px, 2.4vw, 36px) + 12px); display: flex; flex-direction: column; background: #0c0c0d; color: #f2f2f3; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; overflow: hidden; font-size: 12.5px; line-height: 1.3; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); }
.how__step:is(:hover, :focus-visible, .is-play) .how__scene { opacity: 1; visibility: visible; transition-delay: 0s; }
.how__n, .how__tag, .how__art { transition: opacity .35s var(--ease), color .5s var(--ease), -webkit-text-stroke-color .5s var(--ease); }
.how__step:is(:hover, :focus-visible, .is-play) :is(.how__n, .how__tag, .how__art) { opacity: 0; }
.sc__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 11.5px; color: #bdbdc4; letter-spacing: .02em; flex: 0 0 auto; }
.sc__bar i { width: 8px; height: 8px; border-radius: 50%; background: #34343a; }
.sc__bar span { margin-left: 8px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #e0343a; }
.sc__body { flex: 1; min-height: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.sc__cap { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8f8f98; }
.sc__who { display: flex; align-items: center; gap: 8px; }
.av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #26262a; font-size: 9.5px; font-weight: 600; }
.av--f { background: #e0343a; color: #fff; }
.eq { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: #e0343a; transform: scaleY(.25); transform-origin: bottom; }
.sc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; background: #17171a; font-weight: 500; }
.sc__list em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #fff; background: #e0343a; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sc__list--ticks li { border: 0; background: none; padding: 3px 0; }
.sc__list--tight { gap: 3px; }
.tk { flex: 0 0 auto; position: relative; width: 16px; height: 16px; border-radius: 50%; background: #e0343a; transform: scale(0); }
.tk::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sc__flow { display: flex; align-items: center; margin-top: 6px; }
.nd { flex: 1; padding: 10px 6px; text-align: center; font-weight: 600; font-size: 12.5px; border: 1px solid rgba(255,255,255,0.18); border-radius: 7px; background: #17171a; }
.nd small { display: block; margin-top: 2px; font-weight: 400; font-size: 10.5px; color: #8f8f98; }
.nd--hot { border-color: #e0343a; }
.ln { flex: 0 0 22px; height: 2px; background: #e0343a; transform: scaleX(0); transform-origin: left; }
.sc__ok { margin: auto 0 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sc__doc { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 7px; padding: 12px; background: #f2f2f3; border-radius: 5px; }
.sc__doc > i { display: block; height: 6px; border-radius: 3px; background: #c9c9ce; }
.sc__doc > i:nth-child(1) { width: 92%; } .sc__doc > i:nth-child(2) { width: 70%; } .sc__doc > i:nth-child(3) { width: 82%; }
.sig { width: 52%; margin-top: auto; overflow: visible; }
.sig path { fill: none; stroke: #131316; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.stamp { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border: 2px solid #e0343a; border-radius: 4px; color: #e0343a; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-8deg); }
.sc__prog { margin-top: auto; position: relative; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; }
.sc__prog i { position: absolute; inset: 0; background: #e0343a; transform: scaleX(0); transform-origin: left; }
.sc__prog--full { display: flex; align-items: center; gap: 10px; height: auto; background: none; overflow: visible; }
.sc__prog--full i { position: relative; inset: auto; flex: 1; height: 8px; border-radius: 4px; }
.sc__prog--full em { font-style: normal; font-weight: 700; font-size: 14px; }
.sc__chart { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.sc__chart i { flex: 1; height: var(--h); background: #e0343a; opacity: .9; border-radius: 2px 2px 0 0; transform: scaleY(0); transform-origin: bottom; }
.sc__sw { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; background: #17171a; font-weight: 600; }
.sw { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #3a3a40; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.how__scene .a { opacity: 0; }

/* déroulé : chaque élément entre à son heure (--t), tout se rejoue à chaque survol */
.how__step:is(:hover, :focus-visible, .is-play) .how__scene .a { animation: scIn .55s var(--ease) var(--t, 0s) both; }
.how__step:is(:hover, :focus-visible, .is-play) .how__scene .ln.a { animation-name: scLine; animation-duration: .5s; }
.how__step:is(:hover, :focus-visible, .is-play) .how__scene .stamp.a { animation-name: scStamp; animation-duration: .45s; }
.how__step:is(:hover, :focus-visible, .is-play) .tk { animation: scTick .4s cubic-bezier(.3,1.6,.5,1) calc(var(--t, 0s) + .35s) both; }
.how__step:is(:hover, :focus-visible, .is-play) .eq i { animation: scEq .8s ease-in-out infinite alternate; }
.how__step:is(:hover, :focus-visible, .is-play) .eq i:nth-child(2) { animation-delay: .12s; } .how__step:is(:hover, :focus-visible, .is-play) .eq i:nth-child(3) { animation-delay: .24s; } .how__step:is(:hover, :focus-visible, .is-play) .eq i:nth-child(4) { animation-delay: .06s; } .how__step:is(:hover, :focus-visible, .is-play) .eq i:nth-child(5) { animation-delay: .18s; }
.how__step:is(:hover, :focus-visible, .is-play) .rec { animation: scBlink 1.1s steps(2, jump-none) infinite; }
.how__step:is(:hover, :focus-visible, .is-play) .sig path { animation: scSign 1.1s var(--ease) 1.2s both; }
.how__step:is(:hover, :focus-visible, .is-play) .sc__prog i { animation: scFill 3.1s linear .2s both; }
.how__step:is(:hover, :focus-visible, .is-play) .sc__prog--full i { animation-duration: 1.6s; animation-delay: .9s; }
.how__step:is(:hover, :focus-visible, .is-play) .sc__chart i { animation: scGrow .7s var(--ease) both; }
.how__step:is(:hover, :focus-visible, .is-play) .sc__chart i:nth-child(1) { animation-delay: .3s; } .how__step:is(:hover, :focus-visible, .is-play) .sc__chart i:nth-child(2) { animation-delay: .42s; } .how__step:is(:hover, :focus-visible, .is-play) .sc__chart i:nth-child(3) { animation-delay: .54s; } .how__step:is(:hover, :focus-visible, .is-play) .sc__chart i:nth-child(4) { animation-delay: .66s; } .how__step:is(:hover, :focus-visible, .is-play) .sc__chart i:nth-child(5) { animation-delay: .78s; }
.how__step:is(:hover, :focus-visible, .is-play) .sw { animation: scSw .4s var(--ease) 1.1s both; }
.how__step:is(:hover, :focus-visible, .is-play) .sw::after { animation: scKnob .4s var(--ease) 1.1s both; }
@keyframes scIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes scLine { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes scStamp { from { opacity: 0; transform: rotate(-8deg) scale(1.9); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes scTick { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes scEq { to { transform: scaleY(1); } }
@keyframes scBlink { 50% { opacity: .15; } }
@keyframes scSign { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes scFill { to { transform: scaleX(1); } }
@keyframes scGrow { to { transform: scaleY(1); } }
@keyframes scSw { to { background: #e0343a; } }
@keyframes scKnob { to { transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) { .how__scene { display: none; } }

/* ---- Outils : défilés d'applications (3 rangées) ---- */
.tools { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: clamp(70px, 10vh, 130px); padding-bottom: clamp(70px, 10vh, 130px); overflow: hidden; }
.tools__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vh, 70px); }
.tools__head .lede { margin-top: 0; max-width: 42ch; }
.tools__rows { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.tools__row { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: toolsL 46s linear infinite; }
.tools__row--r { animation-name: toolsR; animation-duration: 54s; }
.tools__row--slow { animation-duration: 60s; }
.tools__rows:hover .tools__row { animation-play-state: paused; }
@keyframes toolsL { to { transform: translateX(calc(-50% - 7px)); } }
@keyframes toolsR { from { transform: translateX(calc(-50% - 7px)); } to { transform: translateX(0); } }
.chip { flex: 0 0 auto; display: grid; place-items: center; width: clamp(150px, 15vw, 200px); height: clamp(64px, 6.4vw, 84px); padding: 0 22px; border-radius: 10px; background: #eeeef0; border: 1px solid transparent; transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); cursor: default; }
.chip img { max-height: clamp(26px, 2.6vw, 34px); max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.62; transition: filter .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease); }
.chip:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.65); }
.chip:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---- Démos : workflows ---- */
.demos { background: var(--bg-2); }
.demos__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vh, 60px); }
.demos__head .lede { margin-top: 0; max-width: 40ch; }
.flows { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); }
.flow__canvas { position: relative; aspect-ratio: 16 / 9; background: #0c0c0d; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.flow__video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; background: #0c0c0d; }
.flow__zoom { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.28); background: rgba(12,12,13,0.78); color: #f2f2f3; font: 600 13px var(--sans); cursor: pointer; opacity: 0; transition: opacity .3s; }
.flow__zoom svg { width: 14px; height: 14px; }
.flow__canvas:hover .flow__zoom, .flow__zoom:focus-visible { opacity: 1; }
@media (hover: none) { .flow__zoom { opacity: 1; } }
.flow__video:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.flow__cap { margin-top: 18px; display: flex; gap: 16px; align-items: baseline; }
.flow__cap span { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.flow__cap h3 { font-size: clamp(22px, 2.2vw, 30px); }
.flow__cap p { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--muted); max-width: 52ch; }


/* ---- Équipe : module à défilement (chaque carte se révèle à son tour) ----
   --k (0 → 1) est posé par script.js pour chaque carte : photo qui se dévoile,
   zoom qui se pose, puis textes qui arrivent un par un. Sans JS : --k = 1. */
.team { position: relative; background: var(--bg); height: 250vh; }
.team__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 90px var(--pad) 40px; }
.team__wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.team__eyebrow { margin-bottom: clamp(24px, 4vh, 44px); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 36px); }
.member { --k: 1; display: grid; grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr); gap: clamp(20px, 2.4vw, 36px); align-items: center; padding: clamp(16px, 1.8vw, 26px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; position: relative; overflow: hidden; }
.member::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: calc(var(--k) * 100%); background: var(--accent); }
.member__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--bg-3); clip-path: inset(0 0 calc((1 - var(--k)) * 100%) 0); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(calc(1.22 - 0.22 * var(--k))); transform-origin: 50% 30%; }
.member--a .member__photo img { object-position: 25% 18%; }
.member__photo.is-empty { display: grid; place-items: center; background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); }
.member__photo.is-empty img { display: none; }
.member__photo.is-empty::after { content: attr(data-fallback); font-family: var(--serif); font-weight: 700; font-size: clamp(90px, 9vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
/* textes : arrivent l'un après l'autre */
.member__info > * { --t: clamp(0, calc((var(--k) - 0.34 - var(--i, 0) * 0.07) * 4.2), 1); opacity: var(--t); transform: translateY(calc((1 - var(--t)) * 22px)); }
.member__info > :nth-child(1) { --i: 0; }
.member__info > :nth-child(2) { --i: 1; }
.member__info > :nth-child(3) { --i: 2; }
.member__info > :nth-child(4) { --i: 3; }
.member__info > :nth-child(5) { --i: 4; }
.member__idx { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--accent); margin-bottom: 10px; }
.member__name { font-size: clamp(38px, 4.4vw, 66px); line-height: .95; font-weight: 700; letter-spacing: -0.015em; }
.member__role { font-family: var(--mono); font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 14px; }
.member__text { margin-top: 16px; color: var(--fg-soft); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; }
.member__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.member__in, .member__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 0; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); transition: border-color .3s, background .3s; }
.member__in:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.12); }
.member__wa { padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); transition: border-color .3s, background .3s; }
.member__wa:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.12); }
.member__walogo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #25d366; flex: 0 0 auto; }
.member__walogo svg { width: 15px; height: 15px; fill: #fff; }
.member__inlogo { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #0a66c2; flex: 0 0 auto; }
.member__inlogo svg { width: 15px; height: 15px; fill: #fff; }

/* ---- Sécurité ---- */
.secure { background: var(--bg-2); position: relative; overflow: hidden; }
.secure::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 85% 20%, #000, transparent 70%);
}
.secure .inner { position: relative; }
.secure__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(48px, 7vh, 90px); }
.secure__item { border-top: 2px solid var(--fg); padding-top: 20px; }
.secure__item strong { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; }
.secure__item span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---- Module RGPD : trajet des données, garanties, chartes des IA, sources ---- */
.rgpd { background: var(--ink); border-top: 1px solid var(--line); }
.rgpd__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vh, 70px); }
.rgpd__head .lede { margin-top: 0; max-width: 46ch; }
.rgm__hd { display: flex; align-items: baseline; gap: 18px; margin: clamp(64px, 9vh, 104px) 0 clamp(22px, 3vh, 34px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.rgm__hd--first { margin-top: 0; }
.rgm__hd span { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
.rgm__hd h3 { font-size: clamp(24px, 2.3vw, 34px); font-weight: 600; line-height: 1.1; }

/* trajet */
.rgm__journey { border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg); padding: clamp(24px, 3.4vw, 52px); }
.rgm__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.rgm__line { position: absolute; left: 12.5%; right: 12.5%; top: 45px; height: 2px; background: var(--line-2); }
.rgm__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--step, 0) / 3 * 100%); background: var(--accent); transition: width .7s var(--ease); }
.rgm__dot { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); animation: rgmDot 4.8s var(--ease) infinite; }
@keyframes rgmDot { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.rgm__node { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 0 8px; position: relative; z-index: 1; }
.rgm__node:focus-visible .rgm__ico { outline: 2px solid var(--accent); outline-offset: 4px; }
.rgm__ico { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--fg-soft); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.rgm__ico svg { width: 30px; height: 30px; }
.rgm__ico--logo, .rgm__ico--dark { width: min(100%, 168px); height: 92px; border-radius: 14px; padding: 0 12px; }
.rgm__ico--plain { width: min(100%, 168px); height: 92px; border-radius: 14px; }
.rgm__ico--plain svg { width: 36px; height: 36px; }
.rgm__tools img[src*="sage"] { height: 24px; }
@media (max-width: 700px) { .rgm__tools img[src*="sage"] { height: 16px; } }
.rgm__ico--logo { background: #fff; border-color: rgba(255,255,255,0.9); }
.rgm__ico--dark { background: #0c0c0d; border-color: rgba(255,255,255,0.22); }
.rgm__ico--logo > span, .rgm__ico--dark > span { transition: filter .4s var(--ease), opacity .4s var(--ease); }
.rgm__node:not(.is-active) .rgm__ico--logo > span { filter: grayscale(1); opacity: .55; }
.rgm__node.is-active .rgm__ico.rgm__ico--logo { background: #fff; border-color: var(--accent); }
.rgm__node.is-active .rgm__ico.rgm__ico--dark { background: #0c0c0d; border-color: var(--accent); }
.rgm__node:hover .rgm__ico.rgm__ico--logo, .rgm__node:hover .rgm__ico.rgm__ico--dark { border-color: var(--accent); }
.rgm__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: center; justify-items: center; width: 100%; }
.rgm__tools img { max-width: 100%; height: 15px; width: auto; }
.rgm__models { display: grid; gap: 9px; justify-items: start; }
.rgm__models span { display: flex; align-items: center; gap: 9px; color: #111; }
.rgm__models img { width: 17px; height: 17px; }
.rgm__models b { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1; }
.rgm__fx { display: flex; align-items: center; gap: 9px; color: #f2f2f3; }
.rgm__fx img { width: 30px; height: 31px; }
.rgm__fx b { font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: -0.01em; line-height: 1; }
.rgm__fx em { color: #e0343a; font-style: normal; }
.rgm__lab { font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); color: var(--fg-soft); transition: color .3s; line-height: 1.1; }
.rgm__lab small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 5px; }
.rgm__node:hover .rgm__ico { transform: translateY(-3px); border-color: var(--accent); color: var(--fg); }
.rgm__node.is-active .rgm__ico { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: scale(1.06); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 14%, transparent); }
.rgm__node.is-active .rgm__lab { color: var(--fg); }
.rgm__node.is-active .rgm__lab small { color: var(--accent); }
.rgm__panels { margin-top: clamp(30px, 4.5vh, 52px); padding-top: clamp(26px, 3.6vh, 40px); border-top: 1px solid var(--line); }
.rgm__panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 70px); align-items: start; }
.rgm__panel[hidden] { display: none; }
.rgm__panel.is-active .rgm__pt { animation: rgmIn .6s var(--ease) both; }
.rgm__panel.is-active .rgm__pts li { animation: rgmIn .6s var(--ease) both; animation-delay: calc(var(--n, 0) * 90ms + 120ms); }
.rgm__pts li:first-child { border-top: 1px solid var(--line); }
@keyframes rgmIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rgm__pt h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.04; }
.rgm__pt > p { margin-top: 12px; color: var(--fg-soft); font-size: 17px; max-width: 40ch; }
.rgm__pts { list-style: none; margin: 0; padding: 0; display: block; }
.rgm__pts li { position: relative; padding: 18px 0 18px 42px; border-bottom: 1px solid var(--line); color: var(--fg); font-size: 16.5px; line-height: 1.5; }
.rgm__pts li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* bouton « sources » */
.src-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 8px 14px 8px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-soft); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: border-color .3s, color .3s, background .3s; }
.src-btn svg { width: 16px; height: 16px; color: var(--accent); }
.src-btn em { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--bg-3); color: var(--fg); font-size: 11px; }
.src-btn:hover, .src-btn:focus-visible { border-color: var(--accent); color: var(--fg); background: transparent; }
.src-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* garanties */
.rgm__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.rgm__card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 4px; background: var(--bg); transition: border-color .4s var(--ease), background .4s var(--ease); }
.rgm__card:hover { border-color: var(--line-2); background: var(--bg-2); }
.rgm__cico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); color: var(--accent); transition: background .4s, color .4s, border-color .4s; }
.rgm__card:hover .rgm__cico { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.rgm__cico svg { width: 24px; height: 24px; }
.rgm__card h4 { margin: 18px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.12; }
.rgm__card p { margin-top: 10px; color: var(--fg-soft); font-size: 16px; line-height: 1.5; flex: 1; }
.rgm__card .src-btn { margin-top: 20px; }

/* chartes des IA */
.rgm__ais { border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg); overflow: hidden; }
.rgm__ptabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.rgm__ptab { all: unset; box-sizing: border-box; cursor: pointer; padding: 18px 26px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--fg-soft); position: relative; transition: color .3s, background .3s; }
.rgm__ptab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .45s var(--ease); }
.rgm__ptab:hover { color: var(--fg); }
.rgm__ptab.is-active { color: var(--fg); background: var(--bg); }
.rgm__ptab.is-active::after { transform: scaleX(1); }
.rgm__ptab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rgm__ai { padding: clamp(24px, 3vw, 44px); }
.rgm__ai[hidden] { display: none; }
.rgm__ai.is-active { animation: rgmIn .55s var(--ease) both; }
.rgm__aihead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rgm__aihead h4 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.4vw, 50px); line-height: 1; }
.rgm__aihead span { color: var(--muted); font-size: 16px; }
.rgm__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(22px, 3vh, 34px); }
.rgm__fact { padding: 18px 0 0; border-top: 1px solid var(--line-2); }
.rgm__flab { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rgm__fact strong { display: block; margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; }
.rgm__fact p { margin-top: 10px; color: var(--fg-soft); font-size: 15.5px; line-height: 1.5; }

/* questions du DPO */
.rgm__qa { border-top: 1px solid var(--line-2); }
.rgm__qa details { border-bottom: 1px solid var(--line); }
.rgm__qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; transition: color .3s; }
.rgm__qa summary:hover { color: var(--accent); }
.rgm__qa summary::-webkit-details-marker { display: none; }
.rgm__qa summary::after { content: "+"; font-size: 28px; color: var(--accent); transition: transform .4s var(--ease); flex: 0 0 auto; }
.rgm__qa details[open] summary::after { transform: rotate(45deg); }
.rgm__qa details p { padding: 0 40px 24px 0; color: var(--fg-soft); max-width: 66ch; animation: rgmIn .5s var(--ease) both; }
.rgpd__note { margin-top: 36px; font-size: 13px; color: var(--muted); max-width: 90ch; }

/* panneau des sources */
.sd { position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none; transition: visibility 0s linear .5s; }
.sd.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.sd__ov { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .45s var(--ease); }
.sd.is-open .sd__ov { opacity: 1; }
.sd__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 94vw); background: #f4f4f5; color: #131316; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .55s var(--ease); box-shadow: -30px 0 80px -30px rgba(0,0,0,0.7); outline: none; }
.sd.is-open .sd__panel { transform: none; }
.sd__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 20px; border-bottom: 1px solid rgba(19,19,22,0.14); }
.sd__kicker { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #c4161c; margin: 0 0 6px; }
.sd__head h3 { font-size: 28px; line-height: 1.05; }
.sd__x { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(19,19,22,0.25); transition: background .3s, color .3s; }
.sd__x svg { width: 18px; height: 18px; }
.sd__x:hover, .sd__x:focus-visible { background: #131316; color: #fff; }
.sd__list { list-style: none; margin: 0; padding: 12px 28px; overflow-y: auto; flex: 1; }
.sd__item { padding: 20px 0; border-bottom: 1px solid rgba(19,19,22,0.12); opacity: 0; transform: translateX(24px); }
.sd.is-open .sd__item { animation: sdIn .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 70ms + 200ms); }
@keyframes sdIn { to { opacity: 1; transform: none; } }
.sd__badge { display: inline-block; padding: 3px 9px; border-radius: 3px; background: #131316; color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sd__badge--off { background: #c4161c; }
.sd__item h4 { margin: 10px 0 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.15; }
.sd__org { margin: 4px 0 0; font-size: 14px; color: #6c6c75; }
.sd__proves { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: #3b3b42; }
.sd__open { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border-radius: 999px; background: #c4161c; color: #fff; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, transform .3s var(--ease); }
.sd__open:hover { background: #131316; transform: translateX(3px); }
.sd__foot { margin: 0; padding: 16px 28px 22px; font-size: 13px; color: #6c6c75; border-top: 1px solid rgba(19,19,22,0.12); }
body.sd-lock { overflow: hidden; }

/* ---- FAQ ---- */
.faq { background: var(--bg); }
.faq__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__aside { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.faq__aside p { color: var(--fg-soft); margin-bottom: 22px; max-width: 30ch; }
.faq__list { border-top: 2px solid var(--fg); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa__q { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 54px 1fr 28px; align-items: center; gap: 10px; padding: 28px 0; cursor: pointer; }
.qa__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qa__n { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--accent); }
.qa__t { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2vw, 29px); line-height: 1.15; transition: color .3s; }
.qa__q:hover .qa__t { color: var(--accent); }
.qa__i { position: relative; width: 20px; height: 20px; justify-self: end; }
.qa__i::before, .qa__i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: var(--fg); transition: transform .45s var(--ease), background .3s; }
.qa__i::after { transform: rotate(90deg); }
.qa.is-open .qa__i::after { transform: rotate(0); }
.qa.is-open .qa__i::before, .qa.is-open .qa__i::after { background: var(--accent); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 38px 30px 64px; color: var(--fg-soft); max-width: 62ch; }

/* ---- Contact ---- */
.contact { background: var(--bg-2); }
.contact__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(40px, 6vh, 70px); }
.contact__top .lede { margin-top: 0; }
.booking { border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: #fff; min-height: 640px; position: relative; }
.booking iframe { position: relative; z-index: 1; width: 100%; height: 700px; border: 0; display: block; }
.booking__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: #666; font-size: 15px; z-index: 0; text-align: center; padding: 20px; }
.booking__fallback a { color: var(--accent); margin-left: 6px; }

/* ---- Footer ---- */
.footer { background: var(--ink); padding: clamp(60px, 9vh, 100px) var(--pad) 36px; border-top: 1px solid var(--line); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: end; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-weight: 700; font-size: clamp(60px, 10vw, 150px); line-height: 0.88; letter-spacing: -0.03em; }
.footer__brand em { color: var(--accent); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.footer__links a:hover { color: var(--accent); }
.footer__base { max-width: var(--maxw); margin: 28px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .rgm__track { grid-template-columns: repeat(4, 1fr); }
  .rgm__ico { width: 60px; height: 60px; } .rgm__line { top: 30px; }
  .rgm__panel { grid-template-columns: 1fr; }
  .rgm__cards { grid-template-columns: 1fr 1fr; }
  .rgm__facts { grid-template-columns: 1fr; }
  .faq__inner, .contact__top { grid-template-columns: 1fr; gap: 44px; }
  .faq__head { position: static; }
  .secure__grid { grid-template-columns: 1fr 1fr; }
  .flows { grid-template-columns: 1fr; }
  /* équipe : plus de défilement épinglé sur tablette / mobile */
  .team { height: auto; padding: clamp(80px, 12vh, 130px) var(--pad); }
  .team__stage { position: relative; height: auto; overflow: visible; padding: 0; display: block; }
  .team__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rgm__cards { grid-template-columns: 1fr; }
  .rgm__lab { font-size: 15px; }
  .rgm__ico { width: 52px; height: 52px; } .rgm__ico svg { width: 24px; height: 24px; } .rgm__line { top: 26px; }
  .rgm__ptab { padding: 14px 18px; font-size: 17px; }
  .secure__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; }
  .how__step { aspect-ratio: auto; min-height: 450px; gap: 28px; }
  .qa__q { grid-template-columns: 40px 1fr 24px; }
  .qa__a p { padding-left: 50px; padding-right: 0; }
  .footer__base { flex-direction: column; }
}
@media (max-width: 640px) {
  .member { grid-template-columns: 1fr; }
  .member__photo { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .tools__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .tools__rows { -webkit-mask-image: none; mask-image: none; }
  .team { height: auto; padding: clamp(80px, 12vh, 130px) var(--pad); }
  .team__stage { position: relative; height: auto; overflow: visible; padding: 0; display: block; }
}

@media (max-width: 960px) {
  .rgm__ico.rgm__ico--logo, .rgm__ico.rgm__ico--dark, .rgm__ico.rgm__ico--plain { width: min(100%, 132px); height: 76px; padding: 0 8px; }
  .rgm__line { top: 37px; }
  .rgm__fx b { font-size: 20px; } .rgm__fx img { width: 24px; height: 25px; }
  .rgm__models b { font-size: 14px; }
}
@media (max-width: 700px) {
  .rgm__ico.rgm__ico--logo, .rgm__ico.rgm__ico--dark, .rgm__ico.rgm__ico--plain { width: 100%; height: 58px; padding: 0 6px; border-radius: 10px; }
  .rgm__line { top: 28px; }
  .rgm__tools { grid-template-columns: 1fr; gap: 8px; } .rgm__tools img:nth-child(n+3) { display: none; } .rgm__tools img { height: 11px; }
  .rgm__models { gap: 6px; } .rgm__models b { display: none; } .rgm__models span { gap: 0; } .rgm__models { grid-auto-flow: column; gap: 12px; justify-items: center; }
  .rgm__fx b { display: none; } .rgm__fx img { width: 28px; height: 29px; }
}
