/* Fichier css/apropos.css · chargé par : apropos */
/* =========================================================
   IAI — Page À propos
   Décor 3D fixe (apropos.js) + mascotte commune (orb3d.js, pilotée par window.IAI.orbTarget).
   Formats : html.f-side (côte à côte), f-stack (empilé), f-short (peu de hauteur), f-phone, f-touch.
   --fh = hauteur d'écran stable (barre d'adresse mobile ignorée).
   ========================================================= */
.ab-page { background: rgb(var(--bg-rgb)); }
.ab-page main { position: relative; z-index: 2; }
.ab-page .h2 em, .ab-hero__t em, .ab-chap__t em, .ab-cta__t em, .ab-sign em { font-style: normal; color: rgb(var(--acc-rgb)); }
.ab-page [data-tone="light"] .h2 em { color: rgb(179 75 32); }

/* ---------- décor ---------- */
.ab-gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.ab-vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 40%, rgb(var(--bg-rgb) / .78) 100%), linear-gradient(180deg, rgb(var(--bg-rgb) / .55), transparent 18%, transparent 82%, rgb(var(--bg-rgb) / .6)); }

.ab-head { max-width: 980px; }
.ab-head .h2 { text-wrap: balance; }

/* ---------- rail de sections (grand écran) ---------- */
.ab-rail { position: fixed; z-index: 45; right: max(18px, calc(var(--sar, 0px) + 12px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.ab-rail.is-on { opacity: 1; pointer-events: auto; }
.ab-rail a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.ab-rail i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--text-rgb) / .3); transition: transform .4s var(--ease), background .3s, box-shadow .3s; }
.ab-rail span { position: absolute; right: 16px; top: 50%; margin-top: -.5em; line-height: 1; padding: 4px 8px; border-radius: 99px; background: rgb(var(--bg-rgb) / .7); font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--text-rgb) / .8); opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.ab-rail a:hover span, .ab-rail a:focus-visible span { opacity: 1; transform: none; }
.ab-rail a.is-on i { background: rgb(var(--acc-rgb)); transform: scale(1.6); box-shadow: 0 0 10px rgb(var(--acc-rgb) / .7); }
.ab-rail.is-light i { background: rgb(18 32 42 / .35); } .ab-rail.is-light span { color: rgb(18 32 42); background: rgb(232 243 240 / .8); }
.ab-rail.is-light a.is-on i { background: rgb(179 75 32); box-shadow: none; }
html.f-stack .ab-rail, html.f-short .ab-rail { display: none; }
@media (max-width: 1100px) { .ab-rail { display: none; } }

/* ---------- 0. ouverture ---------- */
.ab-hero { position: relative; min-height: var(--fh, 100svh); display: grid; grid-template-rows: auto 1fr auto; padding: calc(110px + var(--sat, 0px)) var(--gutter) max(26px, calc(var(--sab, 0px) + 18px)); text-align: center; }
.ab-hero__t { font-size: clamp(2.5rem, .6rem + 6.2vw, calc(7.6rem * var(--fs, 1))); font-weight: 650; line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }
.ab-line { display: block; overflow: hidden; padding-bottom: .04em; }
.ab-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s cubic-bezier(.2, .8, .1, 1); }
.ab-line + .ab-line > span { transition-delay: .12s; }
html.ab-in .ab-line > span { transform: none; }
.ab-hero__p { max-width: 54ch; margin: 22px auto 0; font-size: var(--fs-body-l); line-height: 1.35; color: rgb(var(--text-rgb) / .78); opacity: 0; transform: translateY(14px); transition: opacity 1s .5s, transform 1s .5s var(--ease); }
html.ab-in .ab-hero__p { opacity: 1; transform: none; }
.ab-hero__orb { min-height: 160px; }
.ab-hero__foot { display: grid; justify-items: center; gap: 12px; }
.ab-scroll { width: 1px; height: clamp(40px, 7svh, 72px); overflow: hidden; background: rgb(var(--text-rgb) / .16); }
.ab-scroll i { display: block; width: 100%; height: 40%; background: rgb(var(--acc-rgb)); animation: abDrip 1.8s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes abDrip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
html.f-short .ab-hero { padding-top: 84px; }
html.f-short .ab-hero__t { font-size: clamp(2rem, 6.4vw, 3.6rem); }
html.f-short .ab-hero__p { margin-top: 12px; font-size: 1rem; max-width: 64ch; }
html.f-short .ab-hero__orb { min-height: 90px; }
html.f-phone .ab-hero__t { font-size: clamp(2.3rem, 11.4vw, 3.6rem); }
html.f-phone .ab-hero__p { font-size: 1.0625rem; }

/* ---------- 1. histoire (scène collante, 4 chapitres + signature) ---------- */
.ab-story { position: relative; height: calc(var(--fh, 100svh) * 6); }
.ab-story__stick { position: sticky; top: 0; height: var(--fh, 100svh); overflow: hidden; }
.ab-story__orb { position: absolute; left: 52%; right: 4%; top: 16%; bottom: 14%; }
.ab-chaps { position: absolute; left: var(--gutter); width: min(46%, 640px); top: 0; bottom: 0; }
.ab-chap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + (1 - var(--a, 0)) * var(--dir, 1) * 40px)); opacity: var(--a, 0); visibility: hidden; }
.ab-chap.is-vis { visibility: visible; }
.ab-chap__t { font-size: clamp(2rem, .7rem + 3.6vw, calc(4.6rem * var(--fs, 1))); font-weight: 650; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; text-wrap: balance; }
.ab-chap__p { margin-top: 22px; max-width: 46ch; font-size: var(--fs-body-l); line-height: 1.38; color: rgb(var(--text-rgb) / .8); }
.ab-chap__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.ab-chap__tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(var(--acc-rgb) / .45); background: rgb(var(--bg-rgb) / .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .625rem; color: rgb(var(--text-rgb));
  opacity: clamp(0, calc(var(--k, 0) * 5 - var(--j, 0) * .7), 1); transform: translateY(calc((1 - clamp(0, calc(var(--k, 0) * 5 - var(--j, 0) * .7), 1)) * 10px)); }
.ab-vs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.ab-vs span { padding: 9px 14px; border-radius: 12px; border: 1px dashed rgb(var(--text-rgb) / .35); color: rgb(var(--text-rgb) / .75); text-decoration: line-through; text-decoration-color: rgb(var(--acc-rgb) / calc(var(--k, 0) * 1.6)); text-decoration-thickness: 2px; }
.ab-vs i { font-style: normal; font-size: 1rem; color: rgb(var(--acc-rgb)); }
.ab-sign { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 var(--gutter); opacity: var(--a, 0); transform: scale(calc(.94 + var(--a, 0) * .06)); pointer-events: none; }
.ab-sign p { font-size: clamp(2.4rem, .4rem + 7vw, calc(8.4rem * var(--fs, 1))); font-weight: 650; line-height: .9; letter-spacing: -.05em; text-transform: uppercase; }
.ab-sign p + p { margin-top: .06em; }
.ab-story__bar { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: max(26px, calc(var(--sab, 0px) + 18px)); height: 2px; border-radius: 2px; background: rgb(var(--text-rgb) / .14); }
.ab-story__fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0)); background: rgb(var(--acc-rgb)); }
/* un point par chapitre, posé sur la barre : il s'allume quand on l'atteint, on peut cliquer pour y aller */
.ab-story__dot { position: absolute; left: calc(var(--at) * 100%); top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ab-story__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--bg-rgb)); box-shadow: inset 0 0 0 2px rgb(var(--text-rgb) / .38); transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.ab-story__dot::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgb(var(--acc-rgb) / .7); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .5s var(--ease); }
.ab-story__dot.is-past::before { background: rgb(var(--acc-rgb)); box-shadow: inset 0 0 0 2px rgb(var(--acc-rgb)); }
.ab-story__dot.is-on::before { transform: scale(1.25); box-shadow: inset 0 0 0 2px rgb(var(--acc-rgb)), 0 0 14px rgb(var(--acc-rgb) / .8); }
.ab-story__dot.is-on::after { opacity: 1; transform: none; }
.ab-story__dot:hover::before { transform: scale(1.35); }
.ab-story__dot:focus-visible { outline: 2px solid rgb(var(--acc-rgb)); outline-offset: 2px; border-radius: 50%; }
/* empilé : la mascotte en haut, le texte en bas */
html.f-stack .ab-story__orb { left: 10%; right: 10%; top: calc(110px + var(--sat, 0px)); bottom: auto; height: 30%; }
html.f-stack .ab-chaps { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: calc(46px + var(--sab, 0px)); height: 56%; }
html.f-stack .ab-chap { top: auto; bottom: 0; transform: translateY(calc((1 - var(--a, 0)) * var(--dir, 1) * 30px)); }
html.f-stack .ab-chap__t { font-size: clamp(1.9rem, 8.4vw, 3.4rem); }
html.f-stack .ab-chap__p { margin-top: 14px; font-size: 1.0625rem; }
html.f-phone.f-stack .ab-chap__tags li:nth-child(n+4) { display: none; }
html.f-short .ab-chaps { width: 54%; }
html.f-short .ab-chap { top: 56%; }
html.f-short .ab-chap__t { font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
html.f-short .ab-chap__p { margin-top: 10px; font-size: .9375rem; line-height: 1.35; }
html.f-short .ab-chap__tags, html.f-short .ab-vs { display: none; }
html.f-short .ab-story__orb { left: 58%; top: 20%; bottom: 8%; }
/* sans JavaScript : les chapitres en simple colonne */
html:not(.ab-js) .ab-story { height: auto; }
html:not(.ab-js) .ab-story__stick { position: static; height: auto; overflow: visible; padding: 80px var(--gutter); }
html:not(.ab-js) .ab-chaps { position: static; width: auto; }
html:not(.ab-js) .ab-chap { position: static; transform: none; opacity: 1; visibility: visible; margin-bottom: 60px; }
html:not(.ab-js) .ab-sign { position: static; opacity: 1; transform: none; }
html:not(.ab-js) .ab-story__bar { display: none; }

/* ---------- 2. repères ---------- */
.ab-facts { position: relative; padding: clamp(110px, 16svh, 200px) 0 clamp(80px, 12svh, 160px); }
.ab-facts__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(40px, 6svh, 80px); }
.ab-fact { position: relative; padding: clamp(22px, 2vw, 34px); padding-top: clamp(80px, 9svh, 120px); border-radius: var(--r-card); border: 1px solid rgb(var(--text-rgb) / .12); background: linear-gradient(165deg, rgb(var(--text-rgb) / .06), transparent 50%), rgb(var(--surface-rgb) / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-height: 100%; }
.ab-fact__n { display: block; font-size: clamp(3.4rem, 1.2rem + 4.6vw, calc(7rem * var(--fs, 1))); font-weight: 650; line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.ab-fact b { display: block; margin-top: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--acc-rgb)); }
.ab-fact p { margin-top: 10px; color: rgb(var(--text-rgb) / .72); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 1180px) { .ab-facts__list { grid-template-columns: repeat(2, 1fr); } }
html.f-phone .ab-facts__list { grid-template-columns: 1fr; }
html.f-phone .ab-fact { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; padding: 22px 20px; }
html.f-phone .ab-fact__n { grid-row: span 2; font-size: clamp(2.8rem, 15vw, 4rem); min-width: 1.4em; }
html.f-phone .ab-fact b { margin-top: 0; }
html.f-phone .ab-fact p { margin-top: 6px; font-size: .875rem; }

/* ---------- 3. deux pôles ---------- */
.ab-poles { position: relative; height: calc(var(--fh, 100svh) * 2.6); }
.ab-poles__stick { position: sticky; top: 0; height: var(--fh, 100svh); display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4svh, 48px); padding: calc(84px + var(--sat, 0px)) var(--gutter) 30px; max-width: 1680px; margin: 0 auto; }
.ab-poles__grid { display: grid; grid-template-columns: 1fr clamp(40px, 8vw, 140px) 1fr; align-items: stretch; }
.ab-pole { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 36px); border-radius: var(--r-panel); border: 1px solid rgb(var(--text-rgb) / .14); background: radial-gradient(70% 60% at 50% 0%, rgb(var(--space-glow) / .3), transparent 70%), rgb(var(--surface-rgb) / .62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: calc(.42 + var(--on, 0) * .58); transform: scale(calc(.965 + var(--on, 0) * .035)); transition: border-color .5s; }
.ab-pole.is-on { border-color: rgb(var(--acc-rgb) / .55); }
.ab-pole__orb { height: clamp(110px, 20svh, 220px); }
.ab-pole__t { margin-top: 8px; font-size: clamp(2rem, 1rem + 2.6vw, calc(3.8rem * var(--fs, 1))); font-weight: 650; line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.ab-pole__q { margin-top: 10px; color: rgb(var(--text-rgb) / .78); font-size: 1.0625rem; line-height: 1.4; }
.ab-pole__l { list-style: none; margin-top: auto; padding-top: 20px; display: grid; }
.ab-pole__l a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgb(var(--text-rgb) / .12); font-weight: 600; transition: color .3s, padding .3s var(--ease); }
.ab-pole__l a span { color: rgb(var(--acc-rgb)); transition: transform .3s var(--ease); }
.ab-pole__l a:hover { color: rgb(var(--acc-rgb)); padding-left: 6px; } .ab-pole__l a:hover span { transform: translateX(4px); }
.ab-poles__link { display: grid; align-items: center; }
.ab-poles__link svg { width: 100%; height: 10px; overflow: visible; }
.ab-poles__link path { stroke: rgb(var(--acc-rgb)); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; animation: abFlow 1.2s linear infinite; fill: none; }
@keyframes abFlow { to { stroke-dashoffset: -20; } }
.ab-poles__foot { max-width: 62ch; color: rgb(var(--text-rgb) / .7); }
/* écran large mais peu haut (portable 1280 × 720…) : on compacte la scène des pôles pour qu'elle tienne */
@media (max-height: 940px) {
  html.f-side:not(.f-short) .ab-poles__stick { gap: 18px; padding-top: calc(78px + var(--sat, 0px)); padding-bottom: 18px; }
  html.f-side:not(.f-short) .ab-poles__head .h2 { font-size: clamp(1.7rem, .8rem + 2.4vw, 3rem); }
  html.f-side:not(.f-short) .ab-pole__orb { height: clamp(80px, 13svh, 130px); }
  html.f-side:not(.f-short) .ab-pole__t { font-size: clamp(1.8rem, 1rem + 2vw, 3rem); }
  html.f-side:not(.f-short) .ab-pole__l { padding-top: 12px; }
  html.f-side:not(.f-short) .ab-pole__l a { padding: 9px 0; }
  html.f-side:not(.f-short) .ab-poles__foot { display: none; }
  html.f-side:not(.f-short) .ab-values__stick { gap: 22px; }
  html.f-side:not(.f-short) .ab-value { min-height: clamp(260px, 42svh, 400px); }
}
/* empilé ou peu de hauteur : les deux pôles l'un sous l'autre, sans scène collante */
html.f-stack .ab-poles, html.f-short .ab-poles { height: auto; }
html.f-stack .ab-poles__stick, html.f-short .ab-poles__stick { position: static; height: auto; padding: clamp(90px, 12svh, 140px) var(--gutter) 40px; }
html.f-stack .ab-poles__grid, html.f-short .ab-poles__grid { grid-template-columns: 1fr; gap: 0; }
html.f-stack .ab-poles__link, html.f-short .ab-poles__link { height: 54px; justify-items: center; }
html.f-stack .ab-poles__link svg, html.f-short .ab-poles__link svg { width: 10px; height: 100%; transform: rotate(90deg) scaleX(5.4); }
html.f-stack .ab-pole__orb { height: clamp(120px, 22svh, 200px); }
html.f-short .ab-pole__orb { height: 110px; }
html.f-short .ab-pole { flex-direction: column; }

/* ---------- 4. valeurs ---------- */
.ab-values { position: relative; height: calc(var(--fh, 100svh) * 3.2); }
.ab-values__stick { position: sticky; top: 0; height: var(--fh, 100svh); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 5svh, 60px); padding-top: calc(70px + var(--sat, 0px)); }
.ab-values__head { padding: 0 var(--gutter); }
.ab-values__track { display: flex; gap: clamp(14px, 1.6vw, 26px); padding: 0 var(--gutter); width: max-content; transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); will-change: transform; }
.ab-value { position: relative; width: clamp(300px, 34vw, 560px); min-height: clamp(300px, 46svh, 520px); flex: none; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 2.4vw, 40px); border-radius: var(--r-panel); border: 1px solid rgb(var(--text-rgb) / .13);
  background: radial-gradient(60% 50% at 100% 0%, rgb(var(--acc-rgb) / .14), transparent 70%), linear-gradient(165deg, rgb(var(--text-rgb) / .06), transparent 45%), rgb(var(--surface-rgb) / .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .5s, transform .6s var(--ease); }
.ab-value.is-on { border-color: rgb(var(--acc-rgb) / .6); }
.ab-value__n { display: block; font-size: clamp(4.4rem, 2rem + 5vw, calc(9rem * var(--fs, 1))); font-weight: 600; line-height: 1; letter-spacing: .02em; padding-bottom: .04em; font-variant-numeric: tabular-nums; color: rgb(var(--text-rgb)); opacity: .5; filter: url(#ab-outline); transition: color .5s, opacity .5s; }
.ab-value.is-on .ab-value__n { color: rgb(var(--acc-rgb)); opacity: 1; }
.ab-value h3 { min-height: var(--vh3, auto); font-size: min(var(--fs-h3), calc(var(--vw-card, 34vw) * .062)); white-space: nowrap; font-weight: 650; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05; }
.ab-value p { min-height: var(--vp, auto); margin-top: 12px; color: rgb(var(--text-rgb) / .76); }
.ab-values__bar { margin: 0 var(--gutter); height: 1px; background: rgb(var(--text-rgb) / .12); }
.ab-values__bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: rgb(var(--acc-rgb)); }
/* empilé / peu de hauteur : liste verticale */
html.f-stack .ab-values, html.f-short .ab-values { height: auto; }
html.f-stack .ab-values__stick, html.f-short .ab-values__stick { position: static; height: auto; overflow: visible; padding: clamp(90px, 12svh, 140px) 0 40px; }
html.f-stack .ab-values__track, html.f-short .ab-values__track { width: auto; flex-direction: column; transform: none; }
html.f-stack .ab-value, html.f-short .ab-value { width: auto; min-height: 0; gap: 34px; }
html.f-short .ab-value { flex-direction: row; align-items: flex-end; }
html.f-stack .ab-values__bar, html.f-short .ab-values__bar { display: none; }
html.f-stack:not(.f-phone) .ab-values__track { display: grid; grid-template-columns: 1fr 1fr; }

/* ---------- 5. équipe : anneau 3D qui tourne au défilement, la mascotte au centre prend l'outil du membre de face ---------- */
.ab-team { position: relative; height: calc(var(--fh, 100svh) * 7.4); }
.ab-team__stick { position: sticky; top: 0; height: var(--fh, 100svh); overflow: hidden; isolation: isolate; }
/* halo et sol de l'anneau */
.ab-team__stick::before { content: ""; position: absolute; left: 50%; top: var(--cy, 56%); width: calc(var(--rx, 400px) * 2.5); height: calc(var(--ry, 180px) * 2.5); transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgb(var(--acc-rgb) / .16), rgb(var(--space-glow) / .12) 45%, transparent 100%); }
.ab-team__stick::after { content: ""; position: absolute; left: 50%; top: var(--cy, 56%); width: calc(var(--rx, 400px) * 2); height: calc(var(--ry, 180px) * 2); transform: translate(-50%, -50%); border-radius: 50%; z-index: -1;
  border: 1px solid rgb(var(--text-rgb) / .1); box-shadow: 0 0 0 calc(var(--ry, 180px) * .18) rgb(var(--text-rgb) / .025); }
/* le prénom géant derrière tout */
.ab-team__big { position: absolute; left: 0; right: 0; top: var(--cy, 56%); transform: translateY(-58%); z-index: -1; text-align: center; white-space: nowrap; pointer-events: none;
  font-size: clamp(5rem, 1rem + 17vw, 26rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; text-transform: uppercase; color: rgb(var(--text-rgb)); opacity: .07; filter: url(#ab-outline); }
.ab-team__big span { display: inline-block; animation: abLetter .9s cubic-bezier(.2, .8, .1, 1) both; animation-delay: calc(var(--k, 0) * 45ms); }
@keyframes abLetter { from { opacity: 0; transform: translateY(35%) rotate(4deg); } to { opacity: 1; transform: none; } }
.ab-team__head { position: absolute; z-index: 3; left: var(--gutter); top: calc(92px + var(--sat, 0px)); max-width: min(620px, 48vw); }
.ab-team__lead { margin-top: 14px; max-width: 48ch; font-size: 1rem; line-height: 1.45; color: rgb(var(--text-rgb) / .72); }
.ab-team__count { position: absolute; z-index: 3; right: var(--gutter); top: calc(92px + var(--sat, 0px)); display: flex; align-items: baseline; gap: 8px; font-weight: 650; letter-spacing: -.04em; }
.ab-team__count b { font-size: clamp(3rem, 1.6rem + 3vw, 6rem); line-height: .9; font-weight: 650; color: rgb(var(--acc-rgb)); font-variant-numeric: tabular-nums; }
.ab-team__count span { font-size: 1rem; color: rgb(var(--text-rgb) / .5); }
.ab-team__net { position: absolute; z-index: 3; left: var(--gutter); bottom: max(26px, calc(var(--sab, 0px) + 18px)); max-width: 40ch; color: rgb(var(--text-rgb) / .58); }
.ab-team__net span { color: rgb(var(--acc-rgb)); }
/* les cartes : placées image par image par apropos.js (position sur l'ellipse, taille, inclinaison, flou) */
.ab-ring { position: absolute; inset: 0; list-style: none; z-index: 2; }
.ab-m { position: absolute; left: 0; top: 0; width: var(--cw, 300px); will-change: transform, opacity; transform-origin: 50% 50%; }
.ab-m__b { width: 100%; display: grid; gap: 4px; padding: 18px 20px 20px; text-align: left; border-radius: var(--r-card); cursor: pointer; color: inherit; font: inherit;
  border: 1px solid rgb(var(--text-rgb) / .14); background: linear-gradient(165deg, rgb(var(--text-rgb) / .08), transparent 50%), rgb(var(--surface-rgb) / .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); transition: border-color .4s, box-shadow .4s; }
.ab-m__i { color: rgb(var(--text-rgb) / .5); }
.ab-m__n { font-size: clamp(1.7rem, 1rem + 1.6vw, 2.9rem); font-weight: 650; line-height: 1; letter-spacing: -.045em; text-transform: uppercase; margin-top: 6px; }
.ab-m__r { font-size: .875rem; font-weight: 700; color: rgb(var(--acc-rgb)); line-height: 1.3; }
.ab-m__d { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: rgb(var(--text-rgb) / .72); opacity: clamp(0, calc((var(--f, 0) - .965) * 30), 1); }
.ab-m.is-front .ab-m__b { border-color: rgb(var(--acc-rgb) / .7); box-shadow: 0 0 0 1px rgb(var(--acc-rgb) / .25), 0 30px 70px -20px rgb(var(--acc-rgb) / .35); }
.ab-m.is-front .ab-m__i { color: rgb(var(--acc-rgb)); }
.ab-m__b:focus-visible { outline: 2px solid rgb(var(--acc-rgb)); outline-offset: 3px; }
/* repères : une graduation par membre, celle de face s'allonge */
.ab-ticks { position: absolute; z-index: 3; right: var(--gutter); bottom: max(30px, calc(var(--sab, 0px) + 22px)); display: flex; align-items: flex-end; gap: 6px; }
.ab-ticks i { width: 3px; height: 14px; border-radius: 3px; background: rgb(var(--text-rgb) / .25); cursor: pointer; transition: height .4s var(--ease), background .3s; }
.ab-ticks i::before { content: ""; display: block; margin: -10px -6px; height: calc(100% + 20px); }
.ab-ticks i.is-on { height: 30px; background: rgb(var(--acc-rgb)); }
.ab-ticks i.is-past { background: rgb(var(--text-rgb) / .55); }
/* sans JavaScript : simple grille */
html:not(.ab-js) .ab-team { height: auto; }
html:not(.ab-js) .ab-team__stick { position: static; height: auto; overflow: visible; padding: 120px var(--gutter) 80px; }
html:not(.ab-js) .ab-team__head, html:not(.ab-js) .ab-team__net { position: static; max-width: none; }
html:not(.ab-js) .ab-ring { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 40px 0 24px; }
html:not(.ab-js) .ab-m { position: static; width: auto; }
html:not(.ab-js) .ab-m__d { opacity: 1; }
html:not(.ab-js) .ab-team__count, html:not(.ab-js) .ab-ticks, html:not(.ab-js) .ab-team__big, html:not(.ab-js) .ab-team__stick::before, html:not(.ab-js) .ab-team__stick::after { display: none; }
/* écrans peu hauts : le texte d'introduction s'efface (le réseau reste mentionné en bas) */
@media (max-height: 860px) { .ab-team__lead { display: none; } }
/* empilé (téléphone, tablette debout) */
html.f-stack .ab-team__head { max-width: none; right: var(--gutter); top: calc(80px + var(--sat, 0px)); }
html.f-stack .ab-team__head .h2 { font-size: clamp(1.8rem, 7.4vw, 3rem); }
html.f-stack .ab-team__lead { display: none; }
html.f-stack .ab-team__count { top: auto; bottom: max(64px, calc(var(--sab, 0px) + 56px)); }
html.f-stack .ab-team__count b { font-size: 2.4rem; }
html.f-stack .ab-team__net { right: var(--gutter); max-width: none; font-size: .5625rem; }
html.f-stack .ab-ticks { left: var(--gutter); right: auto; bottom: max(68px, calc(var(--sab, 0px) + 60px)); }
html.f-phone .ab-m__b { padding: 14px 16px 16px; }
html.f-phone .ab-m__n { font-size: 1.6rem; }
html.f-phone .ab-m__d { font-size: .8125rem; }
/* peu de hauteur (téléphone couché) */
html.f-short .ab-team__head { top: calc(64px + var(--sat, 0px)); }
html.f-short .ab-team__head .h2 { font-size: 1.5rem; }
html.f-short .ab-team__lead, html.f-short .ab-m__d, html.f-short .ab-team__net { display: none; }
html.f-short .ab-team__count { top: calc(60px + var(--sat, 0px)); }
html.f-short .ab-team__count b { font-size: 2rem; }
html.f-short .ab-m__b { padding: 10px 14px 12px; }
html.f-short .ab-m__n { font-size: 1.3rem; margin-top: 2px; }
html.f-short .ab-m__r { font-size: .75rem; }
html.f-short .ab-ticks { bottom: 14px; }

/* ---------- 6. engagements (panneau clair) : une seule liste visible, la mascotte en grand à côté ---------- */
.ab-pledge { position: relative; z-index: 3; padding: clamp(80px, 12svh, 150px) 0 clamp(80px, 12svh, 150px); border-radius: var(--r-stage) var(--r-stage) 0 0; background: radial-gradient(60% 50% at 100% 0%, rgb(152 202 193 / .9), transparent 70%), rgb(232 243 240); }
.ab-pledge__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ab-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgb(18 32 42 / .08); border: 1px solid rgb(18 32 42 / .14); }
.ab-switch button { position: relative; z-index: 1; height: 44px; padding: 0 26px; border: 0; background: none; border-radius: 999px; font: 700 .75rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: rgb(18 32 42 / .7); cursor: pointer; transition: color .35s; }
.ab-switch button.is-on { color: rgb(232 243 240); }
.ab-switch i { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: rgb(18 32 42); transition: transform .5s cubic-bezier(.6, 0, .2, 1), background .4s; }
.ab-switch.is-no i { transform: translateX(100%); background: rgb(179 75 32); }
.ab-pledge__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: center; margin-top: clamp(30px, 5svh, 60px); }
/* la scène 3D : la mascotte (bouclier / interdit) devant le mot géant */
.ab-pledge__stage { position: relative; width: 100%; aspect-ratio: 1; max-height: min(64svh, 620px); justify-self: center; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-panel);
  background: radial-gradient(52% 52% at 50% 50%, rgb(255 255 255 / .75), rgb(255 255 255 / 0) 70%), repeating-radial-gradient(circle at 50% 50%, rgb(18 32 42 / .06) 0 1px, transparent 1px 46px); }
.ab-pledge__word { position: absolute; left: 50%; top: auto; bottom: 4%; transform: translateX(-50%); font-size: clamp(2.6rem, 1.2rem + 4vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; text-transform: uppercase; color: rgb(18 32 42 / .09); white-space: nowrap; pointer-events: none; }
.ab-pledge__word.is-swap { animation: abWord .8s cubic-bezier(.2, .8, .1, 1) both; }
.ab-pledge.is-no .ab-pledge__word { color: rgb(179 75 32 / .1); }
@keyframes abWord { from { opacity: 0; letter-spacing: .12em; } to { opacity: 1; letter-spacing: -.05em; } }
.ab-pledge__orb { position: absolute; inset: 6% 10% 22%; }
.ab-pledge__cols { display: grid; }
.ab-pl { grid-area: 1 / 1; padding: clamp(22px, 2.4vw, 40px); border-radius: var(--r-panel); background: rgb(255 255 255 / .6); border: 1px solid rgb(18 32 42 / .1); }
.ab-pl[hidden] { display: none; }
.ab-pl ol { list-style: none; }
.ab-pl li { position: relative; padding: 16px 0 16px 46px; border-top: 1px solid rgb(18 32 42 / .12); font-size: clamp(1rem, .9rem + .3vw, 1.1875rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.ab-pl li:first-child { border-top: 0; }
.ab-pl li::before { content: ""; position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: rgb(18 32 42); }
.ab-pl li::after { content: ""; position: absolute; left: 9px; top: 21px; width: 10px; height: 6px; border-left: 2px solid rgb(232 243 240); border-bottom: 2px solid rgb(232 243 240); transform: rotate(-45deg); }
.ab-pl--no li::before { background: rgb(179 75 32); }
.ab-pl--no li::after { left: 8px; top: 22px; width: 12px; height: 12px; border: 0; transform: none;
  background: linear-gradient(45deg, transparent 43%, rgb(232 243 240) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, rgb(232 243 240) 43% 57%, transparent 57%); }
.ab-pl--no li { color: rgb(18 32 42 / .86); }
/* changement d'onglet : les lignes arrivent une à une */
.ab-pl.is-in li { animation: abLi .6s cubic-bezier(.2, .8, .1, 1) both; animation-delay: calc(var(--k, 0) * 55ms); }
@keyframes abLi { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
/* empilé : la scène 3D au-dessus de la liste */
html.f-stack .ab-pledge__body { grid-template-columns: 1fr; gap: 14px; }
html.f-stack .ab-pledge__stage { aspect-ratio: auto; height: clamp(220px, 34svh, 380px); max-height: none; }
html.f-stack .ab-pledge__orb { inset: 4% 20% 26%; }
html.f-stack .ab-switch { width: 100%; }
html.f-short .ab-pledge__stage { max-height: calc(var(--fh, 100svh) - 40px); }
html.f-phone .ab-pledge { border-radius: 28px 28px 0 0; }

/* ---------- 7. Paris · Dubaï ---------- */
.ab-place { position: relative; z-index: 3; padding: clamp(90px, 14svh, 180px) 0; background: radial-gradient(60% 70% at 85% 50%, rgb(var(--space-glow) / .28), transparent 70%); }
.ab-place__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.ab-place__p { margin-top: 22px; max-width: 52ch; font-size: var(--fs-body-l); line-height: 1.38; color: rgb(var(--text-rgb) / .78); }
.ab-cities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; max-width: 560px; }
.ab-city { padding: 18px 20px; border-radius: var(--r-card); border: 1px solid rgb(var(--text-rgb) / .14); background: rgb(var(--surface-rgb) / .5); }
.ab-city__time { display: block; margin-top: 8px; font-size: clamp(2rem, 1.2rem + 1.8vw, 3rem); font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.ab-city__st { display: block; margin-top: 8px; color: rgb(var(--acc-rgb)); }
.ab-place__globe { aspect-ratio: 1; width: 100%; max-height: 72svh; justify-self: center; }
html.f-stack .ab-place__grid { grid-template-columns: 1fr; }
html.f-stack .ab-place__globe { order: -1; width: min(100%, 460px); max-height: 46svh; }
html.f-short .ab-place__globe { max-height: 80svh; }
@media (max-width: 379px) { .ab-cities { grid-template-columns: 1fr; } }

/* ---------- 8. premier pas : il reste en place, le pied de page monte par-dessus ---------- */
.ab-cta { position: relative; z-index: 3; text-align: center; }
.ab-cta::after { content: ""; display: block; height: var(--fh, 100svh); }   /* la hauteur d'écran que le pied de page vient recouvrir */
.ab-cta__in { position: sticky; top: var(--ct, 0px); min-height: var(--fh, 100svh); display: grid; justify-items: center; align-content: center; padding-top: calc(90px + var(--sat, 0px)); padding-bottom: max(40px, calc(var(--sab, 0px) + 30px));
  opacity: var(--cv, 1); transform: scale(calc(.94 + var(--cv, 1) * .06)); transform-origin: 50% 30%; }
.ab-cta__orb { width: 140px; height: 140px; }
.ab-cta__t { margin-top: 6px; font-size: clamp(2.3rem, .6rem + 5.6vw, calc(6.6rem * var(--fs, 1))); font-weight: 650; line-height: .92; letter-spacing: -.05em; text-transform: uppercase; max-width: 15ch; text-wrap: balance; }
.ab-cta__p { margin-top: 22px; max-width: 54ch; font-size: var(--fs-body-l); line-height: 1.36; color: rgb(var(--text-rgb) / .78); }
.ab-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.ab-cta__note { margin-top: 18px; }
html.f-phone .ab-cta__btns { flex-direction: column; width: 100%; }
html.f-phone .ab-cta__btns .btn { width: 100%; }
html.f-short .ab-cta__in { padding-top: 70px; }
html.f-short .ab-cta__orb { width: 90px; height: 90px; }
html.f-short .ab-cta__p { margin-top: 12px; }
html.f-short .ab-cta__btns { margin-top: 18px; }
/* le pied de page : une feuille qui monte et recouvre l'appel à l'action */
.ab-page .ft { margin-top: calc(var(--fh, 100svh) * -1); z-index: 6; border-radius: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 40px) 0 0; box-shadow: 0 -40px 90px -20px rgb(0 0 0 / .55); min-height: var(--fh, 100svh); display: flex; flex-direction: column; justify-content: flex-end; }
.ab-page .ft::before { content: ""; position: absolute; left: 50%; top: 14px; width: 54px; height: 4px; margin-left: -27px; border-radius: 4px; background: rgb(var(--text-rgb) / .22); z-index: 1; }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .ab-line > span, .ab-hero__p { transform: none !important; opacity: 1 !important; transition: none; }
  .ab-scroll i, .ab-poles__link path { animation: none; }
  .ab-team__big span, .ab-pl.is-in li, .ab-pledge__word.is-swap { animation: none !important; }
}
