/* Homepage layers in the same cascade order as the source pages. */
/* /assets/styles/v163-story-revisions.css?v=165 */
#allianz-trade-pay .ap-buyer-icon {display:none}
#allianz-trade-pay [data-ap-phase="0"] .ap-buyer-icon {display:block;flex:none;stroke:currentColor;fill:none}
#allianz-trade-pay [data-ap-phase="0"] .ap-context {justify-content:flex-start;gap:8px}
#allianz-trade-pay .ap-art[data-ap-phase="0"]:not(.ap-morphing) .ap-module {min-height:0;height:auto}
#allianz-trade-pay .ap-art[data-ap-phase="0"]:not(.ap-morphing) .ap-need {min-height:0}
#apphalt-produit .ah-cycle-art {display:grid;place-items:center}
#apphalt-produit .ah-cycle-card {width:min(100%,420px);padding:clamp(14px,3vw,26px);border:1px solid #bac9e1;border-radius:16px;background:#f5f8ff;color:#172846;box-shadow:0 16px 32px #17284626}
.ah-cycle-kicker {font-size:10px;font-weight:700;letter-spacing:.1em;color:#345389}
.ah-cycle-row {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:12px;padding:12px 9px;border:1px solid #b9cbe8;border-radius:9px;background:#e9f1ff}
.ah-cycle-row strong,.ah-cycle-row [data-cycle-status] {display:block}
.ah-cycle-row [data-cycle-status],.ah-cycle-card p {font-size:13px;line-height:1.35}
.ah-cycle-action {padding:5px 8px;border-radius:6px;background:#184eab;color:#fff;font-size:12px;font-weight:650}
.ah-cycle-card p {margin:12px 0 0}
.ah-cycle-art[data-art-phase="0"] .ah-cycle-row {background:#fff}
.ah-cycle-art[data-art-phase="2"] .ah-cycle-row {background:#fff3dc;border-color:#d9b775}
body.sober-home #apphalt-produit [data-ah-reading-art] .ah-cycle-art {position:relative;height:auto;min-height:0}
.c103-scene-sticky:focus-visible {outline-offset:-3px}

/* Keep the workshop cards in normal flow above the concluding question. */
#malakoff-experience .mh159-workshop {height:auto;flex:none}
#malakoff-experience .mh159-notes {flex:none;min-height:min-content}

#apphalt-produit .ah-cycle-card {box-shadow:0 18px 50px #0b204040}
.ah-cycle-row {
  box-shadow:0 0 0 calc(3px * var(--cycle-selection,0)) #3268c438;
  transform:translateY(calc(4px * (1 - var(--cycle-selection,0))));
}
.ah-cycle-action {transform:scale(calc(1 - .12 * var(--cycle-press,0)))}
.ah-cycle-signal {margin-top:14px;padding:9px 10px 4px;border-radius:8px;background:#e5edf8;color:#314e74}
.ah-cycle-signal span {font-size:11px;font-weight:650}
.ah-cycle-signal svg {display:block;width:100%;height:44px;fill:none}
.ah-cycle-signal path {vector-effect:non-scaling-stroke}
.ah-cycle-baseline {stroke:#b8cbe2;stroke-width:1}
.ah-cycle-trace {
  stroke:#1d66b5;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--cycle-trace,1));
}
.ah-cycle-art[data-art-phase="2"] .ah-cycle-trace {stroke:#8a570d}
.ah-cycle-art[data-art-phase="2"] .ah-cycle-action {background:#734b13}
#apphalt-produit .ah-real-capture[data-capture-view="action"] {flex-direction:column;gap:12px}
#apphalt-produit .ah-real-capture .ah-cycle-evidence {display:block;text-align:center;font-size:12px}

#apphalt-produit[data-ah-ready] .ah-real-capture .ah-cycle-evidence {color:#d5e2fb}

/* /assets/styles/v219-apphalt.css */
/* AppHalt v167: persistent reconstructed interface, driven only by scroll. */
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase]{--ah-product-ground:#141e35;--ah-product-ink:#f4f7ff;--ah-product-muted:#c3cee2;--ah-product-accent:#a7c7ff;background:var(--ah-product-ground)}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase]>.project-brief{background:var(--ah-product-ground)}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage{background:var(--ah-product-ground);height:calc(100svh - var(--story-header,76px))}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{padding:24px 65px 48px 5vw;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:48px}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-canvas{height:auto;max-width:650px;aspect-ratio:auto;container-type:inline-size}
.ah167-scene{position:relative;height:470px;color:#263044;font-family:var(--sans,Arial,sans-serif);isolation:isolate}
.ah167-scene img{display:block;object-fit:contain}
.ah167-scene svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
.ah167-context{position:absolute;right:0;top:0;width:76%;height:135px;border:1px solid #99b7dc77;border-radius:14px;background:#dce8f5;box-shadow:0 14px 50px #0002;overflow:hidden;opacity:var(--ah-context-enter,1);transform:translate3d(calc((1 - var(--ah-context-enter,1))*12px),calc((1 - var(--ah-context-enter,1))*10px),0)}
.ah167-context-head{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #bdccdd;background:#ecf3fa;font-size:13px}
.ah167-context-head img{width:20px;height:20px}.ah167-context-head>span{font-size:8px;letter-spacing:.08em;margin-left:auto;color:#52647c}
.ah167-context p{margin:10px 16px;font-size:13px;line-height:1.4}
body.sober-home #apphalt-produit[data-ah-native] [data-ah-reading-art] .ah167-context p{margin:10px 16px;font-size:13px;line-height:1.4}
.ah167-context-state{display:flex;align-items:center;gap:6px;font-size:10px;color:#3a566b;margin:8px 16px}
.ah167-dashboard{position:absolute;left:0;top:93px;width:94%;background:#f8f9fb;border:1px solid #c7d1de;border-radius:16px;box-shadow:0 25px 65px #0005;overflow:hidden;opacity:var(--ah-dashboard-enter,1);transform:translate3d(calc((1 - var(--ah-dashboard-enter,1))*-12px),calc((1 - var(--ah-dashboard-enter,1))*20px),0)}
.ah167-title{display:flex;align-items:center;gap:22px;height:48px;padding:0 18px;border-bottom:1px solid #d8dde5;background:linear-gradient(#fff,#f3f5f8);font-size:16px;color:#48515d}
.ah167-traffic{display:flex;gap:7px}.ah167-traffic i{width:11px;height:11px;border-radius:50%;background:#fa615a;border:1px solid #d75450}.ah167-traffic i:nth-child(2){background:#f6c444;border-color:#d8a937}.ah167-traffic i:nth-child(3){background:#62bd4f;border-color:#4d9f3d}
.ah167-tools{display:flex;margin-left:auto;gap:15px;color:#66727f}
.ah167-tabs{display:grid;grid-template-columns:1fr 1fr;margin:18px 16px 9px;padding:3px;background:#e7e9ee;border-radius:8px;font-size:12px;line-height:1.4;text-align:center;color:#5c6574}
.ah167-tabs span{padding:6px 3px}.ah167-tabs span:first-child{background:#1479f6;color:#fff;border-radius:6px;box-shadow:0 2px 4px #0568ce30}
.ah167-command{display:flex;align-items:center;gap:12px;padding:13px 18px 17px;font-size:16px}.ah167-command>img{width:31px;height:31px}
.ah167-action{margin-left:auto;min-width:100px;border-radius:7px;padding:8px 15px;background:#1479f6;color:#fff;text-align:center;box-shadow:0 2px 4px #0871df25;transform:scale(calc(1 - var(--ah-press,0)*.06));font-weight:600;font-size:14px}
.ah167-table-head{display:grid;grid-template-columns:minmax(0,1fr) 39%;padding:7px 18px;background:#edf0f4;border-block:1px solid #d5dbe4;font-size:12px;line-height:1.4;color:#637084}
.ah167-row{min-height:44px;display:grid;grid-template-columns:24px minmax(0,1fr) 39%;align-items:center;gap:9px;padding:0 18px;font-size:13px;line-height:1.35;border-bottom:1px solid #e7ebf0}.ah167-row img{width:22px;height:22px}.ah167-row b{font-weight:600}.ah167-row:nth-child(even){background:#f0f3f7}
.ah167-selected{background:rgb(217 232 255 / var(--ah-selection,1));position:relative}.ah167-selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#1979e6;opacity:var(--ah-selection,1)}
.ah167-status{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#176b54}.ah167-status i{height:7px;width:7px;border-radius:50%;background:#26a47b}.ah167-idle{color:#6f7887;font-size:12px}
.ah167-footer{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 18px;background:#f7f9fc;font-size:11px;color:#516177}.ah167-footer>img{width:18px;height:18px}.ah167-state-mark{margin-left:auto;color:#28846b;opacity:var(--ah-selection,1)}
.ah167-focus{position:absolute;left:0;top:0;pointer-events:none;border:2px solid #549ff7;box-shadow:0 0 0 3px #549ff71a;border-radius:7px;box-sizing:border-box}
.ah167-click{position:absolute;pointer-events:none;width:34px;height:34px;border:2px solid #aacfff;border-radius:50%;opacity:0}
[data-paused="true"] .ah167-selected{background:#fff1d7}[data-paused="true"] .ah167-selected:before{background:#b17618}[data-paused="true"] .ah167-status{color:#885714}[data-paused="true"] .ah167-status i{background:#b57a20;border-radius:2px}[data-paused="true"] .ah167-focus{border-color:#c59849;box-shadow:0 0 0 3px #c5984922}
[data-paused="true"] .ah167-action{background:#245ca7}
.ah167-explanation{display:flex;gap:12px;align-items:center;margin:16px 0 0;min-height:44px;color:#deebff}.ah167-step{flex:none;font:400 30px/1 var(--serif,Georgia,serif);color:#9cbbeb;padding-right:12px;border-right:1px solid #516781}.ah167-explanation p{margin:0;font:500 13px/1.4 var(--sans,Arial,sans-serif)}
.ah167-provenance{margin:8px 0 0;font:400 10px/1.4 var(--sans,Arial,sans-serif);color:#9eafc9}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-product-step:last-child{display:grid}
[data-ah-reading-art]{container-type:inline-size}[data-ah-reading-art] .ah167-scene{max-width:650px;margin:auto}[data-ah-reading-art] .ah167-focus,[data-ah-reading-art] .ah167-click{display:none}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-product-reading{max-width:1300px}
@container(max-width:500px){
 .ah167-scene{height:390px}.ah167-context{width:89%;height:115px}.ah167-context-head{padding:9px 11px;font-size:11px;gap:6px}.ah167-context-head img{width:18px;height:18px}.ah167-context-head>span{font-size:7px}.ah167-context p{font-size:12px;margin:8px 11px}.ah167-context-state{display:none}
 body.sober-home #apphalt-produit[data-ah-native] [data-ah-reading-art] .ah167-context p{margin:8px 11px;font-size:12px}
 .ah167-dashboard{top:78px;width:97%;border-radius:12px}.ah167-title{height:37px;padding:0 12px;font-size:14px;gap:14px}.ah167-traffic{gap:5px}.ah167-traffic i{width:8px;height:8px}.ah167-tools{gap:8px}.ah167-tools svg{width:16px;height:16px}
 .ah167-tabs{margin:13px 10px 6px;font-size:11px}.ah167-tabs span{padding:5px 1px}
 .ah167-command{padding:10px 11px 13px;gap:7px;font-size:12px}.ah167-command>img{width:25px;height:25px}
 .ah167-action{min-width:68px;font-size:12px;padding:8px}
 .ah167-table-head{grid-template-columns:minmax(0,1fr) minmax(66px,31%);padding:6px 11px;font-size:11px}
 .ah167-row{min-height:37px;padding:0 11px;grid-template-columns:20px minmax(0,1fr) minmax(66px,31%);gap:7px;font-size:12px}.ah167-row img{width:19px;height:19px}
 .ah167-footer{min-height:36px;padding:6px 11px;font-size:10px;gap:6px}.ah167-footer svg{width:16px;height:16px}
 .ah167-explanation{margin-top:13px;gap:9px;min-height:36px}.ah167-explanation p{font-size:12px}.ah167-step{font-size:25px;padding-right:9px}.ah167-provenance{font-size:9px}
}
@media(max-width:800px){
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{grid-template-columns:1fr;grid-template-rows:150px minmax(0,1fr);gap:12px;padding:12px 42px 30px 20px;align-items:start}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-narrative{min-height:0;height:150px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-beat h3{font-size:clamp(27px,6.7vw,36px)}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-beat p{font-size:13px;max-width:44ch}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-canvas{max-width:500px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] [data-ah-motion-slot]{align-self:start}
}
@media(max-width:800px) and (max-height:720px) and (orientation:portrait){
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{grid-template-rows:124px minmax(0,1fr);gap:6px;padding:8px 36px 24px 16px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-narrative{height:124px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-beat h3{font-size:25px;margin-bottom:6px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-beat p{font-size:12px;line-height:1.35}
 #apphalt-produit[data-ah-ready] .ah167-scene{height:317px}
 #apphalt-produit[data-ah-ready] .ah167-context{height:100px}
 #apphalt-produit[data-ah-ready] .ah167-context p{margin-block-start:6px}
 #apphalt-produit[data-ah-ready] .ah167-dashboard{top:66px}
 #apphalt-produit[data-ah-ready] .ah167-title{height:31px}
 #apphalt-produit[data-ah-ready] .ah167-tabs{margin-block:9px 5px}
 #apphalt-produit[data-ah-ready] .ah167-command{padding-block:8px 9px}
 #apphalt-produit[data-ah-ready] .ah167-footer{min-height:29px;padding-block:5px}
 #apphalt-produit[data-ah-ready] .ah167-explanation{margin-top:8px;min-height:30px}
 #apphalt-produit[data-ah-ready] .ah167-explanation p{font-size:11px}
 #apphalt-produit[data-ah-ready] .ah167-provenance{margin-top:5px}
}
@media(min-width:801px) and (max-height:760px){.ah167-scene{height:430px}.ah167-row{min-height:37px}.ah167-dashboard{top:85px}.ah167-title{height:42px}}
@media(prefers-reduced-motion:reduce){.ah167-context,.ah167-dashboard{transform:none}.ah167-focus,.ah167-click{display:none}}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-canvas{display:block}
.ah167-scene{width:100%}.ah167-explanation,.ah167-provenance{width:100%;text-align:left}
/* The dashboard participates in layout so its caption can never sit beneath it. */
.ah167-scene{height:auto;padding-top:93px}.ah167-dashboard{position:relative;top:auto}.ah167-context-state{display:none}
@container(max-width:500px){.ah167-scene{height:auto;padding-top:78px}.ah167-dashboard{top:auto}}
@media(max-width:800px) and (max-height:720px) and (orientation:portrait){
 #apphalt-produit[data-ah-ready] .ah167-scene{height:auto;padding-top:66px}
 #apphalt-produit[data-ah-ready] .ah167-dashboard{top:auto}
 #apphalt-produit[data-ah-ready] .ah167-row{min-height:27px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{grid-template-rows:114px minmax(0,1fr);gap:5px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-narrative{height:114px}
}
@media(min-width:801px) and (max-height:760px){.ah167-scene{height:auto;padding-top:85px}.ah167-dashboard{top:auto}}
.ah167-selected,.ah167-status,.ah167-action{transition:background-color .22s ease,color .22s ease}
@media(prefers-reduced-motion:reduce){.ah167-selected,.ah167-status,.ah167-action{transition:none}}

/* v179: more breathing room between mobile copy and the interface. */
@media(max-width:800px){
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{row-gap:28px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-product-step{row-gap:32px}
}
@media(max-width:800px) and (max-height:720px) and (orientation:portrait){
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{row-gap:18px}
}

/* v180: a quiet, reversible entrance; the reading alternative is immediate. */
[data-ah-reading-art] .ah167-context,[data-ah-reading-art] .ah167-dashboard{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.ah167-context,.ah167-dashboard{opacity:1;transform:none}}
html.motion-reduced .ah167-context,html.motion-reduced .ah167-dashboard{opacity:1;transform:none}

/* v185: dark opening and ending, light pause chapter; only scene colors change. */
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase="2"] .ah-track{
 --ah-product-ground:#edf1fa;--ah-product-ink:#172246;--ah-product-muted:#4e607d;--ah-product-accent:#2859b0;
}
body.sober-home #apphalt-produit[data-ah-native].ah167 .ah-stage .ah167-explanation{color:var(--ah-scene-caption,#deebff)}
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase="2"] .ah-stage{--ah-scene-caption:#4e607d}
body.sober-home #apphalt-produit[data-ah-native].ah167 .ah-stage :is(.ah-beat h3,.ah-beat p,.ah-tag,.ah167-explanation,.scene183-study-link,.story-navigation){transition:color .36s ease}
@media(prefers-reduced-motion:reduce){
 body.sober-home #apphalt-produit[data-ah-native].ah167 .ah-stage :is(.ah-beat h3,.ah-beat p,.ah-tag,.ah167-explanation,.scene183-study-link,.story-navigation){transition:none}
}

body.sober-home #apphalt-produit[data-ah-native].ah167 .ah-track{transition:background-color .36s ease}
@media(prefers-reduced-motion:reduce){body.sober-home #apphalt-produit[data-ah-native].ah167 .ah-track{transition:none}}

#apphalt-produit [data-ah-canvas] {
  --ah-context-enter: 0;
  --ah-dashboard-enter: 0;
}

#apphalt-produit .ah167-context { transition: filter .22s ease; }
#apphalt-produit [data-paused="true"] .ah167-context { filter: grayscale(1); }

.ah219-research {
  max-inline-size: 620px;
  border: 1px solid #c8d6e9;
  border-radius: 14px;
  background: #f6f8fd;
  color: #1b2e50;
  font: 450 .9375rem/1.4 var(--sans);
  box-shadow: 0 18px 42px -18px #020a20b0;
}

[data-ah-canvas] > .ah219-research {
  position: absolute;
  z-index: 2;
  inset: 50% 0 auto;
  translate: 0 -50%;
  pointer-events: none;
}

.ah219-research > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px clamp(12px, 2vw, 22px);
  border-block-end: 1px solid #d8e2f1;
  font-size: .8125rem;
  font-weight: 650;
}

.ah219-research svg { inline-size: 16px; block-size: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }

.ah219-research-body { padding: clamp(12px, 2vw, 22px); }

.ah219-research-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ah219-research-options > div {
  padding: clamp(8px, 1.4vw, 15px);
  border: 1px solid #dbe4f1;
  border-radius: 8px;
  background: #fff;
}

.ah219-research-options strong { display: block; font-size: .875rem; }

#apphalt-produit .ah219-research-options p {
  margin: 5px 0 0;
  color: #4d607e;
  font-size: .8125rem;
  line-height: 1.4;
}

.ah219-research-need {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e4edff;
  color: #193e82;
  opacity: var(--ah-finding-arrival, 1);
}

.ah219-research-need span { display: block; font-size: .75rem; }
.ah219-research-need strong { display: block; font-size: .875rem; }

html.motion-reduced #apphalt-produit .ah167-context { transition: none; }
@media (prefers-reduced-motion: reduce) {
  #apphalt-produit .ah167-context { transition: none; }
}

/* /assets/styles/v169-readability.css?v=169 */
/* A little more surface opacity, with the existing tint and blur preserved. */
body:is(.sober-home,.sober-case) .site-header .header-inner {
  background:color-mix(in srgb,var(--header-tint,rgba(247,249,252,.72)) 90%,transparent);
}
@media (prefers-reduced-transparency:reduce) {
  body:is(.sober-home,.sober-case) .site-header .header-inner {background:#f8faff!important}
}
@media (forced-colors:active) {
  body:is(.sober-home,.sober-case) .site-header .header-inner {background:Canvas!important}
}
@media (max-width:360px) {
  body.sober-home .site-header:not(.has-project-identity) .desktop-nav {flex-basis:96px}
}

/* Three concise examples; equal rows and aligned notes make them easy to scan. */
body.sober-home #ia.aiv169 .aiv12-intro {align-items:center;margin-bottom:28px}
body.sober-home #ia.aiv169 .aiv12-intro h2 {margin:0;max-width:14ch}
body.sober-home #ia.aiv169 .aiv12-intro>p:last-child {display:block;max-width:43ch;font-size:17px;line-height:1.5;font-weight:400;margin:0}
body.sober-home #ia.aiv169 .aiv12-card {display:flex;flex-direction:column;padding:24px;gap:0;border-radius:20px;box-shadow:0 8px 24px #1a315809}
body.sober-home #ia.aiv169 .aiv12-card::after {display:none}
body.sober-home #ia.aiv169 .aiv12-top {align-items:center;margin-bottom:15px}
body.sober-home #ia.aiv169 .aiv169-icon {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;color:#3154ef}
body.sober-home #ia.aiv169 .aiv12-card h3 {max-width:none;min-height:1.1em;font-size:clamp(26px,2.2vw,32px);line-height:1.1;margin:0 0 12px}
body.sober-home #ia.aiv169 .aiv12-desc {max-width:36ch;min-height:3em;font-size:14px;line-height:1.5;margin:0}
body.sober-home #ia.aiv169 .aiv138-artifact {height:196px;min-height:196px;flex:none;justify-content:center;gap:12px;margin:20px 0 0;padding:16px;border:0;border-radius:12px;background:#f2f5fb}
body.sober-home #ia.aiv169 .aiv138-note-stack span:nth-child(n) {margin:0;font-size:12px;line-height:1.3;padding:10px 11px;box-shadow:none}
body.sober-home #ia.aiv169 .aiv169-result {font:600 12px/1.4 var(--sans);color:#29456d;margin:0;padding:0;max-width:none}
body.sober-home #ia.aiv169 .aiv138-options {flex:none;align-items:stretch;gap:10px}
body.sober-home #ia.aiv169 .aiv138-option>span {min-height:22px;font-size:11px}
body.sober-home #ia.aiv169 .aiv138-option-screen i {font-size:10px}
body.sober-home #ia.aiv169 .aiv138-window {width:100%;max-width:265px;margin:auto;box-shadow:0 5px 14px #1c335b0d}
body.sober-home #ia.aiv169 .aiv169-example {margin:16px 0 0;max-width:none;color:#60718a;font:400 12px/1.5 var(--sans)}
@media (min-width:1081px) and (max-width:1279px) {
  body.sober-home #ia.aiv169 .aiv12-card h3 {min-height:2.15em}
}
@media (min-width:701px) and (max-width:1080px) {
  body.sober-home #ia.aiv169 .aiv12-grid {grid-template-columns:1fr}
  body.sober-home #ia.aiv169 .aiv12-card {display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
  body.sober-home #ia.aiv169 .aiv12-card h3 {min-height:0}
  body.sober-home #ia.aiv169 .aiv138-artifact {grid-column:2;grid-row:1/4;align-self:center;margin:0}
}
@media (max-width:700px) {
  body.sober-home #ia.aiv169 .aiv12-intro {display:block;margin-bottom:20px}
  body.sober-home #ia.aiv169 .aiv12-intro h2 {max-width:none;margin-bottom:12px}
  body.sober-home #ia.aiv169 .aiv12-intro>p:last-child {font-size:15px;max-width:38ch}
  body.sober-home #ia.aiv169 .aiv12-card {padding:20px}
  body.sober-home #ia.aiv169 .aiv12-card h3 {font-size:29px;min-height:0}
  body.sober-home #ia.aiv169 .aiv12-desc {font-size:13px;min-height:3em}
  body.sober-home #ia.aiv169 .aiv138-artifact {margin-top:18px;padding:13px}
  body.sober-home #ia.aiv169 .aiv169-example {margin-top:14px}
}

/* /assets/styles/v170-navigation-polish.css?v=170 */
/* Anchor the section's own ground at the viewport edge, with room for the header. */
body.sober-home :is(#parcours,#contact) {
  scroll-margin-top:0;
  padding-top:calc(var(--gn-header-height,var(--header,76px)) + clamp(28px,3.5vw,48px));
}
body.sober-home #contact {
  min-height:100svh;
  padding-bottom:clamp(64px,6vw,96px);
}

/* A clear, fully clickable route from each story to its case study. */
#malakoff-experience {--study-surface:#263e5d}
#interface-en-contexte {--study-surface:#244e38}
#allianz-trade-pay {--study-surface:#164763}
#apphalt-produit {--study-surface:#243655}
html.has-js body.sober-home .story-next-panel--compact,
html.has-js:not(.gn93-reading) body.sober-home .story-next-panel--compact,
body.sober-home .story-next-panel--compact {
  background:var(--study-surface,#263e5d);
  border-color:rgba(209,224,245,.32);
  box-shadow:0 6px 18px #0a183018;
}
body.sober-home .story-next-panel--compact .story-next-link {
  min-height:84px;
  padding:17px 22px;
  gap:18px;
  color:#fff;
  transition:background-color 160ms ease;
}
body.sober-home .story-next-panel--compact .story-next-copy {gap:5px}
body.sober-home .story-next-panel--compact .story-next-copy span {
  color:#dbe7f5;
  font-size:11px;
  letter-spacing:.06em;
}
body.sober-home .story-next-panel--compact .story-next-copy strong {
  font-size:18px;
  line-height:1.3;
}
body.sober-home .story-next-panel--compact .story-next-link>svg {
  flex:0 0 42px;
  width:42px;height:42px;padding:11px;
  background:#ffffff14;border-color:#ffffff52;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  transition:transform 160ms ease,background-color 160ms ease;
}
body.sober-home .story-next-panel--compact .story-next-link:hover,
body.sober-home .story-next-panel--compact .story-next-link:focus-visible {background:#ffffff12}
body.sober-home .story-next-panel--compact .story-next-link:is(:hover,:focus-visible)>svg {transform:translateX(3px);background:#ffffff24}
body.sober-home .story-next-panel--compact .story-next-link:focus-visible {outline:3px solid #c5dcff;outline-offset:4px}
@media(max-width:700px) {
  body.sober-home .story-next-panel--compact .story-next-link {padding:15px 18px;min-height:80px;gap:14px}
  body.sober-home .story-next-panel--compact .story-next-copy strong {font-size:17px}
}
@media(prefers-reduced-motion:reduce) {
  body.sober-home .story-next-panel--compact :is(.story-next-link,.story-next-link>svg) {transition:none}
  body.sober-home .story-next-panel--compact .story-next-link>svg {transform:none!important}
}
html:is(.motion-reduced,.gn93-reading) body.sober-home .story-next-panel--compact :is(.story-next-link,.story-next-link>svg) {transition:none;transform:none}
@media(forced-colors:active) {
  body.sober-home .story-next-panel--compact {border-color:ButtonText;background:Canvas;box-shadow:none}
  body.sober-home .story-next-panel--compact :is(.story-next-link,.story-next-copy span) {color:LinkText}
}
@media print {
  body.sober-home :is(#parcours,#contact) {padding-block:30px;min-height:0}
}

/* /assets/styles/v195-header-context.css */
/* v195: preserve a visible chevron within the narrow project menu. */
/* Link interaction states follow the project already active in the header. */
body:is(.sober-home,.sober-case) .site-header .desktop-nav > a:is(:hover,:focus-visible,[aria-current]),
body:is(.sober-home,.sober-case) .site-header .project-switcher > summary:is(:hover,:focus-visible) {
  color:var(--header-accent,var(--blue));
}
body:is(.sober-home,.sober-case) .site-header .project-switcher .project-switch-panel a:is(:hover,:focus-visible,[aria-current]) {
  color:var(--header-accent,var(--blue));
  background:color-mix(in srgb,var(--header-accent,var(--blue)) 7%,white);
}
body:is(.sober-home,.sober-case) .site-header .project-switcher > summary:focus-visible,
body:is(.sober-home,.sober-case) .site-header .project-switcher[open] > summary {
  color:var(--header-accent,var(--blue));
  background:color-mix(in srgb,var(--header-accent,var(--blue)) 9%,white);
}
/* The current link retains aria-current without an extra visible badge. */
body:is(.sober-home,.sober-case) .site-header .project-current {
  display:none;
}
body:is(.sober-home,.sober-case) .site-header .project-switch-panel > a.project-jump {
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
}
body:is(.sober-home,.sober-case) .site-header .project-switch-panel .project-entry-mark {
  display:flex;align-items:center;justify-content:center;align-self:center;
  grid-column:1;grid-row:1;width:36px;height:32px;
}
body:is(.sober-home,.sober-case) .site-header .project-switch-panel .project-entry-mark + span {
  grid-column:2;grid-row:1;align-self:center;
}
body:is(.sober-home,.sober-case) .site-header .language-switch a:not([aria-current]):is(:hover,:focus-visible) {
  color:var(--header-accent,var(--blue));
  background:color-mix(in srgb,var(--header-accent,var(--blue)) 9%,white);
}
body:is(.sober-home,.sober-case) .site-header :is(a,summary):focus-visible {
  outline-color:var(--header-accent,var(--blue));
}

/* Keep the mobile navigation action explicit, including within a client story. */
body:is(.sober-home,.sober-case) .site-header .project-switch-menu-label{display:none}
@media(max-width:800px){
 body:is(.sober-home,.sober-case) .site-header .project-switcher>summary{
  display:grid;grid-template-columns:minmax(0,1fr) 11px;align-content:center;justify-content:center;
  column-gap:5px;row-gap:2px;min-height:44px;
 }
 body:is(.sober-home,.sober-case) .site-header .project-switch-default{display:none}
 body:is(.sober-home,.sober-case) .site-header .project-switch-menu-label{
  display:block;grid-column:1;grid-row:1;font:600 12px/1.2 var(--sans,Arial,sans-serif);text-align:center;
 }
 body:is(.sober-home,.sober-case) .site-header .project-switcher>summary.has-project-identity .project-switch-identity{
  grid-column:1;grid-row:1;justify-self:center;min-width:0;width:100%;max-width:100%;justify-content:center;
 }
 body:is(.sober-home,.sober-case) .site-header .project-switcher>summary.has-project-identity .project-switch-menu-label{display:none}
 body:is(.sober-home,.sober-case) .site-header .project-switcher>summary>svg{grid-column:2;grid-row:1;align-self:center;justify-self:center;display:block;width:11px;min-width:11px;height:11px;flex:none}
 body:is(.sober-home,.sober-case) .site-header .project-switcher>summary.has-project-identity .project-switch-identity img{width:auto;height:23px;max-width:100%;min-width:0;object-fit:contain}
 body:is(.sober-home,.sober-case) .site-header[data-project-theme="apphalt"] .project-switcher>summary.has-project-identity .project-switch-identity{gap:4px;width:auto}
 body:is(.sober-home,.sober-case) .site-header[data-project-theme="apphalt"] .project-switcher>summary.has-project-identity .project-switch-identity img{width:20px;height:20px;flex:none}
}
@media(max-width:360px){
 body:is(.sober-home,.sober-case) .site-header .project-switcher>summary{column-gap:4px}
 body:is(.sober-home,.sober-case) .site-header[data-project-theme="apphalt"] .project-switch-identity span{font-size:11px;white-space:nowrap}
 body:is(.sober-home,.sober-case) .site-header[data-project-theme="apphalt"] .project-switcher>summary.has-project-identity .project-switch-identity img{width:18px;height:18px}
}

/* /assets/styles/v178-home-cards.css?v=180 */
/* The desktop index uses the same individual cards as the mobile index. */
@media(min-width:801px){
 body.sober-home .sober-project-heading nav:not(.gn-quick-index):not(.gn-direct-studies){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;border:0;padding:3px 1px 12px;}
 body.sober-home .sober-project-heading nav .project-index-item{min-width:0;min-height:178px;border:1px solid #dce3ed;border-radius:17px;background:#fff;box-shadow:0 7px 22px #1c2d4d0e;overflow:hidden;transition:border-color 160ms ease,box-shadow 160ms ease;}
 body.sober-home .sober-project-heading nav .project-index-item:hover{border-color:#b9c9e1;box-shadow:0 9px 25px #1c2d4d16;}
 body.sober-home .sober-project-heading nav .project-index-item>a.project-index-link{display:grid;grid-template-columns:42px minmax(0,1fr) 15px;gap:10px;align-items:center;min-height:112px;padding:17px 14px 8px;border:0;border-radius:0;background:transparent;}
 body.sober-home .sober-project-heading nav .project-index-item>a.project-index-link .project-entry-mark{width:42px;}
 body.sober-home .project-index-story-cue{font-size:12px;font-weight:400;color:#20324c;}
 body.sober-home .sober-project-heading nav .project-index-item>a.project-index-study{display:inline-flex;gap:6px;align-items:center;min-height:44px;margin:0 14px 6px 66px;padding:4px 2px;}
 body.sober-home .sober-project-heading nav .project-index-item>a.project-index-study span{display:inline-flex;}
 body.sober-home .sober-project-heading nav .project-index-item>a.project-index-study svg{display:block;width:13px;height:13px;fill:currentColor;}
}
@media(min-width:801px) and (max-width:1100px){body.sober-home .sober-project-heading nav:not(.gn-quick-index):not(.gn-direct-studies){grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(prefers-reduced-motion:reduce){body.sober-home .sober-project-heading nav .project-index-item{transition:none;}}
@media(min-width:801px){body.sober-home .sober-project-heading nav .project-entry-topic{min-height:40px;}}

/* Direct case-study access from the experience that prompted it. */
body.sober-home .experience .experience-study{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:4px;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;}
body.sober-home .experience .experience-study svg{width:16px;height:16px;stroke:currentColor;fill:none;}

/* /assets/styles/v195-scene-study-access.css */
/* v195: one footer, outside the animated composition. */
body.sober-home .scene183-study-link{position:absolute;z-index:25;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 13px;box-sizing:border-box;color:inherit;font:500 13px/1.35 var(--sans,Arial,sans-serif);text-decoration:none;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:9px;background:color-mix(in srgb,currentColor 4%,transparent);pointer-events:auto;white-space:nowrap;}
body.sober-home .scene183-study-link[hidden]{display:none!important}
body.sober-home .scene183-study-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
body.sober-home .scene183-study-link:hover{background:color-mix(in srgb,currentColor 9%,transparent);border-color:color-mix(in srgb,currentColor 45%,transparent)}
body.sober-home .scene183-study-link:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:3px}
body.sober-home #interface-en-contexte .scene183-study-link{color:var(--c183-link-color,#214331)}
@media(max-width:800px){body.sober-home .scene183-study-link{font-size:13px}}
/* Clip the scene without letting focus pan its contents horizontally in Safari. */
@supports(overflow:clip){body.sober-home #interface-en-contexte .c103-scene-sticky{overflow:clip}}
@media(max-width:800px){
 body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail{width:44px}
 body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump]::before{left:32px}
 body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump][aria-current]::before{left:31.5px}
}

/* The in-scene link replaces the large end card; reading mode keeps its access. */
body.sober-home :is(#malakoff-experience,#interface-en-contexte,#allianz-trade-pay,#apphalt-produit).has-scene-study-access .story-next-panel--compact{display:none!important}

/* Shared editorial copy sizing. */
body.sober-home .project-brief .project-contribution{font-size:18px;line-height:1.55}
@media(max-width:800px){body.sober-home .project-brief .project-contribution{font-size:16px;line-height:1.55}}

/* v188: desktop stories share the page's existing 1280px editorial grid. */
@media(min-width:1101px){
 body.sober-home #malakoff-experience .mh3-stage{padding-inline:max(var(--sober-gutter),calc((100% - var(--sober-width))/2))}
 body.sober-home #malakoff-experience .mh3-main{width:100%;max-width:var(--sober-width);margin-inline:auto}
 body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner,
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{width:min(var(--sober-width),calc(100% - 2*var(--sober-gutter)));max-width:var(--sober-width);margin-inline:auto;padding-inline:0}
}
/* v193: keep touch targets inside the scene, without moving the visible rail. */
@supports(overflow:clip){
 html:has(body.sober-home){overflow-x:clip;overscroll-behavior-x:none}
 body.sober-home :is(.mh3-stage,.at84-stage,.ah-stage){overflow:clip}
}
body.sober-home .scene183-study-link{white-space:normal}
body.sober-home .scene183-study-link span{min-width:0}
@media(max-width:800px){
 body.sober-home :is(#malakoff-experience,#allianz-trade-pay,#apphalt-produit) .story-vertical-rail,
 body.sober-home :is(#malakoff-experience,#allianz-trade-pay,#apphalt-produit) .story-vertical-rail .gn94-meter.gn102-meter{width:44px}
 body.sober-home :is(#malakoff-experience,#allianz-trade-pay,#apphalt-produit) .story-vertical-rail button.gn102-segment::before{left:24px}
 body.sober-home :is(#malakoff-experience,#allianz-trade-pay,#apphalt-produit) .story-vertical-rail button.gn102-segment[aria-current]::before{left:23.5px}
}

/* v194: one fixed footer, outside every animated composition.
   84px = 24px clear space + 44px target + 16px bottom inset. */
body.sober-home :is(.mh3-stage,.at84-stage,.ah-stage,.c103-scene-sticky){--scene-study-footer:84px;--scene-study-inset:max(var(--sober-gutter,20px),calc((100% - var(--sober-width,1280px))/2))}
body.sober-home .scene183-study-link{left:var(--scene-study-inset);top:auto;bottom:16px;height:44px;min-height:44px;max-width:calc(100% - var(--scene-study-inset) - 60px);transform:none;white-space:nowrap}
body.sober-home .story-navigation > .client-story-position.scene195-footer{position:absolute;left:var(--scene-study-inset);right:max(60px,var(--scene-study-inset));bottom:16px;height:44px;min-height:44px;margin:0;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;justify-content:normal;gap:16px;z-index:25;pointer-events:none}
body.sober-home .scene195-footer > .scene183-study-link{position:static;inset:auto;max-width:none;margin:0;transform:none;pointer-events:auto}
body.sober-home .scene195-footer > .client-story-project{display:none!important}
body.sober-home :is(#malakoff-experience,#interface-en-contexte,#allianz-trade-pay,#apphalt-produit) .scene195-footer > .scene195-step{display:block!important;visibility:visible!important;min-width:0;max-width:none!important;margin:0!important;font:500 12px/1.3 var(--sans,Arial,sans-serif)!important;opacity:.78;overflow-wrap:normal}
@media(max-width:479px){
 body.sober-home .story-navigation > .client-story-position.scene195-footer{grid-template-columns:max-content}
 body.sober-home :is(#malakoff-experience,#interface-en-contexte,#allianz-trade-pay,#apphalt-produit) .scene195-footer > .scene195-step{display:none!important}
}
body.sober-home #malakoff-experience .mh3-stage{padding-top:0;padding-bottom:var(--scene-study-footer);grid-template-rows:0 minmax(0,1fr) 0 0}
body.sober-home #malakoff-experience .mh3-main{position:relative;top:0}
body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner,
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{height:calc(100% - var(--scene-study-footer));padding-block:0}
body.sober-home #interface-en-contexte #c103-original-scene{top:0;bottom:auto;height:calc(100% - var(--scene-study-footer))}
@media(max-width:1100px){body.sober-home #malakoff-experience .mh3-main{row-gap:24px}}
@media(max-width:800px){
 body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner{row-gap:24px}
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{grid-template-rows:150px auto;align-content:center;row-gap:24px}
}
@media(max-width:800px) and (max-height:720px) and (orientation:portrait){
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{grid-template-rows:114px auto}
}

/* The complete mobile composition is centered as one reserved group. */
@media(max-width:1100px){
 body.sober-home #malakoff-experience .mh3-main{grid-template-rows:var(--scene-copy-height,160px) var(--scene-visual-height,minmax(0,1fr))!important;align-content:center}
 body.sober-home #malakoff-experience .mh3-copy-stack{height:var(--scene-copy-height,160px)!important}
}
@media(max-width:800px){
 body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner,
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner{grid-template-rows:var(--scene-copy-height,150px) var(--scene-visual-height,auto);align-content:center;row-gap:24px}
 body.sober-home #allianz-trade-pay[data-at125] .at84-narrative,
 body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-narrative{height:var(--scene-copy-height,150px);min-height:0}
 body.sober-home #apphalt-produit[data-ah-ready] .ah167-scene{padding-top:calc(78px - var(--scene-fit-trim,0px))}
}
@media(max-width:800px) and (max-height:720px) and (orientation:portrait){
 /* Reclaim only blank spacing on the short portrait composition. */
 body.sober-home #allianz-trade-pay .ap-grid{row-gap:4px}
 body.sober-home #allianz-trade-pay .ap-module{padding-block:6px}
 body.sober-home #apphalt-produit[data-ah-ready] .ah167-scene{padding-top:calc(66px - var(--scene-fit-trim,0px))}
}

/* /assets/styles/v196-scene-readability.css */
body.sober-home #malakoff-experience .mh3-copy .mh3-intro,
body.sober-home #allianz-trade-pay[data-at125] .at84-beat p,
body.sober-home #allianz-trade-pay[data-at125] .at84-beat--4 .project-result-label,
body.sober-home #allianz-trade-pay .ap-reading-copy p {
  font-size: max(1rem, 16px);
  line-height: 1.45;
}

body.sober-home #malakoff-experience[data-prototype="malakoff-v196-clarity"][data-mh3-phase="3"] .mh9-answer {
  visibility: visible !important;
}
body.sober-home #malakoff-experience[data-prototype="malakoff-v196-clarity"][data-mh3-phase="3"] .mh9-care-icon {
  display: none;
}
body.sober-home #malakoff-experience .mh9-answer i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 8px;
  vertical-align: .12em;
  border-radius: 50%;
  background: #172e45;
}
body.sober-home #malakoff-experience .mh10-app-tabs + .mh10-app-row > b {
  opacity: var(--mh196-product-amount, 1);
}
body.sober-home #malakoff-experience.mh3-reduced .mh3-track {
  display: none !important;
}
body.sober-home #malakoff-experience.mh3-reduced .mh-fallback {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
body.sober-home #malakoff-experience.mh3-reduced .mh-fallback-image {
  margin: 0;
  transform: none;
}
body.sober-home #malakoff-experience.mh3-reduced .mh-fallback-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
body.sober-home #malakoff-experience.mh3-reduced #mh-story-end :is(p, li) { color: #c5d4e5; }
.mh196-reading-card {
  --answer-label: 1rem;
  --answer-size: 2.25rem;
  --row-label: .9375rem;
  --row-value: 1rem;
  --row-height: 34px;
  --row-gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f8f5f2;
  color: #172e45;
}
.mh196-reading-card .mh9-answer,
.mh196-reading-card .mh9-legend { position: static; }
.mh196-reading-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .9375rem;
}
.mh196-reading-detail > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, #f8f5f2 0 55%, transparent 57%), var(--mh196-ring);
  font-weight: 700;
}

body.sober-home #allianz-trade-pay :is(.at84-beat p, .ap-reading-copy p):empty,
body.sober-home #allianz-trade-pay [data-ap-role][hidden],
body.sober-home #allianz-trade-pay:not([data-at84-ready]) .at84-track,
body.sober-home #apphalt-produit.ah167:not([data-ah-ready]) .ah-track {
  display: none !important;
}
/* The two merchant states keep the order reference and the refund in view. */
body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]):not(.ap-morphing) .ap-grid {
  grid-template-columns: minmax(0, 1fr);
}
body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]):not(.ap-morphing) :is(.ap-payment, .ap-schedule) {
  display: none;
}
body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-next .ap-final {
  flex-wrap: wrap;
  gap: 8px 16px;
}
body.sober-home #allianz-trade-pay .ap-next .ap-module-heading {
  font-size: max(.875rem, 14px);
}
body.sober-home #allianz-trade-pay .ap-attention {
  display: inline-block;
  margin: 0;
  padding: 5px 9px;
  border-radius: 6px;
  background: #fff0d9;
  color: #75400d;
  font-size: max(.875rem, 14px);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}
body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="4"] .ap-attention {
  background: #dff1e9;
  color: #205f4d;
}
body.sober-home #allianz-trade-pay .ap-open-case {
  padding: 6px 9px;
  border: 1px solid #9ac4d1;
  border-radius: 6px;
  background: #fff;
  color: #07576e;
  font-size: max(.875rem, 14px);
  line-height: 1.3;
  white-space: normal;
}
body.sober-home #allianz-trade-pay :is(.ap-action-button, .ap-payment-details > span, .ap-other) {
  font-size: max(.875rem, 14px);
}

body.sober-home #apphalt-produit .ah167-context-head > span {
  font-size: max(.875rem, 14px);
  line-height: 1.2;
  letter-spacing: 0;
  text-align: right;
}
body.sober-home #apphalt-produit :is(.ah167-action, .ah167-status) {
  font-size: max(.875rem, 14px);
  line-height: 1.25;
}
body.sober-home #apphalt-produit .ah167-status i { flex: none; }
body.sober-home #apphalt-produit .ah167-selected b { font-size: max(.875rem, 14px); }
body.sober-home #apphalt-produit .ah167-action { background: #0863ce; }
body.sober-home #apphalt-produit [data-paused="true"] .ah167-action { background: #245ca7; }
body.sober-home #apphalt-produit [data-paused="true"] .ah167-status { color: #75470c; }
body.sober-home #apphalt-produit[data-ah-native] .ah-product-step h3 br { display: inline; }

/* Switch the scene background and text colors on the same frame. */
body.sober-home #apphalt-produit[data-ah-ready].ah167 :is(.ah-track, .ah-stage),
body.sober-home #apphalt-produit[data-ah-ready].ah167 .ah-stage :is(.ah-beat h3, .ah-beat p, .ah-tag, .ah167-explanation, .scene183-study-link, .story-navigation) {
  transition: none;
}

@media (max-width: 800px) {
  body.sober-home #malakoff-experience.mh3-reduced .mh-fallback { grid-template-columns: minmax(0, 1fr); }
  body.sober-home :is(#malakoff-experience, #allianz-trade-pay, #apphalt-produit) .story-navigation .story-vertical-rail button.gn102-segment:focus-visible {
    outline-offset: -3px;
  }
  body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner {
    grid-template-rows: auto auto;
    align-content: start;
    align-content: safe center;
    row-gap: 24px;
  }
  body.sober-home #allianz-trade-pay[data-at125] .at84-narrative { height: auto; }
  body.sober-home #allianz-trade-pay[data-at125] .at84-beat[aria-hidden="false"] {
    position: relative;
    inset: auto;
    transform: none;
  }
  body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="2"] .ap-payment-details > span { flex-wrap: wrap; gap: 2px 8px; }
  body.sober-home #apphalt-produit .ah167-context-head b { font-size: .875rem; }
  body.sober-home #apphalt-produit .ah167-status { gap: 4px; }
  body.sober-home #apphalt-produit .ah167-row { grid-template-columns: 20px minmax(0, 1fr) minmax(66px, 31%); }
}
@media (max-width: 800px) and (max-height: 720px) {
  body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner { row-gap: 16px; }
}

/* /assets/styles/v214-ai-method.css */
body.sober-home #ia.ai-method {
  --ai-method-ink: #172b49;
  --ai-method-muted: #445671;
  --ai-method-accent: #2344cc;
  --ai-method-line: #dce4f0;
  padding-block: clamp(52px, 6.5vw, 96px);
  background: #f6f8fc;
  color: var(--ai-method-ink);
}

.ai-method__intro {
  display: grid;
  gap: 12px clamp(32px, 6vw, 92px);
  margin-block-end: clamp(24px, 3vw, 38px);
}

body.sober-home #ia.ai-method h2 {
  margin: 0;
  color: var(--ai-method-ink);
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1.04;
  text-wrap: balance;
}

body.sober-home #ia.ai-method h2:focus-visible {
  outline: 2px solid var(--ai-method-accent);
  outline-offset: 5px;
  border-radius: 3px;
  box-shadow: none;
}

.ai-method__intro p {
  max-inline-size: 44ch;
  margin: 0;
  color: var(--ai-method-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.ai-method__steps {
  display: grid;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ai-method-line);
  border-radius: clamp(16px, 2vw, 24px);
  background: #fff;
  list-style: none;
}

.ai-method__step {
  min-inline-size: 0;
  padding: clamp(20px, 3vw, 36px);
}

.ai-method__step + .ai-method__step {
  border-block-start: 1px solid var(--ai-method-line);
}

body.sober-home #ia .ai-method__step h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: var(--ai-method-ink);
  font: 400 clamp(25px, 2.5vw, 34px)/1.08 var(--serif, Georgia, serif);
  letter-spacing: -.025em;
}

.ai-method__step h3 svg {
  flex: none;
  box-sizing: content-box;
  inline-size: 18px;
  block-size: 18px;
  padding: 8px;
  border: 1px solid #e1e9fc;
  border-radius: 9px;
  background: #f2f6ff;
  color: var(--ai-method-accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-method__roles {
  display: grid;
  gap: 12px 20px;
  margin: 0;
}

.ai-method__roles dt {
  margin: 0 0 4px;
  color: var(--ai-method-ink);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
}

.ai-method__roles > div:first-child dt {
  color: var(--ai-method-accent);
}

.ai-method__roles dd {
  margin: 0;
  color: var(--ai-method-muted);
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 570px) and (max-width: 899px) {
  .ai-method__roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ai-method__intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
  }

  .ai-method__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-method__step + .ai-method__step {
    border-block-start: 0;
    border-inline-start: 1px solid var(--ai-method-line);
  }

  @supports (grid-template-rows: subgrid) {
    .ai-method__step {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
    }

    .ai-method__roles {
      grid-row: span 2;
      grid-template-rows: subgrid;
    }

    .ai-method__roles > div + div {
      padding-block-start: 12px;
    }
  }
}

body.sober-home .site-header .project-switch-utilities .gn-menu-ai {
  display: none;
}

@media (max-width: 900px) {
  body.sober-home .site-header .project-switch-utilities .gn-menu-ai {
    display: block;
  }
}

/* /assets/styles/v195-portfolio-polish.css */
/* The reading alternative uses its own foreground on each surface. */
html:is(.motion-reduced,.gn93-reading) body.sober-home #malakoff-experience.mh9 #mh-story-end {
  background: #172b48;
  color: #edf4fc;
}
html:is(.motion-reduced,.gn93-reading) body.sober-home #malakoff-experience.mh9 #mh-story-end :is(p, li) {
  color: #c5d4e5;
}
html:is(.motion-reduced,.gn93-reading) body.sober-home #malakoff-experience.mh9 #mh-story-end :is(h3, summary, a) {
  color: #edf4fc;
}
body.sober-home #apphalt-produit [data-ah-reading-art] .ah167-context p {
  color: #263044;
}

/* Both routes are visible in the Cetelem illustration. They are not form controls. */
body.sober-case .ux148-sim-actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
body.sober-case .ux148-sim-actions .ux148-sim-button {
  margin: 0;
  background: #20543b;
}
body.sober-case .ux148-sim-actions .ux148-sim-button--secondary {
  border: 1px solid #728d7d;
  color: #244635;
  background: #fff;
}
body.sober-case .ux148-form-list--consent {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* One unobtrusive playback control below the authentic demonstration. */
body.case176-secondary.case-apphalt .app176-hero-proof .app195-demo-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  min-height: 44px;
  margin-top: 8px;
  text-align: left;
}
.app195-demo-toggle {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c0cfdf;
  border-radius: 8px;
  background: #fff;
  color: #233c67;
  font: 600 12px/1.25 var(--sans, Arial, sans-serif);
  cursor: pointer;
}
.app195-demo-toggle:hover { background: #f0f4fc; }
.app195-demo-toggle:focus-visible { outline: 2px solid #2853b0; outline-offset: 3px; }
.app195-demo-toggle[hidden] { display: none; }
.app195-demo-caption noscript { grid-column: 1 / -1; }

/* /assets/styles/v197-home-menu.css */
/* Keep one compact navigation in the range where the full header is hidden. */
@media (max-width: 900px) {
  body.sober-home .site-header .desktop-nav {
    display: flex;
  }

  body.sober-home .site-header .desktop-nav > a {
    display: none;
  }

  body.sober-home .site-header .project-switch-panel {
    overscroll-behavior-y: contain;
  }
}

@media (800px < width <= 900px) {
  body.sober-home .site-header .header-actions {
    margin-left: 0;
  }

  body.sober-home .site-header .project-switcher > summary:not(.has-project-identity) .project-switch-default {
    display: none;
  }

  body.sober-home .site-header .project-switcher > summary:not(.has-project-identity) .project-switch-menu-label {
    display: block;
  }

  body.sober-home .site-header .project-switch-panel {
    left: auto;
    right: 0;
  }
}

/* /assets/styles/v198-home-scenes.css */
body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
  grid-template-columns: max-content minmax(0, 1fr) max-content max-content;
  height: auto;
  min-height: 44px;
  align-items: center;
}

body.sober-home .v197-scene-footer > .scene183-study-link {
  grid-area: 1 / 1;
}

.v197-scene-meta {
  display: flex;
  grid-area: 1 / 2;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  font: 500 .75rem/1.35 var(--sans, Arial, sans-serif);
}

body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit) .v197-scene-footer .v197-scene-meta .scene195-step {
  display: block !important;
  visibility: visible !important;
  margin: 0 !important;
  max-width: none !important;
  color: inherit;
  font: inherit !important;
  opacity: 1;
}

.v197-scene-count { flex: none; font-variant-numeric: tabular-nums; }
.v197-scene-hint {
  grid-area: 1 / 3;
  justify-self: end;
  font: 500 .75rem/1.35 var(--sans, Arial, sans-serif);
}

.v197-scene-exit {
  display: inline-flex;
  grid-area: 1 / 4;
  justify-self: end;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: inherit;
  font: 600 .8125rem/1.35 var(--sans, Arial, sans-serif);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  pointer-events: auto;
}
.v197-scene-exit[hidden] { display: none; }
.v197-scene-exit svg { width: 14px; height: 14px; fill: none; stroke: currentColor; flex: none; }
.v197-scene-exit:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 600px) {
  /* Keep both actions inside the existing 84px scene reserve. */
  body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: minmax(16px, auto) 44px;
    right: var(--scene-study-inset);
    bottom: 12px;
    gap: 4px 8px;
  }

  .v197-scene-meta { grid-area: 1 / 1 / 2 / -1; }
  .v197-has-mockup-hint .v197-scene-meta { grid-column-end: 2; }
  .v197-scene-hint { grid-area: 1 / 2; font-size: .6875rem; text-align: end; }
  body.sober-home .v197-scene-footer > .scene183-study-link { grid-area: 2 / 1; }
  .v197-scene-exit { grid-area: 2 / 2; }
}

@media (max-width: 359px) {
  body.sober-home .v197-scene-footer > .scene183-study-link { padding-inline: 8px; }
}

body.sober-home #malakoff-experience .mh-fallback > .mh-fallback-copy {
  display: block !important;
}
body.sober-home #malakoff-experience .mh-fallback h2 {
  margin-top: 0;
  font-size: clamp(27px, 4vw, 42px);
}
body.sober-home #malakoff-experience .mh-fallback .sober-case-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}
body.sober-home #malakoff-experience .mh-fallback .sober-case-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

body.sober-home .sober-project-heading nav .project-index-item > a.project-index-study {
  display: flex !important;
  align-self: stretch;
  justify-content: space-between;
  max-width: none;
  margin: 0 10px 10px;
  padding: 7px 11px;
  border-radius: 8px;
  background: #edf2ff;
  color: #1e4299;
  font-size: .875rem;
  text-decoration: none;
}
body.sober-home .sober-project-heading nav .project-index-item > a.project-index-study:is(:hover, :focus-visible) {
  background: #dfe8ff;
  color: #17367c;
  text-decoration: underline;
}

body.sober-home #allianz-trade-pay :is(.ap-dates, .ap-dates small) {
  color: #405b6c;
  font-size: .8125rem;
}
body.sober-home #allianz-trade-pay .ap-payment-details > span { color: #405b6c; }
body.sober-home #apphalt-produit .ah167-tabs span:first-child { background: #0863ce; }

/* Use the scene's measured palette directly at the Cetelem handoffs. */
body.sober-home #interface-en-contexte .v197-scene-footer .scene183-study-link {
  background: transparent;
}
body.sober-home #interface-en-contexte .v197-scene-footer .scene183-study-link:hover {
  border-color: currentColor;
}

/* /assets/styles/v199-readability.css */
/* Give the animated cards their full text contrast from the first frame. */
@media (prefers-reduced-motion: no-preference) {
  html.has-js:not(.motion-reduced):not(.gn93-reading) body.sober-home .hero79-copy h1 > :is(span, em) {
    animation-name: v199-headline-arrival;
    animation-duration: .32s;
  }

  @keyframes v199-headline-arrival {
    from { transform: translateY(6px); }
    to { transform: none; }
  }

  html.has-js:not(.motion-reduced) .sober-home #ia .aiv12-card {
    opacity: 1;
    transition: transform .32s cubic-bezier(.2, .7, .2, 1), box-shadow .26s ease;
  }

  html:not(.motion-reduced) .at2-case .at124-facts {
    animation-name: v199-facts-rise;
  }

  @keyframes v199-facts-rise {
    from { transform: translateY(12px); }
    to { transform: none; }
  }
}

body.sober-home .hero79-copy > .gn-hero-cv svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

@media (max-width: 359px) {
  body.sober-home .hero79-copy > .gn-hero-cv {
    display: flex;
    width: max-content;
    margin-left: 0;
  }
}

#malakoff-experience .mh159-notes article span,
#malakoff-experience .mh159-workshop-bottom span {
  color: #754e3c;
  font: 700 11px/1.3 var(--sans, Arial, sans-serif);
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  #malakoff-experience .mh159-notes article span,
  #malakoff-experience .mh159-workshop-bottom span {
    font-size: 9px;
  }

  #malakoff-experience .mh159-notes article strong,
  #malakoff-experience .mh159-workshop-bottom strong {
    font-size: 11px;
  }
}

/* /assets/styles/v201-home-finish.css */
/* Keep the portrait legible throughout its entrance. */
@media (prefers-reduced-motion: no-preference) {
  html.has-js:not(.motion-reduced):not(.gn93-reading) body.sober-home .hero79-stage .hero-work {
    animation-name: v201-portrait-arrival;
    animation-delay: 0s;
    animation-duration: .32s;
  }

  html.has-js:not(.motion-reduced):not(.gn93-reading) body.sober-home .hero79-stage .hero-work-portrait {
    animation: none;
  }

  @keyframes v201-portrait-arrival {
    from { opacity: 1; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
}

body.sober-home .hero79-copy .hero94-description {
  max-inline-size: 53ch;
  text-wrap: pretty;
}

@media (min-width: 901px) {
  body.sober-home .hero81-track .hero79-inner {
    min-height: clamp(520px, 67svh, 600px);
    padding-block: clamp(34px, 6svh, 56px) 36px;
  }

  body.sober-home .hero79-inner .hero-work {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  body.sober-home .hero81-track .hero79-inner {
    gap: 18px;
  }
}

@media (min-width: 1001px) {
  body.sober-home #projets .selection-intro {
    justify-content: flex-start;
    align-items: baseline;
    gap: clamp(24px, 3.4vw, 48px);
  }

  body.sober-home #projets .selection-intro > p {
    max-inline-size: 51ch;
  }
}

body.sober-home #projets .project-index-link > :is(.project-entry-copy, .selection-arrow) {
  align-self: end;
}

body.sober-home #projets .project-index-story-cue {
  display: block;
  font-size: 12px;
  line-height: 16px;
}

@media (min-width: 801px) and (max-width: 1100px) {
  body.sober-home #projets .project-index-link > .selection-arrow {
    margin-block-end: 8px;
  }
}

/* Shorten the entry in normal flow. The sticky stages measure their own travel. */
@media (min-width: 801px) {
  body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit) > .project-brief {
    padding-block: clamp(70px, 10svh, 92px) 0;
  }

  body.sober-home .story-navigation .story-vertical-rail {
    right: max(clamp(4px, 1.25vw, 18px), calc((100% - 1280px) / 2 - 42px));
  }
}

@media (hover: hover) {
  body.sober-home .story-navigation .story-vertical-rail :is(.gn102-segment, [data-workshop-jump]):hover {
    border-radius: 5px;
    background: color-mix(in srgb, currentColor 8%, transparent);
    cursor: pointer;
  }

  body.sober-home .story-navigation .story-vertical-rail :is(.gn102-segment, [data-workshop-jump]):hover::before {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  body.sober-home .v197-scene-footer .v197-scene-exit {
    max-inline-size: 100%;
    text-align: end;
    white-space: normal;
    line-height: 1.25;
  }
}

@media (min-width: 1101px) {
  body.sober-home #malakoff-experience .mh3-copy h2 {
    font-size: clamp(40px, 3.65vw, 54px);
    text-wrap: balance;
  }
}

@media (min-width: 801px) {
  body.sober-home #allianz-trade-pay[data-at125] :is(.at84-beat, .ap-reading-copy) h3 {
    font-size: clamp(37px, 3.65vw, 53px);
    text-wrap: balance;
  }
}

@media (max-width: 700px) {
  body.sober-home #malakoff-experience .mh159-notes article span {
    letter-spacing: .015em;
    overflow-wrap: normal;
    white-space: nowrap;
  }
}

body.sober-home #parcours .experience li > span {
  color: #41536a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.sober-home #parcours .experience li p {
  font-size: 13px;
}

@media (min-width: 801px) {
  body.sober-home #parcours {
    padding-block-start: clamp(90px, 11svh, 120px);
  }

  body.sober-home #parcours .experience li {
    padding-block: 16px;
  }
}

@media (max-width: 700px) {
  body.sober-home #parcours .experience li {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 12px;
  }
}

body.sober-home #ia.aiv194 .aiv12-desc {
  max-inline-size: none;
  margin-block-end: 16px;
}

body.sober-home #ia.aiv194 .aiv138-option > span,
body.sober-home #ia.aiv194 .aiv138-option-screen i,
body.sober-home #ia.aiv194 .aiv194-demo-label {
  font-size: 11px;
  line-height: 1.3;
}

body.sober-home #ia.aiv194 .aiv194-demo {
  border: 1px solid #d8e3fb;
  background: #eef3ff;
}

@media (min-width: 1081px) {
  body.sober-home #ia.aiv194 .aiv12-card {
    min-height: 0;
  }
}

body.sober-home #contact .sober-contact-copy h2 {
  margin-block-end: 18px;
}

body.sober-home #contact .sober-contact-copy .sober-email {
  font-size: 17px;
  font-weight: 600;
  margin-block-start: 14px;
}

body.sober-home #contact .sober-contact-actions {
  margin-block-start: 6px;
  font-size: 14px;
}

body.sober-home #contact :is(#contact-message-hint, .contact-privacy, .contact-required) {
  font-size: 13px;
  line-height: 1.45;
}

body.sober-home #contact #contact-message-hint {
  max-inline-size: 54ch;
}

@media (min-width: 1001px) {
  body.sober-home #contact #contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    align-content: start;
    align-self: start;
  }

  body.sober-home #contact #contact-form > :not(.contact-field),
  body.sober-home #contact #contact-form > .contact-field:has(textarea) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body.sober-home #contact {
    padding-block-start: 96px;
  }

  body.sober-home #contact .sober-contact-grid {
    gap: 22px;
  }

  body.sober-home #contact .sober-contact-copy {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 14px;
  }

  body.sober-home #contact .sober-contact-copy > :is(.sober-kicker, h2, p) {
    flex-basis: 100%;
  }

  body.sober-home #contact .sober-contact-copy .sober-email,
  body.sober-home #contact .sober-contact-actions {
    min-height: 44px;
    margin-block-start: 10px;
    font-size: 14px;
  }
}

body.sober-home .site-footer button[data-motion-toggle]:not([hidden]) {
  padding-inline: 12px;
  border: 1px solid #cbd6e8;
  border-radius: 999px;
  background: #f5f8fd;
  color: #263f66;
}

body.sober-home .site-footer button[data-motion-toggle][aria-pressed="true"]:not([hidden]) {
  border-color: #a4b7db;
  background: #e8efff;
  color: #19386c;
}

body.sober-home .site-footer button[data-motion-toggle]:hover:not([hidden]) {
  border-color: #8ca2ca;
}

@media (min-width: 1101px) {
  body.sober-home .site-footer > .footer-links {
    inline-size: max-content;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/* /assets/styles/v204-project-directory.css */
body.sober-home #projets nav.project-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 3px 0;
  scroll-snap-type: none;
}

body.sober-home #projets .project-directory a {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 12px;
  gap: 8px;
  min-block-size: 56px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #dce3ed;
  border-radius: 10px;
  background: #fff;
  color: #172940;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
}

body.sober-home #projets .project-directory a:hover {
  background: #edf2ff;
  color: #19388c;
}

.project-directory a img {
  inline-size: 24px;
  block-size: 24px;
  object-fit: contain;
}

.project-directory a svg {
  inline-size: 12px;
  block-size: 12px;
}

.project-opening {
  padding-block: clamp(24px, 5vw, 70px) clamp(16px, 3vw, 40px);
}

.project-steps-anchor {
  display: block;
  scroll-margin-block-start: var(--gn-header-height, 92px);
}

body.sober-home .project-opening .allianz-preview__footer {
  justify-content: flex-start;
  gap: 0 16px;
}

.project-opening .allianz-preview__footer p {
  flex-basis: 100%;
}

@media (min-width: 881px) {
  .project-opening :is(.apphalt-preview, .allianz-preview) {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    column-gap: clamp(25px, 4vw, 52px);
    padding: clamp(24px, 3.2vw, 44px);
  }

  .project-opening :is(.apphalt-preview__stage, .allianz-preview__surface) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .project-opening :is(.apphalt-preview__links, .allianz-preview__footer) {
    margin-block-start: 0;
  }
}

@media (max-width: 800px) {
  body.sober-home #projets nav.project-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body.sober-home #projets .project-directory a {
    grid-template-columns: 22px minmax(0, 1fr) 10px;
    gap: 6px;
    padding: 8px;
    font-size: 13px;
  }
}

/* /assets/styles/v201-home-controls.css */
body.sober-home .site-header .project-switch-utilities button[data-motion-toggle] {
  min-height: 44px;
  grid-column: 1 / -1;
  padding: 8px 10px;
  color: #243852;
  background: transparent;
  border: 1px solid #dce3ee;
  border-radius: 8px;
  text-align: left;
  font: 600 12px/1.35 var(--sans, Arial, sans-serif);
}

body.sober-home .site-header .project-switch-utilities button[data-motion-toggle]:not(:disabled):hover,
body.sober-home .site-header .project-switch-utilities button[data-motion-toggle][aria-pressed="true"] {
  background: #edf2fa;
}

body.sober-home #ia .aiv132-controls[hidden] { display: none; }
body.sober-home #ia .aiv132-controls { margin-block: 0 12px; }
body.sober-home #ia .aiv132-buttons button[aria-disabled="true"] { opacity: .45; cursor: default; }

body.sober-home #ia .ai-demo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: #2149ba;
  font-weight: 650;
  text-underline-offset: .25em;
}

body.sober-home #contact .contact-form-link { display: none; }
@media (max-width: 700px) {
  body.sober-home #contact .contact-form-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 8px;
    padding-inline: 16px;
    border: 1px solid currentColor;
    border-radius: 8px;
    color: inherit;
    font-weight: 650;
    text-decoration: none;
  }
}

body.sober-home #apphalt-produit button.ah167-action {
  position: relative;
  z-index: 1;
  min-height: 32px;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}

body.sober-home #apphalt-produit button.ah167-action:hover { box-shadow: 0 0 0 2px #19489d70; }
body.sober-home #apphalt-produit button.ah167-action:focus-visible {
  outline: 2px solid #172246;
  outline-offset: 3px;
}

body.sober-home .v197-scene-exit .v201-exit-compact { display: none; }
@media (max-width: 380px) {
  body.sober-home .v197-scene-exit .v201-exit-wide { display: none; }
  body.sober-home .v197-scene-exit .v201-exit-compact { display: inline; }
}

/* /assets/styles/v211-project-navigation.css */
body.sober-home #projets .project-directory a {
  grid-template-areas: "mark name arrow" "mark topic arrow";
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  column-gap: 10px;
  row-gap: 3px;
  min-block-size: 68px;
  padding: 10px 12px;
}

.project-directory a img { grid-area: mark; }
.project-directory a svg { grid-area: arrow; }
.project-directory__name { grid-area: name; }
.project-directory__topic {
  grid-area: topic;
  color: #4b5c75;
  font-size: 13px;
  font-weight: 450;
}

body.sober-home #cetelem-contexte > .sober-next {
  color: #d0e1ce;
}

body.sober-home #apphalt-produit :is(.ah167-table-head, .ah167-idle) {
  color: #566376;
}

@media (max-width: 380px) {
  body.sober-home #projets .project-directory a {
    grid-template-areas: "mark name arrow" "topic topic topic";
    column-gap: 7px;
    padding-inline: 9px;
  }
}

/* /assets/styles/v212-project-scenes.css */
#malakoff-experience .mh9-chart-center {
  gap: 2px;
}

#malakoff-experience .mh9-chart-center strong {
  font-size: calc(.9 * var(--total-size, 15px));
}

#malakoff-experience .mh9-chart-center > span {
  max-inline-size: 66%;
  font-size: clamp(9px, calc(.46 * var(--total-size, 15px)), 11px);
  line-height: 1.1;
}

body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
  bottom: 24px;
}

@media (max-width: 600px) {
  body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
    bottom: 20px;
  }
}

@media (max-width: 600px) and (max-height: 720px) {
  body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
    bottom: 16px;
  }

  body.sober-home #malakoff-experience .mh3-main {
    grid-template-rows: var(--scene-copy-height, 160px)
      max(0px, calc(var(--scene-visual-height, 320px) - 26px)) !important;
  }

  body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner {
    row-gap: 14px;
  }

  body.sober-home #allianz-trade-pay .at84-canvas .ap-module {
    padding-block: 4px;
  }

  body.sober-home #allianz-trade-pay .at84-canvas .ap-workspace {
    padding-block: 7px;
  }

  body.sober-home #allianz-trade-pay .at84-canvas .ap-order {
    margin-block-end: 7px;
  }

  body.sober-home #allianz-trade-pay .at84-canvas :is(.ap-other, .ap-action-button) {
    margin-block-start: 6px;
  }
}

/* /assets/styles/v214-navigation.css */
/* Let touch users explore the project links in a native horizontal rail. */
@media (max-width: 800px) {
  body.sober-home #projets nav.project-directory {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(224px, 78%, 300px);
    gap: 10px;
    inline-size: auto;
    margin-inline: -6px;
    padding: 6px 6px 11px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6px;
  }

  body.sober-home #projets .project-directory a {
    grid-template-areas: "mark name arrow" "mark topic arrow";
    grid-template-columns: 26px minmax(0, 1fr) 12px;
    column-gap: 10px;
    min-block-size: 76px;
    padding-inline: 12px;
    border-radius: 12px;
    font-size: 14px;
    scroll-snap-align: start;
  }

  body.sober-home #projets .project-directory a:last-child {
    scroll-snap-align: end;
  }

  body.sober-home #projets .project-directory__topic {
    font-size: .875rem;
  }

  body.sober-home #projets .project-directory a:focus-visible {
    outline-offset: 2px;
  }

  /* Keep snap positions from overriding the keyboard focus scroll. */
  body.sober-home #projets nav.project-directory:has(a:focus-visible) {
    scroll-snap-type: none;
  }
}

/* The chevron sits in its own column at the right of the whole menu target. */
body.sober-home .site-header .project-switcher > summary > .project-switch-chevron {
  display: none;
}

@media (max-width: 900px) {
  body.home-page.sober-home .site-header .project-switcher > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16px;
    align-items: center;
    align-content: center;
    column-gap: 8px;
    min-block-size: 44px;
    padding-inline: 4px;
  }

  body.sober-home .site-header .project-switcher > summary > svg:not(.project-switch-chevron) {
    display: none;
  }

  body.sober-home .site-header .project-switcher > summary > svg.project-switch-chevron {
    display: block;
    grid-area: 1 / 2;
    justify-self: center;
    inline-size: 16px;
    block-size: 16px;
    fill: none;
    opacity: 1;
    transform: none;
  }

  body.sober-home .site-header .project-switcher[open] > summary > .project-switch-chevron {
    transform: rotate(180deg);
  }

  body.sober-home .site-header[data-project-theme="cetelem"] .project-switcher > summary.has-project-identity {
    grid-template-columns: minmax(0, 1fr) max-content 16px;
    column-gap: 6px;
  }

  body.sober-home .site-header[data-project-theme="cetelem"] .project-switcher > summary.has-project-identity > .project-switch-chevron {
    grid-column: 3;
    min-inline-size: 16px;
  }
}

@media (max-width: 359px) {
  body.sober-home .site-header .desktop-nav {
    flex-basis: 92px;
  }
}

@media (max-width: 360px) {
  body.sober-home .site-header[data-project-theme="cetelem"].has-project-identity .desktop-nav {
    flex-basis: 124px;
  }
}

/* /assets/styles/v214-malakoff-navigation.css */
#malakoff-experience .mh9-chart-center {
  gap: 0;
}

#malakoff-experience .mh9-chart-center strong {
  font-size: calc(.8 * var(--total-size, 15px));
  line-height: 1;
}

#malakoff-experience .mh9-chart-center > span {
  max-inline-size: none;
  letter-spacing: -.015em;
  line-height: 1;
  white-space: nowrap;
}

#malakoff-experience .mh214-review-arrow {
  inline-size: 16px;
  block-size: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  rotate: -90deg;
}

body.sober-home .v197-scene-exit > svg {
  rotate: 90deg;
}

/* /assets/styles/v215-home-rails.css */
body.sober-home #projets {
  box-sizing: border-box;
  inline-size: 100%;
  padding-inline: max(var(--sober-gutter), calc((100% - var(--sober-width)) / 2));
  background: #fff;
}

.ai-method__steps:focus-visible {
  outline: 2px solid var(--ai-method-accent);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .ai-method__steps {
    grid-auto-flow: column;
    grid-auto-columns: min(88%, 400px);
    gap: 10px;
    margin-inline: -6px;
    padding: 6px 6px 11px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ai-method__steps:focus-visible {
    scroll-snap-type: none;
  }

  .ai-method__steps > .ai-method__step {
    border: 1px solid var(--ai-method-line);
    border-radius: 16px;
    background: #fff;
    scroll-snap-align: start;
  }

  .ai-method__steps > .ai-method__step:last-child {
    scroll-snap-align: end;
  }

  body.sober-home #ia .ai-method__step h3 {
    font-size: clamp(27px, 7.2vw, 32px);
  }

  .ai-method__roles {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* /assets/styles/v216-home.css */
@media (max-width: 600px) {
  body.home-page.sober-home .site-header:not([data-project-theme="cetelem"]) .project-switcher > summary {
    grid-template-columns: minmax(0, max-content) 16px;
    justify-content: center;
    column-gap: 10px;
  }
}

/* The chapter controls use the palette already painted by each scene. */
body.sober-home #malakoff-experience .mh3-stage { --scene-ink: var(--mh3-ink); }
body.sober-home #interface-en-contexte .c103-scene-sticky { --scene-ink: var(--cetelem-ink, #f3f8ef); }
body.sober-home #allianz-trade-pay .at84-stage { --scene-ink: var(--ap-ink); }
body.sober-home #apphalt-produit .ah-stage { --scene-ink: var(--ah-product-ink); }

body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit) .story-navigation {
  color: var(--scene-ink);
}

body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit) .v197-scene-footer .scene183-study-link {
  color: var(--scene-ink);
  background: transparent;
}

body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit) .v197-scene-footer .scene183-study-link:hover {
  border-color: currentColor;
}

body.sober-home #malakoff-experience[data-mh3-phase] .mh3-stage .mh3-copy .mh3-kicker { color: var(--mh3-accent); }

body.sober-home :is(.mh3-copy, .at84-beat, .ah-beat, .ap-reading-copy, .ah-product-step) :is(h2, h3)[tabindex="-1"]:focus-visible {
  outline: 2px solid transparent;
  box-shadow: -4px 0 0 currentColor;
}

body.sober-home .scene-reading-study {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-block-size: 44px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 9px;
  color: inherit;
  font: 600 .875rem/1.3 var(--sans, system-ui, sans-serif);
  text-decoration: none;
}

body.sober-home .scene-reading-study:hover { border-color: currentColor; }
body.sober-home .scene-reading-study:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body.sober-home .scene-reading-study svg { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
body.sober-home :is(.ap-reading-copy, .ah-product-step) .scene-reading-study { margin-block-start: 12px; }

html.gn93-reading body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit) {
  padding-block-start: var(--gn-header-height, 76px);
}

body.sober-home :is(#malakoff-experience, #allianz-trade-pay, #apphalt-produit):has(.scene-reading-study) > .story-next-panel--compact { display: none !important; }

body.sober-home #allianz-trade-pay .ap-open-case {
  padding: 0;
  border: 0;
  background: transparent;
  color: #365363;
}

body.sober-home #apphalt-produit .ah-product-reading span.ah167-action {
  background: #edf2fb;
  color: #254b84;
}

@media (max-width: 800px) {
  body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump]::before { left: 24px; }
  body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump][aria-current]::before { left: 23.5px; }
  body.sober-home #interface-en-contexte .story-navigation .story-vertical-rail button[data-workshop-jump]:focus-visible { outline-offset: -3px; }

  body.sober-home #allianz-trade-pay[data-at125] .at84-beat:has(> p:empty) > h3 { margin-block-end: 0; }
}

/* /assets/styles/v218-allianz-layout.css */
body.sober-home #allianz-trade-pay .ap-art {
  --ap-structure-inset: 25px;
  --ap-structure-order-gap: 22px;
  --ap-structure-card-inset: 20px;
  --ap-structure-row-gap: 16px;
  --ap-structure-heading-gap: 16px;
  --ap-wire-inset: 13px;
  --ap-refund-inset: 28px;
  --ap-refund-card-inset: 24px;
  --ap-refund-heading-gap: 18px;
}

body.sober-home #allianz-trade-pay .ap-art:not(.ap-morphing) .ap-context:has([data-ap-view]:empty) {
  display: none;
}

body.sober-home #allianz-trade-pay .ap-art.ap-morphing :is(.ap-context, .ap-toolbar) {
  overflow: hidden;
}

body.sober-home #allianz-trade-pay .ap-art.ap-morphing .ap-toolbar {
  display: flex;
}

body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] .ap-workspace {
  padding-block: var(--ap-structure-inset);
}

body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] .ap-order {
  margin-block-end: var(--ap-structure-order-gap);
}

body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] .ap-grid {
  row-gap: var(--ap-structure-row-gap);
}

body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] .ap-module {
  padding-block: var(--ap-structure-card-inset);
}

body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] .ap-module-heading {
  margin-block-end: var(--ap-structure-heading-gap);
}

body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] :is(.ap-payment, .ap-schedule) .ap-module-heading {
  font-size: .875rem;
}

body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="1"], .ap-morphing) .ap-wire {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding-block: var(--ap-wire-inset);
}

body.sober-home #allianz-trade-pay .ap-wire::before {
  margin-inline-end: 0;
}

body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-workspace {
  padding-block: var(--ap-refund-inset);
}

body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-order {
  margin-block-end: var(--ap-refund-card-inset);
}

body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-next {
  padding-block: var(--ap-refund-card-inset);
}

body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-next .ap-module-heading {
  margin-block-end: var(--ap-refund-heading-gap);
}

body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-next .ap-final {
  justify-content: flex-start;
  gap: 12px 20px;
}

@media (max-width: 800px) {
  body.sober-home #allianz-trade-pay .ap-art {
    --ap-structure-inset: 17px;
    --ap-structure-order-gap: 16px;
    --ap-structure-card-inset: 15px;
    --ap-structure-row-gap: 10px;
    --ap-structure-heading-gap: 12px;
    --ap-wire-inset: 11px;
    --ap-refund-inset: 20px;
    --ap-refund-card-inset: 18px;
    --ap-refund-heading-gap: 14px;
  }

  body.sober-home #allianz-trade-pay .ap-art[data-ap-phase="1"] :is(.ap-payment, .ap-schedule) .ap-module-heading {
    font-size: .8125rem;
  }

  body.sober-home #allianz-trade-pay .ap-art:is([data-ap-phase="3"], [data-ap-phase="4"]) .ap-next .ap-final {
    flex-flow: column nowrap;
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  @supports (height: 1svh) {
    /* Grow the animated layout within the stable mobile viewport. The reading
       layout can retain its taller spacing because it has no pinned footer. */
    body.sober-home #allianz-trade-pay .at84-canvas .ap-art {
      --ap-extra-space: clamp(0px, calc((100svh - 630px) * .047), 10px);
      --ap-structure-inset: calc(7px + var(--ap-extra-space));
      --ap-structure-order-gap: calc(8px + var(--ap-extra-space) * .8);
      --ap-structure-card-inset: calc(5px + var(--ap-extra-space));
      --ap-structure-row-gap: calc(5px + var(--ap-extra-space) * .5);
      --ap-structure-heading-gap: calc(7px + var(--ap-extra-space) * .5);
      --ap-wire-inset: calc(8px + var(--ap-extra-space) * .3);
      --ap-refund-inset: calc(12px + var(--ap-extra-space) * .8);
      --ap-refund-card-inset: calc(12px + var(--ap-extra-space) * .6);
      --ap-refund-heading-gap: calc(11px + var(--ap-extra-space) * .3);
    }
  }
}

@media (max-width: 800px) and (max-height: 720px) {
  body.sober-home #allianz-trade-pay .at84-canvas .ap-art[data-ap-phase="1"] :is(.ap-payment, .ap-schedule) .ap-module-heading {
    font-size: .75rem;
  }
}

/* /assets/styles/v219-home-actions.css */
body.sober-home #malakoff-experience { --scene-action-fill: #a93830; }
body.sober-home #interface-en-contexte { --scene-action-fill: #21613c; }
body.sober-home #allianz-trade-pay { --scene-action-fill: #075582; }
body.sober-home #apphalt-produit { --scene-action-fill: #2757ac; }

/* The filled button keeps its text contrast as the scene changes colour. */
body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit)
  :is(.v197-scene-footer .scene183-study-link, .scene-reading-study) {
  background: var(--scene-action-fill);
  border-color: transparent;
  color: #fff;
  font-weight: 650;
}

body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit)
  :is(.v197-scene-footer .scene183-study-link, .scene-reading-study):hover {
  background: color-mix(in srgb, var(--scene-action-fill) 86%, #000);
  border-color: transparent;
}

body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit)
  :is(.v197-scene-footer .scene183-study-link, .scene-reading-study):focus-visible {
  border-radius: 9px;
  outline: 2px solid var(--scene-ink, var(--scene-action-fill));
  outline-offset: 3px;
}

.scene-brand-mark {
  display: flex;
  inline-size: max-content;
  align-items: center;
  gap: 8px;
  font: 650 16px/1 var(--sans, system-ui, sans-serif);
}

.scene-brand-mark > img {
  display: block;
  inline-size: auto;
  block-size: clamp(22px, 3.1vw, 32px);
  object-fit: contain;
}

.scene-approach-mark {
  position: absolute;
  inset-inline-start: var(--scene-mark-x, 0px);
  inset-block-start: var(--scene-mark-y, 0px);
  opacity: 0;
  z-index: 8;
  pointer-events: none;
}

:is(#interface-en-contexte, #allianz-trade-pay) .scene-approach-mark {
  padding: 5px 9px;
  border-radius: 6px;
}

#interface-en-contexte .scene-approach-mark { background: #f3f8ef; }
#allianz-trade-pay .scene-approach-mark { background: #f3f8fa; }
#apphalt-produit .scene-brand-mark > img { border-radius: 6px; }

.scene-reading-mark { margin-block-end: 13px; }
.scene-reading-mark > img { block-size: 25px; }

.ai-method__case-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-block-size: 44px;
  margin-block-start: clamp(15px, 2.1vw, 26px);
  padding: 9px 15px;
  border-radius: 8px;
  background: #2346c5;
  color: #fff;
  font: 650 .875rem/1.35 var(--sans);
  text-decoration: none;
}

.ai-method__case-link:hover { background: #183696; }
.ai-method__case-link:focus-visible { outline: 2px solid #2346c5; outline-offset: 3px; }
.ai-method__case-link svg { inline-size: 16px; block-size: 16px; flex: none; fill: none; stroke: currentColor; }

body.sober-home .site-header .project-switch-utilities .gn-menu-ai {
  display: block;
}

@media (max-width: 900px) {
  body.home-page.sober-home .site-header[data-project-theme="cetelem"] .project-switcher > summary.has-project-identity {
    grid-template-columns: minmax(0, max-content) 16px;
    column-gap: 10px;
    justify-content: center;
  }

  body.home-page.sober-home .site-header[data-project-theme="cetelem"] .project-switcher > summary.has-project-identity .project-switch-menu-label {
    display: none;
  }

  body.home-page.sober-home .site-header[data-project-theme="cetelem"] .project-switcher > summary.has-project-identity > .project-switch-chevron {
    grid-area: 1 / 2;
    inline-size: 16px;
    block-size: 16px;
  }
}

@media (max-width: 359px) {
  body.home-page.sober-home .site-header[data-project-theme="cetelem"].has-project-identity .desktop-nav {
    flex-basis: 92px;
  }
}

@media (max-width: 800px) {
  #malakoff-experience .mh10-audit {
    --mh-wire-links-height: 34px;
    --mh-wire-links-bottom: 42px;
  }

  #malakoff-experience:is([data-mh3-phase="1"], [data-mh3-phase="2"]) .mh10-audit-grid {
    bottom: var(--mh-wire-links-bottom);
    height: var(--mh-wire-links-height);
  }

  #malakoff-experience.mh86 .mh10-audit-grid .mh10-audit-tile {
    display: grid;
    place-items: center;
    height: var(--mh-wire-links-height);
    padding: 2px 5px;
    text-align: center;
  }

  #malakoff-experience.mh86 .mh10-audit-grid .mh10-audit-tile strong {
    max-inline-size: none;
    padding-inline: 0;
    font-size: 11px;
    line-height: 1.12;
  }
}

body.sober-home #interface-en-contexte .c103-reading-grid img[src$="v47-scene-evidence-3.webp"] {
  border-radius: 0;
}

@media (forced-colors: active) {
  body.sober-home :is(#malakoff-experience, #interface-en-contexte, #allianz-trade-pay, #apphalt-produit)
    :is(.v197-scene-footer .scene183-study-link, .scene-reading-study) {
    border-color: ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-approach-mark { display: none; }
}

/* /assets/styles/v219-logo-transfer.css */
.scene-logo-transfer {
  position: fixed;
  z-index: 91;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform, opacity;
}

@media (max-width: 360px) {
  .scene-approach-mark > img { block-size: 18px; }
  #malakoff-experience .scene-approach-mark > img { block-size: 16px; }
}

/* /assets/styles/v236-ai-practice.css */
/* Home: one deliverable per card. The existing swipe behavior stays in place. */
body.sober-home #ia .ai-method__steps {
  grid-template-rows: auto;
}

body.sober-home #ia .ai-method__step {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  gap: 12px;
  min-block-size: 0;
  padding: clamp(16px, 2.2vw, 26px);
}

body.sober-home #ia .ai-method__step h3 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.08;
}

body.sober-home #ia .ai-method__step > p {
  margin: 0;
  color: var(--ai-method-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.ai-method__deliverable {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-start: auto;
  padding-block-start: 10px;
  border-block-start: 1px solid var(--ai-method-line);
  color: var(--ai-method-muted);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
}

.ai-method__deliverable svg {
  inline-size: 18px;
  block-size: 18px;
  flex: none;
  fill: none;
  stroke: var(--ai-method-accent);
  stroke-width: 1.7;
}

/* Method page: a delivered example first, then the practices it illustrates. */
body.ai-case .ai-case__hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.02;
}

body.ai-case .ai-case__hero .ai-case__lead {
  max-inline-size: 64ch;
}

body.ai-case .ai-practice-nav:not(.is-floating) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-block: clamp(14px, 2vw, 24px) !important;
}

body.ai-case .ai-practice-nav:not(.is-floating) > a.v147-nav-item {
  display: flex !important;
  align-items: center;
  gap: 9px;
  min-height: 44px !important;
  padding: 9px 12px !important;
  border-color: var(--ai-case-line) !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.ai-case .ai-practice-nav:not(.is-floating) > a.v147-nav-item:is(:hover, [aria-current]) {
  background: var(--ai-case-surface) !important;
  border-color: var(--ai-case-accent) !important;
}

body.ai-case .ai-practice-nav:not(.is-floating) .v147-nav-icon {
  display: grid !important;
  place-items: center;
  flex: none;
  inline-size: 19px;
  block-size: 19px;
  color: var(--ai-case-accent);
}

.ai-practice-case {
  align-items: center;
  gap: clamp(22px, 4vw, 62px);
  padding: clamp(20px, 3.1vw, 48px);
  border: 1px solid var(--ai-case-line);
  border-radius: 20px;
  background: var(--ai-case-surface);
}

body.ai-case .ai-practice-case h2 {
  font-size: clamp(29px, 4.05vw, 53px);
}

.ai-practice-case .ai-case__text > p + p {
  margin-block-start: 10px;
}

.ai-practice-case__decision {
  color: var(--ai-case-ink) !important;
}

.ai-practice-case__checks {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ai-practice-case__checks li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-block-start: 5px;
  color: var(--ai-case-ink);
  line-height: 1.45;
}

.ai-practice-case__checks svg {
  flex: none;
  inline-size: 17px;
  block-size: 17px;
  margin-block-start: 3px;
  fill: none;
  stroke: var(--ai-case-accent);
  stroke-width: 1.7;
}

.ai-practice-case__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  margin-block-start: 9px;
}

.ai-practice-case__links a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--ai-case-accent);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ai-practice-case__capture {
  min-inline-size: 0;
  margin: 0;
}

.ai-practice-case__capture img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border: 1px solid var(--ai-case-line);
  border-radius: 12px;
}

.ai-practice-case__capture figcaption {
  margin-block-start: 8px;
  color: var(--ai-case-muted);
  font-size: .875rem;
  line-height: 1.45;
}

.ai-practice-method {
  margin-block-start: clamp(36px, 5.7vw, 82px);
}

.ai-practice-method > h2 {
  margin: 0 0 16px;
  font: 400 clamp(29px, 3.8vw, 48px)/1.06 var(--serif, Georgia, serif);
  letter-spacing: -.025em;
}

.ai-practice-method .ai-case__chapter {
  align-items: start;
  padding-block: clamp(22px, 3vw, 37px);
  gap: clamp(12px, 3vw, 42px);
  scroll-margin-block-start: var(--case-guide-offset, 118px);
}

body.ai-case .ai-practice-method .ai-case__chapter h3 {
  margin: 0 0 10px;
  color: var(--ai-case-ink);
  font: 400 clamp(25px, 2.75vw, 38px)/1.08 var(--serif, Georgia, serif);
  letter-spacing: -.025em;
}

.ai-practice-method .ai-case__sample {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
}

.ai-practice-method .ai-case__sample dt {
  color: var(--ai-case-accent);
}

.ai-practice-context {
  margin: 0;
  padding-block: 16px 20px;
  border-block-start: 1px solid var(--ai-case-line);
  color: var(--ai-case-muted);
  font-size: .9rem;
  line-height: 1.55;
}

#review.ai-practice-case {
  scroll-margin-block-start: var(--case-guide-offset, 118px);
}

@media (max-width: 620px) {
  body.ai-case .ai-practice-nav:not(.is-floating) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ai-practice-case__capture {
    max-inline-size: 465px;
  }
}

/* /assets/styles/v221-typography.css */
@font-face {
  font-family: Inter;
  src: url("/assets/styles/v219-inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, sans-serif;
  --scene-title-size: clamp(42px, 3.9vw, 62px);
}

body:is(.sober-home, .sober-case) {
  font-family: var(--sans);
}

body.sober-home :is(#hero-title, #projets h2, #ia h2, #parcours h2, #contact h2),
body.sober-case main h1 {
  font-family: var(--serif);
  letter-spacing: -.018em;
}

body.sober-case .site-header .brand > span {
  inline-size: auto;
  max-inline-size: none;
  white-space: nowrap;
}

@media (max-width: 480px) {
  body.sober-case .site-header .brand > span {
    font-size: 11px;
    line-height: 1.2;
  }
}

@media (max-width: 359px) {
  body:is(.sober-home, .sober-case) .site-header .desktop-nav {
    flex-shrink: 1;
  }

  body.sober-home .site-header .brand > span {
    inline-size: auto;
    max-inline-size: none;
    white-space: nowrap;
    font-size: 10.5px;
  }
}

@media (max-width: 1100px) {
  :root {
    --scene-title-size: clamp(29px, calc(15px + 5vw), 45px);
  }
}

body.sober-home #malakoff-experience .mh3-copy h2,
body.sober-home #allianz-trade-pay[data-at125] .at84-beat h3,
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-beat h3,
.focus-stage :is(.opening h1, .scene-copy h2) {
  font-family: var(--serif);
  font-size: var(--scene-title-size);
  line-height: 1.08;
  letter-spacing: -.016em;
}

.focus-stage :is(.opening, .explanation) {
  font-family: var(--sans);
}

.focus-stage .opening h1 {
  font-size: calc(var(--scene-title-size) + 3px);
}

/* /assets/styles/v220-project-directory.css */
body.sober-home #projets .project-directory__card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-inline-size: 0;
  border: 1px solid #dce3ed;
  border-radius: 14px;
  background: #fff;
}

body.sober-home #projets .project-directory .project-directory__card > a {
  margin: 0;
  /* The previous mobile rail applied its border directly to every link. */
  border: 0 !important;
  background: transparent;
  scroll-snap-align: none;
}

body.sober-home #projets .project-directory .project-directory__study {
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas: 'mark name' 'mark topic' '. study';
  align-items: start;
  gap: .3rem .65rem;
  padding: .85rem .8rem .75rem;
  border-radius: 13px 13px 0 0;
}

.project-directory__study img {
  margin-block-start: .13rem;
}

body.sober-home #projets .project-directory .project-directory__topic {
  font-size: .875rem;
  line-height: 1.38;
}

.project-directory__study-label {
  grid-area: study;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-block-start: .45rem;
  color: #214497;
  font-size: .875rem;
  font-weight: 650;
}

body.sober-home #projets .project-directory .project-directory__demo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  min-block-size: 44px;
  padding: .55rem .8rem;
  border-radius: 0 0 13px 13px;
  box-shadow: inset 0 1px 0 #e6ebf4;
  color: #43536a;
  font-size: .875rem;
  font-weight: 550;
}

body.sober-home #projets .project-directory .project-directory__card > a:hover {
  background: #f1f5ff;
  color: #214497;
}

body.sober-home #projets .project-directory .project-directory__card > a:focus-visible {
  outline: 2px solid #284fc7;
  outline-offset: -3px;
}

@media (max-width: 800px) {
  body.sober-home #projets .project-directory__card {
    scroll-snap-align: start;
  }

  body.sober-home #projets .project-directory__card:last-child {
    scroll-snap-align: end;
  }
}

/* /assets/styles/v236-project-opening.css */
body.sober-home :is(.mh3-stage, .at84-stage, .ah-stage, .c103-scene-sticky) {
  --scene-headroom: clamp(30px, 5.8svh, 48px);
  --scene-study-footer: 100px;
  --scene-action-inset: 32px;
}

body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
  bottom: var(--scene-action-inset, 32px);
}

body.sober-home #malakoff-experience .mh3-stage {
  padding-block-start: var(--scene-headroom);
}

body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner,
body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner {
  box-sizing: border-box;
  padding-block-start: var(--scene-headroom);
}

body.sober-home #interface-en-contexte .c103-scene-sticky {
  --scene-headroom: clamp(10px, 2.1svh, 18px);
}

body.sober-home #interface-en-contexte #c103-original-scene {
  top: var(--scene-headroom);
  height: calc(100% - var(--scene-study-footer) - var(--scene-headroom));
}

body.sober-home :is(#interface-en-contexte, #allianz-trade-pay) .scene-approach-mark {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.scene-approach-mark > img {
  block-size: clamp(23px, 3vw, 34px);
}

.scene-approach-mark:is([data-scene-brand="malakoff"], [data-scene-brand="cetelem"]) > img {
  filter: brightness(0) invert(1);
}

.scene-approach-mark[data-scene-brand="apphalt"] {
  color: #fff;
}

.scene-approach-mark[data-scene-brand="apphalt"] > img {
  filter: url(#apphalt-opening-white);
}

.scene-reading-mark {
  margin-inline: auto;
  margin-block-end: clamp(18px, 3vw, 28px);
}

.scene-logo-transfer--tint::after {
  position: absolute;
  inset: 0;
  content: '';
  background: currentColor;
  -webkit-mask: var(--scene-logo-mask) center / contain no-repeat;
  mask: var(--scene-logo-mask) center / contain no-repeat;
}

@media (max-width: 600px) {
  body.sober-home :is(.mh3-stage, .at84-stage, .ah-stage, .c103-scene-sticky) {
    --scene-action-inset: 28px;
  }
}

@media (max-width: 800px) and (max-height: 720px) {
  body.sober-home :is(.mh3-stage, .at84-stage, .ah-stage, .c103-scene-sticky) {
    --scene-study-footer: 92px;
  }
}

@media (max-width: 600px) and (max-height: 720px) {
  body.sober-home :is(.mh3-stage, .at84-stage, .ah-stage, .c103-scene-sticky) {
    --scene-action-inset: 24px;
  }
}

@media (max-width: 360px) {
  .scene-approach-mark > img,
  #malakoff-experience .scene-approach-mark > img {
    block-size: 20px;
  }
}

/* /assets/styles/v222-scene-readability.css */
/* The scene reconstructions highlight the few controls relevant to each story. */
body.sober-home #malakoff-experience .mh159-workshop-head strong {
  font: 650 clamp(18px, 2vw, 26px)/1.22 var(--sans);
}

body.sober-home #malakoff-experience .mh159-notes article {
  justify-content: center;
  transform: none;
}

body.sober-home #malakoff-experience .mh159-notes article strong {
  font: 650 clamp(15px, 1.35vw, 20px)/1.35 var(--sans);
  overflow-wrap: normal;
  hyphens: none;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-header {
  justify-content: space-between;
  font-size: 20px;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-hero {
  display: flex;
  height: auto;
  padding: 28px 30px;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-hero strong {
  font-size: 34px;
  line-height: 1.18;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-body {
  display: block;
  padding: 24px 28px 28px;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-row {
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  background: #eff5f5;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-row strong {
  font-size: 28px;
  line-height: 1.2;
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-row:only-child > b {
  font-size: 38px;
  line-height: 1.1;
  opacity: var(--mh196-product-amount, 1);
}

body.sober-home #malakoff-experience .mh10-products .mh10-app-row:only-child > b small {
  font-size: 20px;
  line-height: 1.35;
}

body.sober-home #malakoff-experience .mh10-products .mh10-product-mobile .mh10-app-hero {
  padding: 24px 19px;
}

body.sober-home #malakoff-experience .mh10-products .mh10-product-mobile .mh10-app-body {
  padding: 18px;
}

body.sober-home #malakoff-experience .mh10-products .mh10-product-mobile .mh10-app-row {
  gap: 12px;
  padding: 15px;
}

body.sober-home #malakoff-experience .mh10-products--single .mh10-product-mobile .mh10-app-row:only-child {
  display: flex;
}

body.sober-home #malakoff-experience .mh10-products .mh10-product-mobile .mh10-app-row strong {
  font-size: 23px;
}

body.sober-home #allianz-trade-pay .ap-art :is(.ap-wire, .ap-other, .ap-payment-details > span, .ap-payment-option) {
  font-size: .9375rem;
  line-height: 1.32;
}

body.sober-home #allianz-trade-pay .ap-art .ap-payment-option small {
  font-size: .8125rem;
}

body.sober-home #allianz-trade-pay .ap-art .ap-payment-details b {
  font-size: 1rem;
}

@media (max-width: 800px) {
  body.sober-home #malakoff-experience .mh159-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.sober-home #malakoff-experience .mh159-notes article {
    padding: 8px 10px;
  }

  body.sober-home #malakoff-experience .mh159-notes article strong {
    font-size: 17px;
  }

  body.sober-home #allianz-trade-pay .at84-canvas .ap-art {
    --ap-wire-inset: 6px;
  }
}

/* /assets/styles/v222-apphalt-readable.css */
body.sober-home #apphalt-produit .ah167-scene {
  min-block-size: 254px;
}

body.sober-home #apphalt-produit .ah167-title {
  gap: 12px;
  min-block-size: 38px;
  font-size: 1rem;
}

body.sober-home #apphalt-produit .ah222-app-count {
  margin-inline-start: auto;
  color: #4e5f73;
  font-size: .875rem;
}

body.sober-home #apphalt-produit .ah167-row {
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 10px;
  min-block-size: 40px;
  font-size: clamp(.9375rem, 2.55cqw, 1.0625rem);
}

body.sober-home #apphalt-produit .ah167-selected {
  grid-template-columns: 26px minmax(0, 1fr) max-content;
  min-block-size: 66px;
  padding-block: 8px;
}

body.sober-home #apphalt-produit .ah167-selected img {
  inline-size: 26px;
  block-size: 26px;
}

body.sober-home #apphalt-produit .ah167-selected b {
  display: block;
  font-size: clamp(1rem, 2.8cqw, 1.125rem);
}

body.sober-home #apphalt-produit .ah167-action {
  display: grid;
  place-items: center;
  min-inline-size: 76px;
  margin-inline-start: 0;
  padding: 8px 12px;
  font: 650 .9375rem/1.25 var(--sans);
}

body.sober-home #apphalt-produit button.ah167-action {
  min-block-size: 44px;
}

body.sober-home #apphalt-produit .ah167-context-head b {
  font-size: .9375rem;
}

body.sober-home #apphalt-produit .ah167-context p {
  font-size: .875rem;
}

body.sober-home #apphalt-produit .ah219-research > header,
body.sober-home #apphalt-produit .ah219-research-options strong {
  font-size: .9375rem;
}

body.sober-home #apphalt-produit .ah219-research-options p {
  font-size: .875rem;
}

body.sober-home #apphalt-produit .ah219-research-need strong {
  font-size: 1rem;
}

@container (max-width: 350px) {
  body.sober-home #apphalt-produit .ah167-context-head {
    padding-block: 7px;
    line-height: 1.25;
  }

  body.sober-home #apphalt-produit .ah167-context p {
    margin-block-start: 5px;
    line-height: 1.3;
  }

  body.sober-home #apphalt-produit .ah167-selected {
    grid-template-columns: 23px minmax(0, 1fr) max-content;
    gap: 7px;
  }

  body.sober-home #apphalt-produit .ah167-selected img {
    inline-size: 23px;
    block-size: 23px;
  }

  body.sober-home #apphalt-produit .ah167-selected b,
  body.sober-home #apphalt-produit .ah167-action {
    font-size: .9375rem;
  }

  body.sober-home #apphalt-produit .ah167-action {
    min-inline-size: 70px;
    padding-inline: 8px;
  }
}

/* /assets/styles/v225-home-spacing.css */
body.sober-home {
  --home-section-space: clamp(60px, 6.5vw, 94px);
}

body.sober-home .hero81-track .hero79-inner {
  width: min(var(--sober-width), calc(100% - 2 * var(--sober-gutter)));
  padding-inline: 0;
}

body.sober-home #projets.sober-project-heading {
  padding-block-end: clamp(34px, 4vw, 48px);
}

body.sober-home #parcours,
body.sober-home #contact {
  /* These navigation targets align with the viewport edge behind the header. */
  padding-block: clamp(108px, 8vw, 120px) var(--home-section-space);
}

body.sober-home #ia.ai-method {
  padding-block: var(--home-section-space);
}

body.sober-home #contact .sober-copy-status:empty {
  min-block-size: 0;
  margin: 0;
}

@media (max-width: 1100px) {
  body.sober-home #malakoff-experience .mh3-stage,
  body.sober-home #allianz-trade-pay[data-at125] .at84-stage-inner,
  body.sober-home #apphalt-produit[data-ah-native].ah167[data-ah-phase] .ah-stage-inner {
    padding-inline-start: var(--sober-gutter);
  }
}

@media (max-width: 900px) {
  body.sober-home #parcours,
  body.sober-home #contact {
    padding-block-start: 96px;
  }
}

/* /assets/styles/v226-header.css */
/* The same material is used on the home, in each case, and on utility pages. */
body:is(.sober-home,.sober-case) .site-header[data-header-material] {
  --nav-ink: #172338;
  --nav-accent: var(--header-accent,#2848d8);
  --nav-glass: 242 247 255;
  --nav-density: .82;
  --nav-side: 9px;
  --nav-radius: 26px;
  --nav-shape: var(--header-reveal,0);
  --nav-dock-x: 72%;
  --nav-dock-light: 0;
  color: var(--nav-ink);
}
body:is(.sober-home,.sober-case) .site-header[data-header-material][data-project-theme="malakoff"] { --nav-glass: 253 244 242; }
body:is(.sober-home,.sober-case) .site-header[data-header-material][data-project-theme="cetelem"] { --nav-glass: 241 249 242; }
body:is(.sober-home,.sober-case) .site-header[data-header-material][data-project-theme="allianz"] { --nav-glass: 237 246 255; }
body:is(.sober-home,.sober-case) .site-header[data-header-material][data-project-theme="apphalt"] { --nav-glass: 241 244 255; }

body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-inner {
  position: relative;
  isolation: isolate;
  border-radius: var(--nav-radius);
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transition: none !important;
}

body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(4px * var(--nav-shape)) calc(var(--nav-side) * var(--nav-shape))
    calc(2px * var(--nav-shape));
  border: 1px solid rgb(145 164 191 / .22) !important;
  border-radius: var(--nav-radius) !important;
  background:
    radial-gradient(ellipse 124px 24px at var(--nav-dock-x) 101%,
      rgb(255 255 255 / calc(.84 * var(--nav-dock-light))), transparent 80%),
    linear-gradient(173deg, rgb(255 255 255 / .46), rgb(255 255 255 / .04) 35%, transparent 80%, rgb(255 255 255 / .24)),
    rgb(var(--nav-glass) / var(--nav-density)) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .86), inset 0 -1px 2px rgb(62 100 149 / .13),
    0 2px 6px rgb(22 38 61 / .07), 0 11px 30px rgb(22 38 61 / .12) !important;
  pointer-events: none;
  opacity: min(1, calc(1.6 * var(--header-reveal,1)));
  transform: none !important;
  -webkit-backdrop-filter: blur(21px) saturate(138%) !important;
  backdrop-filter: blur(21px) saturate(138%) !important;
  transition: none !important;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material="integrated"] .header-inner::before {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material]:has(.project-switcher[open]) .header-inner::before {
  background: linear-gradient(171deg,#fffdfc,rgb(var(--nav-glass) / .93)) !important;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material]::after { content: none; }

.site-header[data-header-material] .brand {
  min-block-size: 44px;
}
.site-header[data-header-material] .brand > span {
  font-weight: 650;
  letter-spacing: -.02em;
}

body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-actions .language-switch {
  display: flex;
  gap: 0;
  padding: 2px;
  background: rgb(31 52 84 / .065);
  border: 0;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgb(26 57 101 / .045);
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-actions .language-switch > a {
  min-inline-size: 44px;
  inline-size: 44px;
  min-block-size: 44px;
  block-size: 44px;
  padding: 0;
  border-radius: 13px;
  color: var(--nav-ink);
  font: 650 11px/1 var(--sans,Arial,sans-serif);
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-actions .language-switch > a[aria-current] {
  background: rgb(255 255 255 / .90);
  color: color-mix(in srgb,var(--nav-accent) 83%,#172338);
  box-shadow: 0 1px 5px rgb(13 27 56 / .10), inset 0 0 0 1px rgb(21 48 77 / .06);
  font-weight: 700;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher > summary {
  min-block-size: 44px;
  border-radius: 13px;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher > summary > svg.project-switch-chevron {
  display: block !important;
  inline-size: 15px;
  block-size: 15px;
  min-inline-size: 15px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  transform: none !important;
  transition: rotate .18s ease;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher[open] > summary > svg.project-switch-chevron {
  rotate: 180deg;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher[open] > summary {
  background: color-mix(in srgb,var(--nav-accent) 9%,#fff);
  color: var(--nav-ink);
}

body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher .project-switch-panel {
  box-sizing: border-box;
  inset-block-start: calc(100% + 16px);
  max-block-size: min(494px, calc(100svh - 106px));
  padding: 10px;
  border: 1px solid rgb(197 210 227 / .86);
  border-radius: 20px;
  background: linear-gradient(152deg,#fff,#f6f9fd);
  color: var(--nav-ink);
  box-shadow: inset 0 1px #fff, 0 5px 12px rgb(15 31 56 / .09), 0 20px 55px rgb(15 31 56 / .18);
  overscroll-behavior: contain;
  transform-origin: top center;
  scrollbar-width: thin;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher[open] .project-switch-panel {
  animation: nav-panel-open .22s cubic-bezier(.18,.72,.26,1) both;
}
@keyframes nav-panel-open {
  from { translate: 0 -5px; scale: .985 .975; }
  to { translate: 0 0; scale: 1; }
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switch-panel > p {
  margin: 3px 10px 7px;
  padding: 3px 0;
  color: #51637a;
  font: 600 12px/1.4 var(--sans,Arial,sans-serif);
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switch-panel :is(.project-switch-home,.project-jump) {
  min-block-size: 48px;
  border-radius: 12px;
  color: var(--nav-ink);
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switch-panel a:is(:hover,[aria-current]) {
  background: color-mix(in srgb,var(--nav-accent) 8%,#f8fafd);
  color: color-mix(in srgb,var(--nav-accent) 82%,#172338);
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switch-panel .project-switch-utilities a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-block-size: 44px;
  color: var(--nav-ink);
  border-radius: 10px;
  font: 550 12px/1.3 var(--sans,Arial,sans-serif);
  text-decoration: none;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switch-panel :is(a,.project-switch-utilities a) > svg {
  inline-size: 15px;
  block-size: 15px;
  flex: none;
}
body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switch-panel a[href="#main"] > .gn-v135-icon--up {
  transform: rotate(180deg);
}

body.sober-case .case-guide.is-floating {
  border-radius: 14px !important;
}
body.sober-case .case-guide.is-floating .case-guide-toggle {
  border-radius: 13px !important;
}

@media (max-width: 900px) {
  body:is(.sober-home,.sober-case) .site-header[data-header-material] {
    --nav-side: 0px;
    --nav-radius: 22px;
  }
}
@media (max-width: 800px) {
  body:is(.sober-home,.sober-case) .site-header[data-header-material] {
    --nav-density: .95;
  }
  body.sober-home .site-header[data-header-material][data-project-theme]:not([data-project-theme="default"]) {
    --nav-density: .90;
  }
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher .project-switch-panel {
    position: fixed;
    inset-inline: 10px;
    inset-block-start: calc(var(--gn-header-height,82px) + 1px);
    inline-size: auto;
  }
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .project-switcher > summary {
    background: color-mix(in srgb,var(--nav-accent) 5%,transparent);
  }
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-inner .brand > span {
    font-size: clamp(11px,3vw,13px);
  }
}
@media (max-width: 359px) {
  body.v147-atelier-page .site-header[data-header-material] .project-switch-identity img {
    min-inline-size: 0;
    max-inline-size: 100%;
    object-fit: contain;
  }
  body.sober-case .site-header[data-header-material][data-project-theme="apphalt"] .project-switch-identity > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.sober-home,.sober-case) .site-header[data-header-material] { --nav-shape: 0; }
  .site-header[data-header-material] :is(.project-switch-panel,.project-switch-chevron) {
    animation: none !important;
    transition: none !important;
  }
}
html:is(.motion-reduced,.gn93-reading) body:is(.sober-home,.sober-case) .site-header[data-header-material] { --nav-shape: 0; }
html:is(.motion-reduced,.gn93-reading) .site-header[data-header-material] :is(.project-switch-panel,.project-switch-chevron) {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-transparency: reduce) {
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-inner::before {
    background: #fbfcff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
@media (forced-colors: active) {
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-inner {
    border-color: CanvasText !important;
    background: Canvas !important;
  }
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-actions .language-switch > a[aria-current] {
    background: Highlight;
    color: HighlightText;
  }
}

@media (min-width: 1001px) {
  body.sober-home .site-header[data-header-material] .header-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  }
  body.sober-home .site-header[data-header-material] .header-inner > .brand { justify-self: start; }
  body.sober-home .site-header[data-header-material] .desktop-nav {
    justify-self: center;
    gap: clamp(22px,2.6vw,38px);
    margin: 0;
  }
  body.sober-home .site-header[data-header-material] .header-inner > .header-actions { justify-self: end; }
  body.sober-home .site-header[data-header-material] .project-switcher > summary { min-inline-size: 144px; }
}
@media (min-width: 1181px) {
  body:is(.sober-home,.sober-case) .site-header[data-header-material] {
    --nav-side: 0px;
  }
  body:is(.sober-home,.sober-case) .site-header[data-header-material] .header-inner {
    /* A little room from the edges, without moving the hero or anchors. */
    width: min(1280px, calc(100% - 2 * var(--sober-gutter,22px) - 64px * var(--nav-shape)));
    max-width: calc(1280px - 64px * var(--nav-shape));
    padding-inline: calc(4px + 20px * var(--nav-shape));
  }
}

/* /assets/styles/v227-home.css */
#ia .ai-method__roles > p {
  margin: 0;
  color: var(--ai-method-muted);
  font-size: 1rem;
  line-height: 1.5;
}

#ia .ai-method__roles > p:last-child {
  color: var(--ai-method-ink);
}

/* Center the 24px mark on the title without enlarging the title row. */
body.sober-home #projets .project-directory .project-directory__study > img {
  grid-row: 1;
  align-self: center;
  margin-block: -3px;
}

/* /assets/styles/v228-home.css */
/* Keep the research board separate from the order interface. */
#allianz-trade-pay .ap-research {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 3vw, 36px);
  inline-size: min(100%, 720px);
  box-sizing: border-box;
  padding: clamp(14px, 3vw, 36px);
  border: 1px solid #e2dfd5;
  border-radius: clamp(13px, 1.8vw, 23px);
  color: #183149;
  background: radial-gradient(circle, #a6afb348 .7px, transparent .85px) 0 0 / 11px 11px, #f8f6ee;
  box-shadow: 0 20px 48px #091c3866;
}

#allianz-trade-pay .ap-research[hidden] {
  display: none;
}

#allianz-trade-pay .at84-canvas > .ap-research {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

#allianz-trade-pay[data-at84-phase="0"] .at84-canvas > .ap-art {
  opacity: 0;
}

.ap-research-group {
  min-inline-size: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.ap-research-group h4 {
  margin: 0 0 clamp(9px, 1.4vw, 16px);
  font: 700 clamp(.75rem, 1.2vw, .95rem)/1.25 var(--sans, Arial, sans-serif);
}

.ap-research-group ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(9px, 1.4vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-research-group li {
  display: grid;
  align-content: center;
  min-block-size: clamp(58px, 6.5vw, 96px);
  box-sizing: border-box;
  padding: clamp(8px, 1.7vw, 20px);
  border-radius: 1px 1px 5px 2px;
  background: linear-gradient(#edd990 0 12%, #fff1bd 20% 100%);
  box-shadow: 0 2px 4px #56381017, 0 9px 14px -10px #644c36a0;
  font: 650 clamp(.875rem, 1.55vw, 1.25rem)/1.25 var(--sans, Arial, sans-serif);
  overflow-wrap: anywhere;
  transform: rotate(-1.2deg);
}

.ap-research-group:nth-child(2) li {
  background: linear-gradient(#c2dfdf 0 12%, #dff0ee 20% 100%);
  transform: rotate(1deg);
}

.ap-research-group li + li {
  rotate: 1.7deg;
}

.ap-research-group:nth-child(2) li + li {
  rotate: -1.6deg;
}

#apphalt-produit .ah219-research-need span {
  margin-block-end: 3px;
  font-weight: 650;
}

#apphalt-produit .ah219-research-need {
  border-inline-start: 3px solid #527ad0;
}

/* Group the count with the stage controls. Keep the footer for actions. */
body.sober-home .story-navigation .story-vertical-rail > .v197-scene-count {
  position: absolute;
  inset: auto auto calc(100% + 2px) 50%;
  translate: -50% 0;
  color: inherit;
  font: 650 .75rem/1.25 var(--sans, Arial, sans-serif);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

body.sober-home #projets .project-directory .project-directory__study {
  border-radius: 13px;
}

@media (max-width: 800px) {
  body.sober-home .story-navigation .story-vertical-rail > .v197-scene-count {
    inset-inline-start: calc(50% + 4px);
  }

  #ia .ai-method__steps {
    --ai-card-width: min(88%, 400px);
    --ai-card-gap: 10px;
    display: flex;
    gap: var(--ai-card-gap);
    padding-inline: 0;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
  }

  #ia .ai-method__steps::before,
  #ia .ai-method__steps::after {
    content: "";
    flex: 0 0 max(0px, calc((100% - var(--ai-card-width)) / 2 - var(--ai-card-gap)));
  }

  #ia .ai-method__steps > .ai-method__step {
    flex: 0 0 var(--ai-card-width);
    box-sizing: border-box;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

@media (max-width: 600px) {
  body.sober-home .story-navigation > .client-story-position.scene195-footer.v197-scene-footer {
    grid-template-rows: minmax(44px, auto);
  }

  body.sober-home .v197-scene-footer > .scene183-study-link {
    grid-area: 1 / 1;
  }

  .v197-scene-footer > .v197-scene-exit {
    grid-area: 1 / 2;
  }

  .ap-research-group li {
    min-block-size: 54px;
    padding: 8px;
  }

  #apphalt-produit .ah219-research > header {
    font-size: .8125rem;
  }
}

@media (max-width: 360px) {
  #allianz-trade-pay .ap-research {
    gap: 8px;
    padding: 12px;
  }

  .ap-research-group li {
    padding-inline: 6px;
  }

  body.sober-home #apphalt-produit .ah219-research > header {
    padding-block: 9px;
    font-size: .8125rem;
  }

  #apphalt-produit .ah219-research-body {
    padding: 9px;
  }

  #apphalt-produit .ah219-research-need {
    margin-block-start: 8px;
    padding: 8px 10px;
  }
}

/* /assets/styles/v239-confidential.css */
.project-confidential-status {
  width: fit-content;
  padding: .16em .55em;
  border: 1px solid #d8dfe8;
  border-radius: 6px;
  background: #edf0f4;
  color: #485770;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
body.sober-home #projets .project-directory__card--confidential {
  background: #f7f9fc;
}
.project-directory__confidential {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: .42rem;
  padding: .85rem .8rem .75rem;
  color: #42506a;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
}
.project-directory__confidential .project-directory__name {
  grid-area: auto;
}
body:is(.sober-home,.sober-case) .site-header .project-switch-panel .project-jump--confidential {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 7px 10px;
  color: #485770;
  font-size: .875rem;
  line-height: 1.4;
}

/* /assets/styles/ai-card-proof.css */
body.sober-home #ia .ai-method__step > .ai-method__step-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-self: start;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 2.1vw, 29px);
}

.ai-method__step > .ai-method__step-title > svg {
  align-self: start;
  padding: 6px;
}

.ai-method__step-title > span {
  text-wrap: balance;
}

@media (min-width: 900px) {
  @supports (grid-template-rows: subgrid) {
    body.sober-home #ia .ai-method__steps {
      grid-template-rows: auto auto;
    }

    body.sober-home #ia .ai-method__step {
      display: grid;
      grid-row: span 2;
      grid-template-rows: subgrid;
    }
  }
}

.ai-card-proof__brief {
  margin: 10px 0 0;
  color: var(--ai-case-muted);
}

.ai-card-proof__pair > figure {
  display: grid;
  align-content: start;
  gap: 12px;
  min-inline-size: 0;
  margin: 0;
  padding: clamp(12px, 2.4vw, 24px);
  border: 1px solid var(--ai-case-line);
  border-radius: 12px;
  background: var(--ai-case-surface);
}

.ai-card-proof__pair h3 {
  margin: 0;
  color: var(--ai-case-ink);
  font: 700 1.0625rem/1.35 var(--sans, Arial, sans-serif);
}

.ai-card-proof__pair img {
  display: block;
  inline-size: 100%;
  max-inline-size: 420px;
  block-size: auto;
  border: 1px solid var(--ai-case-line);
  border-radius: 8px;
}

.ai-card-proof__pair p {
  max-inline-size: 48ch;
  margin: 0;
  color: var(--ai-case-muted);
  line-height: 1.5;
}

.ai-card-proof__source {
  margin: 12px 0 0;
  color: var(--ai-case-muted);
  font-size: .875rem;
  line-height: 1.5;
}


/* The reading layout has a light card surface, even in the dark AppHalt scene. */
body.sober-home #apphalt-produit [data-ah-reading-research] .ah219-research-options p {
  color: #475569;
}

@media (min-width: 901px) {
  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer] {
    position: relative;
  }

  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer] > .project-switch-default {
    display: block;
    position: absolute;
    inset-inline-start: var(--desktop-logo-label-start, 0px);
    inset-block-start: 50%;
    transform: translateY(-50%);
  }

  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer] > .project-switch-identity {
    visibility: hidden;
  }

  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer="allianz"] img {
    max-inline-size: 90px;
  }

  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer="malakoff"] img {
    max-inline-size: 94px;
  }

  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer="apphalt"] img {
    inline-size: 28px;
    block-size: 28px;
    border-radius: 6px;
  }

  body.sober-home .site-header .project-switcher > summary[data-desktop-logo-transfer="apphalt"] .project-switch-identity span {
    font-size: 13px;
  }
}

/* Give the introduction and its three steps a clear hierarchy. */
body.sober-home #ia.ai-method h2 {
  font-size: clamp(2rem, 3.5vw, 2.875rem);
  line-height: 1.09;
}

body.sober-home #ia .ai-method__intro p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

body.sober-home #ia .ai-method__step > .ai-method__step-title {
  font-size: clamp(1.3125rem, 1.85vw, 1.5625rem);
  line-height: 1.15;
}
