/* Orbite « Un groupe, quatre forces » — d’après le prototype Han Pixel, sans anneau extérieur.
   Couleurs d’entité : RoB #8E1F3F et Atom Lab #E6D5BE (définies).
   CausePilot.AI #3713D0 : provisoire, à valider.
   ImmoAssist.AI #86267A : provisoire, à valider. */
#a-propos{--rob:#8E1F3F;--atom:#E6D5BE;--cause:#3713D0;--immo:#86267A;--creme:#FEF9F3;color:#fff;min-height:100svh;display:flex;flex-direction:column}
html.deck #a-propos{min-height:0}
#a-propos .orb-wrap{position:relative;flex:1;height:100%;min-height:0;overflow:visible}

/* --- stacking <768 : inchangé (titre + intro, orbite, panneau en bas) --- */
#a-propos .orb-txt{position:absolute;left:var(--m);right:var(--m);width:auto;top:0;bottom:0;transform:none;z-index:4;pointer-events:none}
#a-propos .orb-txt .lab{color:var(--muted-d)}
#a-propos h2.gh{font-weight:200;letter-spacing:-.03em;line-height:.98;font-size:clamp(40px,11vw,60px);white-space:normal;margin:12px 0 14px}
#a-propos .orb-txt .intro{font-size:15px;line-height:1.5;color:rgba(255,255,255,.86);max-width:30em}
#a-propos .orb-info{position:absolute;left:0;right:0;bottom:16px;margin:0;min-height:0;z-index:7;background:var(--marin);padding:16px 0 0}
#a-propos .orb-info .it{font-size:17px;font-weight:400;letter-spacing:-.01em;line-height:1.2}
#a-propos .orb-info .ib{font-size:13.5px;line-height:1.5;color:var(--muted-d);margin-top:6px}
#a-propos .orb-more{display:none;font-size:18px;margin-top:22px;color:#fff}
#a-propos .orb-box{position:absolute;inset:0;z-index:3;overflow:visible;pointer-events:none}
#a-propos .orb-stage{position:absolute;z-index:3;overflow:visible;pointer-events:auto}

#a-propos .orb-vl,#a-propos .orb-hl{position:absolute;z-index:1;pointer-events:none;background:transparent}
#a-propos .orb-vl{width:1px;transform-origin:top}
#a-propos .orb-hl{height:1px;transform-origin:left}
#a-propos .orb-vl i,#a-propos .orb-hl i{position:absolute;background:var(--rule-d);display:block}
#a-propos .orb-vl i{left:0;width:1px}
#a-propos .orb-hl i{top:0;height:1px}

#a-propos #orb-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#a-propos .orb-sat{position:absolute;left:0;top:0;width:44px;height:44px;margin:-22px 0 0 -22px;display:block;z-index:5;will-change:transform;background:none;border:0;color:inherit;padding:0;cursor:pointer;font:inherit}
#a-propos .orb-lab{position:absolute;left:0;top:0;z-index:6;pointer-events:none;white-space:nowrap;line-height:1.15;letter-spacing:-.01em;color:var(--creme);font-size:12px}
#a-propos .orb-lab svg.nm-halo{display:block;position:static;inset:auto;width:auto;height:auto;overflow:visible;pointer-events:none}
#a-propos .orb-lab svg.nm-halo text{fill:var(--creme);fill-opacity:.72;stroke:#010C30;stroke-width:6;stroke-linejoin:round;stroke-linecap:round;paint-order:stroke fill;font-size:12px}
#a-propos .orb-lab.on svg.nm-halo text{fill-opacity:1}
#a-propos .orb-lab .rl{display:block;font-size:12px;color:var(--creme);opacity:0;height:0;margin:0;overflow:hidden;transform:translateY(4px);transition:opacity var(--d-s) var(--e-out),transform var(--d-s) var(--e-out);white-space:nowrap;text-shadow:-3px -3px 0 #010C30,0 -3px 0 #010C30,3px -3px 0 #010C30,-3px 0 0 #010C30,3px 0 0 #010C30,-3px 3px 0 #010C30,0 3px 0 #010C30,3px 3px 0 #010C30,0 0 6px #010C30}
#a-propos .orb-lab.on .rl{opacity:1;height:auto;margin-top:2px;overflow:visible;transform:none;color:var(--creme)}
#a-propos .orb-sat:focus,#a-propos .orb-sat:focus-visible,
#a-propos .orb-core:focus,#a-propos .orb-core:focus-visible{outline:none}
#a-propos .orb-core{position:absolute;z-index:4;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:var(--dot);border:0;padding:0;cursor:pointer}
#a-propos .orb-corelab{position:absolute;z-index:4;transform:translateX(-50%);text-align:center;white-space:nowrap;font-size:12px;color:var(--creme);opacity:.72;pointer-events:none;display:none;text-shadow:-3px -3px 0 #010C30,0 -3px 0 #010C30,3px -3px 0 #010C30,-3px 0 0 #010C30,3px 0 0 #010C30,-3px 3px 0 #010C30,0 3px 0 #010C30,3px 3px 0 #010C30,0 0 6px #010C30}

/* --- 768–1023 : titre + intro, orbite (max 600 px, centrée), panneau + CTA --- */
@media (min-width:768px){
#a-propos .orb-wrap{display:flex;flex-direction:column;min-height:min-content;height:auto;flex:1 0 auto;overflow:visible}
#a-propos .orb-txt{display:contents;position:static;left:auto;right:auto;top:auto;bottom:auto;width:auto;transform:none;pointer-events:auto}
#a-propos .orb-lead{order:1;flex:0 0 auto;pointer-events:auto}
#a-propos .orb-panel{order:3;flex:0 0 auto;pointer-events:auto}
#a-propos h2.gh{font-size:clamp(40px,6.2vw,72px);margin:8px 0 14px}
#a-propos .orb-txt .intro{font-size:16px}
#a-propos .orb-info{position:static;left:auto;right:auto;bottom:auto;margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--rule-d);background:transparent;z-index:auto}
#a-propos .orb-info .it{font-size:20px}
#a-propos .orb-info .ib{font-size:14.5px}
#a-propos .orb-more{display:inline-flex}
/* « Voir le groupe » en bouton de la charte, version fond Marin (Webba, 19 nov.) */
#a-propos .orb-more.btn{margin-top:22px;font-size:15px;color:#fff;border-color:rgba(255,255,255,.9);background:transparent}
#a-propos .orb-more.btn:hover,#a-propos .orb-more.btn:focus-visible{background:#fff;color:var(--marin);border-color:#fff}
#a-propos .orb-box{order:2;position:relative;inset:auto;width:100%;max-width:600px;margin:12px auto;padding:24px;box-sizing:border-box;flex:1 1 auto;min-height:248px;display:flex;align-items:center;justify-content:center;pointer-events:auto;overflow:visible}
#a-propos .orb-stage{position:relative;left:auto;top:auto;width:100%;height:auto;aspect-ratio:820/640;max-width:100%;max-height:100%}
#a-propos .orb-lab,#a-propos .orb-lab svg.nm-halo text,#a-propos .orb-lab .rl,#a-propos .orb-corelab{font-size:14px}
#a-propos .orb-corelab{display:block}
#a-propos .orb-corelab.dup{visibility:hidden}
}

/* --- ≥1024 : 7/12 orbite à gauche, 5/12 texte à droite, gouttière 48 px --- */
@media (min-width:1024px){
#a-propos .orb-wrap{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:48px;align-items:center;min-height:min-content;height:auto;flex:1 0 auto;overflow:visible}
#a-propos .orb-txt{display:flex;flex-direction:column;grid-column:2;grid-row:1;width:auto;min-width:0}
#a-propos .orb-lead,#a-propos .orb-panel{order:unset}
#a-propos .orb-box{grid-column:1;grid-row:1;order:unset;width:100%;max-width:720px;margin:0 auto;justify-self:center;align-self:center;flex:none}
#a-propos h2.gh{font-size:clamp(44px,5.8vw,72px);margin:16px 0 22px}
#a-propos .orb-txt .intro{font-size:17px}
}
@media (prefers-reduced-motion:reduce){
#a-propos .orb-lab .rl{transition:none}
}

/* Scène défilante : même mécanisme que .endw (tail() dans deck.js). Le padding-bottom !important de [data-group] est levé pour que le titre puisse sortir entièrement sous l’en-tête, sans rester coupé. */
html.deck #a-propos.scroll{padding-bottom:var(--hh)}
