/* ============================================================
   OPTERIA : page « Sécurité des données » (06/10/2026, demande Axel) : la seule page du site en mode sombre.
   Esprit gleap.ai/kai en thème sombre : gris superposés (#141414 page, #1f1f1f cartes, #2a2a2a cadres), titres blancs
   avec une seconde phrase grise, la couleur vient des peintures OpterIA et de quelques lueurs, maquettes blanches posées dessus.
   Tout est rangé sous body.page-sombre : aucune autre page n'est touchée. Chargée après da-gleap.css et da-cerveau.css.
   Animations : securite.js (transform, opacity, stroke-dashoffset seulement).
   ============================================================ */
body.page-sombre {
  --paper: #141414; --paper-2: #1f1f1f; --card: #1f1f1f; --carte: #1f1f1f; --cadre: #2a2a2a;
  --ink: #fff; --ink-2: rgba(255,255,255,.7); --ink-3: rgba(255,255,255,.52); --texte: rgba(255,255,255,.88); --muet: rgba(255,255,255,.7);
  --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.16); --g-100: #1f1f1f; --g-150: #333; --g-200: #3d3d3d;
  --vert: #4cc02b; --sd-ease: cubic-bezier(.22,1,.36,1);
  background: var(--paper); color: var(--texte); color-scheme: dark;
}
body.page-sombre h1, body.page-sombre h2, body.page-sombre h3 { color: #fff; }
body.page-sombre .g { color: var(--ink-3); }
body.page-sombre ::selection { background: rgba(251,77,23,.45); color: #fff; }
body.page-sombre a:focus-visible, body.page-sombre button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }

/* ---------- Menu en pilule : verre gris un ton plus clair que la page, pour qu'il se détache du noir ---------- */
body.page-sombre .pil { background: rgba(40,40,40,.72); border-color: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
body.page-sombre .pil__menu a { color: #a3a3a0; }
body.page-sombre .pil__menu a:hover { color: #fff; }
@media (max-width: 900px) { body.page-sombre .pil__menu { background: rgba(30,30,30,.97); } }

/* ---------- Boutons : blanc sur sombre, secondaire gris (comme gleap en thème sombre) ---------- */
body.page-sombre .btn.btn:not(.nav__cta) { background: #fff; color: #141414; }
body.page-sombre .btn.btn:not(.nav__cta):hover { background: #e9e9e6; color: #141414; }
body.page-sombre .btn.btn--ghost:not(.nav__cta) { background: #333; color: #fff; }
body.page-sombre .btn.btn--ghost:not(.nav__cta):hover { background: #424242; color: #fff; }

.sd-sec { position: relative; padding: 96px 0; }
.sd-tete { max-width: 820px; }
.sd-tete__p { margin-top: 22px; max-width: 720px; font-size: 18px; line-height: 1.55; color: var(--muet); }
.sd-ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #2c2c2c; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); transition: background .35s ease, color .35s ease; }
.sd-ico svg { width: 21px; height: 21px; }
.sd-ico--petit { width: 32px; height: 32px; border-radius: 9px; }
.sd-ico--petit svg { width: 18px; height: 18px; }

/* ---------- Premier écran ---------- */
.sd-hero { position: relative; margin-top: -64px; padding: 156px 0 40px; text-align: center; overflow: hidden; isolation: isolate; }
.sd-hero__ciel { position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1; pointer-events: none; }
.sd-lueur { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.sd-lueur--a { left: 50%; top: 0; width: 620px; height: 340px; margin-left: -520px; background: #FB4D17; opacity: .2; animation: sd-derive 16s ease-in-out infinite; }
.sd-lueur--b { left: 50%; top: 40px; width: 560px; height: 320px; margin-left: -40px; background: #7c5cff; opacity: .2; animation: sd-derive 19s ease-in-out -6s infinite reverse; }
.sd-lueur--c { left: 50%; top: 200px; width: 520px; height: 260px; margin-left: -260px; background: #3f7fd8; opacity: .14; animation: sd-derive 22s ease-in-out -11s infinite; }
@keyframes sd-derive { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 30px) scale(1.12); } }
.sd-hero__tete { max-width: 880px; margin: 0 auto; }
.sd-pastille { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); font-size: 14px; color: rgba(255,255,255,.85); }
.sd-pastille i { width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(76,192,43,.18); animation: sd-point 2.4s ease-in-out infinite; }
@keyframes sd-point { 50% { opacity: .45; } }
.sd-hero h1 { max-width: 860px; margin: 0 auto; }
.sd-hero h1 > .g { display: block; }
.sd-hero__sous { max-width: 760px; margin: 26px auto 0; font-size: 19px; line-height: 1.5; color: var(--muet); }
.sd-hero__actions { justify-content: center; margin-top: 34px; }

/* le coffre : la peinture OpterIA, trois anneaux qui se dessinent, vos données qui se rassemblent, le cadenas qui se referme */
.sd-coffre { --kx: 1; --ky: 1; --serre: .64; position: relative; height: 560px; margin-top: 72px; border-radius: 24px; background: #2a2a2a var(--peinture-2) 50% 45% / cover no-repeat; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.sd-coffre::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(20,20,20,0) 0%, rgba(20,20,20,.18) 60%, rgba(20,20,20,.55) 100%); }
html.js .sd-coffre { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity 1s ease .3s, transform 1.2s var(--sd-ease) .3s; }
html.js .sd-coffre.is-in { opacity: 1; transform: none; }
.sd-anneaux { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sd-anneau { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .55; transition: stroke-dashoffset 1.6s var(--sd-ease), opacity .8s ease, stroke-width .6s ease; }
.sd-anneau--2 { opacity: .4; transition-delay: .15s; } .sd-anneau--3 { opacity: .28; transition-delay: .3s; }
.sd-coffre.e1 .sd-anneau { stroke-dashoffset: 0; }
.sd-coffre.e3 .sd-anneau--1 { stroke: url(#sdAnneau); stroke-width: 2.5; opacity: 1; }
.sd-coffre__halo { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.75) 0%, rgba(255,214,190,.35) 35%, rgba(255,255,255,0) 70%); opacity: .35; transform: scale(.8); transition: opacity .9s ease, transform 1.2s var(--sd-ease); }
.sd-coffre.e3 .sd-coffre__halo { opacity: .9; transform: scale(1.1); }
.sd-coffre__tour { position: absolute; left: 50%; top: 50%; width: 256px; height: 256px; margin: -128px 0 0 -128px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.5); opacity: 0; transition: opacity .8s ease; animation: sd-tour 40s linear infinite; }
.sd-coffre.e3 .sd-coffre__tour { opacity: 0; }
.sd-coffre.e1:not(.e3) .sd-coffre__tour { opacity: .6; }
@keyframes sd-tour { to { transform: rotate(360deg); } }

.sd-puces { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; z-index: 2; }
.sd-puces li { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 12px; border-radius: 999px; background: #fff; color: #191919; font-size: 14.5px; white-space: nowrap;
  box-shadow: none;
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--kx) * 1.35), calc(var(--y) * var(--ky) * 1.35)) scale(.9); opacity: 0;
  transition: transform 1.1s var(--sd-ease), opacity .7s ease; transition-delay: calc(var(--i) * 90ms); }
.sd-puces svg { width: 17px; height: 17px; color: #444; }
.sd-coffre.e2 .sd-puces li { opacity: 1; transform: translate(-50%, -50%) translate(calc(var(--x) * var(--kx)), calc(var(--y) * var(--ky))); }
.sd-coffre.e3 .sd-puces li { opacity: 1; transform: translate(-50%, -50%) translate(calc(var(--x) * var(--kx) * var(--serre)), calc(var(--y) * var(--ky) * var(--serre))) scale(.96); }
.sd-coffre.e3 .sd-puces svg { color: #FB4D17; transition: color .4s ease .5s; }

.sd-plaque { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: 168px; height: 168px; margin: -84px 0 0 -84px; border-radius: 40px; background: #fff; color: #191919;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4); transform: rotate(-4deg); transition: transform .8s cubic-bezier(.3,1.4,.5,1); }
.sd-coffre.e3 .sd-plaque { transform: rotate(0deg) scale(1.03); }
.sd-plaque svg { width: 78px; height: 78px; overflow: visible; }
.sd-cad__anse, .sd-cad__corps { transform-box: view-box; }
/* le cadenas commence ouvert (anse levée et pivotée sur sa branche droite) et se referme d'un « clic » */
.sd-cad__anse { transform-origin: 16px 11px; transform: translateY(-2.6px) rotate(-28deg); transition: transform .7s cubic-bezier(.65,0,.35,1); }
.sd-coffre.e3 .sd-cad__anse { transform: none; }
.sd-cad__corps { transform-origin: 12px 21px; }
.sd-coffre.e3 .sd-cad__corps { animation: sd-clic .5s ease-out .55s; }
@keyframes sd-clic { 0%, 100% { transform: none; } 35% { transform: scale(1.07, .94); } 70% { transform: scale(.98, 1.02); } }
.sd-cad__trou { stroke: currentColor; transition: stroke .4s ease .6s; }
.sd-coffre.e3 .sd-cad__trou { stroke: #FB4D17; }

.sd-etat { position: absolute; left: 50%; bottom: 28px; z-index: 3; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 9px; margin: 0; padding: 9px 16px 9px 13px; border-radius: 999px; background: rgba(18,18,18,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 14px; transform: translateX(-50%); white-space: nowrap; }
.sd-etat i { width: 8px; height: 8px; border-radius: 50%; background: #f5a524; transition: background .4s ease; }
.sd-etat span { grid-area: 1 / 2; transition: opacity .4s ease; }
.sd-etat__b { opacity: 0; }
.sd-coffre.e3 .sd-etat i { background: var(--vert); box-shadow: 0 0 0 4px rgba(76,192,43,.22); }
.sd-coffre.e3 .sd-etat__a { opacity: 0; } .sd-coffre.e3 .sd-etat__b { opacity: 1; }

/* ---------- Stratégie : quatre piliers en cartes grises, une lueur suit la souris ---------- */
.sd-piliers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 52px; }
.sd-pilier, .sd-carte { position: relative; display: flex; flex-direction: column; padding: 26px 24px 28px; border-radius: 24px; background: var(--carte); overflow: hidden; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .35s ease, transform .45s var(--sd-ease); }
.sd-pilier:hover, .sd-carte:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.sd-pilier:hover { transform: translateY(-3px); }
.sd-pilier__lueur { position: absolute; left: 0; top: 0; z-index: -1; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; background: radial-gradient(circle, rgba(251,77,23,.22), rgba(199,125,255,.1) 40%, rgba(0,0,0,0) 70%); opacity: 0; transform: translate(var(--mx, 50%), var(--my, 0)); transition: opacity .4s ease; pointer-events: none; }
.sd-pilier:hover .sd-pilier__lueur, .sd-carte:hover .sd-pilier__lueur { opacity: 1; }
.sd-pilier__num { position: absolute; top: 30px; right: 26px; font-size: 13px; color: rgba(255,255,255,.58); font-variant-numeric: tabular-nums; }
.sd-pilier h3, .sd-carte h3 { margin: 56px 0 0; font-size: 19px; font-weight: 400; letter-spacing: -.01em; line-height: 1.3; }
.sd-pilier p, .sd-carte p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muet); }
.sd-pilier:hover .sd-ico { background: #fff; color: #141414; }

/* ---------- Deux colonnes : texte d'un côté, scène sur la peinture de l'autre ---------- */
.sd-duo__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.sd-duo__txt { padding: 0 40px; }
.sd-duo__txt .p { margin-top: 26px; max-width: none; font-size: 17px; line-height: 1.6; color: var(--muet); }
.sd-fleche { display: inline-flex !important; align-items: center; gap: 10px; margin-top: 34px; }
.sd-fleche svg { width: 16px; height: 16px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.sd-fleche:hover svg { transform: translateX(4px); }
.sd-scene { position: relative; display: grid; place-items: center; min-height: 540px; padding: 48px 40px; border-radius: 24px; background: var(--cadre); overflow: hidden; isolation: isolate; }
.sd-scene__lueur { position: absolute; inset: 0; z-index: -1; background: var(--peinture) 50% 50% / cover no-repeat; transition: transform .6s ease-out; }
.sd-scene__lueur--orange { background-image: var(--peinture-3); }
@media (hover: hover) { .sd-scene:hover .sd-scene__lueur { transform: scale(1.04); } }

/* RGPD : la politique, les droits qui s'allument un par un */
.sd-doc { width: 100%; max-width: 400px; padding: 18px; border-radius: 16px; background: #fff; color: #0d0f14; text-align: left; box-shadow: none; }
.sd-doc__tete { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #ececea; }
.sd-doc__tete .sd-ico { background: #f2f2f0; color: #191919; box-shadow: none; }
.sd-doc__tete b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.sd-doc__tete small { display: block; font-size: 12px; color: #6b6b70; }
.sd-doc__badge { margin-left: auto; flex: none; padding: 4px 9px; border-radius: 999px; background: #eef7ef; color: #2f7d3e; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
html.js .sd-doc__badge { opacity: 0; transform: scale(.85); transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.5,.5,1); }
html.js .sd-doc.e7 .sd-doc__badge { opacity: 1; transform: none; }
.sd-doc__lab { margin: 14px 0 8px; font-size: 12px; color: #6b6b70; }
.sd-droits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-droits li { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(11,11,11,.08); font-size: 14px; color: #0d0f14; transition: border-color .35s ease, background-color .35s ease; }
.sd-droits i, .sd-coches i { position: relative; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #191919; }
.sd-droits i::after, .sd-coches i::after { content: ""; width: 8px; height: 4.5px; margin-top: -2px; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
html.js .sd-droits i { opacity: .2; transform: scale(.6); transition: opacity .3s ease, transform .5s cubic-bezier(.3,1.6,.5,1), background-color .3s ease; }
html.js .sd-doc.e1 li:nth-child(1) i, html.js .sd-doc.e2 li:nth-child(2) i, html.js .sd-doc.e3 li:nth-child(3) i,
html.js .sd-doc.e4 li:nth-child(4) i, html.js .sd-doc.e5 li:nth-child(5) i, html.js .sd-doc.e6 li:nth-child(6) i { opacity: 1; transform: none; }
.sd-doc[data-etape="1"] li:nth-child(1), .sd-doc[data-etape="2"] li:nth-child(2), .sd-doc[data-etape="3"] li:nth-child(3),
.sd-doc[data-etape="4"] li:nth-child(4), .sd-doc[data-etape="5"] li:nth-child(5), .sd-doc[data-etape="6"] li:nth-child(6) { border-color: rgba(251,77,23,.4); background: rgba(251,77,23,.045); }
.sd-doc__pied { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #ececea; font-size: 12.5px; color: #6b6b70; }
.sd-doc__pied a { color: #191919; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Hébergement : vos données au centre, trois options reliées par des fils qui s'allument ---------- */
.sd-schema { position: relative; margin-top: 60px; }
.sd-schema__centre { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sd-noeud { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: #fff; color: #141414; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.sd-noeud::after { content: ""; position: absolute; inset: -6px; border-radius: 28px; border: 1.5px solid #FB4D17; opacity: 0; }
.sd-schema.e1 .sd-noeud::after { animation: sd-onde 2.6s ease-out infinite; }
@keyframes sd-onde { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
.sd-noeud svg { width: 44px; height: 44px; overflow: visible; }
.sd-noeud__txt { font-size: 14px; color: rgba(255,255,255,.75); }
.sd-fils { display: block; width: 100%; height: 96px; margin: 10px 0 -1px; overflow: visible; }
.sd-fil { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.5; }
.sd-fil--eclat { stroke: #FB4D17; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--sd-ease); }
.sd-schema.e1 .sd-fil--1.sd-fil--eclat, .sd-schema.e2 .sd-fil--2.sd-fil--eclat, .sd-schema.e3 .sd-fil--3.sd-fil--eclat { stroke-dashoffset: 0; }
/* une fois tout allumé, une lumière court en boucle le long des trois fils */
.sd-schema.e4 .sd-fil--eclat { stroke-dasharray: .14 .86; transition: none; animation: sd-course 2.8s linear infinite; }
.sd-schema.e4 .sd-fil--2.sd-fil--eclat { animation-delay: -.9s; } .sd-schema.e4 .sd-fil--3.sd-fil--eclat { animation-delay: -1.8s; }
@keyframes sd-course { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sd-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sd-option { position: relative; display: flex; flex-direction: column; padding: 24px 24px 22px; border-radius: 24px; background: var(--carte); overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .5s ease, transform .6s var(--sd-ease); }
.sd-option::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--lisere); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--sd-ease); }
.sd-option__lueur { position: absolute; left: 50%; top: -140px; z-index: -1; width: 380px; height: 260px; margin-left: -190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251,77,23,.24), rgba(199,125,255,.1) 60%, rgba(0,0,0,0)); opacity: 0; transition: opacity .8s ease; }
.sd-option--2 .sd-option__lueur { background: radial-gradient(closest-side, rgba(145,224,255,.2), rgba(124,92,255,.1) 60%, rgba(0,0,0,0)); }
.sd-option--3 .sd-option__lueur { background: radial-gradient(closest-side, rgba(76,192,43,.2), rgba(145,224,255,.08) 60%, rgba(0,0,0,0)); }
.sd-option__haut { display: flex; align-items: center; justify-content: space-between; }
.sd-etiquette { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 12.5px; color: rgba(255,255,255,.78); }
.sd-option h3 { margin: 40px 0 0; font-size: 22px; font-weight: 400; letter-spacing: -.015em; line-height: 1.25; }
.sd-option p { margin: 10px 0 0; flex: 1; font-size: 15.5px; line-height: 1.55; color: var(--muet); }
.sd-option__etat { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: rgba(255,255,255,.7); transition: color .5s ease; }
.sd-option__etat i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .5s ease, box-shadow .5s ease; }
html.js .sd-option { transform: translateY(14px); }
html.js .sd-option > *:not(.sd-option__lueur) { opacity: .5; transition: opacity .6s ease; }
.sd-schema.e1 .sd-option--1, .sd-schema.e2 .sd-option--2, .sd-schema.e3 .sd-option--3 { transform: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.sd-schema.e1 .sd-option--1 > *, .sd-schema.e2 .sd-option--2 > *, .sd-schema.e3 .sd-option--3 > * { opacity: 1 !important; }
.sd-schema.e1 .sd-option--1::before, .sd-schema.e2 .sd-option--2::before, .sd-schema.e3 .sd-option--3::before { transform: none; }
.sd-schema.e1 .sd-option--1 .sd-ico, .sd-schema.e2 .sd-option--2 .sd-ico, .sd-schema.e3 .sd-option--3 .sd-ico { background: #fff; color: #141414; }
.sd-schema.e1 .sd-option--1 .sd-option__etat, .sd-schema.e2 .sd-option--2 .sd-option__etat, .sd-schema.e3 .sd-option--3 .sd-option__etat { color: #fff; }
.sd-schema.e1 .sd-option--1 .sd-option__etat i, .sd-schema.e2 .sd-option--2 .sd-option__etat i, .sd-schema.e3 .sd-option--3 .sd-option__etat i { background: var(--vert); box-shadow: 0 0 0 4px rgba(76,192,43,.2); }

/* ---------- En local : le mur de vos locaux se dessine, les données circulent dedans ---------- */
.sd-local { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 22px 20px; }
.sd-local__mur { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sd-local__mur rect { fill: rgba(20,20,20,.28); stroke: #fff; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--sd-ease); }
.sd-local.e1 .sd-local__mur rect { stroke-dashoffset: 0; }
.sd-local__lab { position: relative; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; color: #191919; font-size: 13px; }
.sd-local__lab svg { width: 16px; height: 16px; }
.sd-local__machines { position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 6%; }
.sd-machine { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sd-machine svg { box-sizing: content-box; width: 30px; height: 30px; padding: 16px; border-radius: 18px; background: #fff; color: #191919; box-shadow: none; }
.sd-machine--bobby svg { width: 40px; height: 40px; padding: 18px; border-radius: 22px; background: #141414; color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.9); overflow: visible; }
.sd-machine small { padding: 2px 8px; border-radius: 999px; background: rgba(20,20,20,.55); font-size: 12px; color: #fff; }
html.js .sd-machine { opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .6s ease, transform .7s cubic-bezier(.3,1.4,.5,1); }
html.js .sd-local.e2 .sd-machine { opacity: 1; transform: none; }
html.js .sd-local.e2 .sd-machine:nth-child(2) { transition-delay: .12s; } html.js .sd-local.e2 .sd-machine:nth-child(3) { transition-delay: .24s; }
/* les données font l'aller-retour entre les machines, sans jamais franchir le mur */
.sd-flux { position: absolute; bottom: 58px; height: 4px; }
.sd-flux--g { left: calc(6% + 64px); right: calc(50% + 40px); }
.sd-flux--d { left: calc(50% + 40px); right: calc(6% + 64px); }
.sd-flux i { position: absolute; inset: 0; opacity: 0; }   /* chaque point occupe toute la longueur du trajet : translateX(100 %) le mène d'une machine à l'autre */
.sd-flux i::before { content: ""; position: absolute; left: -3.5px; top: -1.5px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: none; }
.sd-local.e3 .sd-flux i { animation: sd-va 2.4s ease-in-out infinite; }
.sd-local.e3 .sd-flux--d i { animation-name: sd-vient; }
.sd-flux i:nth-child(2) { animation-delay: .8s !important; } .sd-flux i:nth-child(3) { animation-delay: 1.6s !important; }
@keyframes sd-va { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes sd-vient { 0% { transform: translateX(100%); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
.sd-local__pied { position: relative; display: flex; align-items: center; gap: 9px; align-self: center; margin: 0; padding: 9px 16px 9px 13px; border-radius: 999px; background: rgba(18,18,18,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 14px; white-space: nowrap; }
.sd-local__pied i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(76,192,43,.22); }
html.js .sd-local__pied { opacity: 0; transform: translateY(8px); transition: opacity .6s ease .4s, transform .6s var(--sd-ease) .4s; }
html.js .sd-local.e2 .sd-local__pied { opacity: 1; transform: none; }
.sd-coches { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sd-coches li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--texte); }
.sd-coches i { background: #fff; }
.sd-coches i::after { border-color: #141414; }

/* ---------- Gestion et usage : trois cartes, et la phrase « actif » ---------- */
.sd-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 52px; }
.sd-carte h3 { margin-top: 48px; }
.sd-actif { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.015em; line-height: 1.3; color: #fff; }

/* ---------- Questions, appel final et pied de page en version sombre ---------- */
body.page-sombre .faq-bloc__tete p { color: var(--muet); }
body.page-sombre .faq__item .faq__a, body.page-sombre .faq__item:not(.is-open) .faq__a, html.js body.page-sombre .faq__item:not(.is-open) .faq__a { color: var(--muet); }
body.page-sombre .faq__a a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
body.page-sombre .faq__a a:hover { text-decoration-color: #fff; }
body.page-sombre .faq__q:focus-visible { outline-color: #fff; }
body.page-sombre .cta { position: relative; overflow: hidden; isolation: isolate; }
body.page-sombre .cta::before { content: ""; position: absolute; left: 50%; top: 40%; z-index: -1; width: 900px; height: 420px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251,77,23,.16), rgba(124,92,255,.08) 55%, rgba(0,0,0,0)); pointer-events: none; }
body.page-sombre .equipage__tuile--cm { background: #2a2a2a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
body.page-sombre .footer__in { background: #1c1c1c; border-color: rgba(255,255,255,.1); }
body.page-sombre .footer__logo img { filter: brightness(0) invert(1); }
body.page-sombre .footer .small { color: var(--muet); }
body.page-sombre .footer__in--plan .footer__col { color: rgba(255,255,255,.72); }
body.page-sombre .footer__col a:hover { color: #fff; }
body.page-sombre .footer__col .meta { color: #fff; }
body.page-sombre .footer__bar { color: rgba(255,255,255,.55); }
body.page-sombre .footer__qualiopi { box-shadow: none; }
body.page-sombre .footer__reseau { color: rgba(255,255,255,.8); }
body.page-sombre .footer__reseau:hover { color: #fff; }

/* ---------- Mouvement réduit : tout est posé, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .sd-lueur, .sd-pastille i, .sd-coffre__tour, .sd-noeud::after, .sd-fil--eclat, .sd-flux i, .sd-cad__corps { animation: none !important; }
  html.js .sd-coffre, html.js .sd-option, html.js .sd-option > *, html.js .sd-machine, html.js .sd-local__pied, html.js .sd-droits i, html.js .sd-doc__badge { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sd-anneau, .sd-puces li, .sd-plaque, .sd-cad__anse, .sd-fil--eclat, .sd-local__mur rect, .sd-option::before { transition: none !important; }
  .sd-pilier, .sd-pilier:hover { transform: none; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .sd-piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-duo__txt { padding: 0 12px; }
}
@media (max-width: 960px) {
  .sd-sec { padding: 72px 0; }
  .sd-duo__grille { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sd-duo__txt { padding: 0; }
  .sd-duo--inverse .sd-duo__txt { order: -1; }
  .sd-trois { grid-template-columns: minmax(0, 1fr); }
  .sd-fils { display: none; }
  .sd-options { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 0; }
  .sd-schema__centre::after { content: ""; width: 1.5px; height: 40px; margin-top: 4px; background: linear-gradient(#FB4D17, rgba(251,77,23,0)); }   /* sur mobile, un fil vertical relie vos données aux trois options */
  .sd-option h3 { margin-top: 28px; }
}

/* ---------- Téléphone (390 px) ---------- */
@media (max-width: 720px) {
  .sd-hero { padding: 120px 0 24px; }
  .sd-hero__ciel { height: 620px; }
  .sd-lueur--a { width: 360px; margin-left: -260px; } .sd-lueur--b { width: 320px; margin-left: -40px; } .sd-lueur--c { width: 300px; margin-left: -150px; }
  .sd-pastille { margin-bottom: 20px; font-size: 13px; }
  .sd-hero__sous { margin-top: 20px; font-size: 17px; }
  .sd-hero__actions { margin-top: 28px; }
  .sd-hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .sd-coffre { --kx: .33; --ky: .95; --serre: .86; height: 500px; margin: 44px calc(var(--gutter) * -1 + 8px) 0; border-radius: 20px; }
  .sd-puces li:nth-child(3), .sd-puces li:nth-child(4) { display: none; }
  .sd-puces li { height: 36px; padding: 0 12px 0 10px; font-size: 13px; gap: 6px; }
  .sd-puces svg { width: 15px; height: 15px; }
  .sd-plaque { width: 124px; height: 124px; margin: -62px 0 0 -62px; border-radius: 30px; }
  .sd-plaque svg { width: 58px; height: 58px; }
  .sd-coffre__halo { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .sd-coffre__tour { width: 190px; height: 190px; margin: -95px 0 0 -95px; }
  .sd-etat { bottom: 16px; font-size: 13px; }
  .sd-sec { padding: 60px 0; }
  .sd-tete__p { font-size: 16.5px; }
  .sd-piliers { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 36px; }
  .sd-pilier, .sd-carte { padding: 22px 20px 24px; border-radius: 20px; }
  .sd-pilier h3, .sd-carte h3 { margin-top: 30px; }
  .sd-scene { aspect-ratio: auto; min-height: 380px; padding: 28px 14px; border-radius: 20px; }
  .sd-doc { padding: 16px 14px; }
  .sd-doc__tete { flex-wrap: wrap; }
  .sd-doc__badge { margin-left: 42px; }
  .sd-schema { margin-top: 40px; }
  .sd-option { padding: 20px 20px 18px; border-radius: 20px; }
  .sd-local { aspect-ratio: auto; min-height: 300px; gap: 28px; padding: 18px 14px 16px; }
  .sd-local__machines { padding: 0; }
  .sd-machine svg { width: 24px; height: 24px; padding: 13px; border-radius: 15px; }
  .sd-machine--bobby svg { width: 32px; height: 32px; padding: 14px; border-radius: 18px; }
  .sd-flux { bottom: 52px; }
  .sd-flux--g { left: 56px; right: calc(50% + 34px); } .sd-flux--d { left: calc(50% + 34px); right: 56px; }
  .sd-local__pied { font-size: 13px; }
  .sd-trois { margin-top: 36px; gap: 10px; }
  .sd-actif { margin-top: 32px; }
}
.sd-local:not(.is-visible) .sd-flux i, .sd-coffre:not(.is-in) .sd-coffre__tour { animation-play-state: paused; }
