/* Virgo Suisse, feuille unique. Les valeurs partagées viennent de mesures.py (jetons injectés, et points de rupture
   des @media écrits en repères que construire.py remplace), statut APPLE / VIRGO / DERIVE, preuves dans preuves/.
   Les cotes internes d'un composant Apple écrites une seule fois (barre locale, pied) restent ici, à côté de leur règle.
   Base = état statique complet. Modes posés sur <html> : .vs-js .vs-glass (tête), .vs-motion .vs-pin .vs-scrub (vs.js).
   Règle d'écriture : aucune déclaration n'existe pour en défaire une autre (pas de 0 / none / inherit correctifs).
   Une largeur, un état (.is-open, :hover…) ou une variante (--compact) remplace une valeur mesurée par une autre. */

/* jetons générés depuis mesures.py */
:root { --paper: #eef2ec; --paper-alt: #f7f3e6; --sage: #d5ded5; --tile: #fbfcfa; --ink: #101713; --muted: rgba(16,23,19,.70); --line: rgba(16,23,19,.14); --bronze: #7a5d1d; --bronze-down: #6e5419; --footer-ink: rgba(16,23,19,.62); --control-line: rgba(16,23,19,.5); --dot: rgba(16,23,19,.5); --night: #060807; --tile-night: #1c231e; --paper-ink: #f8f3e4; --paper-muted: rgba(248,243,228,.74); --gold: #d8c071; --gold-up: #f1dda0; --media-scrim: rgba(66,66,69,.72); --media-scrim-hover: rgba(73,73,76,.7256); --media-scrim-down: rgba(57,57,60,.7424); --media-icon: rgba(255,255,255,.8); --media-icon-hover: #fff; --glass-filter: saturate(1.8) blur(20px); --ease-glass: cubic-bezier(.28,.11,.32,1); --dur-glass: .24s; --dur-seg: .32s; --ease-tray: cubic-bezier(.4,0,.6,1); --dur-ls-croix: 320ms; --r-tile: 28px; --r-pill: 980px; --content-max: 980px; --dur-dot: .25s; --dur-footer: 300ms; --dur-hover: .18s; --dur-press: .1s; --dur-media: .2s; --dur-media-fade: .1s; --label-gap: 8px; --field-scroll: calc(var(--small-lh) + var(--label-gap) + 12px); --plate-gap: 28px; --bilan-r: .75; --flacon-r: calc(1080 / 1438); --font: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; --fondu-pas: 150ms; --fondu-op-d: 900ms; --fondu-op-e: cubic-bezier(.45,.05,.5,.95); --fondu-tr-d: 700ms; --fondu-tr-e: cubic-bezier(.5,.1,.5,1); --fondu-y: 30px; --ressort-y: 180px; --ressort-d: 1433ms; --ressort-e: linear(0, 0.0018, 0.0606, 0.1843, 0.348, 0.5293, 0.7092, 0.8731, 1.0111, 1.1173, 1.1902, 1.231, 1.2436, 1.2332, 1.2058, 1.1674, 1.1237, 1.0795, 1.0385, 1.0035, 0.976, 0.9566, 0.9451, 0.9408, 0.9423, 0.9483, 0.9572, 0.9677, 0.9785, 0.9887, 0.9976, 1.0047, 1.0098, 1.0129, 1.0143, 1.0142, 1.013, 1.0109, 1.0084, 1.0058, 1.0032, 1.001, 0.9992, 0.9978, 0.997, 0.9965, 0.9965, 0.9968, 0.9972); --tiroir-d: 320ms; --tiroir-retard: 240ms; --lien-0: 260ms; --lien-pas: 20ms; --sortie-0: 400ms; --tiroir-vis: 1s; --orbite-piste: 400vh; --scene-marge: 44px; --etape-h: 72vh; --etape-fin: 18vh; --paper-rgb: 238 242 236; --night-rgb: 6 8 7; --ink-rgb: 16 23 19; --sage-rgb: 213 222 213; --tile-night-rgb: 28 35 30; --paper-ink-rgb: 248 243 228; --ln-alpha: 1; --ln-filter: none; --section: 144px; --section-break: 216px; --hero-top: 88px; --head-gap: 44px; --col: min(87.5%, 1260px); --row: min(87.5%, 980px); --bento-w: min(87.5%, 980px); --card-w: min(87.5vw, 1260px); --card-h: 680px; --card-snap: center; --cap-inset: 48px; --cap-w: 584px; --ctrl-gap: 90px; --ctrl-bottom: 32px; --ctrl-h: 56px; --dots-pad: 24px; --dots-gap: 16px; --dot-on: 48px; --btn-pad: 11px 21px; --btnc-pad: 8px 15px; --btnc-lh: 21px; --tile-pad: 40px; --gap: 20px; --film-piste: max(230vh, 1280px); --gnav-h: 44px; --ln-h: 52px; --gnav-logo-h: 15.9px; --gnav-logo-pad: 8px; --edge: 22px; --lntitle-fs: 21px; --lntitle-lh: 24px; --lntitle-ls: 0.231px; --tray-fs: 12px; --tray-lh: 22px; --tray-ls: -0.12px; --ls-h: 70px; --hero-fs: 64px; --hero-lh: 68px; --hero-ls: -0.576px; --eyebrow-fs: 28px; --eyebrow-lh: 32px; --eyebrow-ls: 0.196px; --h2-fs: 48px; --h2-lh: 52px; --h2-ls: -0.144px; --label-fs: 24px; --label-lh: 28px; --label-ls: 0.216px; --story-fs: 56px; --story-lh: 60px; --story-ls: -0.28px; --tile-fs: 28px; --tile-lh: 32px; --tile-ls: 0.196px; --tilebody-fs: 17px; --tilebody-lh: 21px; --tilebody-ls: -0.374px; --tilelabel-fs: 17px; --tilelabel-lh: 21px; --tilelabel-ls: -0.374px; --callout-fs: 28px; --callout-lh: 32px; --callout-ls: 0.196px; --ref-fs: 21px; --ref-lh: 24px; --ref-ls: 0.231px; --lead-fs: 21px; --lead-lh: 29px; --lead-ls: 0.231px; --cap-fs: 28px; --cap-lh: 32px; --cap-ls: 0.196px; --body-fs: 17px; --body-lh: 25px; --body-ls: -0.374px; --btn-fs: 17px; --btn-lh: 20px; --btn-ls: -0.374px; --link-fs: 17px; --link-lh: 21px; --link-ls: -0.374px; --small-fs: 14px; --small-lh: 20px; --small-ls: -0.224px; --micro-fs: 12px; --micro-lh: 16px; --micro-ls: -0.12px; --lsbtn-fs: 14px; --lsbtn-lh: 18px; --lsbtn-ls: -0.224px; }
.vs-glass { --ln-alpha: .8; --ln-filter: var(--glass-filter); }
@media (max-width: 1068px) { :root { --section: 120px; --section-break: 206px; --head-gap: 38px; --col: 87.5%; --row: 87.5%; --bento-w: clamp(692px, 87.5%, 830px); --card-w: 87.5vw; --card-h: 628px; --cap-inset: 44px; --cap-w: 555px; --ctrl-gap: 80px; --hero-fs: 56px; --hero-lh: 60px; --hero-ls: -0.28px; --eyebrow-fs: 24px; --eyebrow-lh: 28px; --eyebrow-ls: 0.216px; --h2-fs: 40px; --h2-lh: 44px; --h2-ls: 0px; --label-fs: 21px; --label-lh: 25px; --label-ls: 0.231px; --story-fs: 48px; --story-lh: 52px; --story-ls: -0.144px; --tile-fs: 24px; --tile-lh: 28px; --tile-ls: 0.216px; --cap-fs: 24px; --cap-lh: 28px; --cap-ls: 0.216px; } }
@media (max-width: 833px) { :root { --gnav-h: 48px; --ln-h: 48px; --gnav-logo-h: 18.6px; --gnav-logo-pad: 16px; --edge: 16px; --lntitle-fs: 17px; --lntitle-ls: -0.374px; --tray-fs: 14px; --tray-lh: 18.2px; --tray-ls: -0.28px; --ls-h: 135px; } }
@media (max-width: 734px) { :root { --section: 112px; --section-break: 196px; --hero-top: 56px; --head-gap: 30px; --col: max(min(87.5%, 420px), 280px); --row: max(min(87.5%, 420px), 280px); --bento-w: min(87.5%, 328px); --card-w: calc(max(min(420px, 87.5vw), 280px) - 20px); --card-h: 480px; --card-snap: start; --cap-inset: 32px; --cap-w: none; --ctrl-gap: 70px; --ctrl-bottom: 20px; --dot-on: 32px; --btn-pad: 8px 15px; --btnc-lh: 18px; --tile-pad: 30px 8%; --gap: 18px 20px; --film-piste: max(186vh, 1180px); --hero-fs: 32px; --hero-lh: 36px; --hero-ls: 0.128px; --eyebrow-fs: 21px; --eyebrow-lh: 25px; --eyebrow-ls: 0.231px; --h2-fs: 32px; --h2-lh: 36px; --h2-ls: 0.128px; --story-fs: 32px; --story-lh: 36px; --story-ls: 0.128px; --tile-fs: 21px; --tile-lh: 25px; --tile-ls: 0.231px; --tilebody-fs: 14px; --tilebody-lh: 18px; --tilebody-ls: -0.224px; --tilelabel-fs: 14px; --tilelabel-lh: 18px; --tilelabel-ls: -0.224px; --ref-fs: 17px; --ref-lh: 25px; --ref-ls: -0.374px; --lead-fs: 19px; --lead-lh: 27px; --lead-ls: 0.228px; --cap-fs: 17px; --cap-lh: 21px; --cap-ls: -0.374px; --btn-fs: 14px; --btn-lh: 18px; --btn-ls: -0.224px; --link-fs: 14px; --link-lh: 18px; --link-ls: -0.224px; } }


/* ---------------------------------------------------------------- socle */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--ln-h); }
body {
  margin: 0; min-width: 320px; font-family: var(--font);
  font-size: var(--body-fs); line-height: var(--body-lh); letter-spacing: var(--body-ls);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
main:focus { outline: none; }
/* anneau de focus unique. Options de la barre de langue : aucun anneau, leur voile change (option d'Apple : outline none) ;
   déclencheur de la liste : anneau aussi après un choix à la souris (.ac-ls-dropdown-select:focus d'Apple) */
:focus-visible:not(main, .vs-ls__opt), .vs-ls__select:focus { outline: 2px solid var(--action); outline-offset: var(--focus-offset, 3px); }

/* thèmes : un seul mécanisme, l'attribut data-vs-theme (posé par le HTML, et par vs.js sur la barre locale) */
:root, [data-vs-theme="paper"], [data-vs-theme="paper-alt"] {
  --fg: var(--ink); --fg-muted: var(--muted); --tile-bg: var(--tile);
  --action: var(--bronze); --action-down: var(--bronze-down); --on-action: #fff; --rule: var(--line);
}
[data-vs-theme="night"], .vs-tile--night {
  --fg: var(--paper-ink); --fg-muted: var(--paper-muted); --tile-bg: var(--tile-night);
  --action: var(--gold); --action-down: var(--gold-up); --on-action: var(--night); --rule: rgb(var(--paper-ink-rgb) / .16);
  color-scheme: dark;
}
[data-vs-theme], .vs-tile--night { color: var(--fg); }
body[data-vs-theme="paper"], .vs-hero[data-vs-theme="paper"], .vs-chapter[data-vs-theme="paper"], .vs-scene[data-vs-theme="paper"] { background: var(--paper); }
.vs-chapter[data-vs-theme="paper-alt"] { background: var(--paper-alt); }
body[data-vs-theme="night"], .vs-scene[data-vs-theme="night"], .vs-chapter[data-vs-theme="night"], .vs-cover[data-vs-theme="night"] { background: var(--night); }

.vs-col { width: var(--col); margin-inline: auto; }
.vs-row { width: var(--row); margin-inline: auto; }

.vs-skip {
  position: absolute; z-index: 40; left: 12px; top: 12px; padding: 8px 15px;
  border-radius: var(--r-pill); background: var(--action); color: var(--on-action);
  text-decoration: none; transform: translateY(-200%);
}
.vs-skip:focus-visible { transform: none; }

/* ---------------------------------------------------------------- boutons, liens (a.button mesuré) */
.vs-button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px;
  padding: var(--btn-pad); border: 1px solid transparent; border-radius: var(--r-pill); cursor: pointer;
  font: inherit; font-size: var(--btn-fs); line-height: var(--btn-lh); letter-spacing: var(--btn-ls);
  background: var(--action); color: var(--on-action); text-decoration: none; white-space: nowrap;
}
.vs-button:hover, .vs-button:active { background: var(--action-down); }
.vs-button--compact { min-width: 28px; padding: var(--btnc-pad); line-height: var(--btnc-lh); }
.vs-button--ln {
  grid-area: action; margin-top: -1px; padding: 3px 10px; min-width: 23px;
  font-size: var(--micro-fs); line-height: var(--micro-lh); letter-spacing: var(--micro-ls);
}
.vs-link {
  --link-target: max(round(up, calc((24px - 1lh) / 2), 1px), 0px); /* --sk-link-target-height d'Apple : cible >= 24px */
  display: inline-flex; align-items: center; gap: 6px; color: var(--action); text-decoration: none;
  font-size: var(--link-fs); line-height: var(--link-lh); letter-spacing: var(--link-ls);
  padding-block: var(--link-target); margin-block: calc(-1 * var(--link-target));
}
.vs-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.vs-ico { flex: none; }

/* ---------------------------------------------------------------- barre de langue (#ac-localeswitcher mesurée) */
/* localeswitcher.built.css fr_CH relevé le 2026-09-25 (copie identique à l'octet : preuves/sondes-barre/apple-ls.css),
   captures preuves/apple-pages/ls-apple-*.png. Visible pour la seule variante dont la langue est posée sur <html> par la
   tête (repère @ls : sélecteur écrit par construire.py pour chaque langue du site), principe de html.ac-ls-visible. Dans le
   flux, avant la barre globale : ni position absolue, ni marge sur html. Thème : data-vs-theme de la page, comme la barre
   globale. Deux fonds, déclarés une fois : --ls-fond-voile, surface de la page sous le voile d'Apple (noir 4 % / blanc 8 %,
   ici l'encre du thème), pour la barre, la bordure du déclencheur et les options ; --ls-fond-scrim, la même surface sous le
   voile clair d'Apple (.ac-ls-dropdown-scrim, option survolée : 0 % / 16 %), pour l'intérieur du déclencheur et l'option
   active. Mouvement : Apple anime la couleur de la croix (320 ms, reprise sous no-preference) et, en 240 ms, le fond de la
   barre et du déclencheur ; ces deux-là ne se voient pas (le fond ne change qu'avec le thème, la liste recouvre le
   déclencheur) et ne sont pas reprises. La liste s'ouvre sans animation.
   Cotes internes du composant, écrites une fois ici : copie 430 + 2 %, actions 29, liste 349 / 252, déclencheur et
   options 42 (libellé 36, ✓ à x + 17 ; largeur du libellé 100 % - 48 + retrait 29 = 100 % - 19 en boîte bordure), écarts
   13 / 14 / -2, Continuer 8 15 / 36, croix 18 et 17 en haut sous 834. Cotes larges sous 834px, étroites sous 833px :
   aucune ne défait l'autre. */
.vs-ls {
  --ls-rgb: var(--paper-rgb); --ls-ink-rgb: var(--ink-rgb); --ls-a: .8; --ls-voile: 4%; --ls-scrim: 0%; --ls-liste: #fff;
  --ls-plus: 4.4%; --ls-moins: 17%; /* Continuer : survol #1d1d1f -> #272729 = 4,4 % de blanc, appui -> #18181a = 17 % de noir */
  --ls-fond-voile: color-mix(in srgb, rgb(var(--ls-ink-rgb)) var(--ls-voile), rgb(var(--ls-rgb)));
  --ls-fond-scrim: color-mix(in srgb, rgb(var(--ls-ink-rgb)) var(--ls-scrim), rgb(var(--ls-rgb)));
  display: none; position: relative; z-index: 31; /* barre globale 30 + 1, comme #ac-localeswitcher 10000 / #globalnav 9999 */
  height: var(--ls-h); letter-spacing: normal; background-color: var(--ls-fond-voile);
}
.vs-ls[data-vs-theme="night"] {
  --ls-rgb: var(--night-rgb); --ls-ink-rgb: var(--paper-ink-rgb); --ls-a: .92; --ls-voile: 8%; --ls-scrim: 16%; --ls-liste: #000;
  --ls-plus: 100%; --ls-moins: 3%; /* Continuer sombre : survol #f5f5f7 -> #fff, appui -> #ededf2 = 3 % de noir */
}
[data-vs-ls="en"] .vs-ls[lang="en"], [data-vs-ls="fr"] .vs-ls[lang="fr"], [data-vs-ls="de"] .vs-ls[lang="de"] { display: flex; }
.vs-ls__in {
  display: flex; flex-wrap: wrap; align-items: center; width: 100%; max-width: 1024px; margin-inline-end: auto;
  padding-inline: max(var(--edge), env(safe-area-inset-left)) max(var(--edge), env(safe-area-inset-right));
  color: rgb(var(--ls-ink-rgb) / var(--ls-a));
}
.vs-ls__copy { flex: 1; padding-inline-end: 2%; font-size: var(--micro-fs); line-height: var(--micro-lh); letter-spacing: var(--micro-ls); }
.vs-ls__actions { display: flex; flex: 1; align-items: center; justify-content: flex-end; }
.vs-ls__dd { position: relative; flex: 1; }
.vs-ls__select, .vs-ls__opt {
  position: relative; display: flex; align-items: flex-start; width: 100%; height: 42px; padding: 0 14px; cursor: default;
}
.vs-ls__select {
  --focus-offset: 0px; margin: 0; font: inherit; color: inherit; text-align: start;
  border: 3px solid var(--ls-fond-voile); border-radius: 11px; background-color: var(--ls-fond-scrim);
}
.vs-ls__label {
  width: calc(100% - 19px); padding-inline-start: 29px; line-height: 36px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none;
}
.vs-ls__check { position: absolute; top: 0; inset-inline-start: 14px; }
.vs-ls__opt .vs-ls__check { visibility: hidden; }
.vs-ls__opt[aria-selected="true"] .vs-ls__check { visibility: visible; }
/* chevron : boîte serrée sur le trait, centrée dans le déclencheur ; posé au-dessus de la liste, qui recouvre le déclencheur */
.vs-ls__chev { position: absolute; z-index: 3; top: 14px; inset-inline-end: 14px; color: rgb(var(--ls-ink-rgb) / .8); pointer-events: none; }
.vs-ls__select[aria-expanded="true"] .vs-ls__chev { transform: rotate(180deg); }
.vs-ls__list {
  display: none; position: absolute; z-index: 2; top: 0; left: 0; right: 0;
  border: 3px solid var(--ls-liste); border-radius: 11px; background-color: var(--ls-liste); outline: 2px solid var(--action);
}
.vs-ls__select[aria-expanded="true"] + .vs-ls__list { display: block; }
/* options de 42 bord à bord, sous leur voile (Apple : le voile ::after de 42 recouvre le filet de 3 de chaque option) ;
   sans anneau, l'option active se lit par son voile (.ac-ls-dropdown-option outline none, contre l'anneau du navigateur) */
.vs-ls__opt { background-color: var(--ls-fond-voile); outline: none; }
.vs-ls__opt:first-child { border-top-left-radius: 8px; border-top-right-radius: 8px; }
.vs-ls__opt:last-child { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.vs-ls__opt:hover, .vs-ls__opt:focus-visible { background-color: var(--ls-fond-scrim); }
.vs-ls__continue {
  display: block; min-width: 28px; max-height: 36px; margin-inline-start: 13px; padding: 8px 15px;
  border: 1px solid transparent; border-radius: 8px; text-align: center; text-decoration: none; white-space: nowrap;
  font-size: var(--lsbtn-fs); line-height: var(--lsbtn-lh); letter-spacing: var(--lsbtn-ls);
  background-color: rgb(var(--ls-ink-rgb)); color: rgb(var(--ls-rgb));
}
.vs-ls__continue:hover { background-color: color-mix(in srgb, #fff var(--ls-plus), rgb(var(--ls-ink-rgb))); }
.vs-ls__continue:active { background-color: color-mix(in srgb, #000 var(--ls-moins), rgb(var(--ls-ink-rgb))); }
.vs-ls__close {
  --focus-offset: 1px; display: block; width: 18px; height: 18px; margin-block: auto; margin-inline-end: -2px;
  padding: 0; border: 0; background: none; color: rgb(var(--ls-ink-rgb) / .8); cursor: pointer;
}
.vs-ls__close svg { display: block; }
.vs-ls__close:hover, .vs-ls__close:focus { color: rgb(var(--ls-ink-rgb)); }

@media (min-width: 834px) {
  .vs-ls__in { margin-inline-start: auto; }
  .vs-ls__copy { max-width: calc(430px + 2%); }
  .vs-ls__actions { padding-inline-start: 29px; }
  .vs-ls__dd { max-width: 349px; min-width: 252px; }
  .vs-ls__close { margin-inline-start: 14px; }
}
@media (max-width: 833px) {
  .vs-ls__in { max-width: 552px; padding-block: 16px; }
  .vs-ls__copy { flex: 1 0 100%; padding-inline-end: max(2%, 42px); }
  .vs-ls__actions { flex: 1 0 100%; max-width: 100%; margin-inline-start: -2px; } /* 100 % décalé de -2 : fin à 2 px du bord */
  .vs-ls__close { position: absolute; top: 17px; inset-inline-end: max(var(--edge), env(safe-area-inset-right)); }
}
@media (max-width: 419px) {
  .vs-ls__in { align-items: flex-start; }
  .vs-ls__actions { margin-top: auto; }
  .vs-ls__dd { min-width: 50%; }
  .vs-ls__continue { max-width: calc(50% - 8px); overflow: hidden; text-overflow: ellipsis; }
}

/* ---------------------------------------------------------------- barre globale (#globalnav : 44 / 48 sous 834) */
.vs-gnav {
  position: relative; z-index: 30; height: var(--gnav-h);
  font-size: var(--micro-fs); line-height: var(--micro-lh); letter-spacing: var(--micro-ls);
}
.vs-gnav__in {
  height: 100%; max-width: var(--content-max); box-sizing: content-box; margin-inline: auto;
  padding-inline: max(var(--edge), env(safe-area-inset-left)) max(var(--edge), env(safe-area-inset-right));
  display: flex; align-items: center; justify-content: space-between;
}
.vs-gnav__brand, .vs-gnav__link { display: inline-flex; align-items: center; height: var(--gnav-h); text-decoration: none; }
.vs-gnav__brand { padding-inline: var(--gnav-logo-pad); margin-inline-start: calc(-1 * var(--gnav-logo-pad)); opacity: .88; }
.vs-gnav__logo { height: var(--gnav-logo-h); width: auto; }
.vs-gnav__link { gap: 5px; opacity: .8; }
.vs-gnav__brand:hover, .vs-gnav__link:hover { opacity: 1; }

/* ---------------------------------------------------------------- barre locale (#ac-localnav mesurée) */
.vs-ln {
  --ln-rgb: var(--paper-rgb); --ln-ink-rgb: var(--ink-rgb); --ln-keyline: .16;
  position: sticky; top: 0; z-index: 20;
}
.vs-ln[data-vs-theme="night"] { --ln-rgb: var(--night-rgb); --ln-ink-rgb: var(--paper-ink-rgb); --ln-keyline: .24; }
.vs-js .vs-ln { height: var(--ln-h); }
.vs-js .vs-ln__wrap { position: absolute; top: 0; left: 0; width: 100%; }
.vs-ln__bg { position: absolute; inset: 0; }
.vs-ln__bg::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
  background-color: rgb(var(--ln-ink-rgb) / var(--ln-keyline));
}
.vs-ln.is-stuck .vs-ln__bg {
  background-color: rgb(var(--ln-rgb) / var(--ln-alpha));
  -webkit-backdrop-filter: var(--ln-filter); backdrop-filter: var(--ln-filter);
}
.vs-ln__in {
  position: relative; z-index: 1; display: grid; align-items: center; min-height: var(--ln-h);
  max-width: var(--content-max); box-sizing: content-box; margin-inline: auto;
  padding-inline: max(var(--edge), env(safe-area-inset-left)) max(var(--edge), env(safe-area-inset-right));
}
.vs-ln__title {
  grid-area: title; justify-self: start; font-weight: 600; text-decoration: none; white-space: nowrap;
  font-size: var(--lntitle-fs); line-height: var(--lntitle-lh); letter-spacing: var(--lntitle-ls);
}
.vs-ln__tray { grid-area: tray; }
.vs-ln :is(a, button) { scroll-margin-top: calc(-1 * var(--ln-h)); } /* déjà visibles dans la barre : le focus n'y fait pas défiler la page */
.vs-ln__link {
  position: relative; text-decoration: none;
  font-size: var(--tray-fs); line-height: var(--tray-lh); letter-spacing: var(--tray-ls);
}
.vs-ln__link[aria-current="page"] { cursor: default; }
.vs-ln__link[aria-current="page"]::after { content: ""; position: absolute; background-color: currentColor; opacity: .8; }
.vs-ln__chev {
  grid-area: chev; display: none; width: 40px; height: 30px; margin: 14px -12px 0 0; padding: 0; border: 0;
  align-self: start; justify-content: center; align-items: flex-start;
  background: none; color: inherit; opacity: .8; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vs-ln__chev:hover { opacity: 1; }
.vs-ln__chevico { transform: translate3d(0, 6px, 0); backface-visibility: hidden; }
.vs-ln__chevico polyline { stroke-width: 1.2px; }

@media (min-width: 1024px) {
  .vs-ln:not(.is-stuck) .vs-ln__bg::after { left: 50%; width: var(--content-max); margin-left: calc(var(--content-max) / -2); }
}

@media (min-width: 834px) {
  .vs-ln__in { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "title tray action"; }
  .vs-ln__menu { display: flex; }
  .vs-ln__item + .vs-ln__item { margin-left: 24px; }
  .vs-ln__link { display: block; opacity: .8; }
  .vs-ln__link:hover, .vs-ln__link[aria-current="page"] { opacity: 1; }
  .vs-ln__link[aria-current="page"]::after { left: 0; bottom: -15px; width: 100%; height: 1px; border-radius: 1px; }
  .vs-button--ln { margin-left: 24px; }
}

@media (max-width: 833px) {
  .vs-ln__in {
    grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: var(--ln-h) auto;
    grid-template-areas: "title chev action" "tray tray tray";
  }
  .vs-js .vs-ln__chev { display: flex; }
  .vs-button--ln { margin-left: 16px; }
  .vs-ln__menu { padding: 34px 16px 27px; }
  .vs-ln__item { display: block; height: 34px; }
  .vs-ln__link { display: flex; align-items: center; height: 100%; }
  .vs-ln__link[aria-current="page"]::after { left: -16px; top: 50%; margin-top: -6px; width: 1.2px; height: 12px; border-radius: 1.2px; }
  :root:not(.vs-js) .vs-ln__link { opacity: .8; }
  .vs-js .vs-ln__link { opacity: 0; transform: translate3d(0, -4px, 0); }
  .vs-js .vs-ln.is-open .vs-ln__link { opacity: .8; transform: translate3d(0, 0, 0); }
  .vs-js .vs-ln.is-open:not(.is-opening) .vs-ln__link:hover,
  .vs-js .vs-ln.is-open:not(.is-opening) .vs-ln__link[aria-current="page"] { opacity: 1; }
  .vs-js .vs-ln.is-opening .vs-ln__link { pointer-events: none; }
  .vs-js .vs-ln__tray { max-height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
  .vs-js .vs-ln.is-open .vs-ln__tray {
    max-height: var(--tray-h); visibility: visible; pointer-events: auto;
  }
  .vs-js .vs-ln.is-open:not(.is-opening) .vs-ln__tray { overflow-y: auto; overscroll-behavior: contain; }
  .vs-ln.is-open .vs-ln__bg {
    background-color: rgb(var(--ln-rgb));
    -webkit-backdrop-filter: var(--ln-filter); backdrop-filter: var(--ln-filter);
  }
  .vs-ln-curtain {
    position: fixed; inset: 0; z-index: 19; visibility: hidden; opacity: 0; pointer-events: none;
    background-color: rgb(var(--sage-rgb) / .4);
  }
  .vs-ln[data-vs-theme="night"] + .vs-ln-curtain { background-color: rgb(var(--tile-night-rgb) / .4); }
  .vs-ln.is-open + .vs-ln-curtain {
    visibility: visible; opacity: 1; pointer-events: auto;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  }
}

/* ---------------------------------------------------------------- héros */
.vs-hero { text-align: center; }
.vs-hero--page { padding-block: var(--hero-top) var(--section); }
.vs-hero__copy { width: var(--row); margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.vs-hero__eyebrow {
  font-weight: 600; font-size: var(--eyebrow-fs); line-height: var(--eyebrow-lh); letter-spacing: var(--eyebrow-ls);
}
.vs-hero__title {
  margin-top: 8px; max-width: 20ch; font-weight: 600; text-wrap: balance;
  font-size: var(--hero-fs); line-height: var(--hero-lh); letter-spacing: var(--hero-ls);
}
.vs-hero__lead {
  margin-top: 20px; max-width: 680px; color: var(--fg-muted); text-wrap: pretty;
  font-size: var(--lead-fs); line-height: var(--lead-lh); letter-spacing: var(--lead-ls);
}
.vs-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; }
.vs-hero__media { width: var(--row); margin: var(--head-gap) auto 0; }
.vs-hero--text { padding-bottom: calc(var(--section) - var(--head-gap)); }
/* héros de la note (entropy) : image bord à bord, titre dans la même cellule que l'image, calé en bas sans position
   absolue ; le bas de l'image se fond dans la page par un masque (aucune couleur ajoutée), arrêts d'une courbe adoucie. */
.vs-cover { padding-bottom: var(--section); }
.vs-cover__media { margin: 0; }
.vs-cover__scene { display: grid; }
.vs-cover__scene > * { grid-area: 1 / 1; }
.vs-cover__img {
  width: 100%; height: auto; display: block;
  mask-image: linear-gradient(to bottom, #000 40%, rgb(0 0 0 / .93) 50%, rgb(0 0 0 / .8) 58%, rgb(0 0 0 / .6) 66%,
    rgb(0 0 0 / .38) 74%, rgb(0 0 0 / .2) 82%, rgb(0 0 0 / .08) 90%, transparent 100%);
}
.vs-cover__copy { align-self: end; padding: 0 calc((100% - var(--row)) / 2) clamp(24px, 4vw, 64px); }
.vs-cover__below { width: var(--row); margin-inline: auto; padding-top: clamp(8px, 1.4vw, 28px); }

/* ---------------------------------------------------------------- chapitres */
.vs-chapter { padding-block: var(--section); }
.vs-chapter--break-end { padding-bottom: var(--section-break); }
.vs-head { margin-bottom: var(--head-gap); }
.vs-head__title {
  font-weight: 600; text-wrap: balance;
  font-size: var(--h2-fs); line-height: var(--h2-lh); letter-spacing: var(--h2-ls);
}
.vs-head--story .vs-head__title { font-size: var(--story-fs); line-height: var(--story-lh); letter-spacing: var(--story-ls); }
.vs-head__label {
  margin-bottom: 12px; font-weight: 600; color: var(--action);
  font-size: var(--label-fs); line-height: var(--label-lh); letter-spacing: var(--label-ls);
}
.vs-head__lead {
  margin-top: 20px; max-width: 760px; color: var(--fg-muted); text-wrap: pretty;
  font-size: var(--lead-fs); line-height: var(--lead-lh); letter-spacing: var(--lead-ls);
}
.vs-intro {
  margin-bottom: var(--head-gap); max-width: 760px; color: var(--fg-muted);
  font-size: var(--lead-fs); line-height: var(--lead-lh); letter-spacing: var(--lead-ls);
}
.vs-coda {
  margin-top: var(--section); text-align: center; font-weight: 600; text-wrap: balance;
  font-size: var(--h2-fs); line-height: var(--h2-lh); letter-spacing: var(--h2-ls);
}
.vs-coda--quiet {
  margin-top: var(--head-gap); font-weight: 400; color: var(--fg-muted);
  font-size: var(--lead-fs); line-height: var(--lead-lh); letter-spacing: var(--lead-ls);
}

/* ---------------------------------------------------------------- tuiles (.bento-item mesuré) */
.vs-bento { display: grid; gap: var(--gap); width: var(--bento-w); margin-inline: auto; }
.vs-bento--1 { grid-template-columns: minmax(0, 1fr); }
.vs-bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-bento--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-tile { border-radius: var(--r-tile); overflow: hidden; background: var(--tile-bg); }
.vs-tile--text { display: flex; flex-direction: column; gap: 12px; padding: var(--tile-pad); }
.vs-tile--media img { width: 100%; }
.vs-tile__meta {
  font-weight: 600; color: var(--fg-muted);
  font-size: var(--tilelabel-fs); line-height: var(--tilelabel-lh); letter-spacing: var(--tilelabel-ls);
}
.vs-tile__title {
  font-weight: 600; text-wrap: balance;
  font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls);
}
.vs-tile__text {
  color: var(--fg-muted); text-wrap: pretty;
  font-size: var(--tilebody-fs); line-height: var(--tilebody-lh); letter-spacing: var(--tilebody-ls);
}
.vs-tile__action { padding-top: 12px; }
.vs-bento:not(:has(.vs-media)) .vs-tile__action { margin-top: auto; }
.vs-bento:has(.vs-media) .vs-tile--text { justify-content: center; }
.vs-tile:has(> .vs-tile__action a) { position: relative; }
.vs-tile__action a::after { content: ""; position: absolute; inset: 0; } /* carte entière cliquable (.feature-card) */
.vs-tile__glyphs { display: flex; gap: 12px; color: var(--action); }
.vs-media { text-align: left; }
.vs-media--portrait { max-width: 540px; margin-inline: auto; }
.vs-media__caption {
  margin-top: 14px; color: var(--fg-muted);
  font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls);
}
.vs-media__caption strong { color: var(--fg); font-weight: 600; }

/* ---------------------------------------------------------------- rangées à filets (index) : déclaration de la loi, maison */
/* une grille, un filet, un corps de titre (.typography-feature-callout) pour les deux ; pas de cartes */
.vs-statement__label {
  font-weight: 600; color: var(--action);
  font-size: var(--label-fs); line-height: var(--label-lh); letter-spacing: var(--label-ls);
}
.vs-statement__lines, .vs-rangs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.vs-statement__lines { margin-top: 24px; }
.vs-statement__lines span, .vs-rang { padding-top: 20px; border-top: 1px solid var(--rule); }
.vs-statement__lines span, .vs-rang__title {
  font-weight: 600; text-wrap: balance;
  font-size: var(--callout-fs); line-height: var(--callout-lh); letter-spacing: var(--callout-ls);
}
.vs-statement__action { margin-top: 32px; }
.vs-rang { display: flex; flex-direction: column; gap: 12px; }
.vs-rang > .vs-glyph { margin-bottom: 8px; color: var(--action); }
.vs-rang__text {
  color: var(--fg-muted); text-wrap: pretty;
  font-size: var(--tilebody-fs); line-height: var(--tilebody-lh); letter-spacing: var(--tilebody-ls);
}
.vs-rang__action { margin-top: auto; padding-top: 12px; }

/* ---------------------------------------------------------------- orbite (index) */
.vs-orbit__film { position: relative; height: 100svh; overflow: hidden; background: var(--night); }
.vs-orbit__poster { width: 100%; height: 100%; object-fit: cover; }
.vs-orbit__canvas { display: none; }
.vs-hero--orbit { padding-block: var(--hero-top) var(--section); }
.vs-orbit__tile { width: var(--row); margin: var(--head-gap) auto 0; aspect-ratio: 16 / 9; }
.vs-orbit__still { height: 100%; object-fit: cover; }

/* --land : atterrissage 0 -> 1 d'une scène (pas lissé de sa course), écrit par vs.js */
@media screen {
  .vs-scrub .vs-scene--orbit .vs-scene__track { height: var(--orbite-piste); }
  .vs-scrub .vs-scene--orbit .vs-scene__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--paper); }
  .vs-scrub .vs-orbit__film {
    position: absolute; inset: 0; z-index: 2; height: auto;
    clip-path: inset(calc(var(--land, 0) * var(--tt, 0px)) calc(var(--land, 0) * var(--tr, 0px))
                      calc(var(--land, 0) * var(--tb, 0px)) calc(var(--land, 0) * var(--tl, 0px))
                      round calc(var(--land, 0) * var(--r-tile)));
  }
  .vs-scrub .vs-orbit__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
  .vs-scrub .vs-hero--orbit {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
    padding-block: calc(var(--ln-h) + var(--scene-marge)) var(--scene-marge);
  }
  .vs-scrub .vs-orbit__tile { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
}

/* ---------------------------------------------------------------- film de la loi (index) : reprise de .law-cinema en ligne */
/* base : la vidéo dans sa tuile. Scène (.vs-motion) : l'étage colle, la tuile part de l'échelle qui couvre l'écran (--s,
   écrite par vs.js) et se pose à 1 ; le rayon suit l'atterrissage, divisé par l'échelle pour rester 28 px à l'écran.
   Tuile centrée dans l'étage, comme .media-block.pin-center d'apple.com. */
.vs-film { position: relative; width: var(--row); margin-inline: auto; aspect-ratio: 16 / 9; }
.vs-film__video { width: 100%; height: 100%; object-fit: cover; }
@media screen {
  .vs-motion .vs-scene--film .vs-scene__track { height: var(--film-piste); }
  .vs-motion .vs-scene--film .vs-scene__stage {
    position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center;
  }
  .vs-motion .vs-film {
    --film-r: calc(var(--land, 0) * var(--r-tile) / var(--s, 1));
    width: min(var(--row), calc((100vh - 2 * (var(--ln-h) + var(--scene-marge))) * 16 / 9));
    border-radius: var(--film-r); transform: scale(var(--s, 1));
  }
  .vs-motion .vs-scene--film:not(.is-landed) .vs-play--media { opacity: 0; pointer-events: none; }
}

/* ---------------------------------------------------------------- scènes à étapes */
.vs-split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--gap) * 3);
  grid-template-areas: "steps media";
}
.vs-steps, .vs-steps-wrap { grid-area: steps; }
.vs-split__media { grid-area: media; }
.vs-step { padding-block: 28px; }
:root:not(.vs-pin) .vs-step { border-top: 1px solid var(--rule); }
.vs-step__title {
  font-weight: 600; font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls);
}
.vs-step__num { color: var(--action); }
.vs-step__text { margin-top: 10px; color: var(--fg-muted); }
.vs-step__big {
  font-weight: 600; text-wrap: balance;
  font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls);
}
.vs-steps__head {
  font-weight: 600; font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls);
}
.vs-steps__lead { margin: 12px 0 28px; color: var(--fg-muted); }
.vs-split__media .vs-scene__stage { display: flex; align-items: flex-start; justify-content: center; }

.vs-pin .vs-split .vs-step { min-height: var(--etape-h); display: flex; flex-direction: column; justify-content: center; color: var(--fg-muted); }
.vs-pin .vs-split .vs-step[aria-current="step"] { color: var(--fg); }
.vs-pin .vs-split .vs-step[aria-current="step"] .vs-step__text { color: var(--fg); }
.vs-pin .vs-split .vs-steps { padding-bottom: var(--etape-fin); }
.vs-pin .vs-split__media .vs-scene__stage {
  position: sticky; top: var(--ln-h); height: calc(100vh - var(--ln-h)); align-items: center;
}

/* bilan de combustion (laboratory) */
.vs-ledger { width: 100%; max-width: 620px; }
.vs-ledger__frame { position: relative; overflow: hidden; aspect-ratio: var(--bilan-r); }
.vs-ledger__zoom { position: absolute; inset: 0; transform-origin: 0 0; counter-reset: repere; }
.vs-ledger__img { height: 100%; object-fit: cover; }
.vs-ledger__mark {
  position: absolute; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -14px 0 0 -14px;
  display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold);
  background: rgb(var(--night-rgb) / .62); color: var(--gold); counter-increment: repere;
  font-size: var(--micro-fs); line-height: 1; font-weight: 600;
}
.vs-ledger__mark::after { content: counter(repere); }
.vs-pin .vs-ledger { width: min(100%, calc((100vh - var(--ln-h) - 96px) * var(--bilan-r))); }
.vs-pin .vs-ledger__mark:not(.is-on) { opacity: 0; }

/* portée du contrôle (production) */
.vs-gates { width: 100%; max-width: 560px; }
.vs-gates__frame { position: relative; aspect-ratio: var(--flacon-r); }
.vs-gates__poster { height: 100%; object-fit: cover; }
.vs-gates__canvas { display: none; }
.vs-motion .vs-gates__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.vs-pin .vs-gates { width: min(100%, calc((100vh - var(--ln-h) - 120px) * var(--flacon-r))); }

/* registre (dossier) : un segment par rangée relie sa pastille à la suivante, rempli selon --p */
.vs-plate {
  position: relative; width: 100%; max-width: 560px; padding: var(--tile-pad); border-radius: var(--r-tile);
  background: var(--tile); color: var(--ink);
}
.vs-plate ul { display: grid; gap: var(--plate-gap); }
.vs-plate__row { position: relative; display: grid; grid-template-columns: 12px 96px minmax(0, 1fr); align-items: start; gap: 20px; }
.vs-plate__row img { width: auto; max-width: 96px; max-height: 72px; justify-self: center; }
.vs-plate__node {
  position: relative; z-index: 1; width: 12px; height: 12px; margin-top: 6px;
  border-radius: 50%; border: 1.5px solid var(--bronze); background: var(--bronze);
}
.vs-plate__row:not(:last-child)::before, .vs-plate__row:not(:last-child)::after {
  content: ""; position: absolute; left: 5px; top: 12px; width: 2px; height: calc(100% + var(--plate-gap));
}
.vs-plate__row:not(:last-child)::before { background: var(--line); }
.vs-plate__row:not(:last-child)::after {
  background: var(--bronze);
  clip-path: inset(0 0 calc((1 - clamp(0, var(--p, 1) * (var(--n) - 1) - var(--k), 1)) * 100%) 0);
}
.vs-plate__ref { font-weight: 600; font-size: var(--ref-fs); line-height: var(--ref-lh); letter-spacing: var(--ref-ls); white-space: nowrap; }
.vs-plate__cap { margin-top: 4px; color: var(--muted); font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls); }
.vs-plate__row.is-dim .vs-plate__node { background: var(--tile); }
.vs-plate__row.is-dim .vs-plate__ref { color: var(--muted); }

/* ---------------------------------------------------------------- méthode : segmenté (laboratory) */
.vs-method { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: calc(var(--gap) * 2); align-items: start; }
.vs-tri { position: relative; }
.vs-tri__veil { position: absolute; inset: 0; background: rgb(var(--night-rgb) / .64); opacity: 0; pointer-events: none; }
.vs-tri__veil--0 { clip-path: polygon(0 0, 36.6% 0, 28.5% 100%, 0 100%); }
.vs-tri__veil--1 { clip-path: polygon(36.6% 0, 73% 0, 64.5% 100%, 28.5% 100%); }
.vs-tri__veil--2 { clip-path: polygon(73% 0, 100% 0, 100% 100%, 64.5% 100%); }
.vs-method[data-seg="0"] .vs-tri__veil--1, .vs-method[data-seg="0"] .vs-tri__veil--2,
.vs-method[data-seg="1"] .vs-tri__veil--0, .vs-method[data-seg="1"] .vs-tri__veil--2,
.vs-method[data-seg="2"] .vs-tri__veil--0, .vs-method[data-seg="2"] .vs-tri__veil--1 { opacity: 1; }
.vs-seg__track {
  display: none; position: relative; grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 44px; padding: 4px; margin-bottom: 28px; border-radius: 999px; background: var(--sage);
}
.vs-js .vs-seg__track { display: grid; }
.vs-seg__thumb {
  position: absolute; top: 4px; left: 4px; width: calc((100% - 8px) / 3); height: 36px;
  border-radius: 999px; background: var(--ink); transform: translateX(calc(var(--seg, 0) * 100%));
}
.vs-seg__tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; border-radius: 999px;
  font: inherit; font-size: var(--btn-fs); line-height: var(--btn-lh); letter-spacing: var(--btn-ls); color: var(--ink);
}
.vs-seg__tab[aria-selected="true"] { color: #fff; }
.vs-seg__panel + .vs-seg__panel { margin-top: 24px; }
.vs-seg__panel h3 { font-weight: 600; font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls); }
.vs-seg__panel p { margin-top: 12px; color: var(--fg-muted); }

/* ---------------------------------------------------------------- galerie des points forts (.section-highlights mesurée) */
.vs-gallery__track {
  display: flex; gap: 20px; overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: var(--fondu-y); margin-bottom: calc(-1 * var(--fondu-y)); /* place du fondu des cartes (.scroll-container) */
  padding-inline: calc((100% - var(--col)) / 2); scroll-padding-inline: calc((100% - var(--col)) / 2);
  overscroll-behavior-x: contain;
}
.vs-gallery__track::-webkit-scrollbar { display: none; }
.vs-card {
  position: relative; flex: 0 0 var(--card-w); height: var(--card-h); scroll-snap-align: var(--card-snap); isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: var(--r-tile); overflow: clip; background: var(--night); color: var(--paper-ink);
}
.vs-card__cap {
  box-sizing: content-box; max-width: var(--cap-w); padding: var(--cap-inset) var(--cap-inset) 0;
  font-weight: 600; text-wrap: balance; color: rgb(var(--paper-ink-rgb) / .92);
  font-size: var(--cap-fs); line-height: var(--cap-lh); letter-spacing: var(--cap-ls);
}
.vs-card__media { position: relative; flex: 1 1 auto; min-height: 0; margin-top: var(--cap-inset); }
.vs-card__media > img, .vs-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-card__plate {
  position: absolute; inset: 0 var(--cap-inset) var(--cap-inset); display: flex; align-items: center; justify-content: center; gap: 48px;
  border-radius: var(--r-tile); background: var(--tile);
}
.vs-card__plate img { width: auto; max-height: 96px; }
.vs-gallery__controls {
  position: sticky; bottom: var(--ctrl-bottom); z-index: 2; margin-top: var(--ctrl-gap);
  display: flex; justify-content: center; align-items: center; gap: var(--dots-gap);
}
.vs-dots {
  display: none; align-items: center; gap: var(--dots-gap); height: var(--ctrl-h); padding-inline: var(--dots-pad);
  border-radius: 28px; background: var(--sage);
}
.vs-dot {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 10px; cursor: pointer; background: var(--dot);
}
.vs-dot::before { content: ""; position: absolute; box-sizing: content-box; width: 100%; height: 100%; padding: 8px; } /* cible 24x24 (.dotnav-link::before) */
.vs-dot[aria-current="true"] { width: var(--dot-on); overflow: hidden; pointer-events: none; }
.vs-dot__fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 10px; background: rgb(var(--ink-rgb) / .8); }
.vs-dot[aria-current="true"] .vs-dot__fill { width: 100%; }
.vs-play {
  display: none; place-items: center; width: var(--ctrl-h); height: var(--ctrl-h); padding: 0; border: 0; border-radius: 28px;
  background: var(--sage); color: var(--ink); cursor: pointer;
}
.vs-play:active { transform: scale(.95); }
.vs-play:not(.is-paused) .vs-play__play, .vs-play.is-paused .vs-play__pause { display: none; }
.vs-js .vs-dots { display: flex; }
.vs-motion .vs-play { display: grid; }
/* variante posée sur une vidéo : .media-block .inline-media-ui-button .play-pause-button (36 px, coin bas-droit à 20 px) */
.vs-play--media {
  position: absolute; right: 20px; bottom: 20px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; background: var(--media-scrim); color: var(--media-icon);
}
.vs-play--media:hover { background: var(--media-scrim-hover); color: var(--media-icon-hover); }
.vs-play--media:active { background: var(--media-scrim-down); }
.vs-js .vs-play--media { display: grid; } /* la lecture reste offerte en mouvement réduit */
@media (min-width: 735px), (max-width: 480px) and (max-height: 926px) { /* mode « enhanced » d'apple.com : ressort des commandes */
  .vs-motion .vs-gallery:not(.is-active) .vs-gallery__controls { transform: translate3d(0, var(--ressort-y), 0); }
}

/* ---------------------------------------------------------------- formulaire (contact) */
.vs-enquiry { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; }
.vs-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs-field--full { grid-column: 1 / -1; }
.vs-field > span, .vs-choice > legend {
  display: block; margin-bottom: var(--label-gap); font-weight: 600;
  font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls);
}
.vs-field input, .vs-field textarea {
  --focus-offset: 0px;
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--control-line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: inherit; scroll-margin-top: var(--field-scroll);
}
.vs-field textarea { resize: vertical; min-height: 168px; }
.vs-choice { border: 0; min-width: 0; }
.vs-choice__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs-choice__opt { position: relative; display: block; cursor: pointer; }
.vs-choice__opt:last-child:nth-child(odd) { grid-column: 1 / -1; } /* nombre impair de sujets : le dernier prend la ligne */
.vs-choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; scroll-margin-top: var(--field-scroll); }
.vs-choice__opt span { display: block; min-height: 48px; padding: 12px 14px; border: 1px solid var(--control-line); border-radius: 12px; background: var(--paper); }
.vs-choice__opt input:checked + span { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: -2px; }
.vs-choice__opt input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.vs-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vs-form__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.vs-form__status { color: var(--fg-muted); font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls); }
.vs-address__list { display: grid; gap: 10px; margin-top: 8px; color: var(--fg-muted); }
.vs-address__list li { padding-top: 10px; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- pied (#ac-globalfooter mesuré) */
.vs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vs-footer {
  background: var(--paper-alt); color: var(--footer-ink);
  font-size: var(--micro-fs); line-height: var(--micro-lh); letter-spacing: var(--micro-ls);
}
.vs-footer__in {
  max-width: var(--content-max); box-sizing: content-box; margin-inline: auto;
  padding-inline: max(var(--edge), env(safe-area-inset-left)) max(var(--edge), env(safe-area-inset-right));
}
.vs-footer a { color: rgb(var(--ink-rgb) / .72); text-decoration: none; }
.vs-footer a:hover { text-decoration: underline; }
.vs-footer__notes { padding: 17px 0 11px; border-bottom: 1px solid rgb(var(--ink-rgb) / .16); }
.vs-footer__notes p + p { margin-top: 8px; }
.vs-footer__crumbs { display: flex; align-items: center; gap: 8px; padding-block: 17px; color: rgb(var(--ink-rgb) / .72); }
.vs-footer__crumbs .vs-ico { width: 5px; height: 9px; color: rgb(var(--ink-rgb) / .56); }
.vs-footer__title { font-size: inherit; font-weight: 400; }
.vs-footer__toggle { display: none; }
.vs-footer__label { display: block; margin-bottom: .8em; font-weight: 600; color: rgb(var(--ink-rgb) / .88); }
.vs-footer__list a .vs-ico { width: 8px; height: 8px; margin-left: 3px; vertical-align: 0; }
.vs-footer__end { display: flex; justify-content: space-between; }
.vs-footer__legal { position: relative; top: -3px; }
.vs-footer__copy, .vs-footer__links { margin-top: 5px; }
.vs-footer__links li { position: relative; display: inline-block; margin-right: 6px; padding-right: 9px; }
.vs-footer__links li:not(:last-child)::after {
  content: ""; position: absolute; top: 3px; right: -1px; width: 1px; height: 10px; background-color: rgb(var(--ink-rgb) / .48);
}
.vs-footer__locale { margin-top: 5px; position: relative; top: -3px; white-space: nowrap; }
/* réseaux : pictogrammes seuls, dernière rangée du pied ; tracé de 20 px, zone de clic de 44 px (minimum Apple) */
.vs-footer__social { display: flex; margin: 6px -12px -12px; }
.vs-footer__social a { --focus-offset: -6px; display: block; padding: 12px; }
.vs-footer__social a:hover { color: var(--ink); }
.vs-footer__mark { display: block; width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .vs-footer__legal { display: flex; flex-wrap: wrap; column-gap: 30px; }
  .vs-footer__links li { margin-top: 5px; }
  .vs-footer__more { padding-bottom: 19px; margin-bottom: 16px; border-bottom: 1px solid rgb(var(--ink-rgb) / .16); }
}
@media (min-width: 834px) {
  .vs-footer__base { padding-top: 37px; padding-bottom: max(11px, env(safe-area-inset-bottom)); }
  .vs-footer__dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
  .vs-footer__list { margin-right: 20px; }
  .vs-footer__list li { margin-bottom: .8em; }
  .vs-footer__list a { display: inline-block; padding-block: 4px; margin-block: -4px; }
}
@media (min-width: 834px) and (max-width: 1023px) {
  .vs-footer__more { padding-bottom: 18px; margin-bottom: 17px; border-bottom: 1px solid rgb(var(--ink-rgb) / .16); }
  .vs-footer__links li { margin-top: 4px; }
}
@media (max-width: 833px) {
  .vs-footer__crumbs { border-bottom: 1px solid rgb(var(--ink-rgb) / .16); }
  .vs-footer__dir { display: flex; flex-direction: column; }
  .vs-footer__sec {
    position: relative; z-index: 1; overflow: hidden; margin-left: -4px; width: calc(100% + 8px); padding: 0 4px 1px;
  }
  .vs-footer__sec::after {
    content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; z-index: 3; height: 1px;
    background-color: rgb(var(--ink-rgb) / .16);
  }
  .vs-js .vs-footer__label { display: none; }
  .vs-js .vs-footer__toggle {
    display: block; position: relative; z-index: 2; width: 100%; margin: 0; padding: 10px 0; border: 0;
    background: var(--paper-alt); font: inherit; color: rgb(var(--ink-rgb) / .88);
    text-align: left; cursor: pointer; user-select: none; outline: none; /* anneau porté par ::after, comme .ac-gf */
  }
  .vs-js .vs-footer__toggle::after { content: ""; position: absolute; inset: 0 -4px; }
  .vs-js .vs-footer__toggle:focus-visible::after { outline: 2px solid var(--action); outline-offset: -2px; }
  .vs-js .vs-footer__toggle:hover, .vs-footer__sec.is-expanded .vs-footer__toggle { color: var(--ink); }
  .vs-footer__ico { float: right; margin-top: 5px; }
  .vs-footer__list { padding: 5px 0 16px; }
  .vs-js .vs-footer__list {
    position: absolute; top: 100%; left: 0; z-index: -1; width: 100%; overflow: hidden;
    visibility: hidden; transform: translateY(-100px);
  }
  .vs-js .vs-footer__sec.is-expanded .vs-footer__list { position: static; z-index: 1; visibility: visible; transform: none; }
  .vs-footer__list a { --focus-offset: -6px; display: block; padding: 6px 14px; }
  .vs-footer__list li:not(:has(> a)) { padding: 6px 14px; }
  .vs-footer__base { padding-top: 17px; padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .vs-footer__more { padding-bottom: 8px; margin-bottom: 8px; }
  .vs-footer__end { flex-direction: column; }
  .vs-footer__locale { order: -1; padding-top: 4px; }
  .vs-footer__legal { padding-top: 12px; }
  .vs-footer__links li { margin-top: 8px; }
}

/* ---------------------------------------------------------------- note scientifique (entropy) : lecture longue */
/* Mode lecture : une colonne de 760 px au plus, alignée sur la rangée ; tableaux, formules, figure et références
   sont des composants de la note, jamais des variantes d'un composant existant. */
.vs-flow > * + * { margin-top: var(--head-gap); }
.vs-flow sub, .vs-flow sup, .vs-hero sub { line-height: 0; }
.vs-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.vs-figures li { padding-top: 20px; border-top: 1px solid var(--rule); }
.vs-figures__value {
  font-weight: 600; color: var(--action); font-variant-numeric: tabular-nums;
  font-size: var(--story-fs); line-height: var(--story-lh); letter-spacing: var(--story-ls);
}
.vs-figures__text {
  margin-top: 12px; color: var(--fg-muted); text-wrap: pretty;
  font-size: var(--tilebody-fs); line-height: var(--tilebody-lh); letter-spacing: var(--tilebody-ls);
}
.vs-toc__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); counter-reset: vs-toc; }
.vs-toc__list li { border-top: 1px solid var(--rule); counter-increment: vs-toc; }
.vs-toc__link {
  display: flex; gap: 12px; padding-block: 14px; text-decoration: none;
  font-size: var(--link-fs); line-height: var(--link-lh); letter-spacing: var(--link-ls);
}
.vs-toc__link::before { content: counter(vs-toc, decimal-leading-zero); font-weight: 600; color: var(--action); font-variant-numeric: tabular-nums; }
.vs-toc__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.vs-prose > * { max-width: 760px; }
.vs-prose > p + p { margin-top: 1em; }
.vs-prose > * + h3 { margin-top: var(--head-gap); }
.vs-prose h3 { font-weight: 600; font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls); }
.vs-prose h3 + p { margin-top: 12px; }
.vs-prose b, .vs-tile__text b, .vs-table__note b { font-weight: 600; color: var(--fg); }
.vs-cite { color: var(--action); text-decoration: none; font-variant-numeric: tabular-nums; }
.vs-cite:hover { text-decoration: underline; text-underline-offset: 3px; }
.vs-formula {
  padding-block: 8px; color: var(--fg); text-wrap: balance;
  font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls);
}
.vs-table__cap {
  margin-bottom: 16px; font-weight: 600; text-wrap: balance;
  font-size: var(--tilebody-fs); line-height: var(--tilebody-lh); letter-spacing: var(--tilebody-ls);
}
.vs-table__label {
  display: block; margin-bottom: 4px; color: var(--action);
  font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls);
}
.vs-table__scroll { overflow-x: auto; border-radius: var(--r-tile); background: var(--tile-bg); }
.vs-table__scroll table {
  width: 100%; border-collapse: collapse; text-align: left;
  font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls);
}
.vs-table__scroll th, .vs-table__scroll td { padding: 14px 20px; vertical-align: top; }
.vs-table__scroll th { font-weight: 600; color: var(--fg); }
.vs-table__scroll td { color: var(--fg-muted); }
.vs-table__scroll thead th { border-bottom: 1px solid var(--rule); }
.vs-table__scroll tbody tr + tr > * { border-top: 1px solid var(--rule); }
.vs-table__note {
  margin-top: 14px; max-width: 760px; color: var(--fg-muted);
  font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls);
}
.vs-bars { margin-block: 8px; }
.vs-bars__list { display: grid; gap: 22px; }
.vs-bars__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px;
  grid-template-areas: "label value" "base value" "track track";
}
.vs-bars__label, .vs-bars__base, .vs-bars__value { font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls); }
.vs-bars__label { grid-area: label; font-weight: 600; color: var(--fg); }
.vs-bars__base { grid-area: base; color: var(--fg-muted); }
.vs-bars__value { grid-area: value; align-self: end; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-bars__track { grid-area: track; position: relative; height: 12px; margin-top: 10px; border-radius: 999px; background: var(--sage); }
.vs-bars__range { position: absolute; top: 0; bottom: 0; left: var(--x); width: max(4px, var(--s)); border-radius: 999px; background: var(--fg-muted); }
.vs-bars__row--accent .vs-bars__range { background: var(--action); }
.vs-bars__row--accent .vs-bars__value { color: var(--action); }
.vs-bars__axis {
  display: flex; justify-content: space-between; margin-top: 10px; color: var(--fg-muted); font-variant-numeric: tabular-nums;
  font-size: var(--micro-fs); line-height: var(--micro-lh); letter-spacing: var(--micro-ls);
}
.vs-refs > * + .vs-refs__title { margin-top: var(--head-gap); }
.vs-refs__title { font-weight: 600; font-size: var(--tile-fs); line-height: var(--tile-lh); letter-spacing: var(--tile-ls); }
.vs-refs__list { margin-top: 16px; }
.vs-refs__list li {
  padding-block: 14px; border-top: 1px solid var(--rule); color: var(--fg-muted); overflow-wrap: anywhere;
  font-size: var(--small-fs); line-height: var(--small-lh); letter-spacing: var(--small-ls);
}
.vs-refs__key { margin-right: 8px; font-weight: 600; color: var(--fg); font-variant-numeric: tabular-nums; }
.vs-refs__list a { color: var(--action); text-decoration: none; }
.vs-refs__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- tablette */
@media (max-width: 1068px) {
  .vs-bento--3, .vs-toc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-split, .vs-method, .vs-enquiry { grid-template-columns: minmax(0, 1fr); row-gap: var(--head-gap); grid-template-areas: "media" "steps"; }
  .vs-split__media .vs-scene__stage { justify-content: flex-start; }
}
@media (min-width: 735px) {
  .vs-head__title { max-width: 75%; }
  .vs-bento--2 > .vs-media:first-child:nth-last-child(3) { grid-row: span 2; }
}

/* ---------------------------------------------------------------- mobile */
@media (max-width: 734px) {
  .vs-bento--2, .vs-bento--3, .vs-statement__lines, .vs-rangs, .vs-form__grid, .vs-choice__grid, .vs-figures, .vs-toc__list { grid-template-columns: minmax(0, 1fr); }
  .vs-table__scroll table { min-width: 620px; }
  .vs-card__plate { flex-direction: column; gap: 20px; }
  .vs-card__plate img { max-height: 56px; }
  .vs-plate__row { grid-template-columns: 12px 64px minmax(0, 1fr); gap: 14px; }
  .vs-plate__row img { max-width: 64px; max-height: 52px; }
  .vs-plate__ref { white-space: normal; }
}

/* ---------------------------------------------------------------- apparition échelonnée (StaggeredFadeIn mesurée) */
.vs-motion .vs-stagger:not(.is-staggered) .vs-stagger__item { opacity: 0; transform: translate3d(0, var(--fondu-y), 0); }

/* ---------------------------------------------------------------- mouvement : écrit une seule fois, seulement si autorisé */
@media (prefers-reduced-motion: no-preference) {
  .vs-button { transition: background-color var(--dur-glass) var(--ease-glass); }
  .vs-gnav__brand, .vs-gnav__link, .vs-ln__chev { transition: opacity var(--dur-hover) ease; }
  .vs-seg__thumb { transition: transform var(--dur-seg) ease-out; }
  .vs-seg__tab { transition: color var(--dur-seg) ease-out; }
  .vs-tri__veil { transition: opacity var(--dur-seg) ease-out; }
  .vs-pin .vs-split .vs-step, .vs-pin .vs-split .vs-step__text { transition: color var(--dur-seg) ease-out; }
  .vs-ledger__mark { transition: opacity var(--dur-seg) ease-out; }
  .vs-plate__node, .vs-plate__ref { transition: background-color var(--dur-seg) ease-out, color var(--dur-seg) ease-out; }
  .vs-dot { transition: background-color var(--dur-dot) linear; }
  .vs-play { transition: transform var(--dur-press) ease-out; }
  .vs-play--media { transition: opacity var(--dur-media-fade) linear, transform var(--dur-media) ease; }
  .vs-skip { transition: transform var(--dur-hover) ease-out; }
  .vs-ls__close { transition: color var(--dur-ls-croix) var(--ease-tray); }
  .vs-gallery.is-active .vs-gallery__controls { transition: transform var(--ressort-d) var(--ressort-e); }
  .vs-stagger.is-staggered .vs-stagger__item {
    transition: opacity var(--fondu-op-d) var(--fondu-op-e) calc(var(--i) * var(--fondu-pas)),
                transform var(--fondu-tr-d) var(--fondu-tr-e) calc(var(--i) * var(--fondu-pas));
  }
}
@media (min-width: 834px) and (prefers-reduced-motion: no-preference) {
  .vs-ln__bg { transition: background-color var(--dur-glass) var(--ease-glass); }
  .vs-ln__link { transition: opacity var(--dur-hover) ease; }
}
@media (max-width: 833px) and (prefers-reduced-motion: no-preference) {
  .vs-ln__bg { transition: background-color var(--tiroir-d) var(--ease-tray) var(--tiroir-retard); }
  .vs-ln.is-open .vs-ln__bg { transition: background-color var(--tiroir-d) var(--ease-tray); }
  .vs-ln__tray { transition: max-height var(--tiroir-d) var(--ease-tray) var(--tiroir-retard), visibility var(--tiroir-vis) linear; }
  .vs-ln.is-open .vs-ln__tray { transition: max-height var(--tiroir-d) var(--ease-tray), visibility 0s linear; }
  .vs-ln__item:nth-child(1) { --k: 0; }
  .vs-ln__item:nth-child(2) { --k: 1; }
  .vs-ln__item:nth-child(3) { --k: 2; }
  .vs-ln__item:nth-child(4) { --k: 3; }
  .vs-ln__item:nth-child(5) { --k: 4; }
  .vs-ln__link {
    transition: opacity calc(var(--sortie-0) - var(--k) * var(--lien-pas)) var(--ease-tray),
                transform calc(var(--sortie-0) - var(--k) * var(--lien-pas)) var(--ease-tray);
  }
  .vs-ln.is-open .vs-ln__link { transition-duration: var(--tiroir-d); transition-delay: calc(var(--lien-0) + var(--k) * var(--lien-pas)); }
  .vs-ln.is-open:not(.is-opening) .vs-ln__link:hover { transition-delay: 0s; }
  .vs-ln-curtain {
    transition: opacity var(--tiroir-d) var(--ease-tray) var(--tiroir-retard), backdrop-filter var(--tiroir-d) var(--ease-tray) var(--tiroir-retard),
                -webkit-backdrop-filter var(--tiroir-d) var(--ease-tray) var(--tiroir-retard), visibility 0s linear calc(var(--tiroir-retard) + var(--tiroir-d));
  }
  .vs-ln.is-open + .vs-ln-curtain {
    transition: opacity var(--tiroir-d) var(--ease-tray), backdrop-filter var(--tiroir-d) var(--ease-tray),
                -webkit-backdrop-filter var(--tiroir-d) var(--ease-tray), visibility 0s linear;
  }
  .vs-footer__sec.is-expanded .vs-footer__list { transition: transform var(--dur-footer) ease; }
}

/* ---------------------------------------------------------------- préférences */
@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --paper-muted: var(--paper-ink); }
  .vs-tile { outline: 1px solid currentColor; outline-offset: -1px; }
}
@media (forced-colors: active) {
  .vs-seg__tab[aria-selected="true"], .vs-choice__opt input:checked + span { outline: 2px solid Highlight; }
  .vs-plate__node { forced-color-adjust: none; }
}
