/* SmartAlarme Academy 9.6 — illustrations animees, texte explicatif synchronise. */
.sl96-story{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:0;border:1px solid #d8e8fa;border-radius:20px;overflow:hidden;background:linear-gradient(155deg,#f5faff,#fff);margin:8px 0 23px;box-shadow:0 14px 36px rgba(24,77,137,.08)}
.sl96-picture{position:relative;overflow:hidden;min-height:350px;background:#173b66}
.sl96-photo{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center 56%;filter:saturate(1.03)}
.sl96-scene-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,28,57,.55),transparent 48%),linear-gradient(90deg,rgba(6,24,54,.18),transparent 60%)}
.sl96-connections{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.sl96-route{stroke:#61e8ff;stroke-width:6;stroke-linecap:round;stroke-dasharray:13 19;fill:none;filter:drop-shadow(0 0 7px #32d4ff);stroke-dashoffset:0;opacity:0;transition:opacity .25s;animation:sl96-run 1.1s linear infinite}
.sl96-ring{stroke:#73f0ff;stroke-width:5;fill:rgba(16,117,244,.25);opacity:0;filter:drop-shadow(0 0 10px #36d7fa);transform-origin:center;transform-box:fill-box;animation:sl96-ring 1.9s ease-out infinite}
.sl96-hotspot{position:absolute;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:white;background:rgba(4,24,56,.82);padding:8px 10px;border:1px solid rgba(136,227,255,.55);border-radius:100px;backdrop-filter:blur(7px);box-shadow:0 5px 16px #05173055;transform:translate(-50%,-50%);max-width:36%;transition:background .25s,transform .25s}
.sl96-hotspot .sl96-dot{flex:0 0 9px;width:9px;height:9px;background:#80c5ff;border-radius:50%;box-shadow:0 0 0 4px #74beff33}
.sl96-hotspot b{line-height:1.2}.sl96-hotspot.sl96-door{left:63%;top:58%}.sl96-hotspot.sl96-hub{left:45%;top:76%}.sl96-hotspot.sl96-siren{left:49%;top:23%}.sl96-hotspot.sl96-phone{left:82%;top:78%}
.sl96-scene-tag{position:absolute;top:13px;left:13px;background:#f6fbffed;color:#25537f;border:1px solid white;border-radius:99px;padding:7px 10px;font-size:10px;font-weight:750;box-shadow:0 4px 12px #04265533}
.sl96-story-text{padding:clamp(20px,2.9vw,32px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.sl96-eyebrow{letter-spacing:.12em;font-size:10px;font-weight:850;color:#1e6edf;text-transform:uppercase}
.sl96-story-text h4{font-size:clamp(20px,2.15vw,27px);line-height:1.2;letter-spacing:-.03em;margin:12px 0;color:#123458}
.sl96-story-text>p:not(.sl96-note){font-size:13px;line-height:1.8;color:#526c88;margin:0 0 16px;min-height:94px}
.sl96-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px}.sl96-legend>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#486885;font-weight:650}
.sl96-legend i,.sl96-path-key i{display:inline-block;width:16px;height:6px;border-radius:20px;background:#2f84f4}.sl96-legend .sl96-legend-flow{background:repeating-linear-gradient(90deg,#2f84f4 0 6px,transparent 6px 10px)}.sl96-legend .sl96-legend-stop{background:#df5852}
.sl96-note{margin:20px 0 0;font-size:10px;color:#7d90a7;line-height:1.6;border-top:1px solid #e0eafa;padding-top:12px}
.sl96-story[data-step="0"] .sl96-ring-door,.sl96-story[data-step="0"] .sl96-hotspot.sl96-door,.sl96-story[data-step="1"] .sl96-route-detect,.sl96-story[data-step="1"] .sl96-ring-hub,.sl96-story[data-step="2"] .sl96-ring-hub,.sl96-story[data-step="3"][data-armed="true"][data-siren="true"] .sl96-route-decision,.sl96-story[data-step="3"][data-armed="true"][data-siren="true"] .sl96-ring-siren,.sl96-story[data-step="4"][data-armed="true"][data-network="true"][data-remote="true"] .sl96-route-phone,.sl96-story[data-step="4"][data-armed="true"][data-network="true"][data-remote="true"] .sl96-ring-phone{opacity:1}
.sl96-story[data-step="0"] .sl96-door,.sl96-story[data-step="1"] .sl96-hub,.sl96-story[data-step="2"] .sl96-hub,.sl96-story[data-step="3"][data-armed="true"][data-siren="true"] .sl96-siren,.sl96-story[data-step="4"][data-armed="true"][data-network="true"][data-remote="true"] .sl96-phone{background:#006be7;box-shadow:0 0 0 5px #36baff55,0 8px 20px #031b3a99;transform:translate(-50%,-50%) scale(1.04)}
.sl96-link-picture{position:relative;overflow:hidden;background:linear-gradient(155deg,#e7f2ff,#f8fbff);display:flex;flex-direction:column;min-height:340px}
.sl96-link-topbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 18px 0;font-size:11px;font-weight:800;color:#31659c}
.sl96-live-pill{font-size:9px;color:#1665bc;background:#fff;border:1px solid #c5dff9;border-radius:90px;padding:6px 8px;letter-spacing:.08em}
.sl96-link-drawing{width:100%;height:auto;flex:1;max-height:358px;min-height:250px}
.sl96-path-wire,.sl96-path-radio{transform-origin:center;transition:opacity .3s,filter .3s}.sl96-link-story[data-mode="filaire"] .sl96-path-radio,.sl96-link-story[data-mode="radio"] .sl96-path-wire{opacity:.1}
.sl96-link-story[data-mode="filaire"] .sl96-path-wire,.sl96-link-story[data-mode="radio"] .sl96-path-radio,.sl96-link-story[data-mode="hybride"] .sl96-path-radio,.sl96-link-story[data-mode="hybride"] .sl96-path-wire{opacity:1}
.sl96-flow-wire,.sl96-flow-radio{animation:sl96-run 1.25s linear infinite}.sl96-wave{animation:sl96-wave 1.65s ease-out infinite;transform-origin:360px 220px}.sl96-wave2{animation-delay:.35s}
.sl96-link-story[data-incident="cable"] .sl96-path-wire,.sl96-link-story[data-incident="radio"] .sl96-path-radio,.sl96-link-story[data-poweroff="true"] .sl96-path-wire,.sl96-link-story[data-poweroff="true"] .sl96-path-radio{filter:grayscale(.8);opacity:.32}.sl96-link-story[data-incident="cable"] .sl96-flow-wire,.sl96-link-story[data-incident="radio"] .sl96-flow-radio,.sl96-link-story[data-poweroff="true"] .sl96-flow-wire,.sl96-link-story[data-poweroff="true"] .sl96-flow-radio{animation-play-state:paused}
.sl96-fault-mark{opacity:0;transition:opacity .2s}.sl96-link-story[data-incident="cable"]:not([data-mode="radio"]) .sl96-fault-mark,.sl96-link-story[data-incident="radio"]:not([data-mode="filaire"]) .sl96-fault-mark,.sl96-link-story[data-poweroff="true"] .sl96-fault-mark{opacity:1}
.sl96-path-key{display:flex;gap:12px;padding:0 18px 16px;color:#3b6a9c;font-size:11px;font-weight:750}.sl96-path-key span{display:flex;align-items:center;gap:6px}.sl96-key-radio i{background:repeating-linear-gradient(90deg,#2f84f4 0 5px,transparent 5px 9px)}
@keyframes sl96-run{to{stroke-dashoffset:-64}}@keyframes sl96-ring{0%{transform:scale(.7);opacity:0}30%{opacity:.9}85%{transform:scale(1.6);opacity:0}100%{opacity:0}}@keyframes sl96-wave{0%{opacity:0;transform:scale(.74)}40%{opacity:1}100%{opacity:0;transform:scale(1.2)}}
@media(max-width:900px){.sl96-story{grid-template-columns:1fr}.sl96-picture{min-height:360px;aspect-ratio:16 / 9}.sl96-story-text{padding:22px}.sl96-story-text>p:not(.sl96-note){min-height:0}}
@media(max-width:520px){.sl96-picture{min-height:250px;aspect-ratio:4 / 3}.sl96-hotspot{font-size:9px;gap:5px;padding:7px;max-width:42%}.sl96-hotspot .sl96-dot{flex-basis:6px;width:6px;height:6px}.sl96-hotspot.sl96-door{left:68%;top:56%}.sl96-hotspot.sl96-hub{left:40%;top:78%}.sl96-hotspot.sl96-siren{left:52%;top:24%}.sl96-hotspot.sl96-phone{left:80%;top:83%}.sl96-story-text{padding:18px}.sl96-scene-tag{font-size:9px}.sl96-toplabel{font-size:10px}.sl96-link-picture{min-height:240px}.sl96-link-drawing{min-height:190px}}
@media(prefers-reduced-motion:reduce){.sl96-route,.sl96-ring,.sl96-wave,.sl96-flow-wire,.sl96-flow-radio{animation:none!important}.sl96-ring{opacity:.65!important}.sl96-hotspot{transition:none!important}}

/* Clarifie les incidents en déplaçant la croix sur la liaison représentée. */
.sl96-link-story[data-incident="radio"]:not([data-mode="filaire"]) .sl96-fault-mark{transform:translate(-90px,-80px)}
.sl96-link-story[data-poweroff="true"] .sl96-fault-mark{transform:translate(165px,0)}
.sl96-story[data-step="-1"] .sl96-hotspot .sl96-dot{animation:sl96-idle 2.5s ease-in-out infinite}
@keyframes sl96-idle{0%,100%{box-shadow:0 0 0 4px #74beff33}50%{box-shadow:0 0 0 10px #74beff19}}
@media(prefers-reduced-motion:reduce){.sl96-story[data-step="-1"] .sl96-hotspot .sl96-dot{animation:none}}
