@import url('/fonts/fonts-demo.css');
.hero-access{max-width:730px;margin:18px auto 0;color:#dde5fa;font-size:18px;line-height:1.6}
.brain-access-note{max-width:820px;margin:18px auto 0;text-align:center;color:var(--muted);font-size:17px}
.unified-cases-section{background:#fff}
.unified-cases-section .section-head{max-width:900px;margin-bottom:42px}
.case-showcase{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(330px,.83fr);gap:clamp(28px,5vw,78px);align-items:start}
.case-list{border-top:1px solid var(--line);min-width:0}
.case-choice{width:100%;display:block;text-align:left;color:var(--ink);background:transparent;border:0;border-bottom:1px solid var(--line);padding:20px 14px 20px 3px;cursor:pointer;transition:background .2s,padding .2s}
.case-choice:hover{background:#f6f8fd}
.case-choice[aria-pressed="true"]{background:#f0f4ff;border-bottom-color:#c2d0fa;padding:23px 19px}
.case-choice-head{display:flex;align-items:center;gap:15px;min-width:0}
.case-choice-head strong{font:600 clamp(17px,1.6vw,21px)/1.35 var(--head);letter-spacing:-.02em;flex:1}
.case-choice-number{font:500 14px/1 var(--mono);color:#5974d3;min-width:25px}
.case-choice-arrow{color:#8ca0c2;font-size:26px;line-height:1;transition:transform .2s}
.case-choice[aria-pressed="true"] .case-choice-arrow{transform:rotate(90deg);color:var(--blue)}
.case-choice-detail{display:none;padding:17px 4px 0 40px;color:#526078;font-size:15px;line-height:1.5}
.case-choice[aria-pressed="true"] .case-choice-detail{display:grid;gap:9px}
.case-choice-detail b{display:block;color:#1944af;font-size:13px;font-weight:600;margin-bottom:2px}
.case-phone-column{scroll-margin-top:155px;min-width:0;display:flex;align-items:center;flex-direction:column;position:relative}
.case-phone-head{position:absolute;top:-52px;width:min(100%,350px);display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted);font-weight:600}
.case-phone-head button{border:0;background:transparent;color:#2452c4;font:600 14px var(--body);cursor:pointer;min-height:44px;padding:7px 10px}
.case-phone-head button:hover{text-decoration:underline}
.case-phone-frame{width:280px;height:534px;position:relative;flex:none}
.case-phone{position:absolute;top:0;left:0;transform-origin:top left;width:350px;height:668px;border:8px solid #1a294a;border-radius:36px;background:#f6f7fb;box-shadow:0 22px 65px #18326422,0 6px 14px #1832641a;overflow:hidden;display:flex;flex-direction:column;color:#17213b;font:15px/1.45 'DM Sans',var(--body);isolation:isolate}
.case-phone *{box-sizing:border-box}
.case-phone button{font:inherit}
.case-phone-status{height:29px;padding:8px 20px 0;display:flex;justify-content:space-between;color:#263650;background:#f6f7fb;font-size:11px;font-weight:700;flex:none}
.case-app-bar{display:flex;justify-content:space-between;align-items:center;min-height:59px;padding:8px 17px;background:#f6f7fb;border-bottom:1px solid #e6eaf2;flex:none}
.case-app-brand{display:flex;align-items:center;gap:8px;color:#1b2d54;font-family:'Plus Jakarta Sans',var(--body);font-weight:800;font-size:16px;letter-spacing:-.03em}
.case-app-brand img,.case-app-nav-brain img{filter:brightness(.69) saturate(2.5)}
.case-app-demo{font-size:10px;color:#6d7790;background:#e9edf6;border-radius:20px;padding:5px 8px;letter-spacing:.08em}
.case-phone-scroll{overflow:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#c9d2e5 transparent}
.case-app-content{padding:22px 19px 30px;min-height:100%;font-size:15px}
.case-app-content h3{font:800 24px/1.23 'Plus Jakarta Sans',var(--head);letter-spacing:-.035em;margin:8px 0}
.mobile-location{font-size:11px;color:#1944af;letter-spacing:.08em;text-transform:uppercase;font-weight:700}
.mobile-source,.mobile-result-sub{font-size:13px;color:#68748d;line-height:1.5}
.mobile-context{margin:27px 0 15px;padding:18px;background:#fff;border:1px solid #e2e8f3;border-radius:16px;box-shadow:0 5px 18px #1944af08}
.mobile-context span,.mobile-result-part span,.mobile-next-step span{font-size:12px;color:#6b7690;font-weight:700}
.mobile-context p,.mobile-result-part p{margin:8px 0 0;color:#283954;font-size:15px;line-height:1.55}
.mobile-linked{font-size:12px;color:#6c7790;margin:15px 0 22px}
.mobile-linked-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2f60d1;margin-right:6px}
.mobile-action{width:100%;display:flex;align-items:center;justify-content:space-between;background:#1944af;color:#fff;border:0;border-radius:12px;font-weight:700!important;min-height:52px;padding:14px 16px;cursor:pointer;position:relative;box-shadow:0 6px 16px #1944af20}
.mobile-action span{font-size:23px;line-height:14px}
.mobile-action.is-tapping{box-shadow:0 0 0 7px #3e6af23b,0 6px 16px #1944af20;transform:scale(.985)}
.mobile-action.is-tapping::after{content:'';position:absolute;right:35px;top:11px;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#ffffff6b;animation:case-tap .55s ease-out forwards}
@keyframes case-tap{from{transform:scale(.55);opacity:.9}to{transform:scale(2.1);opacity:0}}
.mobile-action-hint{font-size:12px;color:#7d8799;line-height:1.5;margin:14px 2px}
.mobile-loading{min-height:430px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px}
.mobile-loading-mark{width:82px;height:82px;position:relative;margin-bottom:25px}
.mobile-loading-mark>img,.mobile-loading-mark span img{width:82px;height:82px;display:block}
.mobile-loading-mark>img{filter:grayscale(1);opacity:.28}
.mobile-loading-mark span{position:absolute;inset:0;overflow:hidden;animation:bb-fill .9s ease-out both}
.mobile-loading-mark span img{filter:brightness(.6) saturate(3)}
@keyframes bb-fill{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0 0 0 0)}}
.mobile-loading strong{color:#1b2d54;font-size:15px}
.mobile-loading p{color:#7d8799;font-size:12px;margin-top:7px}
.mobile-result{animation:case-appear .28s ease-out both}
@keyframes case-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.mobile-result-top{display:flex;align-items:center;gap:8px;color:#61708d;font-size:12px;margin-bottom:18px}
.mobile-result-icon{display:grid;place-items:center;border-radius:8px;width:30px;height:30px;background:#eaf0ff;color:#1944af;font-size:17px;font-weight:700}
.mobile-result-ready{margin-left:auto;color:#1944af;font-size:10px;font-weight:800;letter-spacing:.045em}
.mobile-audio{display:flex;align-items:center;gap:11px;background:#eef3ff;border:1px solid #d6e1fa;border-radius:15px;padding:12px;margin:24px 0}
.mobile-audio button{width:43px;height:43px;flex:none;border:0;background:#1944af;color:#fff;border-radius:50%;cursor:pointer;font-size:18px}
.mobile-audio button:disabled{opacity:.5;cursor:default}
.mobile-audio div{flex:1;min-width:0}.mobile-audio strong,.mobile-audio span{display:block}.mobile-audio strong{font-size:13px}.mobile-audio div span{color:#66748c;font-size:11px;margin-top:2px}.mobile-audio-wave{font-size:17px;color:#1944af;letter-spacing:-3px;white-space:nowrap}
.mobile-result-part{background:#fff;border:1px solid #e3e8f1;padding:14px 16px;margin-top:9px;border-radius:12px}
.mobile-result-foot{font-size:11px;color:#7a879c;line-height:1.45;margin:14px 2px}
.mobile-pdf{border:1px solid #dbe2ee;border-radius:9px;overflow:hidden;background:#e9edf4;margin-top:18px;box-shadow:0 5px 18px #1944af12}
.mobile-pdf-bar{display:flex;justify-content:space-between;padding:10px;font-size:11px;color:#53627c}
.mobile-pdf a{display:block;padding:7px}
.mobile-pdf img{display:block;width:100%;height:auto;background:#fff;box-shadow:0 2px 8px #17213b20}
.mobile-pdf-open{display:block;text-align:center;color:#1944af;font-size:13px;font-weight:700;padding:13px 0}
.mobile-result-action,.mobile-tool-actions{margin-top:18px}
.mobile-secondary-action{width:100%;min-height:46px;border:1px solid #ccd7eb;background:transparent;color:#53627c;border-radius:12px;margin-top:9px;cursor:pointer;font-size:13px!important}
.mobile-action:disabled,.mobile-secondary-action:disabled{opacity:.55;cursor:default}
.mobile-action-feedback{color:#1944af;font-size:12px;line-height:1.5;margin:12px 0 0}
.mobile-action-feedback:empty{display:none}
.mobile-next-step{background:#eaf0ff;border-left:3px solid #1944af;border-radius:7px;padding:15px;margin-top:12px}.mobile-next-step strong{display:block;margin-top:5px;font-size:14px;line-height:1.45}
.mobile-message{background:#fff;border:1px solid #e1e6ef;border-radius:14px;padding:15px 16px;margin:20px 0 12px}.mobile-message span{display:block;color:#68748d;font-size:11px;padding-bottom:9px;border-bottom:1px solid #edf0f6}.mobile-message p{color:#253550;font-size:13px;line-height:1.55;margin:12px 0 0}
.case-app-nav{height:65px;border-top:1px solid #e5eaf3;background:#fff;display:flex;align-items:center;justify-content:space-around;flex:none;color:#76819a}
.case-app-nav>span{display:flex;align-items:center;flex-direction:column;gap:1px;font-size:20px;line-height:1.1;min-width:0}.case-app-nav small{font-size:9px;white-space:nowrap}.case-app-nav-brain{color:#1944af!important;font-size:12px!important}
.case-demo-note{position:absolute;top:100%;max-width:350px;text-align:center;font-size:13px;color:var(--muted);line-height:1.5;margin:17px auto 0}
.maintenance-subtitle{font-family:var(--head);font-weight:600;font-size:22px;margin:16px 0 14px;line-height:1.35}
.maintenance-heading p+p{margin-top:16px}
.maintenance-scope{font-size:14px;color:var(--muted);margin:22px 0;max-width:850px}
@media(max-width:850px){.case-showcase{grid-template-columns:1fr;gap:80px}.case-choice-head strong{font-size:19px}}
@media(max-width:650px){.hero-access{font-size:17px}.unified-cases-section .section-head{margin-bottom:28px}.case-choice{padding:17px 9px 17px 3px}.case-choice[aria-pressed="true"]{padding:19px 14px}.case-choice-head{gap:8px}.case-choice-head strong{font-size:18px}.case-choice-detail{padding-left:32px;font-size:14px}.maintenance-subtitle{font-size:21px}}
@media(prefers-reduced-motion:reduce){.case-choice,.case-choice-arrow,.mobile-result{transition:none;animation:none!important}.mobile-loading-mark span{animation:none;clip-path:none}.mobile-action.is-tapping::after{animation:none}}

/* ===== Bloc « Votre cockpit » ===== */
/* Grand écran : la liste des espaces (à gauche) et le téléphone (à droite) forment un ensemble fixe ;
   l'avancée du défilement dans le bloc choisit l'étape active, texte et écran changent ensemble. */
.cockpit-tour{background:var(--ground);--tour-top:96px}
.cockpit-tour .section-head{margin-bottom:24px}
.tour-steps{list-style:none;margin:0;padding:0}
.tour-step h3{font-size:20px}
.tour-step p{margin:6px 0 0;color:var(--muted);font-size:16px;line-height:1.55}
.tour-icon{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:#e9eeff;color:var(--blue)}
.tour-icon svg{width:21px;height:21px}
.tour-note{margin:18px 0 0;text-align:center;color:var(--muted);font-size:13px}
.tour-phone{border:7px solid #1a294a;border-radius:34px;background:#f6f7fb;box-shadow:0 22px 60px #18326422,0 6px 14px #1832641a;overflow:hidden}
.tour-screen{position:relative;aspect-ratio:488/1055}
.tour-screen-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .35s ease}
.tour-screen-img.is-active{opacity:1}

@media(min-width:900px){
  .tour{position:relative;height:calc(100vh - var(--tour-top) + (var(--steps) - 1) * 40vh)}
  .tour-stage{position:sticky;top:var(--tour-top);height:calc(100vh - var(--tour-top) - 16px);max-height:760px;display:grid;grid-template-columns:minmax(0,440px) auto;justify-content:center;align-items:center;column-gap:clamp(48px,7vw,110px)}
  .tour-screen{height:min(540px,calc(100vh - var(--tour-top) - 72px));width:auto}
  .tour-steps{display:grid;gap:6px}
  .tour-step{display:flex;gap:16px;align-items:flex-start;padding:14px 18px;border-radius:18px;cursor:pointer;opacity:.45;transition:opacity .3s ease,background-color .3s ease,box-shadow .3s ease}
  .tour-step:hover{opacity:.75}
  .tour-step.is-active{opacity:1;background:#fff;box-shadow:0 10px 30px #1832641a}
  .tour-step-shot{display:none}
}
@media(min-width:900px) and (max-height:620px){
  .tour-step p{display:none}
  .tour-step.is-active p{display:block}
}

/* Mobile : carrousel, on fait glisser les écrans du doigt */
@media(max-width:899px){
  .tour-device{display:none}
  .tour-steps{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1 * clamp(22px,5vw,64px));padding:6px clamp(22px,5vw,64px) 18px;scrollbar-width:none}
  .tour-steps::-webkit-scrollbar{display:none}
  .tour-step{flex:0 0 min(250px,72vw);scroll-snap-align:center;text-align:center}
  .tour-step-shot{display:block;width:100%;height:auto;margin:0 auto 18px;border:7px solid #1a294a;border-radius:30px;box-shadow:0 12px 30px #18326420}
  .tour-icon{margin:0 auto 8px}
  .tour-note::before{content:"Faites glisser pour voir les écrans · "}
}
@media(prefers-reduced-motion:reduce){
  .tour-screen-img,.tour-step{transition:none}
}
