  /* ============ TOKENS ============ */
  /* Deux thèmes, une bascule (décision Alexandre 2026-10-24, qui lève le thème unique du 2026-07-10).
     L'ardoise par défaut ; le papier quand le système préfère le clair ou quand la bascule le pose
     (data-theme sur <html>, posé avant le premier rendu par le script inline du <head>).
     Le papier vient de la charte des schémas : ce n'est pas une inversion de l'ardoise.
     Lot 1 (2026-10-24) : le site lit comme le monde de l'application (les Réglages de Manou) :
     corps en sans système, titres en serif, panneaux à filet 1 px, bouton lavande plein. */
  :root{
    color-scheme:dark;
    --paper:#0F1420;          /* ardoise — le fond par défaut */
    --paper-raise:#161C2C;    /* panneaux, surfaces posées */
    --ink:#E8E9E1;            /* encre inversée — ce qui fait foi */
    --ink-strong:#F6F6F0;
    --ink-soft:color-mix(in srgb, var(--ink) 80%, var(--paper));   /* chapôs, texte second */
    --encre:#8CA0F2;          /* accent : encre de bureau, éclaircie (unique) */
    --encre-hover:#A0B1F5;
    --encre-soft:#8CA0F226;
    --ghost:#8A93AD;          /* graphite — le flux, ce qui bouge */
    --ghost-faint:#8A93AD59;
    --sauge:#8FB89B;          /* le réel branché */
    --rule:#28304A;           /* filets du registre, bord des panneaux */
    --rule-soft:#1E2536;
    --rule-strong:#3A4466;    /* bord du bouton secondaire */
    --erreur:#B3563F;
    --scrim:rgba(6,9,16,.92); /* fond de la lightbox */
    --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
    --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Inter,system-ui,sans-serif;
    --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
    --radius:10px;            /* le rayon des panneaux de l'app */
    --gutter:24px;
  }
  /* Le papier (contrastes mesurés sur #F5F6F3 : encre 14,8:1, texte second 7,9:1, accent 7,1:1,
     graphite 5,2:1, sauge 5,8:1). Deux sélecteurs, la même palette : la préférence du système
     sans choix mémorisé, puis le choix de la bascule. */
  @media (prefers-color-scheme: light){
    :root:not([data-theme="dark"]){
      color-scheme:light;
      --paper:#F5F6F3; --paper-raise:#FFFFFF; --ink:#16213A; --ink-strong:#0B1226;
      --encre:#2743C8; --encre-hover:#1F37A8; --encre-soft:#2743C826;
      --ghost:#5E6682; --ghost-faint:#5E668259; --sauge:#2F6B47;
      --rule:#D8DBD2; --rule-soft:#E6E8E1; --rule-strong:#B9BEB2;
      --erreur:#A6452F; --scrim:rgba(245,246,243,.95);
    }
  }
  :root[data-theme="light"]{
    color-scheme:light;
    --paper:#F5F6F3; --paper-raise:#FFFFFF; --ink:#16213A; --ink-strong:#0B1226;
    --encre:#2743C8; --encre-hover:#1F37A8; --encre-soft:#2743C826;
    --ghost:#5E6682; --ghost-faint:#5E668259; --sauge:#2F6B47;
    --rule:#D8DBD2; --rule-soft:#E6E8E1; --rule-strong:#B9BEB2;
    --erreur:#A6452F; --scrim:rgba(245,246,243,.95);
  }
  /* Les images jumelles : chaque figure porte un tirage par thème, commuté ici, sans JS.
     Les deux sont en loading="lazy" : le tirage masqué ne se télécharge pas. */
  :root[data-theme="light"] .only-dark{display:none !important}
  :root[data-theme="dark"] .only-light{display:none !important}
  @media (prefers-color-scheme: light){ :root:not([data-theme]) .only-dark{display:none !important} }
  @media not (prefers-color-scheme: light){ :root:not([data-theme]) .only-light{display:none !important} }
  @media (max-width:600px){ :root{ --gutter:16px } }

  /* ============ BASE ============ */
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  @media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} }
  body{
    margin:0; background:var(--paper); color:var(--ink);
    font-family:var(--sans); font-size:16px; line-height:1.55;
    -webkit-font-smoothing:antialiased; overflow-x:clip;
  }
  @media (min-width:1100px){ body{font-size:17px} }
  a{color:inherit}
  a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--encre); outline-offset:3px}
  ::selection{background:var(--encre-soft)}

  .wrap{max-width:1148px; margin:0 auto; padding:0 var(--gutter)}
  .col{max-width:720px}

  /* deux traitements : l'encré / le fantôme. */
  .foi,.flux,.acc{color:var(--encre)}
  .nb{white-space:nowrap}
  em{font-style:italic}

  .label{
    font-family:var(--mono); font-size:11.5px; letter-spacing:.14em;
    text-transform:uppercase; color:var(--ghost); font-weight:500;
  }
  .label .n{color:var(--encre)}

  /* la langue des titres reste serif (la signature « fait foi ») ; le texte est sans */
  h1,h2{font-family:var(--serif); font-weight:600; text-wrap:balance; margin:0; color:var(--ink-strong)}
  h2{font-size:clamp(30px,3.4vw,40px); line-height:1.12; letter-spacing:-.015em; max-width:24ch}
  h3{font-family:var(--sans); font-weight:600; font-size:17.5px; line-height:1.35; margin:0; color:var(--ink-strong); letter-spacing:-.005em}
  p{margin:0}

  /* ============ NAV ============ */
  header{
    position:sticky; top:0; z-index:50;
    background:color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid var(--rule-soft);
  }
  .nav{display:flex; align-items:center; gap:24px; height:60px}
  .wordmark{font-family:var(--serif); font-size:22px; font-weight:600; letter-spacing:.01em; text-decoration:none; color:var(--ink-strong)}
  .nav nav{display:flex; gap:26px; margin-left:auto}
  .nav nav a{font-size:14px; text-decoration:none; color:var(--ghost)}
  .nav nav a:hover{color:var(--ink)}
  .nav nav a[aria-current="page"]{color:var(--ink)}
  .nav-tools{display:flex; align-items:center; gap:6px}
  .lang{
    display:flex; align-items:center; gap:5px; font-family:var(--mono); font-size:11.5px;
    letter-spacing:.08em; color:var(--ghost); text-decoration:none;
    height:32px; padding:0 10px; border:1px solid var(--rule); border-radius:8px;
  }
  .lang:hover{color:var(--ink)}
  .lang svg{width:14px; height:14px}
  /* la bascule jour/nuit : le soleil en ardoise (passer au papier), la lune sur papier */
  .theme-toggle{
    display:flex; align-items:center; justify-content:center; width:32px; height:32px; padding:0;
    background:none; border:1px solid var(--rule); border-radius:8px; color:var(--ghost); cursor:pointer;
  }
  .theme-toggle:hover{color:var(--ink)}
  .theme-toggle svg{width:15px; height:15px}
  .burger{
    display:none; background:none; border:1px solid var(--rule); border-radius:8px;
    padding:9px 10px; cursor:pointer; margin-left:4px;
  }
  .burger span{
    display:block; width:16px; height:2px; background:var(--ink); margin:3px 0;
    transition:transform .15s ease, opacity .15s ease;
  }
  @media (prefers-reduced-motion: reduce){ .burger span{transition:none} }

  /* ============ BOUTONS (comme « Brancher » dans les Réglages de l'app) ============ */
  .btn{
    display:inline-flex; align-items:center; justify-content:center; height:42px; padding:0 20px;
    font-family:var(--sans); font-size:15px; font-weight:600; letter-spacing:0;
    border-radius:8px; text-decoration:none; border:1px solid transparent; white-space:nowrap;
    transition:background-color .12s ease, border-color .12s ease;
  }
  .btn.solid{background:var(--encre); color:var(--paper)}
  .btn.solid:hover{background:var(--encre-hover)}
  .btn.line{color:var(--ink); border-color:var(--rule-strong); background:transparent}
  .btn.line:hover{border-color:var(--ghost)}
  .nav .btn{height:36px; padding:0 14px; font-size:14px}
  @media (max-width:480px){ .nav .btn{display:none} }
  @media (max-width:820px){
    .nav nav{display:none}
    .burger{display:block}
    .nav .nav-tools{margin-left:auto}
    header.nav-open .nav nav{
      display:flex; flex-direction:column; gap:0; position:absolute; left:0; right:0; top:100%;
      margin-left:0; background:var(--paper); border-bottom:1px solid var(--rule);
      padding:4px var(--gutter) 12px;
    }
    header.nav-open .nav nav a{padding:12px 0; font-size:15px; border-top:1px solid var(--rule-soft)}
    header.nav-open .burger span:nth-child(1){transform:translateY(5px) rotate(45deg)}
    header.nav-open .burger span:nth-child(2){opacity:0}
    header.nav-open .burger span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
  }

  /* ============ HERO ============ */
  .hero{position:relative; overflow:hidden; border-bottom:1px solid var(--rule-soft)}
  .hero .wrap{position:relative; padding-top:72px; padding-bottom:64px}
  .hero .wrap.hero-grid{display:grid; grid-template-columns:minmax(0,1fr) clamp(300px,34vw,460px); gap:40px; align-items:center}
  .hero-copy{min-width:0}
  .hero h1{
    font-size:clamp(44px,5.2vw,64px); line-height:1.05; letter-spacing:-.02em;
    max-width:14ch; margin:18px 0 26px;
  }
  .hero h1 .enc{color:var(--encre)}
  /* chaque ligne du titre reste entière, quelle que soit la police servie (Iowan sur Mac, Palatino sur Windows) */
  .hero h1 .ligne{display:block; white-space:nowrap}
  .hero h1:has(.ligne){max-width:none; font-size:clamp(34px,5.2vw,64px)}
  @media (max-width:600px){ .hero h1:has(.ligne){font-size:clamp(30px,9.4vw,44px)} }
  .hero .sub{max-width:56ch; font-size:18px; line-height:1.55; color:var(--ink-soft); text-wrap:pretty}
  .hero .sub + .sub{margin-top:14px}
  .hero .sub.app{color:var(--ink)}
  .cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:32px}
  /* la ligne de faits, comme la ligne de preuve de past.dev : mono graphite, une rangée */
  .faits{display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin-top:28px;
    font-family:var(--mono); font-size:12px; letter-spacing:.04em; color:var(--ghost)}
  .faits .sep{color:var(--rule)}
  .faits .ia{display:inline-flex; align-items:center; gap:6px; color:var(--ink)}
  .faits .ia svg{width:14px; height:14px; flex:none; color:var(--ghost)}
  .hero-art picture{display:block}
  /* une seule image, la bleue, dans les deux thèmes (retour d'Alexandre du 24/10) : le rayon des panneaux
     la pose sur le papier sans arête vive ; sur l'ardoise il ne se voit pas */
  .hero-art img{display:block; width:100%; height:auto; cursor:zoom-in; border-radius:var(--radius)}
  .hero .hero-wp{grid-column:1/-1; margin-top:8px; margin-bottom:0}
  @media (max-width:920px){
    .hero .wrap.hero-grid{display:block}
    .hero-art{max-width:560px; margin:40px auto 0}
  }
  @media (max-width:600px){
    .hero .wrap{padding-top:48px; padding-bottom:48px}
    .hero h1{margin:14px 0 18px}
    .hero .sub{font-size:17px}
    .cta-row{margin-top:26px}
    .cta-row .btn{flex:1 1 auto}
  }

  /* le jeu du nom : per·manence, ré·manence, im·manence (serif, la signature) */
  .wordplay{
    margin-top:48px; text-align:right; line-height:1; font-family:var(--serif);
    font-size:clamp(42px,6vw,68px); font-weight:600; letter-spacing:-.02em;
    color:var(--encre); opacity:.5; user-select:none;
  }
  .wordplay .pre{color:var(--ghost); opacity:.5; font-weight:400}
  .wordplay .cap{
    display:block; margin-top:12px; font-family:var(--mono); font-size:11px;
    letter-spacing:.14em; text-transform:uppercase; color:var(--ghost); font-weight:400;
  }

  /* ============ SECTIONS : cote + h2 + chapô + un objet ============ */
  section{border-bottom:1px solid var(--rule-soft)}
  [id]{scroll-margin-top:68px}
  .sec{display:block; padding:96px var(--gutter)}
  .sec .cote{margin-bottom:18px}
  .sec .cote .label{display:block}
  @media (max-width:820px){ .sec{padding:64px var(--gutter)} }
  .lede{font-size:18px; line-height:1.55; color:var(--ink-soft); margin-top:18px; max-width:56ch; text-wrap:pretty}
  .body-p{margin-top:16px; max-width:58ch; text-wrap:pretty}
  .body-p b{color:var(--ink-strong)}
  .pull{
    margin-top:34px; padding-left:22px; border-left:3px solid var(--encre);
    font-family:var(--serif); font-size:23px; line-height:1.4; max-width:52ch; color:var(--ink-strong);
    text-wrap:balance;
  }
  .lien,.terrain a{color:var(--encre); text-decoration:none; border-bottom:1px solid var(--encre-soft)}
  .lien:hover,.terrain a:hover{border-bottom-color:var(--encre)}
  .suite{display:inline-block; margin-top:20px; font-size:15px; font-weight:600; color:var(--encre); text-decoration:none}
  .suite:hover{text-decoration:underline; text-underline-offset:3px}

  /* ============ LE PANNEAU : l'objet de base (surface, filet 1 px, rayon 10, sans ombre) ============ */
  .panel,.win{
    background:var(--paper-raise); border:1px solid var(--rule); border-radius:var(--radius);
    overflow:hidden; margin:0;
  }
  .panel-bar,.win .bar{
    display:flex; align-items:center; gap:10px; min-height:38px; padding:8px 14px;
    border-bottom:1px solid var(--rule);
    font-family:var(--mono); font-size:11.5px; letter-spacing:.04em; color:var(--ghost);
    overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
  }
  .win .bar .dot{width:8px; height:8px; border-radius:50%; background:var(--rule); flex:none}
  .win pre{
    margin:0; padding:16px 18px; overflow-x:auto;
    font-family:var(--mono); font-size:12.5px; line-height:1.65; color:var(--ink);
    font-variant-numeric:tabular-nums;
  }
  .win .k{color:var(--encre); font-weight:600}
  .win .u{color:var(--encre); font-weight:600}
  .win .c{color:var(--ghost)}
  .win .g{color:var(--sauge)}
  .win .hl{background:var(--encre-soft); border-radius:2px; padding:0 3px}
  /* une preuve (capture réelle, datée) posée dans un panneau */
  .panel img,.panel video{display:block; width:100%; height:auto}
  .panel .shot{cursor:zoom-in}
  .panel figcaption,.figcap{
    padding:10px 14px; border-top:1px solid var(--rule);
    font-family:var(--mono); font-size:11.5px; line-height:1.5; letter-spacing:.03em; color:var(--ghost); text-wrap:pretty;
  }

  /* ============ § 1 · MANOU : trois items à gauche, le panneau à droite ============ */
  .split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,400px); gap:56px; align-items:start}
  @media (max-width:900px){ .split{grid-template-columns:minmax(0,1fr); gap:40px} }
  .items{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule)}
  .items li{display:grid; grid-template-columns:44px minmax(0,1fr); gap:8px; padding:24px 0; border-bottom:1px solid var(--rule)}
  .items .num{font-family:var(--mono); font-size:13px; letter-spacing:.06em; color:var(--encre); padding-top:2px}
  .items p{margin-top:8px; color:var(--ink-soft); max-width:58ch; text-wrap:pretty}
  .panel-manou{max-width:400px; justify-self:end; width:100%; max-width:520px}
  @media (max-width:900px){ .panel-manou{justify-self:start; max-width:380px} }

  .clos{margin-top:40px; max-width:62ch; color:var(--ink-soft); text-wrap:pretty}

  /* la visite en vidéo (preuve datée du 22/09), en modale (retour d'Alexandre du 24/10, troisième passe) :
     le bouton sous la carte ouvre un <dialog> ; filet 1 px, rayon 10, fond du thème, voile sombre à 70 % */
  .btn.visite{margin-top:16px; cursor:pointer}
  .modale-video{
    padding:0; width:min(1120px, calc(100vw - 32px)); max-height:calc(100vh - 32px);
    background:var(--paper-raise); color:var(--ink); border:1px solid var(--rule); border-radius:var(--radius); overflow:hidden;
  }
  .modale-video::backdrop{background:rgba(0,0,0,.7)}
  .modale-barre{display:flex; align-items:center; gap:8px; min-height:44px; padding:6px 8px 6px 14px; border-bottom:1px solid var(--rule)}
  .modale-titre{flex:1; min-width:0; font-family:var(--mono); font-size:11.5px; letter-spacing:.04em; color:var(--ghost);
    overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
  .modale-btn{display:inline-flex; align-items:center; gap:6px; height:30px; padding:0 9px; background:none; cursor:pointer;
    border:1px solid var(--rule); border-radius:8px; color:var(--ghost); font-family:var(--sans); font-size:13px}
  .modale-btn:hover{color:var(--ink); border-color:var(--rule-strong)}
  .modale-btn svg{width:15px; height:15px; flex:none}
  .modale-video video{display:block; width:100%; height:auto; max-height:calc(100vh - 32px - 46px); background:#E9EAEE}
  @media (max-width:480px){ .modale-btn span{display:none} }

  /* ============ GRILLES ============ */
  .grid2{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px}
  .grid3{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px}
  @media (max-width:900px){ .grid2,.grid3{grid-template-columns:minmax(0,1fr)} }

  /* § 2 · le cycle : quatre gestes, chacun son panneau de vrai fichier */
  .geste{display:flex; flex-direction:column; min-width:0}
  .geste .num{font-family:var(--mono); font-size:13px; letter-spacing:.06em; color:var(--encre)}
  .geste h3{margin-top:10px}
  .geste p{margin-top:8px; color:var(--ink-soft); max-width:58ch; text-wrap:pretty}
  .geste .win{margin-top:18px}
  .geste .win pre{font-size:11.5px; padding:14px 16px}

  /* § 4 · le cas réel : le registre à gauche, le journal à droite */
  .cas{margin:0; border-top:1px solid var(--rule)}
  .cas dt{font-family:var(--mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--encre); padding-top:16px}
  .cas dd{margin:6px 0 0; color:var(--ink); text-wrap:pretty; border-bottom:1px solid var(--rule-soft); padding-bottom:16px}
  .cas dd:last-child{border-bottom:0}
  .split-cas{grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px}
  @media (max-width:900px){ .split-cas{grid-template-columns:minmax(0,1fr)} }
  .h3-contexte{margin-top:72px; font-family:var(--serif); font-size:clamp(24px,2.6vw,30px); line-height:1.2; font-weight:600; letter-spacing:-.01em}

  /* les trois terrains : une grille de trois à filets */
  .terrains{margin-top:28px; border:1px solid var(--rule); border-radius:var(--radius); background:var(--paper-raise); overflow:hidden}
  .terrains.grid3{gap:0}
  .terrain{padding:22px 22px 24px; border-left:1px solid var(--rule); min-width:0}
  .terrain:first-child{border-left:0}
  @media (max-width:900px){ .terrain{border-left:0; border-top:1px solid var(--rule)} .terrain:first-child{border-top:0} }
  .terrain .t{font-weight:600; color:var(--ink-strong)}
  .terrain .t .label{display:block; margin-top:6px}
  .terrain p{margin-top:12px; color:var(--ink-soft); font-size:15px; text-wrap:pretty}
  /* les marques des terrains : silhouettes encrées par masque CSS */
  .mark{
    display:block; margin-bottom:14px; color:var(--ghost); background-color:currentColor;
    -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
    -webkit-mask-size:contain;     mask-size:contain;
    -webkit-mask-position:left center; mask-position:left center;
  }
  .mark-jobaffinity{width:104px; height:21px; -webkit-mask-image:url(/mark-jobaffinity.svg); mask-image:url(/mark-jobaffinity.svg)}
  .mark-declic{width:112px; height:14px; margin-top:4px; margin-bottom:17px; -webkit-mask-image:url(/mark-declic.png); mask-image:url(/mark-declic.png)}
  .mark-word{background:none; color:var(--ghost); font-family:var(--serif); font-size:19px; font-weight:600; letter-spacing:.02em; line-height:21px}

  /* § 6 · commencer : les étapes numérotées */
  .etapes{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule)}
  .etape{display:grid; grid-template-columns:44px minmax(0,1fr); gap:8px; padding:24px 0; border-bottom:1px solid var(--rule)}
  .etape .num{font-family:var(--mono); font-size:13px; letter-spacing:.06em; color:var(--encre); padding-top:2px}
  .etape-corps{min-width:0}
  .etape p{margin-top:8px; color:var(--ink-soft); max-width:58ch; text-wrap:pretty}
  .etape code,.prereq code{font-family:var(--mono); font-size:.84em; color:var(--ink-strong); background:var(--paper-raise); border:1px solid var(--rule); border-radius:4px; padding:1px 6px}
  .cmd{margin:14px 0 0; padding:14px 16px; background:var(--paper-raise); border:1px solid var(--rule); border-radius:var(--radius); overflow-x:auto; font-family:var(--mono); font-size:13px; line-height:1.6; color:var(--ink); max-width:720px}
  .cmd code{background:none; border:0; padding:0; font-size:inherit; color:inherit}
  .prereq{display:flex; flex-wrap:wrap; gap:6px 18px; align-items:baseline; margin-top:28px; font-family:var(--mono); font-size:12.5px; color:var(--ink); letter-spacing:.02em}
  .prereq .label{color:var(--encre)}

  /* § 7 · questions : une liste à filets, question en sans 600, réponse en sans */
  .faq{border-top:1px solid var(--rule); max-width:760px}
  .faq details{border-bottom:1px solid var(--rule)}
  .faq summary{cursor:pointer; list-style:none; padding:20px 40px 20px 0; position:relative; font-weight:600; color:var(--ink-strong); font-size:17px; line-height:1.4}
  .faq summary::-webkit-details-marker{display:none}
  .faq summary::after{content:"+"; position:absolute; right:6px; top:18px; font-family:var(--mono); font-size:18px; color:var(--encre)}
  .faq details[open] summary::after{content:"\2212"}
  .faq details p{padding:0 0 22px; max-width:62ch; color:var(--ink-soft); text-wrap:pretty}

  /* ============ FIGURES (hors panneau) + LIGHTBOX ============ */
  .figure{margin-top:36px}
  .figure img{display:block; width:100%; height:auto; border:1px solid var(--rule); border-radius:var(--radius); cursor:zoom-in}
  .figure figcaption{margin-top:10px; font-family:var(--mono); font-size:12px; color:var(--ghost); letter-spacing:.03em}
  .lightbox{position:fixed; inset:0; z-index:99; display:none; align-items:center; justify-content:center; background:var(--scrim); padding:4vmin; cursor:zoom-out}
  .lightbox.on{display:flex}
  .lightbox img{max-width:96vw; max-height:92vh; width:auto; height:auto; border-radius:var(--radius)}

  /* ============ PAGES SECONDAIRES : à propos, contact, mentions légales ============ */
  /* encadré auteur : une fiche posée (le portrait en pièce d'archive, jamais en médaillon) */
  .auteur{display:grid; grid-template-columns:150px minmax(0,1fr); gap:26px; margin-top:30px; align-items:start;
    border:1px solid var(--rule); border-radius:var(--radius); padding:22px; background:var(--paper-raise)}
  .auteur .body-p{max-width:none}
  @media (max-width:640px){ .auteur{grid-template-columns:minmax(0,1fr)} }
  /* § justifié (à propos) : bord droit net, césure douce ; le bloc s'arrête au bord du chapô
     (56ch en 18 px, soit 56 × 18/16 ch dans le corps) */
  /* 13/11 : plus de césure (Alexandre : « aujourd'-hui » coupé) ; justifié sur grand écran seulement,
     aligné à gauche sur téléphone, où le justifié sans césure ouvre des trous entre les mots */
  .just .lede, .just .body-p{text-align:left; hyphens:manual; -webkit-hyphens:manual}
  @media (min-width:641px){ .just .body-p{text-align:justify} }
  .just a{hyphens:none; -webkit-hyphens:none}
  .just .body-p, .just .auteur{max-width:calc(56ch * 18 / 16)}
  .just .auteur .body-p{max-width:none}
  .portrait{width:150px; height:150px; display:block; border:1px solid var(--rule); border-radius:6px}
  .lignee{margin:30px 0 0; max-width:62ch}
  .lignee dt{font-family:var(--mono); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--encre); margin-top:24px}
  .lignee dt:first-child{margin-top:0}
  .lignee dt .src{color:var(--ghost); letter-spacing:.1em}
  .lignee dt .src::before{content:"· "}
  .lignee dd{margin:8px 0 0; color:var(--ink-soft)}
  .lignee dd i{font-style:italic; color:var(--ink)}

  /* formulaire de contact */
  .form{margin-top:34px; max-width:620px; display:flex; flex-direction:column; gap:18px}
  .f-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px}
  @media (max-width:640px){ .f-row{grid-template-columns:minmax(0,1fr)} }
  .f{display:flex; flex-direction:column; gap:7px}
  .f > span{font-family:var(--mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ghost)}
  .f input,.f select,.f textarea{
    width:100%; font-family:var(--sans); font-size:15px; padding:10px 12px;
    border:1px solid var(--rule); border-radius:8px; background:var(--paper-raise); color:var(--ink);
  }
  .f textarea{resize:vertical; line-height:1.55}
  .f input:focus,.f select:focus,.f textarea:focus{outline:2px solid var(--encre); outline-offset:1px}
  .f input:disabled,.f select:disabled,.f textarea:disabled{opacity:.5}
  .f-send{display:flex; align-items:center; gap:16px; flex-wrap:wrap}
  .form .btn{cursor:pointer}
  .form .btn:disabled{opacity:.55; cursor:default}
  .hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
  .form-msg{font-family:var(--mono); font-size:12px; color:var(--sauge); min-height:1.2em; margin:0; max-width:46ch}
  .form-msg[data-state="err"]{color:var(--erreur)}
  .form-note{margin-top:14px; font-family:var(--mono); font-size:12px; font-style:italic; color:var(--ghost); max-width:52ch}

  /* ============ FIN + PIED DE PAGE ============ */
  .fin{padding:96px var(--gutter) 104px}
  .fin .une-seconde{
    font-family:var(--serif); font-size:clamp(26px,3.4vw,38px); line-height:1.25; font-weight:400; max-width:34ch;
    color:var(--ink-strong); text-wrap:balance;
  }
  footer{border-top:1px solid var(--rule-soft); padding:28px 0 44px}
  .foot{display:flex; flex-wrap:wrap; gap:10px 26px; align-items:baseline}
  .foot span,.foot a{font-size:13.5px; color:var(--ghost); text-decoration:none}
  .foot a:hover{color:var(--ink)}
  .foot a[aria-current="page"]{color:var(--ink)}
  .foot span b{font-family:var(--serif); color:var(--ink)}

  /* l'objet de la section : 48 px sous le chapô. En fin de fichier, pour primer sur les
     remises à zéro des objets eux-mêmes (.panel, .etapes, .cas). */
  .objet,.panel.objet,.etapes.objet{margin-top:48px}
  @media (max-width:820px){ .objet,.panel.objet,.etapes.objet{margin-top:36px} }

  /* ============ PAGE DE L'APPLICATION (/app, /fr/app ; lot 2 du 2026-10-24) ============ */
  /* Ajouts seulement : la grammaire de la home (cote, h2 serif, panneau, items, états) est réutilisée telle quelle. */
  .app-tete .wrap{padding-top:64px; padding-bottom:72px}
  .app-tete h1{font-size:clamp(36px,4.2vw,52px); line-height:1.08; letter-spacing:-.02em; max-width:19ch; margin:18px 0 22px}
  .app-tete .lede{margin-top:0}
  /* la copie en deux colonnes (le titre, puis le chapô et les boutons) pour que la fenêtre monte dans le premier écran */
  @media (min-width:921px){
    .app-tete .hero-copy{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); column-gap:56px; align-items:end}
    .app-tete .hero-copy .label{grid-column:1/-1}
    .app-tete .hero-copy h1{grid-column:1; grid-row:2; margin-bottom:0}
    .app-tete .hero-copy .lede{grid-column:2; grid-row:2; font-size:17px}
    .app-tete .hero-copy .cta-row{grid-column:2; grid-row:3; margin-top:24px}
  }
  /* sous la fenêtre (l'objet dominant de la tête) : le cartouche seul, à la largeur d'une colonne de lecture
     (la bande de la barre de menus en est sortie le 24/10 : sans légende, elle ne disait plus sa taille réelle,
     et les cinq états ont leur section) */
  .app-faits{display:grid; grid-template-columns:minmax(0,560px) minmax(0,1fr); gap:48px; align-items:center}
  @media (max-width:900px){ .app-faits{grid-template-columns:minmax(0,1fr)} }
  /* le grand Manou de la fiche : 220 px, lavande, et seulement les yeux qui vivent (Alexandre, 24/10 :
     « plus soft » : ni badge ni couleur) : clignement, regard de côté, joie brève, et le regard qui suit la
     souris quand on l'approche, comme dans l'app (home.js, bloc 5 ; mêmes réglages que manou.css) */
  .ms-humeurs{display:flex; justify-content:center; align-items:center}
  .ms-humeurs .ms-manou{width:220px; height:220px}
  .ms-humeurs .ms-regard{transition:transform .28s ease-out}
  .ms-humeurs .ms-og,.ms-humeurs .ms-od{transform-box:fill-box; transform-origin:center; transition:transform .12s ease-in-out}
  .ms-humeurs .ms-cligne-g .ms-og,.ms-humeurs .ms-cligne-d .ms-od{transform:scaleY(.08)}
  .ms-humeurs .ms-joie-breve .ms-regard > .ms-ouverts{display:none}
  .ms-humeurs .ms-joie-breve .ms-regard > .ms-joie{display:inline}
  .ms-humeurs .ms-surpris .ms-regard > g{display:none}
  .ms-humeurs .ms-surpris .ms-regard > .ms-surpris{display:inline}
  @media (prefers-reduced-motion: no-preference){ .ms-humeurs .ms-manou{animation:ms-souffle 4s ease-in-out infinite} }
  @media (max-width:900px){ .ms-humeurs .ms-manou{width:180px; height:180px} }
  @media (max-width:600px){
    .app-tete .wrap{padding-top:48px; padding-bottom:56px}
    .app-tete .cta-row .btn{flex:1 1 auto}
  }
  /* § 1 · la fenêtre : deux vues, côte à côte puis empilées */
  .fenetre-vues{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start}
  .fenetre-vues picture{display:block}
  @media (max-width:900px){ .fenetre-vues{grid-template-columns:minmax(0,1fr)} }

  /* le cartouche de fiche (gwern) : clé · valeur, en mono, dans un panneau */
  .fiche{margin:0; padding:6px 18px 8px; display:grid; grid-template-columns:minmax(0,15ch) minmax(0,1fr); column-gap:20px;
    font-family:var(--mono); font-size:12.5px; line-height:1.5; letter-spacing:.02em}
  .fiche dt,.fiche dd{padding:10px 0; border-top:1px solid var(--rule-soft); margin:0}
  .fiche dt:first-of-type,.fiche dt:first-of-type + dd{border-top:0}
  .fiche dt{color:var(--ghost)}
  .fiche dd{color:var(--ink)}
  @media (max-width:420px){
    .fiche{grid-template-columns:minmax(0,1fr)}
    .fiche dd{padding-top:0; border-top:0}
  }


  /* une matinée : les moments numérotés, le texte à gauche, la capture du moment à droite quand elle existe */
  .moments{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule)}
  .moments > li{display:grid; grid-template-columns:44px minmax(0,1fr) minmax(0,360px); column-gap:8px; padding:28px 0; border-bottom:1px solid var(--rule); align-items:start}
  .moments .num{font-family:var(--mono); font-size:13px; letter-spacing:.06em; color:var(--encre); padding-top:2px}
  .moments .texte{min-width:0; padding-right:40px}
  .moments .texte p{margin-top:8px; color:var(--ink-soft); max-width:58ch; text-wrap:pretty}
  .moments > li > .panel,.moments > li > .ms-scene{grid-column:3}
  .moments > li:not(:has(.panel, .ms-scene)) .texte{grid-column:2 / 4}
  @media (max-width:900px){
    .moments > li{grid-template-columns:44px minmax(0,1fr)}
    .moments .texte{padding-right:0}
    .moments > li > .panel{grid-column:2; margin-top:22px; max-width:340px}
    .moments > li:not(:has(.panel, .ms-scene)) .texte{grid-column:2}
    .moments > li > .ms-scene{grid-column:1 / -1; margin-top:22px; justify-self:start}
  }

  .fait-note{margin-top:16px; max-width:62ch; color:var(--ink-soft); text-wrap:pretty}

  /* ce que l'application ne fait jamais : une liste à filets, des phrases plates */
  .jamais{list-style:none; margin:0; padding:0; border-top:1px solid var(--rule); max-width:760px}
  .jamais li{padding:16px 0; border-bottom:1px solid var(--rule); color:var(--ink); text-wrap:pretty}

  /* l'obtenir : la ligne de version, en mono */
  .version{margin-top:48px; padding-top:20px; border-top:1px solid var(--rule); font-family:var(--mono); font-size:13px; letter-spacing:.04em; color:var(--ink); max-width:760px}
  /* l'air de l'objet, rendu aux listes de la page de l'application (leur margin:0 vient après .objet) */
  .moments.objet,.jamais.objet{margin-top:48px}
  @media (max-width:820px){ .moments.objet,.jamais.objet{margin-top:36px} }

  /* ============ MANOU, LE VRAI DESSIN (préfixe ms-) ============ */
  /* Repris de l'application d'Alexandre (~/MOS/manence-ui/app/coquille/manou.css, « le dessin de Manou »),
     décision du 24/10 : les humeurs de manou.svg, chaque classe sous le préfixe ms- (ManouSvg.astro préfixe
     les classes du dessin et les id de chaque instance). Les couleurs sont celles de l'app, dans les deux thèmes
     du site : Manou n'a qu'un thème. Ne rien retoucher ici sans le retoucher là-bas. */
  .ms-manou{--c-haut:#A4ACF6; --c-milieu:#8088EC; --c-bas:#6268D8; --c-dos-haut:#6A70D2; --c-dos-bas:#454BA6;
    --c-lueur:#DCE2FF; --c-oeil:#FFFFFF; --opacite:1; --c-badge:#F2A93B; display:block; overflow:visible}
  .ms-manou.ms-fait,.ms-manou.ms-alire{--c-haut:#CFE3D5; --c-milieu:#8FB89B; --c-bas:#6E9A7B; --c-dos-haut:#5F8A6B; --c-dos-bas:#41664C; --c-lueur:#E6F3EA}
  .ms-manou.ms-repos{--opacite:.5}
  .ms-manou .ms-corps{opacity:var(--opacite)}
  .ms-manou .ms-regard > g{display:none}
  .ms-manou.ms-attend .ms-ouverts,.ms-manou.ms-alire .ms-ouverts,.ms-manou.ms-repos .ms-fermes,.ms-manou.ms-note .ms-clin,.ms-manou.ms-fait .ms-joie{display:inline}
  .ms-manou.ms-demande .ms-yeux .ms-regard > g{display:none}
  .ms-manou.ms-demande .ms-yeux .ms-regard > .ms-surpris{display:inline}
  .ms-manou .ms-badge{display:none}
  .ms-manou.ms-demande .ms-badge{display:inline}
  .ms-badge-fond{fill:var(--c-badge)} .ms-badge-signe{fill:#fff}
  .ms-s-haut{stop-color:var(--c-haut)} .ms-s-milieu{stop-color:var(--c-milieu)} .ms-s-bas{stop-color:var(--c-bas)}
  .ms-s-dos-haut{stop-color:var(--c-dos-haut)} .ms-s-dos-bas{stop-color:var(--c-dos-bas)}
  .ms-s-lueur{stop-color:var(--c-lueur)}
  .ms-oeil{fill:var(--c-oeil)}
  .ms-trait{stroke:var(--c-oeil); stroke-width:6; stroke-linecap:round; fill:none}

  /* ============ LA SCÈNE DE MANOU (home § 1, /app moment 02) ============ */
  /* Manou, puis le panneau détaché sous lui (360 pt comme dans l'app), posés sur le fond du site sans bureau.
     Le panneau reprend manou.css (#panneau, .carte, .divise, .ligne, .pied) sous ms- ; ses couleurs restent
     celles de l'app (l'ardoise du panneau, un seul thème), ses variables vivent ici sous --ms-* pour ne pas
     croiser celles du site (--encre est l'accent du site, le texte dans l'app). Seule ombre : celle du panneau
     dans l'app. Joué une fois par home.js (bloc 4) ; rendu d'emblée dans son état final. */
  .ms-scene{
    --ms-badge:#F2A93B; --ms-ardoise-pleine:rgba(15,20,32,.975); --ms-encre:#E8EAF6; --ms-doux:#A9B0D6; --ms-discret:#7E86B3;
    --ms-filet:rgba(255,255,255,.08); --ms-lavande:#8C97EF;
    display:flex; flex-direction:column; align-items:flex-end; width:100%; max-width:360px;
  }
  .ms-perso{position:relative; width:120px; height:114px; margin-right:20px}
  .ms-souffle{width:120px; height:120px; transform-origin:50% 50%}
  .ms-souffle .ms-manou{width:120px; height:120px}
  /* l'ombre au sol de l'app (#ombre), à l'échelle 120/160 */
  .ms-ombre{position:absolute; left:22.8px; top:102px; width:74.4px; height:9.6px; pointer-events:none;
    background:radial-gradient(closest-side, rgba(10,14,26,.55), rgba(10,14,26,0))}
  .ms-badge{transform-box:fill-box; transform-origin:center}

  .ms-panneau{
    box-sizing:border-box; width:100%; max-width:360px; margin-top:0; padding:14px 0 0;
    background:var(--ms-ardoise-pleine); border-radius:14px; border:1px solid var(--ms-filet);
    box-shadow:0 3px 9px rgba(0,0,0,.32), 0 1px 3px rgba(0,0,0,.22);
    font:13px/1.4 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; color:var(--ms-encre);
    -webkit-user-select:none; user-select:none; cursor:default; text-align:left;
    transform-origin:85% 0;
  }
  .ms-carte{margin:0 10px 10px; padding:10px 12px; border-radius:10px;
    border:1px solid color-mix(in srgb, var(--ms-badge) 45%, transparent);
    background:color-mix(in srgb, var(--ms-badge) 8%, transparent)}
  .ms-carte-tete{display:flex; justify-content:space-between; align-items:baseline; gap:8px}
  .ms-carte-titre{font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .ms-carte-titre::before{content:"!"; display:inline-block; width:16px; height:16px; margin-right:6px; border-radius:50%;
    background:var(--ms-badge); color:#fff; font-size:11px; line-height:16px; text-align:center; font-weight:700}
  .ms-carte-age{color:var(--ms-discret); font-size:11.5px; white-space:nowrap}
  .ms-carte-meta{color:var(--ms-doux); font-size:12px; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .ms-carte-entree{margin:8px 0 0; padding:6px 8px; border-radius:6px; background:rgba(0,0,0,.28);
    font:11.5px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace; color:var(--ms-encre);
    white-space:pre-wrap; word-break:break-all; -webkit-user-select:text; user-select:text}
  .ms-carte-deplier{display:inline-block; margin-top:4px; font-size:11.5px; color:var(--ms-lavande)}
  .ms-carte-actions{display:flex; gap:8px; margin-top:10px}
  .ms-divise{flex:1; display:flex; flex-direction:row; border-radius:8px; overflow:hidden; min-width:0}
  .ms-divise > span{font-size:12.5px; padding:6px 8px; text-align:center}
  .ms-divise .ms-principal{flex:1; min-width:0}
  .ms-divise .ms-caret{flex:0 0 26px; padding:6px 0; font-size:10px; line-height:18px}
  .ms-divise .ms-sep{flex:0 0 1px; padding:0}
  .ms-divise.ms-refuser{border:1px solid rgba(255,255,255,.18)}
  .ms-divise.ms-refuser > span{color:var(--ms-encre)}
  .ms-divise.ms-refuser .ms-sep{background:rgba(255,255,255,.18)}
  .ms-divise.ms-autoriser{border:1px solid var(--ms-lavande); background:var(--ms-lavande)}
  .ms-divise.ms-autoriser > span{color:#10131c; font-weight:600}
  .ms-divise.ms-autoriser .ms-sep{background:rgba(16,19,28,.35)}
  .ms-titre{padding:0 16px 10px; font-weight:600; font-size:14px; letter-spacing:.01em}
  .ms-ligne{padding:8px 16px; border-top:1px solid var(--ms-filet)}
  .ms-tete{display:flex; justify-content:space-between; align-items:baseline; gap:8px}
  .ms-nom-session{font-weight:600; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .ms-etat{color:var(--ms-doux); font-size:12px; white-space:nowrap}
  .ms-meta{display:flex; gap:6px; align-items:baseline; margin-top:1px; font-size:11px; color:var(--ms-discret); min-width:0}
  .ms-etiquette{padding:0 5px; border:1px solid rgba(255,255,255,.14); border-radius:5px; font-variant:all-small-caps; letter-spacing:.05em; white-space:nowrap}
  .ms-pied{display:flex; gap:8px; padding:10px 16px 12px; border-top:1px solid var(--ms-filet); border-radius:0 0 14px 14px}
  .ms-pied > span{flex:1}
  .ms-pied .ms-divise.ms-voir{border:1px solid rgba(255,255,255,.14)}
  .ms-pied .ms-divise.ms-voir > span{font-size:12px; color:var(--ms-encre)}
  .ms-pied .ms-divise.ms-voir .ms-sep{background:rgba(255,255,255,.14)}
  .ms-bouton{font-size:12px; color:var(--ms-encre); text-align:center; border:1px solid rgba(255,255,255,.14); border-radius:8px; padding:6px 8px}

  /* le jeu (bloc 4 de home.js) : .ms-attente pose le repos, .ms-pop le badge, .ms-ouvert le panneau */
  @media (prefers-reduced-motion: no-preference){
    .ms-scene .ms-souffle{animation:ms-souffle 4s ease-in-out infinite}
    .ms-scene.ms-dort .ms-souffle{animation-duration:6s}
    .ms-scene.ms-attente .ms-panneau{opacity:0; transform:translateY(-10px) scale(.97); visibility:hidden}
    .ms-scene.ms-joue .ms-panneau{transition:opacity .32s ease-out, transform .38s cubic-bezier(.2,.8,.2,1), visibility 0s}
    .ms-scene.ms-pop .ms-badge{animation:ms-pop .42s cubic-bezier(.3,1.5,.5,1)}
  }
  @keyframes ms-souffle{0%,100%{transform:scale(1)} 50%{transform:scale(1.03)}}
  @keyframes ms-pop{0%{transform:scale(0); opacity:0} 60%{transform:scale(1.15); opacity:1} 100%{transform:scale(1)}}

  /* home § 1 : la scène dans la colonne droite, à la place de la capture */
  .split > .ms-scene{justify-self:end}
  @media (max-width:900px){ .split > .ms-scene{justify-self:start} }

  /* ============ LES CINQ ÉTATS (le vrai dessin, en grand) ============ */
  .ms-etats{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px}
  .ms-etats.objet{margin-top:48px}
  @media (max-width:820px){ .ms-etats.objet{margin-top:36px} }
  .ms-etats li{display:flex; flex-direction:column; align-items:center; text-align:center; min-width:0}
  .ms-etats .ms-manou{width:120px; height:120px; margin-bottom:14px}
  .ms-etat-nom{font-family:var(--sans); font-weight:600; font-size:16px; color:var(--ink-strong)}
  .ms-etat-def{margin-top:4px; font-size:14px; line-height:1.45; color:var(--ghost); max-width:22ch; text-wrap:balance}
  @media (max-width:900px){
    .ms-etats{display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px;
      margin-left:calc(-1 * var(--gutter)); margin-right:calc(-1 * var(--gutter)); padding-left:var(--gutter); padding-right:var(--gutter);
      scroll-padding-left:var(--gutter)}
    .ms-etats li{flex:0 0 150px; scroll-snap-align:start}
    .ms-etats .ms-manou{width:112px; height:112px}
  }

  /* ============ HOME V2 (« L'IA agentique, sans le chaos », architecture verrouillée du 2026-10-28) ============ */
  /* Ajouts seulement, tous sous des classes neuves : la grammaire existante (cote, h2 serif, panneau, fenêtre,
     terrains, fiche auteur) est réutilisée telle quelle. */
  /* le hero : le texte en colonne de lecture, puis la vraie carte en pleine largeur (comme la capture de past.dev) */
  .hero-v2 .wrap{padding-top:88px; padding-bottom:80px}
  .hero-v2 h1{max-width:18ch; margin:0 0 26px}
  .hero-v2 .sub{max-width:60ch}
  .hero-v2 .hero-carte{margin-top:56px}
  @media (max-width:600px){ .hero-v2 .wrap{padding-top:44px; padding-bottom:48px} .hero-v2 .hero-carte{margin-top:40px}
    .hero-v2 .faits{flex-direction:column; align-items:flex-start; gap:6px} .hero-v2 .faits .sep{display:none} }

  /* § 1 · deux usages : un panneau coupé en deux cellules à filet */
  .usages{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid var(--rule);
    border-radius:var(--radius); background:var(--paper-raise); overflow:hidden}
  .usage{padding:28px 30px 32px; border-left:1px solid var(--rule); min-width:0; display:flex; flex-direction:column}
  .usage:first-child{border-left:0}
  .usage .label{display:block}
  .usage .texte{margin-top:14px; color:var(--ink-soft); max-width:52ch; text-wrap:pretty}
  .usage .voix{margin:24px 0 0; font-family:var(--serif); font-size:clamp(28px,3vw,36px);
    line-height:1.15; color:var(--ink-strong); letter-spacing:-.01em}
  .compteur{margin-top:24px}
  .compteur .chiffre{display:block; font-family:var(--serif); font-weight:600; font-size:clamp(64px,7vw,96px);
    line-height:.95; letter-spacing:-.02em; color:var(--encre); font-variant-numeric:lining-nums}
  .compteur .sous{margin-top:12px; font-family:var(--mono); font-size:12px; line-height:1.6; letter-spacing:.02em;
    color:var(--ghost); max-width:46ch; text-wrap:pretty}
  .chute{margin-top:36px; font-family:var(--serif); font-size:clamp(20px,2vw,24px); line-height:1.4;
    color:var(--ink-strong); max-width:50ch; text-wrap:pretty}
  @media (max-width:900px){
    .usages{grid-template-columns:minmax(0,1fr)}
    .usage{border-left:0; border-top:1px solid var(--rule); padding:24px 20px 26px}
    .usage:first-child{border-top:0}
  }

  /* § 2 · le cadre : quatre rangées, le texte à gauche, l'objet à droite */
  .blocs{list-style:none; margin:56px 0 0; padding:0}
  .bloc{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:56px; align-items:start;
    padding:56px 0; border-top:1px solid var(--rule-soft)}
  .bloc:first-child{padding-top:0; border-top:0}
  .bloc:last-child{padding-bottom:0}
  .bloc .num{font-family:var(--mono); font-size:13px; letter-spacing:.06em; color:var(--encre)}
  .bloc h3{margin-top:10px; font-family:var(--serif); font-size:clamp(22px,2.2vw,26px); line-height:1.2; font-weight:600; letter-spacing:-.01em; text-wrap:balance}
  .bloc-texte p{margin-top:12px; color:var(--ink-soft); max-width:56ch; text-wrap:pretty}
  .bloc-texte h3 + p{margin-top:14px}
  .bloc .win pre{font-size:12px}
  .bloc .pull{font-size:20px; margin-top:28px}
  .pull cite{display:block; margin-top:12px; font-style:normal}
  .panel-scene .scene-corps{display:flex; justify-content:center; padding:28px 20px 32px}
  /* l'emplacement d'une capture à fournir : un panneau vide nommé, jamais une interface recréée */
  .a-fournir-corps{display:grid; place-items:center; min-height:260px; margin:16px; border:1px dashed var(--rule-strong);
    border-radius:6px; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--ghost)}
  @media (max-width:900px){
    .bloc{grid-template-columns:minmax(0,1fr); gap:28px; padding:44px 0}
    .bloc .win pre{font-size:11.5px}  /* les extraits gardent leurs lignes : défilement dans la fenêtre seule */
    .a-fournir-corps{min-height:180px}
    .bloc .panel-bar,.bloc .win .bar{white-space:normal; text-overflow:clip; line-height:1.5}
  }

  /* § 3 · les conditions : les trois terrains, un titre par colonne, aucune icône */
  .conditions .terrain h3{font-family:var(--serif); font-size:20px; line-height:1.25}
  .conditions .terrain p{margin-top:12px; font-size:15.5px; line-height:1.6}

  /* § 4 · l'auteur : la fiche posée de la page À propos, les quatre lignes en serif */
  .auteur-v2{max-width:1000px}
  .auteur-v2 .lignes{font-family:var(--serif); font-size:clamp(18px,1.7vw,21px); line-height:1.6; color:var(--ink); text-wrap:pretty}

  /* § 5 · commencer : le pied de section, en mono */
  .pied-sec{margin-top:40px; padding-top:18px; border-top:1px solid var(--rule-soft); font-family:var(--mono); font-size:12px;
    letter-spacing:.03em; line-height:1.6; color:var(--ghost)}
  .pied-sec a{color:inherit; text-decoration:none; border-bottom:1px solid var(--rule-strong)}
  .pied-sec a:hover{color:var(--ink)}

  /* la beta de Manou : un champ email et un bouton, sur une ligne (empilés sur mobile) ; messages de .form-msg */
  .beta{margin-top:14px; max-width:620px}
  .beta-ligne{display:flex; gap:12px; flex-wrap:wrap}
  .beta-email{flex:1 1 220px; min-width:0; height:42px; padding:0 14px; border-radius:8px; border:1px solid var(--rule-strong);
    background:var(--paper-raise); color:var(--ink); font-family:var(--sans); font-size:15px}
  .beta-email::placeholder{color:var(--ghost)}
  .beta-email:focus-visible{outline:2px solid var(--encre); outline-offset:2px}
  .beta .btn{cursor:pointer}
  .beta .btn:disabled,.beta-email:disabled{opacity:.55; cursor:default}
  .beta-note{margin-top:8px; font-family:var(--mono); font-size:11.5px; letter-spacing:.02em; color:var(--ghost)}
  .beta .form-msg{margin-top:6px}
  .beta .form-msg:empty{display:none}
  @media (max-width:600px){ .beta-ligne{flex-direction:column} .beta-ligne .btn{width:100%} .beta-email{flex:none; width:100%} }

  /* ============ CHARTE DU 28/10 (home seule, body.home-v3 ; demande d'Alexandre sur la maquette de référence) ============
     Une bande sombre en tête (nav + hero, la carte en constellation à droite), le corps sur papier, des titres en
     sans gras plus denses, le mécanisme en grille de cartes, un bleu franc pour le bouton principal.
     Thèmes : la bande reste sombre dans les deux. En nuit, le corps ne reprend pas l'ardoise de la bande : il monte
     d'un cran (#151B29, cartes #1B2233) et la bande se ferme sur un filet, pour garder le contraste bande/corps. */
  .home-v3{
    --bleu:#2F4FE0; --bleu-hover:#2541C4; --bande:#101420; --ambre:#C98A1E;
    /* v4 (28/10 au soir) : le sable de nuit, un brun chaud très sombre sous les cartes bleu nuit */
    --paper:#1B1915; --paper-raise:#25221D; --rule:#3A352D; --rule-soft:#2D2923; --rule-strong:#4C463B;
    --ink:#EEE8DD; --ink-strong:#FAF6EE; --ink-soft:#CFC7B9; --ghost:#A79F91; --encre:#9FB0F5;
    --carte-ombre:0 1px 2px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.28);
    background:var(--paper);
  }
  @media (prefers-color-scheme: light){
    :root:not([data-theme="dark"]) .home-v3{
      --paper:#F2ECE1; --paper-raise:#FBF8F2; --rule:#E0D6C4; --rule-soft:#E9E1D3; --rule-strong:#C4B79F;
      --ink:#16213A; --ink-strong:#0B1226; --ink-soft:#3A4254; --ghost:#5F6474; --encre:#2743C8;
      --carte-ombre:0 1px 2px rgba(16,20,32,.06), 0 8px 24px rgba(16,20,32,.10);
    }
  }
  :root[data-theme="light"] .home-v3{
    --paper:#F2ECE1; --paper-raise:#FBF8F2; --rule:#E0D6C4; --rule-soft:#E9E1D3; --rule-strong:#C4B79F;
      --ink:#16213A; --ink-strong:#0B1226; --ink-soft:#3A4254; --ghost:#5F6474; --encre:#2743C8;
    --carte-ombre:0 1px 2px rgba(16,20,32,.06), 0 8px 24px rgba(16,20,32,.10);
  }
  /* la bande : les tokens de l'ardoise, posés sur la nav et le hero quel que soit le thème */
  .home-v3 header,.home-v3 .hero-v2,.home-v3 .v4-sombre,.home-v3 #appel,.home-v3 footer{
    color-scheme:dark;
    --paper:#101420; --paper-raise:#161C2C; --ink:#E8E9E1; --ink-strong:#F6F6F0;
    --ink-soft:color-mix(in srgb, #E8E9E1 80%, #101420);
    --encre:#8CA0F2; --encre-hover:#A0B1F5; --encre-soft:#8CA0F226;
    --ghost:#8A93AD; --ghost-faint:#8A93AD59; --rule:#28304A; --rule-soft:#1E2536; --rule-strong:#3A4466;
    color:var(--ink);
  }
  .home-v3 #appel,.home-v3 footer{background:var(--bande)}
  .home-v3 footer{border-top:1px solid #28304A}
  .home-v3 #appel + footer{border-top-color:#1E2536
  }
  .home-v3 header{background:var(--bande); backdrop-filter:none; -webkit-backdrop-filter:none; border-bottom-color:#1E2536}
  .home-v3 .hero-v2{background:var(--bande); border-bottom:1px solid #28304A}
  /* le bleu franc : bouton principal, dans la bande comme dans le corps */
  .home-v3 .btn.solid{background:var(--bleu); color:#FFFFFF}
  .home-v3 .btn.solid:hover{background:var(--bleu-hover)}

  /* le hero : le texte à gauche, la constellation dans la moitié droite */
  .home-v3 .hero-v3-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:center;
    padding-top:72px; padding-bottom:72px}
  .home-v3 .hero-v2 h1{font-size:clamp(44px,5vw,68px); max-width:12ch}
  .home-v3 .hero-v2 .sub{max-width:52ch}
  .constellation{position:relative; margin:0; aspect-ratio:1000/850; overflow:hidden}
  /* recadrage de la capture 1600 × 1000 sur x 300-1300, y 95-945 : les onglets et la légende restent hors cadre */
  .constellation img{position:absolute; width:160%; max-width:none; height:auto; left:-30%; top:-11.18%; display:block}
  .constellation-manou{position:absolute; top:1%; right:0; display:flex; flex-direction:column; align-items:center; gap:6px}
  .constellation-manou .ms-manou{width:76px; height:76px}
  .constellation-manou .bulle{font-family:var(--sans); font-size:13px; font-weight:500; color:#E8EAF6; white-space:nowrap;
    background:#161C2C; border:1px solid #3A4466; border-radius:8px; padding:5px 10px}
  @media (max-width:980px){
    .home-v3 .hero-v3-grid{grid-template-columns:minmax(0,1fr); padding-top:48px; padding-bottom:40px}
    .constellation{max-width:620px; width:100%; justify-self:center}
  }
  @media (max-width:600px){ .constellation-manou .ms-manou{width:56px; height:56px} .constellation-manou .bulle{font-size:12px} }

  /* le corps : titres en sans gras, plus grands et plus denses ; moins de cotes mono et moins de vide */
  .home-v3 .cote{display:none}
  .home-v3 .sec{padding-top:80px; padding-bottom:80px}
  @media (max-width:820px){ .home-v3 .sec{padding-top:56px; padding-bottom:56px} }
  .home-v3 section h2{font-family:var(--sans); font-weight:700; font-size:clamp(30px,3.6vw,46px); line-height:1.08;
    letter-spacing:-.028em; max-width:22ch}
  .home-v3 .lede{margin-top:14px}

  /* l'amplitude : deux colonnes nues sous le grand titre */
  .home-v3 .usages{border:0; background:none; border-radius:0; gap:56px; overflow:visible}
  .home-v3 .usage{padding:0; border:0}
  .home-v3 .usage .label{font-family:var(--sans); font-size:17px; letter-spacing:0; text-transform:none; font-weight:700; color:var(--ink-strong)}
  .home-v3 .usage .texte{margin-top:8px}
  .home-v3 .chute{font-family:var(--sans); font-weight:600; font-size:clamp(18px,1.7vw,21px); letter-spacing:-.01em}
  @media (max-width:900px){ .home-v3 .usages{gap:36px} .home-v3 .usage{border-top:0} }

  /* le mécanisme : une grille de deux colonnes de cartes ; la vignette en tête, avec une ombre légère */
  .home-v3 .blocs{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:0}
  .home-v3 .bloc{display:flex; flex-direction:column; gap:0; padding:0; border:1px solid var(--rule); border-radius:var(--radius);
    background:var(--paper-raise); overflow:hidden}
  .home-v3 .bloc:first-child{padding-top:0}
  .home-v3 .bloc > .win,.home-v3 .bloc > figure{order:-1; margin:24px 24px 0; box-shadow:var(--carte-ombre)}
  .home-v3 .bloc > .panel-scene{box-shadow:none; border:0; background:none; margin:12px 24px 0}
  .home-v3 .panel-scene .panel-bar{display:none}
  .home-v3 .panel-scene .scene-corps{padding:12px 0 0}
  .home-v3 .bloc-texte{padding:22px 26px 28px}
  .home-v3 .bloc h3{font-family:var(--sans); font-weight:700; font-size:clamp(19px,1.6vw,22px); letter-spacing:-.015em; line-height:1.2}
  .home-v3 .bloc-texte p{font-size:15.5px; line-height:1.6}
  .home-v3 .bloc .win pre{font-size:11px; line-height:1.6}
  .home-v3 .bloc .pull{font-size:18px}
  @media (max-width:980px){
    .home-v3 .blocs{grid-template-columns:minmax(0,1fr)}
    .home-v3 .bloc > .win{margin:16px 16px 0}
    .home-v3 .bloc-texte{padding:18px 20px 24px}
  }

  /* la confiance : trois colonnes courtes sous un filet */
  .home-v3 .conditions{border:0; background:none; border-radius:0; gap:40px; overflow:visible}
  .home-v3 .conditions .terrain{padding:18px 0 0; border:0; border-top:2px solid var(--ink-strong)}
  .home-v3 .conditions .terrain h3{font-family:var(--sans); font-weight:700; font-size:18px}
  @media (max-width:900px){ .home-v3 .conditions{gap:28px} .home-v3 .conditions .terrain{border-top:2px solid var(--ink-strong)} }

  /* qui est derrière : la photo à gauche, le texte à droite, sans cadre */
  .home-v3 .auteur-v2{border:0; background:none; padding:0; grid-template-columns:180px minmax(0,1fr); gap:32px; margin-top:28px}
  .home-v3 .auteur-v2 .portrait{width:180px; height:180px; border-radius:8px}
  .home-v3 .auteur-v2 .lignes{font-family:var(--sans); font-size:clamp(17px,1.5vw,19px); line-height:1.65}
  @media (max-width:640px){ .home-v3 .auteur-v2{grid-template-columns:minmax(0,1fr)} .home-v3 .auteur-v2 .portrait{width:140px; height:140px} }
  .home-v3 .bloc,.home-v3 .bloc > .win,.home-v3 .bloc > figure{min-width:0}
  .home-v3 .bloc{align-items:stretch}

  /* ============ HOME V4 (spec-landing-v4 du 28/10, sur la charte .home-v3) ============
     Six sections, un objet chacune. Les scènes 16:10 (.mo-*) sont des fenêtres de l'app : sombres dans les deux
     thèmes, comme la scène de Manou. Mesures en cqw (la scène est un conteneur) : tout se met à l'échelle. */
  .home-v3 .hero-sur{font-family:var(--sans); font-size:13px; font-weight:700; letter-spacing:.08em; color:var(--encre); margin:0 0 18px}
  .home-v3 .hero-v2 .sub + .sub{margin-top:14px}
  .home-v3 .hero-v2 .sub strong{color:var(--ink-strong); font-weight:650}
  .home-v3 .hero-actions{margin-top:28px; display:flex; flex-direction:column; gap:14px; align-items:flex-start}
  .home-v3 .hero-actions .beta{margin-top:0; width:100%}
  .home-v3 .lien-code{font-family:var(--sans); font-size:15px; color:var(--ink); text-decoration:underline; text-underline-offset:4px;
    text-decoration-color:var(--rule-strong); transition:text-decoration-color 160ms ease-out}
  .home-v3 .lien-code:hover{text-decoration-color:currentColor}
  .home-v3 .hero-v2 .faits{margin-top:22px}
  .home-v3 .beta .btn:active,.home-v3 .btn:active{transform:scale(.97)}
  .home-v3 .btn{transition:background-color 160ms ease-out, transform 160ms ease-out}

  .home-v3 .centre{text-align:center}
  .home-v3 .centre h2{margin-left:auto; margin-right:auto}
  .home-v3 .centre .lede{margin-left:auto; margin-right:auto; max-width:60ch}
  .home-v3 h2 .l{display:block}
  #amplitude h2{max-width:none}

  .v4-cartes{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:40px}
  .v4-carte{border:1px solid var(--rule); border-radius:14px; background:var(--paper-raise); padding:26px 28px 28px;
    display:flex; flex-direction:column; gap:12px}
  .v4-katja{border:2px solid var(--bleu)} .v4-alex{border:2px solid var(--ambre)}
  .qui-ligne{display:flex; align-items:center; justify-content:space-between; gap:16px}
  .v4-carte .qui{font-family:var(--sans); font-size:18px; font-weight:700; color:var(--ink-strong)}
  .v4-carte .qui span{display:block; margin-top:2px; font-size:14px; font-weight:400; color:var(--ghost)}
  .avatar{flex:none; width:44px; height:44px; border-radius:50%; object-fit:cover}
  .avatar.initiale{display:grid; place-items:center; background:var(--bleu); color:#FFFFFF; font-family:var(--sans); font-weight:700; font-size:18px}
  .v4-carte p{color:var(--ink-soft); max-width:52ch; text-wrap:pretty}
  .v4-carte .preuve{margin-top:auto; padding-top:14px; border-top:1px solid var(--rule-soft)}
  .v4-carte .voix{font-family:var(--serif); font-size:clamp(21px,2vw,26px); line-height:1.25; color:var(--ink-strong); margin:0; padding:0; border:0}
  .v4-carte .fort{font-family:var(--sans); font-weight:700; color:var(--ink-strong); font-size:18px}
  .home-v3 .v4-chute{margin-top:32px; font-family:var(--sans); font-weight:600; font-size:clamp(18px,1.7vw,21px); color:var(--ink-strong); max-width:60ch}
  @media (max-width:820px){ .v4-cartes{grid-template-columns:minmax(0,1fr)} .v4-carte{padding:22px 20px 24px} }

  /* le mécanisme, timeline du 28/10 : un mouvement à la fois, texte et image alternés sur le sable ; l'image (au moins
     la moitié de la largeur) est seule dans un cadre sombre ; le dernier bloc, sans image, clôt la section au centre */
  .v4-meca{list-style:none; margin:0; padding:0}
  .v4-rang{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:64px; align-items:center; padding:72px 0}
  .v4-rang:first-child{padding-top:0}
  .v4-inverse{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
  .v4-inverse .v4-texte{order:2}
  .home-v3 .v4-texte h2{max-width:none; font-family:var(--sans); font-weight:700; font-size:clamp(24px,2.4vw,32px); line-height:1.15; letter-spacing:-.02em; text-wrap:balance; color:var(--ink-strong)}
  .v4-texte p{margin-top:14px; color:var(--ink-soft); max-width:52ch; text-wrap:pretty}
  .v4-texte p.attaque{color:var(--ink); font-weight:600}
  .v4-image{position:relative; min-width:0}
  .v4-fin{grid-template-columns:minmax(0,1fr); justify-items:center; text-align:center; padding:56px 0 0; border-top:1px solid var(--rule)}
  .v4-fin .v4-texte{max-width:640px}
  .v4-fin .v4-texte p{margin-left:auto; margin-right:auto}
  .v4-fin .pull{margin:32px auto 0; padding:0; border:0; font-family:var(--serif); font-style:italic; font-size:clamp(20px,2vw,24px); line-height:1.45; color:var(--ink-strong); max-width:40ch}
  .v4-fin .pull cite{display:block; margin-top:12px; font-family:var(--sans); font-style:normal; font-size:14px; font-weight:600; color:var(--ghost)}
  @media (max-width:900px){
    .v4-rang,.v4-inverse{grid-template-columns:minmax(0,1fr); gap:24px; padding:48px 0}
    .v4-inverse .v4-texte{order:0}
  }

  /* 3.2 : la scène de Manou (carte Permission, Autoriser et Refuser) dans un cadre 16:10 ; l'instant clé : le geste sur
     Autoriser, la pastille de Manou en alerte dans la barre de menus (le vrai PNG de barre de l'app) */
  .v4-cadre{position:relative; aspect-ratio:16/10; background:#101420; border:1px solid #28304A; border-radius:var(--radius); overflow:hidden;
    display:flex; align-items:center; justify-content:center}
  .v4-cadre .ms-scene{zoom:.7}
  .v4-perm::before{content:""; position:absolute; left:0; right:0; top:0; height:30px; background:#0B0F1A; border-bottom:1px solid #1E2536}
  .v4-barre{position:absolute; top:3px; right:18px; width:25px; height:24px}
  .v4-perm .ms-scene{margin-top:22px}
  .v4-perm .ms-autoriser{position:relative}
  .v4-perm .ms-autoriser::after{content:""; position:absolute; left:30%; top:50%; width:22px; height:22px; margin:-11px 0 0 -11px; border-radius:50%;
    background:rgba(232,233,225,.3); border:1.5px solid rgba(232,233,225,.85)}
  @media (max-width:600px){ .v4-cadre{aspect-ratio:auto; height:330px; align-items:flex-start} .v4-cadre .ms-scene{zoom:.78} }

  .home-v3 #chez-soi h2{max-width:26ch}
  .v4-trois{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:40px}
  .v4-trois .v4-carte{background:#121828; border:1px solid #28304A}
  .v4-trois .v4-carte h3{font-family:var(--sans); font-weight:700; font-size:18px; color:var(--ink-strong)}
  .v4-trois .v4-carte p{font-size:15.5px; line-height:1.6}
  /* quatrième carte (29/10, « Le format est ouvert » depuis le 03/11) : quatre colonnes au large, deux au milieu */
  .v4-trois.v4-quatre{grid-template-columns:repeat(4,minmax(0,1fr))}
  @media (max-width:1180px){ .v4-trois.v4-quatre{grid-template-columns:repeat(2,minmax(0,1fr))} }
  @media (max-width:900px){ .v4-trois,.v4-trois.v4-quatre{grid-template-columns:minmax(0,1fr)} }
  .v4-etats{list-style:none; margin:48px 0 0; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px}
  .v4-etats li{display:flex; flex-direction:column; align-items:center; gap:10px; font-family:var(--sans); font-weight:600; font-size:16px; color:var(--ink-strong)}
  .v4-etats img{width:64px; height:64px}
  @media (max-width:640px){ .v4-etats{grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:24px} .v4-etats img{width:56px; height:56px} }

  .v4-auteur{display:grid; grid-template-columns:180px minmax(0,1fr); gap:36px; align-items:center; padding:28px;
    background:#121828; border:1px solid #28304A; border-radius:14px}
  .v4-auteur .portrait{width:180px; height:180px; border-radius:10px; object-fit:cover}
  .home-v3 .v4-auteur h2{font-size:clamp(22px,2.2vw,28px); color:var(--ink-strong)}
  .v4-auteur blockquote{margin:12px 0 0; padding:0; border:0; font-family:var(--serif); font-style:italic;
    font-size:clamp(17px,1.6vw,20px); line-height:1.55; color:var(--ink); max-width:62ch}
  @media (max-width:640px){ .v4-auteur{grid-template-columns:minmax(0,1fr); gap:18px; padding:20px} .v4-auteur .portrait{width:120px; height:120px} }

  .home-v3 #appel .sec{padding-top:88px; padding-bottom:88px}
  .home-v3 #appel h2{color:var(--ink-strong)}
  .home-v3 #appel .lede{color:var(--ink-soft)}
  .home-v3 #appel .beta{margin:16px auto 0; max-width:560px}
  .home-v3 #appel .petit{margin-top:22px; font-family:var(--sans); font-size:14px; color:var(--ghost)}

  /* ---------- les scènes animées (motions 1 et 3) ---------- */
  .mo-scene{aspect-ratio:16/10; position:relative; overflow:hidden; background:#101420;
    border:1px solid #28304A; border-radius:var(--radius); color:#E8E9E1; font-family:var(--sans)}
  .mo-stage{position:absolute; left:0; top:0; width:100%; aspect-ratio:16/10; container-type:inline-size}
  .mo-stage *{box-sizing:border-box}
  .mo-btn{display:inline-flex; align-items:center; height:3.4cqw; padding:0 1.5cqw; border:1px solid #3A4466; border-radius:999px;
    font-size:1.55cqw; color:#E8E9E1; background:#1B2233; white-space:nowrap}
  .mo-doigt{position:absolute; width:3.4cqw; height:3.4cqw; margin:-1.7cqw 0 0 -1.7cqw; border-radius:50%;
    background:rgba(232,233,225,.28); border:1px solid rgba(232,233,225,.7); opacity:0; pointer-events:none}
  .mo-frappe{display:inline-block; white-space:nowrap}

  /* motion 1 : la clôture */
  .mo-fenetre{position:absolute; left:3cqw; top:3cqw; width:54cqw; height:56.5cqw; background:#161C2C; border:1px solid #28304A; border-radius:1.4cqw}
  .mo-tete{position:absolute; left:3cqw; font-size:1.45cqw; letter-spacing:.12em; text-transform:uppercase; color:#8A93AD}
  .mo-tete b{font-weight:500; color:#E8E9E1}
  .mo-compte{position:relative; display:inline-block; min-width:3cqw; margin-left:.8cqw}
  .mo-compte .mo-avant{position:absolute; left:0; opacity:0}
  .mo-ligne{position:absolute; left:3cqw; right:3cqw; font-size:1.9cqw; color:#E8E9E1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .mo-pale{color:#8A93AD}
  .mo-l-encours .mo-tete{top:3cqw} .mo-l-encours .mo-ligne:nth-of-type(2){top:7cqw} .mo-l-encours .mo-ligne:nth-of-type(3){top:10.8cqw}
  .mo-l-passes .mo-tete{top:33cqw} .mo-l-passes .mo-pale{top:52cqw}
  .mo-projet{position:absolute; left:3cqw; width:48cqw; top:37cqw; height:14cqw; padding:1.2cqw 1.6cqw; border:1px solid #3A4466; border-radius:1cqw; background:#1B2233}
  .mo-nom{font-size:2cqw; font-weight:600; color:#F6F6F0}
  .mo-fichiers{margin-top:.6cqw; font-family:var(--mono); font-size:1.45cqw; color:#8A93AD; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .mo-dec{margin-top:.9cqw; padding:.4cqw .9cqw; font-size:1.55cqw; color:#E8E9E1; background:#8FB89B1F; border-left:2px solid #8FB89B; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
  .mo-cons{position:relative; margin-top:1cqw; height:3.4cqw; opacity:0}
  .mo-cons > *{position:absolute; top:0}
  .mo-champ{display:inline-flex; align-items:center; height:3.4cqw; padding:0 1.2cqw; border:1px solid #3A4466; border-radius:.8cqw;
    background:#101420; font-size:1.55cqw; color:#E8E9E1; white-space:nowrap; overflow:hidden}
  .mo-cons .mo-champ{left:0; width:22cqw; opacity:0}
  .mo-cons .mo-b-deposer{left:23cqw; opacity:0}
  .mo-vol{position:absolute; left:4.6cqw; top:45cqw; max-width:44cqw; padding:.4cqw .9cqw; font-size:1.55cqw; color:#E8E9E1;
    background:#8FB89B33; border-left:2px solid #8FB89B; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0; transform-origin:0 50%}
  .mo-base{position:absolute; left:60cqw; top:3cqw; width:37cqw; height:56.5cqw; border:1px solid #28304A; border-radius:1.4cqw; overflow:hidden; background:#101420}
  .mo-base img{position:absolute; width:100cqw; max-width:none; height:auto; left:-31.5cqw; top:-4.25cqw}
  .mo-arrivee{position:absolute; left:18.5cqw; top:28.25cqw; width:2.2cqw; height:2.2cqw; margin:-1.1cqw 0 0 -1.1cqw; border-radius:50%;
    border:2px solid #8FB89B; box-shadow:0 0 1.6cqw #8FB89B99}

  /* motion 3 : la décision */
  .mo-onglet{position:absolute; left:4cqw; top:4cqw; height:3.8cqw; padding:0 1.8cqw; display:flex; align-items:center; border-radius:999px;
    background:#E8E9E1; color:#101420; font-size:1.5cqw; letter-spacing:.12em; text-transform:uppercase; font-weight:600}
  .mo-manou{position:absolute; right:4cqw; top:1.8cqw; width:9cqw; height:9cqw}
  .mo-manou > span{position:absolute; inset:0}
  .mo-manou .ms-manou{width:100%; height:100%}
  .mo-m-avant{opacity:0}
  .mo-panneau{position:absolute; left:4cqw; top:12.5cqw; width:78cqw; height:33cqw; padding:2.4cqw 3cqw; background:#161C2C; border:1px solid #28304A; border-radius:1.4cqw}
  .mo-att{position:absolute; left:3cqw; right:3cqw; border-left:2px solid #E0B64F; padding:.6cqw 0 .6cqw 1.6cqw}
  .mo-att-1{top:2.4cqw}
  .mo-att-2{top:17cqw}
  .mo-q{font-size:1.95cqw; line-height:1.4; color:#F6F6F0}
  .mo-gl{color:#E0B64F; margin-right:.8cqw; font-size:1.4cqw; vertical-align:.15em}
  .mo-m{margin-top:.4cqw; font-size:1.5cqw; color:#8A93AD}
  .mo-pied{position:relative; margin-top:1cqw; height:3.4cqw}
  .mo-b-rep{opacity:0}
  .mo-form{position:absolute; left:0; top:0; width:60cqw; opacity:0}
  .mo-form .mo-champ{display:flex; width:100%; height:5.2cqw; align-items:flex-start; padding-top:1cqw; position:relative}
  .mo-form .mo-ph{position:absolute; left:1.2cqw; top:1cqw; color:#8A93AD; opacity:0}
  .mo-btns{display:flex; gap:1cqw; margin-top:1cqw}
  .mo-depose{position:absolute; left:0; top:.4cqw; font-size:1.5cqw; color:#E0B64F}
  .mo-scene .ms-manou{display:block}

  @media (prefers-reduced-motion: no-preference){
    .mo-scene.joue .mo-stage{animation:mo-stage 9s linear infinite}
    .mo-scene.joue .mo-doigt{animation:var(--mo-doigt) 9s linear infinite}
    /* motion 1 */
    .mo-cloture.joue{--mo-doigt:mo1-doigt}
    .mo-cloture.joue .mo-projet{animation:mo1-projet 9s infinite}
    .mo-cloture.joue .mo-pale{animation:mo1-pale 9s infinite}
    .mo-cloture.joue .mo-cons{animation:mo1-cons 9s linear infinite}
    .mo-cloture.joue .mo-b-donner{animation:mo1-donner 9s linear infinite}
    .mo-cloture.joue .mo-cons .mo-champ{animation:mo1-champ 9s linear infinite}
    .mo-cloture.joue .mo-cons .mo-frappe{animation:mo1-frappe 9s steps(18,end) infinite}
    .mo-cloture.joue .mo-b-deposer{animation:mo1-champ 9s linear infinite}
    .mo-cloture.joue .mo-compte .mo-avant{animation:mo1-avant 9s linear infinite}
    .mo-cloture.joue .mo-compte .mo-apres{animation:mo1-apres 9s linear infinite}
    .mo-cloture.joue .mo-vol{animation:mo1-vol 9s infinite}
    .mo-cloture.joue .mo-arrivee{animation:mo1-arrivee 9s infinite}
    /* motion 3 */
    .mo-decision.joue{--mo-doigt:mo3-doigt}
    .mo-decision.joue .mo-b-rep{animation:mo3-rep 9s linear infinite}
    .mo-decision.joue .mo-form{animation:mo3-form 9s linear infinite}
    .mo-decision.joue .mo-ph{animation:mo3-ph 9s linear infinite}
    .mo-decision.joue .mo-form .mo-frappe{animation:mo1-frappe-3 9s steps(17,end) infinite}
    .mo-decision.joue .mo-depose{animation:mo3-depose 9s linear infinite}
    .mo-decision.joue .mo-att-2{animation:mo3-att2 9s infinite}
    .mo-decision.joue .mo-m-avant{animation:mo1-avant-3 9s linear infinite}
    .mo-decision.joue .mo-m-apres{animation:mo1-apres-3 9s linear infinite}
  }
  /* la boucle : 9 s ; le tout s'efface à 93-96 %, se remet à zéro invisible, revient à 100 % */
  @keyframes mo-stage{0%,92%{opacity:1} 95%,98%{opacity:0} 100%{opacity:1}}
  /* motion 1 : 0-10 % repos ; 11 % geste sur « Donner une consigne » ; 14-30 % la consigne s'écrit ; 34 % « Déposer » ;
     40-54 % le projet descend dans « Passés » ; 58-72 % la décision validée rejoint la base ; tenue jusqu'à 92 % */
  @keyframes mo1-doigt{0%,8%{opacity:0; left:11.6cqw; top:28.6cqw} 10%,12%{opacity:1; left:11.6cqw; top:28.6cqw; transform:scale(.8)} 14%{opacity:0; transform:scale(1)}
    30%{opacity:0; left:35cqw; top:28.6cqw} 32%,34%{opacity:1; left:35cqw; top:28.6cqw; transform:scale(.8)} 36%,100%{opacity:0; transform:scale(1)}}
  @keyframes mo1-projet{0%,40%{top:16cqw} 54%,95.9%{top:37cqw; animation-timing-function:cubic-bezier(.77,0,.175,1)} 96%,100%{top:16cqw}}
  @keyframes mo1-pale{0%,40%{top:37cqw} 54%,95.9%{top:52cqw} 96%,100%{top:37cqw}}
  @keyframes mo1-cons{0%,36%{opacity:1} 39%,100%{opacity:0}}
  @keyframes mo1-donner{0%,12%{opacity:1} 13%,100%{opacity:0}}
  @keyframes mo1-champ{0%,12%{opacity:0} 14%,100%{opacity:1}}
  @keyframes mo1-frappe{0%,14%{clip-path:inset(0 100% 0 0)} 29%,100%{clip-path:inset(0 0 0 0)}}
  @keyframes mo1-avant{0%,46%{opacity:1} 48%,100%{opacity:0}}
  @keyframes mo1-apres{0%,46%{opacity:0} 48%,100%{opacity:1}}
  @keyframes mo1-vol{0%,57%{opacity:0; transform:none} 59%{opacity:1; transform:none; animation-timing-function:cubic-bezier(.77,0,.175,1)}
    71%{opacity:1; transform:translate(71cqw,-17.5cqw) scale(.12)} 73%,100%{opacity:0; transform:translate(71cqw,-17.5cqw) scale(.12)}}
  @keyframes mo1-arrivee{0%,70%{opacity:0; transform:scale(.5)} 73%{opacity:1; transform:scale(1.6)} 80%,100%{opacity:1; transform:scale(1)}}
  /* motion 3 : 0-10 % repos ; 12 % geste sur « Répondre » ; 18-38 % la réponse s'écrit ; 44 % « Déposer la décision » ;
     48 % la ligne passe à « réponse déposée » ; 52 % Manou passe à « noté » ; tenue jusqu'à 92 % */
  @keyframes mo3-doigt{0%,9%{opacity:0; left:12.6cqw; top:26.2cqw} 11%,13%{opacity:1; left:12.6cqw; top:26.2cqw; transform:scale(.8)} 15%{opacity:0; transform:scale(1)}
    40%{opacity:0; left:14.6cqw; top:32.4cqw} 42%,44%{opacity:1; left:14.6cqw; top:32.4cqw; transform:scale(.8)} 46%,100%{opacity:0; transform:scale(1)}}
  @keyframes mo3-rep{0%,13%{opacity:1} 14%,100%{opacity:0}}
  @keyframes mo3-form{0%,13%{opacity:0; transform:translateY(-.6cqw)} 15%,45%{opacity:1; transform:none} 47%,100%{opacity:0}}
  @keyframes mo3-ph{0%,17%{opacity:1} 18%,100%{opacity:0}}
  @keyframes mo1-frappe-3{0%,18%{clip-path:inset(0 100% 0 0)} 36%,100%{clip-path:inset(0 0 0 0)}}
  @keyframes mo3-depose{0%,47%{opacity:0; transform:translateY(.4cqw)} 49%,100%{opacity:1; transform:none}}
  @keyframes mo3-att2{0%,13%{top:17cqw} 15%,46%{top:23.5cqw; animation-timing-function:cubic-bezier(.23,1,.32,1)} 49%,95.9%{top:17cqw} 96%,100%{top:17cqw}}
  @keyframes mo1-avant-3{0%,51%{opacity:1} 53%,100%{opacity:0}}
  @keyframes mo1-apres-3{0%,51%{opacity:0} 53%,100%{opacity:1}}
  .mo-scene.pause *{animation-play-state:paused !important}
  /* l'image fixe de la motion 1 (28/10 au soir) : la ligne validée saisie en plein vol vers la base */
  .mo-cloture.cle .mo-vol{opacity:1; transform:translate(33cqw,-11cqw) scale(.8); box-shadow:0 0 2cqw #8FB89B55}
  /* audit web-design-guidelines (28/10) : focus visible sur les liens et boutons de la home, cible d'ancre sous la nav fixe */
  .home-v3 .lien-code:focus-visible,.home-v3 .btn:focus-visible{outline:2px solid var(--encre); outline-offset:3px}
  .home-v3 #beta-haut,.home-v3 #portes{scroll-margin-top:96px}
  /* l'instant clé (timeline du 28/10) : une photo prise en plein geste */
  .mo-cloture.instant .mo-projet{top:27cqw; box-shadow:0 1.2cqw 3cqw rgba(0,0,0,.45)}
  .mo-cloture.instant .mo-fichiers{opacity:.45}
  .mo-cloture.instant .mo-cons{opacity:1}
  .mo-cloture.instant .mo-b-donner{opacity:0}
  .mo-cloture.instant .mo-cons .mo-champ,.mo-cloture.instant .mo-b-deposer{opacity:1}
  .mo-cloture.instant .mo-compte .mo-avant{position:static; opacity:1; color:#8A93AD; text-decoration:line-through; margin-right:.6cqw}
  .mo-cloture.instant .mo-l-passes .mo-pale{top:52cqw}
  .mo-cloture.instant .mo-doigt{opacity:1; left:35.5cqw; top:39.6cqw}
  .mo-cloture.instant .mo-fenetre{z-index:2}
  .mo-cloture.instant .mo-vol{top:34.4cqw; opacity:1; transform:translate(52cqw,-10cqw) scale(.62); box-shadow:0 0 2cqw #8FB89B55}
  .mo-cloture.instant .mo-trace{box-shadow:none; background:#8FB89B14}
  .mo-cloture.instant .mo-trace-1{opacity:.16; transform:translate(18cqw,-8.5cqw) scale(.85)}
  .mo-cloture.instant .mo-trace-2{opacity:.32; transform:translate(35cqw,-10cqw) scale(.74)}
  .mo-cloture.instant .mo-arrivee{opacity:.45}
  .mo-decision.instant .mo-compte .mo-avant{position:static; opacity:1; color:#8A93AD; text-decoration:line-through; margin-right:.6cqw}
  .mo-decision.instant .mo-compte b{font-weight:600} .mo-decision.instant .mo-compte .mo-apres{color:#E0B64F}
  .mo-decision.instant .mo-m-avant{opacity:1} .mo-decision.instant .mo-m-apres{opacity:0}
  .mo-decision.instant .mo-b-rep{opacity:0}
  .mo-decision.instant .mo-form{opacity:1}
  .mo-decision.instant .mo-ph{opacity:0}
  .mo-decision.instant .mo-depose{top:10.4cqw; opacity:.75}
  .mo-decision.instant .mo-att-2{top:28cqw}
  .mo-decision.instant .mo-panneau{height:44cqw}
  .mo-decision.instant .mo-doigt{opacity:1; left:14.6cqw; top:32.4cqw}
  /* mobile : on recadre sur l'instant clé au lieu de tout réduire (la scène garde 640 px, le cadre en montre une part) */
  @media (max-width:700px){
    .mo-scene{aspect-ratio:auto; height:310px}
    .mo-stage{width:640px}
    .mo-cloture .mo-stage{left:-8px; top:-60px}
    .mo-decision .mo-stage{left:-10px; top:-10px}
  }
  /* v5 (28/10) : la capture de la carte dans un cadre sombre ; l'appel final, cible des boutons du hero et de la nav */
  .v4-capture{margin:0; aspect-ratio:16/10; overflow:hidden; background:#101420; border:1px solid #28304A; border-radius:var(--radius)}
  .v4-capture img{width:100%; height:100%; object-fit:cover; display:block}
  @media (max-width:700px){ .v4-capture{aspect-ratio:4/3} .v4-capture img{width:150%; max-width:none; margin-left:-25%} }
  .home-v3 #appel{scroll-margin-top:64px}
  .home-v3 #appel .beta{margin:28px auto 0}
  .home-v3 .hero-actions .btn.solid{align-self:flex-start}
  /* FAQ (28/10) : un accordéon natif sur le sable, filets entre les questions */
  .faq{margin-top:36px; max-width:820px; border-top:1px solid var(--rule)}
  .faq-q{border-bottom:1px solid var(--rule)}
  .faq-q summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:24px; padding:20px 0;
    font-family:var(--sans); font-weight:600; font-size:clamp(17px,1.5vw,19px); color:var(--ink-strong)}
  .faq-q summary::-webkit-details-marker{display:none}
  .faq-q summary::after{content:"+"; flex:none; font-weight:400; color:var(--ghost); transition:transform 200ms cubic-bezier(.23,1,.32,1)}
  .faq-q[open] summary::after{transform:rotate(45deg)}
  .faq-q summary:focus-visible{outline:2px solid var(--encre); outline-offset:4px}
  .faq-q p{padding:0 0 22px; color:var(--ink-soft); max-width:68ch; text-wrap:pretty}
  @media (prefers-reduced-motion: reduce){ .faq-q summary::after{transition:none} }
  /* le jeu du nom sur le sable (28/10) : « manence » en bleu nuit, le préfixe en ambre ; une respiration, pas un titre */
  .home-v3 .wordplay{margin:0 0 56px; opacity:1; color:#1B2440; font-size:clamp(38px,4.6vw,58px)}
  .home-v3 .wordplay .pre{color:var(--pre-nom); opacity:1; font-weight:400}
  .home-v3 .wordplay .cap{color:var(--ghost); font-size:10.5px}
  .home-v3 .v4-wp{list-style:none; padding:8px 0 0}
  .home-v3 .v4-wp .wordplay{margin:0}
  .home-v3 #chez-soi .wordplay{margin:56px 0 0}
  @media (max-width:600px){ .home-v3 .wordplay{font-size:36px; margin-bottom:36px} .home-v3 .wordplay .cap{letter-spacing:.08em} }
  /* la proposition du hero (28/10) : un cran au-dessus du paragraphe du problème, sans devenir un second titre */
  .home-v3 .hero-v2 .sub-prop strong{display:block; margin-bottom:6px; font-size:1.12em; line-height:1.4; font-weight:650; color:var(--ink-strong)}
  /* lot du 28/10 soir */
  .home-v3 .hero-v2 .avec{margin-top:10px; display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-family:var(--mono); font-size:12.5px; color:var(--ghost)}
  .home-v3 .hero-v2 .avec img{width:15px; height:15px; filter:grayscale(1) brightness(0) invert(1); opacity:.75}
  .v4-graphe{position:relative; aspect-ratio:16/10; background:#101420; border:1px solid #28304A; border-radius:var(--radius); overflow:hidden;
    --paper:#101420; --encre:#8CA0F2; --ghost:#8A93AD; --ghost-faint:#8A93AD59; --sauge:#8FB89B; --ink:#E8E9E1; --mono:ui-monospace,"SF Mono",Menlo,monospace}
  .v4-graphe canvas{position:absolute; inset:0; width:100%; height:100%}
  @media (max-width:700px){ .v4-graphe{aspect-ratio:4/3} }
  /* mouvement 3 (28/10 soir) : deux portraits côte à côte, ensemble la place d'une image 16:10 */
  .v4-paire{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; aspect-ratio:16/10}
  .v4-paire > *{width:100%; height:100%; min-width:0}
  .v4-paire .v4-cadre{aspect-ratio:auto}
  .v4-paire .v4-perm .ms-scene{zoom:.74; margin-top:40px}
  .mo-scene.portrait{aspect-ratio:auto}
  .mo-scene.portrait .mo-stage{width:190%; aspect-ratio:auto; height:100%}
  .mo-decision.portrait .mo-manou{right:auto; left:44cqw; width:6cqw; height:6cqw; top:3.4cqw}
  .mo-decision.portrait .mo-panneau{width:48cqw; left:2.6cqw; top:11cqw; height:auto; padding:1.6cqw}
  .mo-decision.portrait .mo-att{position:relative; left:auto; right:auto; top:auto !important; margin-bottom:1.6cqw}
  .mo-decision.portrait .mo-pied{height:auto}
  .mo-decision.portrait .mo-form{position:relative; width:100%}
  .mo-decision.portrait .mo-depose{position:relative; top:auto !important; margin-top:1cqw}
  .mo-decision.portrait .mo-b-rep{display:none}
  .mo-decision.portrait .mo-att-2 .mo-btn{opacity:1}
  .mo-decision.portrait .mo-doigt{display:none}
  .mo-decision.portrait .mo-b-dep{position:relative}
  .mo-decision.portrait .mo-b-dep::after{content:""; position:absolute; left:35%; top:50%; width:3.6cqw; height:3.6cqw; margin:-1.8cqw 0 0 -1.8cqw;
    border-radius:50%; background:rgba(232,233,225,.28); border:1px solid rgba(232,233,225,.8)}
  @media (max-width:700px){
    .v4-paire{grid-template-columns:minmax(0,1fr); aspect-ratio:auto}
    .v4-paire > *,.v4-paire > .mo-scene.portrait{height:auto; aspect-ratio:4/5}
    .mo-scene.portrait .mo-stage{width:190%; left:0; top:0}
  }
  /* le préfixe du jeu du nom : le lavande du titre du hero (#8CA0F2) fait 2,1:1 sur le sable ; même teinte assombrie
     au plus près du seuil des grands textes : #6580EE, 3,0:1 */
  .home-v3{--pre-nom:#6580EE}
  /* 28/10 : de l'air autour du jeu du nom, au-dessus et au-dessous des filets voisins */
  .home-v3 .v4-wp{padding:32px 0 56px}
  .home-v3 #mecaniques > .wrap > .wordplay{margin-top:8px; margin-bottom:64px}
  /* 28/10 : mise en valeur (pas un lien) dans le mouvement 1 ; le bleu de l'encre du papier, 7:1 sur le sable */
  .home-v3 .v4-texte strong.accent{color:#2743C8; font-weight:650}
  .home-v3 .v4-paire .v4-perm::before{display:none}
  .home-v3 .v4-paire .v4-perm .ms-scene{margin-top:0}
  /* le jeu du nom regroupé (28/10) : trois mots côte à côte, l'un sous l'autre sur mobile */
  .home-v3 .nom-bloc .nom-trois{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; padding-top:64px; padding-bottom:64px}
  .home-v3 .nom-trois .wordplay{margin:0; text-align:left; font-size:clamp(34px,3.6vw,50px)}
  .home-v3 .nom-trois .wordplay .cap{line-height:1.6}
  @media (max-width:820px){ .home-v3 .nom-bloc .nom-trois{grid-template-columns:minmax(0,1fr); gap:36px; padding-top:48px; padding-bottom:48px} }
  /* 28/10 : la citation de la clôture plus large, sa première phrase tient sur une ligne sur ordinateur */
  .v4-fin .v4-texte{max-width:900px}
  .v4-fin .v4-texte > p{max-width:640px}
  .v4-fin .pull{max-width:none}
  .home-v3 .v4-texte .btn.visite{margin-top:22px}
  /* 28/10 : le bouton beta en bas du menu replié, sur mobile seulement (le bouton de l'en-tête y est masqué) */
  #nav-sections .nav-beta{display:none}
  @media (max-width:480px){ header.nav-open #nav-sections .nav-beta{display:inline-flex; justify-content:center; height:44px; margin:16px 0 8px; border-bottom:0} .home-v3 header.nav-open #nav-sections .nav-beta{color:#FFFFFF} }

  /* ============ PAGE ARCHITECTURE (/architecture, /fr/architecture ; 28/10, sur la charte .home-v3) ============
     Une colonne de lecture, un sommaire fixe à gauche sur grand écran qui s'allume au défilement, dix défis à la même
     anatomie (titre, réponse, figure, « Vérifie dans le dépôt »). Figures et extraits en cartes bleu nuit dans les deux thèmes. */
  .home-v3 .v4-carte .renvoi{display:inline-block; margin-top:12px; font-weight:600; color:var(--encre); text-decoration:underline; text-underline-offset:4px}
  .archi .archi-tete .wrap{padding-top:72px; padding-bottom:64px}
  @media (max-width:600px){ .archi .archi-tete .wrap{padding-top:40px; padding-bottom:44px} }
  .home-v3.archi .archi-tete h1{font-size:clamp(38px,4.4vw,60px); max-width:16ch; margin-bottom:22px}
  .archi .archi-tete .sub{max-width:62ch}
  .archi-ligne{margin-top:16px; font-size:15px; color:var(--ghost); max-width:62ch}
  .archi-boutons{display:flex; flex-wrap:wrap; gap:12px; margin-top:28px}
  .archi .btn:active{transform:scale(.97)}
  @media (prefers-reduced-motion: no-preference){ .archi .btn{transition:background-color .12s ease, border-color .12s ease, transform .12s ease-out} }

  .archi-corps{padding-top:72px; padding-bottom:112px}
  @media (min-width:1100px){ .archi-corps{display:grid; grid-template-columns:200px minmax(0,760px); gap:72px; justify-content:start} }
  .archi-col{min-width:0; max-width:760px}
  .archi-sommaire{display:none}
  @media (min-width:1100px){
    .archi-sommaire{display:block; position:sticky; top:92px; align-self:start; max-height:calc(100vh - 112px); overflow-y:auto}
  }
  .som-titre{font-size:13px; font-weight:700; color:var(--ink-strong); margin:0 0 12px}
  .archi-sommaire ol{list-style:none; margin:0; padding:0}
  .archi-sommaire a{display:flex; gap:10px; padding:6px 0 6px 14px; border-left:2px solid var(--rule); font-size:13.5px; line-height:1.4;
    color:var(--ghost); text-decoration:none}
  .archi-sommaire a:hover{color:var(--ink)}
  .archi-sommaire a[aria-current]{color:var(--ink-strong); border-left-color:var(--encre); font-weight:600}
  .som-n{flex:none; width:18px; font-variant-numeric:tabular-nums; color:inherit}
  .archi-sommaire .som-fin:first-of-type,.archi-sommaire li:not(.som-fin) + .som-fin{margin-top:14px}

  /* les figures : l'image remplit sa carte ; le fond de la carte est celui du visuel (bleu nuit ou sable) */
  .archi-figure{margin:36px 0 0; border-radius:12px; overflow:hidden; border:1px solid var(--rule)}
  .archi-figure img{display:block; width:100%; height:auto}
  .archi-figure.fond-nuit{background:#0E1424; border-color:#28304A}
  .archi-figure.fond-sable{background:#F3EDE3}
  .archi-col > .archi-figure:first-child{margin-top:0}
  .archi-exergue{margin:40px 0 0; padding:0 0 0 22px; border-left:2px solid var(--encre)}
  .archi-exergue p{font-family:var(--serif); font-style:italic; font-size:clamp(19px,1.8vw,22px); line-height:1.5; color:var(--ink-strong); text-wrap:pretty}
  .archi-exergue cite{display:block; margin-top:12px; font-style:normal; font-size:13.5px; color:var(--ghost)}

  /* un défi */
  .defi,.archi-fin{margin-top:96px; padding-top:40px; border-top:1px solid var(--rule); scroll-margin-top:72px}
  @media (max-width:700px){ .defi,.archi-fin{margin-top:64px; padding-top:32px} }
  .defi-num{font-size:14px; font-weight:700; color:var(--encre); margin:0 0 10px}
  .home-v3 .defi h2,.home-v3 .archi-fin h2{font-size:clamp(25px,2.5vw,33px); line-height:1.18; max-width:none; letter-spacing:-.015em}
  .defi-texte p,.archi-intro{margin-top:18px; max-width:68ch; color:var(--ink-soft); font-size:17px; line-height:1.65; text-wrap:pretty}
  @media (max-width:700px){ .defi-texte p,.archi-intro{font-size:16px} }
  .defi-texte code,.archi-intro code,.verifie code,.archi-lois code,.archi-sources code,.faq-q code,.archi-tete code,.archi-profil p code{
    font-family:var(--mono); font-size:.86em; padding:1px 5px; border-radius:4px; background:var(--rule-soft); color:var(--ink-strong); overflow-wrap:anywhere}
  .defi-cta{margin-top:24px}

  /* les extraits de fichiers : chasse fixe, le défilement horizontal reste dans le cadre */
  .archi-extrait{margin:24px 0 0; background:#101420; border:1px solid #28304A; border-radius:12px; overflow:hidden; color:#E8E9E1}
  .archi-extrait figcaption{padding:11px 18px; border-bottom:1px solid #1E2536; font-size:13px; color:#8A93AD}
  .archi-extrait figcaption code{font-family:var(--mono); font-size:12.5px; color:#C9CFE6; overflow-wrap:anywhere}
  .archi-extrait pre,.archi-cmd pre{margin:0; overflow-x:auto; white-space:pre; font-family:var(--mono); font-size:13px; line-height:1.65; tab-size:2}
  .archi-extrait pre{padding:16px 18px 18px}
  .archi-extrait pre:focus-visible,.archi-cmd pre:focus-visible{outline:2px solid #8CA0F2; outline-offset:-2px}
  @media (max-width:700px){ .archi-extrait pre,.archi-cmd pre{font-size:12px} }

  /* Vérifie dans le dépôt */
  .verifie{margin-top:24px; padding:16px 0 0; border-top:1px dashed var(--rule-strong)}
  .verifie-titre{font-size:13.5px; font-weight:700; color:var(--ink-strong)}
  .verifie ul{list-style:none; margin:8px 0 0; padding:0}
  .verifie li{margin-top:6px; font-size:15px; line-height:1.55; color:var(--ghost)}
  .verifie a,.archi-sources a,.archi-lien a,.defi-texte a{color:var(--encre); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px}

  /* défi 7 : trois lignes ; défi 10 : l'échelle */
  .archi-harnais dl{margin:0}
  .archi-harnais dl div{display:flex; justify-content:space-between; gap:16px; padding:16px 22px; border-top:1px solid #1E2536}
  .archi-harnais dl div:first-child{border-top:0}
  .archi-harnais dt{font-weight:600; color:#F6F6F0}
  .archi-harnais dd{margin:0; color:#B8BED0; text-align:right}
  .archi-echelle ol{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr))}
  .archi-echelle li{padding:18px 14px 20px; border-left:1px solid #1E2536; display:flex; flex-direction:column; gap:8px; font-size:13.5px; line-height:1.45; color:#C9CFE6}
  .archi-echelle li:first-child{border-left:0}
  .archi-echelle .niv{font-family:var(--serif); font-size:30px; line-height:1; color:#8CA0F2; font-variant-numeric:lining-nums}
  @media (max-width:700px){
    .archi-echelle ol{grid-template-columns:repeat(2,minmax(0,1fr))}
    .archi-echelle li{border-left:0; border-top:1px solid #1E2536}
    .archi-echelle li:nth-child(even){border-left:1px solid #1E2536}
    .archi-echelle li:nth-child(-n+2){border-top:0}
  }

  /* lois, sources */
  .archi-lois,.archi-sources{list-style:none; margin:24px 0 0; padding:0; border-top:1px solid var(--rule)}
  .archi-lois li,.archi-sources li{padding:14px 0; border-bottom:1px solid var(--rule); color:var(--ink-soft); font-size:16px; line-height:1.6}
  .archi-lois strong,.archi-sources strong{color:var(--ink-strong)}
  .archi-lien{margin-top:18px; font-size:15px}
  .archi-fin .faq{margin-top:24px}

  /* la clôture : deux profils, le technicien (installer) et l'utilisateur (Manou) */
  .archi-profils{display:grid; grid-template-columns:minmax(0,1fr); gap:16px; margin-top:28px}
  .archi-profil{color-scheme:dark; --paper:#101420; --paper-raise:#161C2C; --ink:#E8E9E1; --ink-strong:#F6F6F0; --ink-soft:#C3C7D3;
    --encre:#8CA0F2; --ghost:#8A93AD; --rule:#28304A; --rule-soft:#1E2536; --rule-strong:#3A4466;
    background:#101420; border:1px solid #28304A; border-radius:14px; padding:26px 26px 28px; color:var(--ink); min-width:0}
  .archi-profil h3{font-size:19px; font-weight:700; color:var(--ink-strong)}
  .archi-profil-sous{margin-top:4px; font-size:14px; color:var(--ghost)}
  .archi-profil p{margin-top:16px; font-size:15px; line-height:1.6; color:var(--ink-soft)}
  .archi-cmd{display:flex; align-items:center; gap:8px; padding-right:7px; margin-top:16px; background:#0A0E18; border:1px solid #28304A; border-radius:8px; color:#E8E9E1}
  .archi-cmd pre{flex:1 1 auto; min-width:0; padding:13px 8px 13px 16px}
  .archi-copier{flex:none; height:30px; padding:0 12px; border-radius:6px; border:1px solid #3A4466;
    background:#161C2C; color:#E8E9E1; font-family:var(--sans); font-size:13px; font-weight:600; cursor:pointer}
  .archi-copier:hover{background:#1E2536}
  .archi-copier:active{transform:scale(.97)}
  .archi-copier:focus-visible{outline:2px solid #8CA0F2; outline-offset:2px}
  .archi-profil .archi-boutons{margin-top:22px}
  .archi-profil-manou{display:flex; align-items:center; gap:24px}
  @media (max-width:600px){ .archi-profil-manou{flex-direction:column; align-items:stretch; gap:16px} .archi-profil-manou .archi-manou{align-self:center} }
  .archi-manou{flex:none; width:72px; height:72px}
  .archi-manou svg{width:100%; height:100%}
  @media (max-width:600px){ .archi-profil{padding:20px 18px 22px} .archi-profil .archi-boutons .btn,.archi-profil-manou .btn{width:100%; white-space:normal; height:auto; min-height:42px; padding:10px 16px} }
  /* la FAQ de clôture : le texte de la question ne passe pas sous le « + » sur mobile */
  .archi-fin .faq-q summary{display:grid; grid-template-columns:minmax(0,1fr) auto}
  /* la FAQ de clôture : le texte de la question ne passe pas sous le « + » sur mobile */
  .archi-fin .faq-q summary{display:grid; grid-template-columns:minmax(0,1fr) auto}

  /* ============ LE WIKI ARCHITECTURE (hub + une page par défi, 28/10 au soir) ============ */
  .archi-som-mobile + .archi-figure,.archi-som-mobile + .defi-page{margin-top:0}
  .archi-sommaire .som-hub{margin-bottom:10px}
  .archi-sommaire .som-hub a{padding-left:14px}
  /* le sommaire sur mobile : un menu dépliable en haut de page */
  .archi-som-mobile{margin:0 0 32px; border:1px solid var(--rule); border-radius:10px; background:var(--paper-raise)}
  @media (min-width:1100px){ .archi-som-mobile{display:none} }
  .archi-som-mobile summary{cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center;
    padding:12px 16px; font-size:15px; font-weight:700; color:var(--ink-strong)}
  .archi-som-mobile summary::-webkit-details-marker{display:none}
  .archi-som-mobile summary::after{content:"+"; font-weight:400; color:var(--ghost); transition:transform 200ms cubic-bezier(.23,1,.32,1)}
  .archi-som-mobile[open] summary::after{transform:rotate(45deg)}
  @media (prefers-reduced-motion: reduce){ .archi-som-mobile summary::after{transition:none} }
  .archi-som-mobile ol{list-style:none; margin:0; padding:4px 16px 12px; border-top:1px solid var(--rule-soft)}
  .archi-som-mobile a{display:flex; gap:10px; padding:9px 0; font-size:15px; color:var(--ink-soft); text-decoration:none; border-bottom:1px solid var(--rule-soft)}
  .archi-som-mobile li:last-child a{border-bottom:0}
  .archi-som-mobile a[aria-current]{color:var(--ink-strong); font-weight:700}
  .archi-som-mobile summary:focus-visible{outline:2px solid var(--encre); outline-offset:2px}

  /* les dix défis en cartes cliquables (hub) */
  .archi-defis{margin-top:72px}
  .home-v3 .archi-defis h2{font-size:clamp(25px,2.5vw,33px); line-height:1.18; max-width:none}
  .archi-cartes{list-style:none; margin:24px 0 0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
  @media (max-width:760px){ .archi-cartes{grid-template-columns:minmax(0,1fr)} }
  .archi-carte a{display:flex; flex-direction:column; gap:8px; height:100%; padding:20px 22px 22px; border:1px solid var(--rule); border-radius:12px;
    background:var(--paper-raise); color:inherit; text-decoration:none; transition:border-color .12s ease}
  .archi-carte a:hover{border-color:var(--encre)}
  .archi-carte a:focus-visible{outline:2px solid var(--encre); outline-offset:3px}
  .carte-n{font-size:13px; font-weight:700; color:var(--encre)}
  .carte-q{font-size:17.5px; font-weight:700; line-height:1.3; color:var(--ink-strong); text-wrap:balance}
  .carte-r{font-size:15px; line-height:1.55; color:var(--ink-soft); text-wrap:pretty}
  .carte-r code,.carte-q code{font-family:var(--mono); font-size:.86em; padding:1px 4px; border-radius:4px; background:var(--rule-soft)}

  /* une page de défi */
  .defi.defi-page{margin-top:0; padding-top:0; border-top:0}
  .home-v3 .defi-page h1{font-family:var(--sans); font-weight:700; font-size:clamp(28px,3vw,40px); line-height:1.14; letter-spacing:-.018em; max-width:none}
  .defi-page [id]{scroll-margin-top:84px}
  .defi-suite{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:64px; padding-top:28px; border-top:1px solid var(--rule)}
  .defi-suite a{display:flex; flex-direction:column; gap:6px; padding:16px 18px; border:1px solid var(--rule); border-radius:10px; text-decoration:none; color:inherit; background:var(--paper-raise)}
  .defi-suite a:hover{border-color:var(--encre)}
  .defi-suite .defi-suiv{text-align:right; grid-column:2}
  .suite-l{font-size:13px; font-weight:700; color:var(--encre)}
  .suite-q{font-size:15px; line-height:1.4; color:var(--ink-strong)}
  .suite-q code{font-family:var(--mono); font-size:.86em}
  @media (max-width:600px){ .defi-suite{grid-template-columns:minmax(0,1fr)} .defi-suite .defi-suiv{grid-column:1} .defi-suite > span{display:none} }
  @media (max-width:700px){ .archi-corps{padding-top:28px; padding-bottom:72px} }

  /* ============ WIKI ARCHITECTURE v2 (six chapitres, 28/10 au soir) ============ */
  .defi-liste{margin:18px 0 0; padding-left:20px; color:var(--ink-soft); font-size:17px; line-height:1.6; max-width:68ch}
  .defi-liste li{margin-top:8px}
  @media (max-width:700px){ .defi-liste{font-size:16px} }
  .archi .archi-tete .sub + .sub{margin-top:14px}
  .archi-profil-tete{font-weight:600; color:var(--ink-strong)}
  .archi-profil > .archi-profil-tete:first-child{margin-top:0}
  .archi-profil-verifie{font-size:14px}
  .archi-profil-verifie span{font-weight:700; color:var(--ink-strong); margin-right:6px}
  .archi-profil-verifie a{color:var(--encre); text-decoration:underline; text-underline-offset:3px}
  .archi-profil-verifie code{font-family:var(--mono); font-size:.86em}
  /* les visuels : un tirage par fond, l'autre caché ; la capture de Manou reste dans sa carte bleu nuit */
  .archi-vis{background:#F3EDE3}
  .archi-vis .fond-n{display:none}
  .archi-capture{background:#0E1424; border-color:#28304A}
  .home-v3 .defi-page h1.ancre{scroll-margin-top:84px}

  /* ============ « Sous le capot » sur fond bleu nuit (28/10) ============ */
  /* le fond nuit : toute la page en bleu nuit #101420, les visuels -nuit sans cadre, extraits et cartes un cran au-dessus */
  :root[data-fond="nuit"] body.home-v3.archi{color-scheme:dark; --paper:#101420; --paper-raise:#161C2C; --ink:#E8E9E1; --ink-strong:#F6F6F0;
    --ink-soft:#C3C7D3; --ghost:#8A93AD; --encre:#8CA0F2; --rule:#28304A; --rule-soft:#1E2536; --rule-strong:#3A4466; background:#101420}
  :root[data-fond="nuit"] .archi-vis{background:transparent; border-color:transparent; border-radius:0}
  :root[data-fond="nuit"] .archi-vis .fond-s{display:none}
  :root[data-fond="nuit"] .archi-vis .fond-n{display:block}
  :root[data-fond="nuit"] .archi-extrait{background:#161C2C; border-color:#3A4466}
  :root[data-fond="nuit"] .archi-extrait figcaption{border-bottom-color:#28304A}
  :root[data-fond="nuit"] .archi-profil{background:#161C2C; border-color:#3A4466}
  :root[data-fond="nuit"] .archi-capture{border-color:#3A4466}
  /* images animées de « Sous le capot » (public/visuels-capot.js, 29/10) : le schéma peint en Canvas prend la place du JPG nuit ;
     la capture entre en douceur, une fois ; Manou respire à l'écran. Rien de tout cela sous reduced-motion (le script s'arrête). */
  .archi-vis .archi-vis-anime{display:block; width:100%; height:auto; aspect-ratio:1800/1012}
  @media (prefers-reduced-motion: no-preference){
    .archi-capture.capot-entree{opacity:0; transform:translateY(14px)}
    .archi-capture.capot-entree.capot-vu{opacity:1; transform:none; transition:opacity .9s ease-out, transform 1.1s cubic-bezier(.2,.8,.2,1)}
    .archi-manou.joue svg{animation:ms-souffle 4s ease-in-out infinite; transform-origin:50% 50%}
  }
  :root[data-fond="nuit"] .archi-carte a,:root[data-fond="nuit"] .defi-suite a,:root[data-fond="nuit"] .archi-som-mobile{border-color:#3A4466}

  /* ============ La page Manou (/app, /fr/app) dans la charte de la home (29/10) : body.home-v3.app-v5 ============ */
  .app-v5 .hero-v2 h1{font-size:clamp(36px,4vw,54px); max-width:17ch; text-wrap:balance}
  .app-v5 .hero-v2 .sub + .sub{margin-top:12px}
  .app-v5 button.lien-code{background:none; border:0; padding:0; cursor:pointer; font:inherit; font-family:var(--sans); font-size:15px}
  /* une capture entière (pas de recadrage mobile) ; la vue « À arbitrer », plus large que 16:10, garde ses proportions */
  .v5-entier img{object-fit:contain}
  .v4-capture.v5-large{aspect-ratio:1600/711}
  @media (max-width:700px){
    .v4-capture.v5-entier{aspect-ratio:16/10} .v4-capture.v5-entier img{width:100%; margin-left:0}
    .v4-capture.v5-large{aspect-ratio:1600/711}
  }
  /* emplacement d'une capture manquante : nommé, jamais une interface recréée */
  .v5-manque{display:grid; place-items:center; border-style:dashed}
  .v5-manque span{font-family:var(--mono); font-size:12px; letter-spacing:.06em; color:#8A93AD; text-align:center; padding:0 16px}
  .app-v5 #fenetre .sec{padding-bottom:40px}
  .app-v5 #etats .sec{padding-top:56px; border-top:1px solid var(--rule)}
  .app-v5 #etats .v4-etats{max-width:760px; margin-left:auto; margin-right:auto}
  .v5-jamais{list-style:none; margin:28px 0 0; padding:0; max-width:760px; border-top:1px solid var(--rule)}
  .v5-jamais li{padding:16px 0; border-bottom:1px solid var(--rule); font-family:var(--sans); font-size:clamp(16px,1.4vw,18px); color:var(--ink); text-wrap:pretty}
  .app-v5 #appel .petit + .petit{margin-top:8px}

  /* page Manou, hero : les deux faces en liste (29/10) */
  .hero .sub.faces{margin:6px 0 0; padding-left:1.2em}
  .hero .sub.faces li{margin:4px 0}
  .hero .sub.faces + .sub{margin-top:14px}

  /* lien vers la page Manou sous le mouvement 3 de la home (29/10) */
  .v4-texte > a.btn{margin-top:22px}

/* ============ Home, mouvement 2 (29/10) : le carrousel des trois vues de Manou (CarteCarrousel.astro, bloc 7 de home.js) ============
   Une piste à défilement natif et accroche (le toucher sans script), dans le cadre sombre des captures ; une légende
   courte et les commandes dessous. Captures entières à toutes les largeurs (pas de recadrage mobile : le panneau du
   chantier est à gauche). Pas de défilement automatique. */
.carrousel{min-width:0}
.carrousel .carrousel-piste{display:flex; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; aspect-ratio:16/10}
.carrousel .carrousel-piste::-webkit-scrollbar{display:none}
.carrousel .carrousel-piste:focus-visible{outline:2px solid var(--encre); outline-offset:3px}
.carrousel-vue{flex:0 0 100%; scroll-snap-align:start; scroll-snap-stop:always; min-width:0}
.carrousel .carrousel-vue img{width:100%; height:100%; max-width:none; margin:0; object-fit:contain; display:block}
@media (max-width:700px){ .carrousel .carrousel-piste{aspect-ratio:16/10} .carrousel .carrousel-vue img{width:100%; margin-left:0} }
@media (prefers-reduced-motion: no-preference){ .carrousel .carrousel-piste{scroll-behavior:smooth} }
.carrousel-pied{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:14px}
.carrousel-legende{margin:0; font-size:15px; line-height:1.4; color:var(--ink-soft); display:flex; gap:10px; align-items:baseline; min-width:0}
.carrousel-rang{font-variant-numeric:tabular-nums; color:var(--ghost); white-space:nowrap}
.carrousel-commandes{display:flex; align-items:center; gap:6px; flex:none}
.carrousel-fleche{display:grid; place-items:center; width:40px; height:40px; border-radius:50%; border:1px solid var(--rule-strong); background:transparent; color:var(--ink); cursor:pointer; padding:0}
.carrousel-fleche:hover:not(:disabled){border-color:var(--ink)}
.carrousel-fleche:disabled{opacity:.35; cursor:default}
.carrousel-fleche:focus-visible,.carrousel-point:focus-visible{outline:2px solid var(--encre); outline-offset:2px}
.carrousel-points{display:flex; gap:2px}
.carrousel-point{width:24px; height:40px; border:0; background:transparent; padding:0; cursor:pointer; position:relative}
.carrousel-point::after{content:""; position:absolute; left:50%; top:50%; width:7px; height:7px; margin:-3.5px 0 0 -3.5px; border-radius:50%; background:var(--ghost); opacity:.45; transition:opacity .2s, transform .2s}
.carrousel-point[aria-current="true"]::after{opacity:1; background:var(--ink); transform:scale(1.15)}
@media (prefers-reduced-motion: reduce){ .carrousel-point::after{transition:none} }
@media (max-width:700px){
  .carrousel-pied{flex-direction:column; align-items:stretch; gap:8px}
  .carrousel-commandes{justify-content:space-between}
}
/* Page Manou (29/10) : le grand Manou interactif tient la colonne droite du hero, à la place de la carte */
.app-v5 .app-tete-manou{min-height:420px}
.app-v5 .app-tete-manou .ms-manou{width:min(340px,70vw); height:auto; aspect-ratio:1}
@media (max-width:700px){ .app-v5 .app-tete-manou{min-height:0; padding:8px 0 16px} .app-v5 .app-tete-manou .ms-manou{width:220px} }

/* Home, mouvement 2 (29/10) : une vue du carrousel s'ouvre en grand dans une modale (bloc 7 de home.js) ; même
   cadre que la modale de la visite (filet 1 px, fond posé, voile à 70 %). */
.carrousel-agrandir{display:block; width:100%; height:100%; padding:0; margin:0; border:0; background:none; cursor:zoom-in; color:inherit}
.carrousel-agrandir:focus-visible{outline:2px solid var(--encre); outline-offset:-2px}
.modale-vues{padding:0; width:min(1400px, calc(100vw - 32px)); max-width:none; max-height:calc(100vh - 32px);
  background:var(--paper-raise); color:var(--ink); border:1px solid var(--rule); border-radius:var(--radius); overflow:hidden}
.modale-vues[open]{display:flex; flex-direction:column}
.modale-vues::backdrop{background:rgba(0,0,0,.7)}
.modale-vues .modale-titre{font-variant-numeric:tabular-nums}
.modale-vues-scene{position:relative; min-height:0; flex:1; display:flex; align-items:center; justify-content:center; background:#0F1420; touch-action:pan-y}   /* les captures sont sur l’ardoise */
.modale-vues-scene img{display:block; width:100%; height:auto; max-height:calc(100vh - 32px - 46px - 50px); object-fit:contain; margin:0; border-radius:0; user-select:none; -webkit-user-drag:none}
.modale-vues-fleche{position:absolute; top:50%; margin-top:-22px; width:44px; height:44px; display:grid; place-items:center; padding:0; cursor:pointer;
  border-radius:50%; border:1px solid var(--rule-strong); background:var(--paper-raise); color:var(--ink); opacity:.92}
.modale-vues-fleche:hover:not(:disabled){border-color:var(--ink); opacity:1}
.modale-vues-fleche:disabled{opacity:.3; cursor:default}
.modale-vues-fleche:focus-visible{outline:2px solid var(--encre); outline-offset:2px}
.modale-vues-fleche.prec{left:12px}
.modale-vues-fleche.suiv{right:12px}
.modale-vues-legende{margin:0; padding:13px 16px; border-top:1px solid var(--rule); font-size:15px; line-height:1.4; color:var(--ink-soft)}
@media (max-width:600px){ .modale-vues-fleche{width:38px; height:38px; margin-top:-19px} .modale-vues-fleche.prec{left:6px} .modale-vues-fleche.suiv{right:6px} }

  /* ============ HOME V2 (29/10, plan-home-v2 du chantier site/20261026-home-pitch) : six mouvements ============
     La phrase de gain est le titre du hero ; la sphère de la base à droite, posée sur la bande sans cadre. */
  .home-v3 .hero-v2 h1.hero-gain{font-size:clamp(32px,3.5vw,50px); line-height:1.32;
    letter-spacing:-.02em; max-width:19ch; text-wrap:balance; overflow-wrap:break-word}
  .home-v3 .hero-v2 .liaison{margin-top:22px; max-width:46ch; font-size:clamp(17px,1.4vw,19px); line-height:1.55; color:var(--ink-soft)}
  .home-v3 .hero-v2 .v4-graphe{aspect-ratio:1/1; background:transparent; border-color:transparent}
  @media (max-width:980px){ .home-v3 .hero-v2 .v4-graphe{max-width:520px; width:100%; justify-self:center} }
  /* mouvement 2 : le titre et le texte sur deux colonnes, le carrousel en pleine largeur dessous */
  .v2-tete{display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:24px 64px; align-items:end; margin-bottom:40px}
  .home-v3 .v2-tete h2{margin:0}
  .v2-tete p{color:var(--ink-soft); max-width:58ch; text-wrap:pretty}
  @media (max-width:900px){ .v2-tete{grid-template-columns:minmax(0,1fr); margin-bottom:28px} }
  /* mouvement 3 : trois gestes, chacun un cadre sombre de même proportion, le geste en gras, une ligne */
  .v2-gestes{list-style:none; margin:40px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px}
  .v2-geste{min-width:0}
  .v2-cadre{position:relative; aspect-ratio:4/3; background:#101420; border:1px solid #28304A; border-radius:var(--radius); overflow:hidden}
  .v2-cadre img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block}
  /* la liste « À arbitrer » : la capture 1600 × 711 recadrée sur x 480-1120, y 0-480 */
  .v2-cadre.v2-liste img{width:250%; height:auto; max-width:none; inset:auto; left:-75%; top:0}
  /* la fiche du projet seule : la capture 1600 × 1000 recadrée sur x 0-480, y 70-430 */
  .v2-cadre.v2-fiche img{width:333.4%; height:auto; max-width:none; inset:auto; left:0; top:-19.4%}
  .v2-cadre.v4-perm{display:flex; align-items:flex-start; justify-content:center}
  .v2-cadre.v4-perm .ms-scene{zoom:.5; margin-top:8px}
  .v2-geste h3{margin-top:18px; font-family:var(--sans); font-weight:700; font-size:19px; color:var(--ink-strong)}
  .v2-geste p{margin-top:6px; color:var(--ink-soft); text-wrap:pretty}
  .v2-suite{margin-top:36px}
  @media (max-width:900px){ .v2-gestes{grid-template-columns:minmax(0,1fr); gap:36px} .v2-cadre{max-width:560px} }
  /* mouvement 4 : dessous, Manence ; un panneau de la bande, le texte seul */
  .v2-dessous{padding:48px 56px; border-radius:14px; border:1px solid #28304A; background:#121828}
  .home-v3 .v2-dessous h2{color:var(--ink-strong)}
  .v2-dessous p{margin-top:16px; max-width:60ch; color:var(--ink-soft); font-size:clamp(17px,1.4vw,19px); line-height:1.6; text-wrap:pretty}
  .v2-dessous .ia{white-space:nowrap}
  .v2-dessous .ia img{width:16px; height:16px; vertical-align:-2px; margin-right:5px; filter:grayscale(1) brightness(0) invert(1); opacity:.8}
  .v2-dessous .lien-code{display:inline-block; margin-top:24px; color:var(--ink-soft)}
  @media (max-width:640px){ .v2-dessous{padding:28px 22px} }
  /* mouvement 5 : la preuve, Katja seule ; une ligne sous la carte */
  .v2-preuve{margin-top:36px; max-width:760px}
  .v2-preuve .voix{margin-top:18px}
  .v2-preuve cite{display:block; margin-top:10px; font-family:var(--sans); font-style:normal; font-size:14px; font-weight:600; color:var(--ghost)}
  .v2-auteur{margin-top:22px; max-width:760px; font-family:var(--sans); font-size:16px; color:var(--ink-soft)}
  .home-v3 #questions .sec{padding-top:24px}
  .v2-signe{display:flex; align-items:center; gap:12px; margin-top:18px}
  .v2-signe cite{margin-top:0}

/* ===== Home v2, textes v7 (29/10 après-midi) ===== */
/* hero : la vraie carte de Manou recentrée (base + six domaines), un panneau à filet 1 px sur la bande */
.home-v3 .hero-carte-manou{margin:0; border:1px solid #28304A; border-radius:var(--radius); overflow:hidden; background:#10131E; aspect-ratio:840/890; max-width:520px; justify-self:end; width:100%; max-width:520px}
.home-v3 .hero-carte-manou img{width:100%; height:100%; object-fit:cover; object-position:50% 50%; display:block}
/* 29/10 soir (iPad, téléphone) : la grille du hero de la home ne se replie jamais au-dessus de 900 px.
   Avant : une colonne sous 980 px, l'image calée à droite jusqu'à 900 px puis à gauche ; un Safari iPad paysage
   (viewport ≤ 980) voyait l'image sous le titre, calée à droite. Classe explicite plutôt que :has() (vieux Safari),
   placement explicite des deux cellules, colonnes à minimum nul : aucune métrique de police ne peut les élargir. */
.home-v3 .hero-grille-carte > .hero-copy{min-width:0}
.home-v3 .hero-grille-carte > .hero-carte-manou{max-width:100%; min-width:0}
@media (min-width:901px){
  .home-v3 .hero-v3-grid.hero-grille-carte{grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center;
    padding-top:72px; padding-bottom:72px}
  .home-v3 .hero-grille-carte > .hero-copy{grid-column:1; grid-row:1}
  .home-v3 .hero-grille-carte > .hero-carte-manou{grid-column:2; grid-row:1; justify-self:end; width:100%; max-width:520px}
}
@media (max-width:900px){
  .home-v3 .hero-v3-grid.hero-grille-carte{grid-template-columns:minmax(0,1fr)}
  .home-v3 .hero-grille-carte > .hero-carte-manou{justify-self:center; width:100%; max-width:520px}
}
/* mouvement 2 : le moteur à gauche, Manou à droite, deux panneaux de même hauteur, légendes dessous */
.v7-duo{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; margin-top:40px}
.v7-duo figure{margin:0; min-width:0}
.v7-panneau{aspect-ratio:4/3; border:1px solid #28304A; border-radius:var(--radius); background:#101420; overflow:hidden; display:flex; align-items:center; justify-content:center}
.v7-panneau > img{width:100%; height:100%; object-fit:contain; display:block}
.v7-panneau.ms-humeurs .ms-manou{width:min(300px,62%); height:auto; aspect-ratio:1}
/* Home, bloc 2 : le Manou 3D de la page Manou (29/10) ; le dessin reste dessous en repli */
.v7-panneau.ms-humeurs .m3d{width:min(300px,62%)} .v7-panneau.ms-humeurs .m3d .ms-manou{width:100%}
@media (max-width:820px){ .v7-duo{grid-template-columns:minmax(0,1fr); gap:32px} }
/* mouvement 3 : la carte animée en grand, sur le sable, panneau à filet 1 px */
.carte-mos{position:relative; width:100%; aspect-ratio:16/9; border:1px solid var(--rule); border-radius:var(--radius); background:var(--paper-raise); overflow:hidden}
.carte-mos canvas{position:absolute; inset:0; width:100%; height:100%; display:block}
@media (max-width:600px){ .carte-mos{aspect-ratio:9/10} }
.v7-sous-carte{margin-top:56px}
/* mouvement 4 : trois blocs courts, panneaux à filet 1 px, sans icône */
.v7-blocs{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:40px}
.v7-blocs .v4-carte h3{font-family:var(--sans); font-weight:700; font-size:18px; color:var(--ink-strong)}
.v7-blocs .v4-carte p{margin-top:10px; font-size:15.5px; line-height:1.6; color:var(--ink-soft)}
@media (max-width:900px){ .v7-blocs{grid-template-columns:minmax(0,1fr)} }
/* mouvement 6 : le texte, la citation dessous */
.v7-voit p{max-width:62ch; margin-top:16px; color:var(--ink-soft); font-size:clamp(17px,1.4vw,19px); line-height:1.6; text-wrap:pretty}
.v7-voit .v7-citation{margin-top:36px; max-width:760px}
.v7-voit .v7-citation .voix{margin:0}
.v7-voit .v7-citation cite{display:block; margin-top:10px; font-family:var(--sans); font-style:normal; font-size:14px; font-weight:600; color:var(--ghost)}
/* mouvement 7 : le lien discret sous les trois cartes */
.home-v3 #chez-soi .lien-code{display:inline-block; margin-top:28px}
/* la carte animée prend l'aspect de l'application (l'ardoise), comme le hero et les captures : le site ressemble à l'app.
   Ambre : celui du prototype pour l'ardoise (#D6A044), hors token de la charte générale (écart nommé). */
.home-v3 .carte-mos{--paper:#101420; --paper-raise:#161C2C; --ink:#E8E9E1; --encre:#8CA0F2; --ghost:#8A93AD;
  --sauge:#8FB89B; --rule:#28304A; --rule-strong:#3A4466; --ambre:#D6A044; background:#101420; border-color:#28304A}
/* retours d'Alexandre du 29/10 soir : la carte du hero à nu sur la bande (ni filet ni panneau) ; liens sous les deux visuels du mouvement 2 */
.home-v3 .hero-carte-manou{border:0; border-radius:0; background:transparent}
.v7-duo .lien-code{display:inline-block; margin-top:10px}
/* mouvement 2 (retour d'Alexandre du 29/10) : le titre sur deux lignes, le paragraphe dessous, plus étroit */
.v2-tete.v7-tete-pile{grid-template-columns:minmax(0,1fr); gap:18px; align-items:start}
.home-v3 .v7-tete-pile h2{max-width:none; text-wrap:wrap}
.home-v3 .v7-tete-pile h2 .l{display:block}
.v7-tete-pile p{max-width:56ch}
@media (max-width:430px){ .home-v3 .v7-tete-pile h2{font-size:clamp(23px,7.2vw,31px)} }
/* mouvement 2 (retour d'Alexandre) : la légende dans l'image, en blanc, dans le serif des titres, en bas à gauche ;
   un voile nuit en dégradé bas pour la lisibilité ; le lien seul sous le panneau */
.v7-item{min-width:0}
.v7-fig{position:relative; margin:0}
.v7-legende{position:absolute; left:1px; right:1px; bottom:1px; margin:0; padding:56px 24px 20px;
  font-family:var(--serif); font-weight:400; font-size:clamp(16.5px,1.2vw,18px); line-height:1.35; color:#FFFFFF; text-wrap:pretty;
  background:linear-gradient(to top, rgba(16,20,32,.92) 0%, rgba(16,20,32,.6) 55%, rgba(16,20,32,0) 100%);
  border-radius:0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); pointer-events:none}
.v7-duo .v7-item > .lien-code{display:inline-block; margin-top:14px}
@media (max-width:600px){ .v7-legende{padding:44px 16px 14px} }
/* le moteur à étiquettes (29/10) : l'image calée en haut du panneau, la bande libre en bas porte la légende (JOURNAL reste dégagé) */
.v7-panneau > img{object-position:50% 0%}
@media (max-width:600px){ .v7-panneau{aspect-ratio:5/4} }
/* hero (demande d'Alexandre, 29/10) : les trois mots du gain ressortent par la couleur.
   Variante A, montée : l'accent du site sur l'ardoise (#8CA0F2, le bleu clair de Manou et du « ré » de rémanence), 7,4:1 sur #101420.
   Variante B, en commentaire : l'ambre de l'attente (#D6A044, 7,9:1 sur #101420 ; #C98A1E de la charte home : 6,2:1) ; pour l'essayer, remplacer la couleur ci-dessous.
   .home-v3 .hero-v2 .gain-mots{color:#D6A044} */
.home-v3 .hero-v2 .gain-mots{color:#8CA0F2}
/* mouvement 2 : deux alinéas sous le titre, même largeur étroite */
.v7-tete-pile p + p{margin-top:-8px}
.home-v3 .hero-v2 .liaison.liaison-une{max-width:none}
.home-v3 .hero-v2 .liaison-une .l{display:block}
/* règle d'Alexandre (29/10) : de « Ce que Manence fait de ton travail » jusqu'à la beta, même mise en page que les
   mouvements 2 et 3 : le titre sur toute la largeur du contenu (une ligne de 768 à 1920 px), le texte dessous à 600 px */
.home-v3 :is(#dossiers,#jour,#voit,#chez-soi,#preuve,#amplitude,#questions,#appel) h2{max-width:none; text-wrap:wrap}
.home-v3 .v7-voit > p{max-width:600px}
.home-v3 #appel .lede{max-width:600px; margin-left:auto; margin-right:auto}
/* mouvement 4 (29/10 soir) : trois cartes à illustration en haut (panneau nuit 4:3, filet 1 px), puis la conséquence, centrée */
.v7-carte-illu{padding:0 0 24px; overflow:hidden}
.v7-carte-illu .v7-illu{aspect-ratio:4/3; background:#101420; border-bottom:1px solid #28304A; margin:0 0 20px}
.v7-carte-illu .v7-illu img{width:100%; height:100%; object-fit:cover; display:block}
.v7-blocs .v7-carte-illu h3,.v7-blocs .v7-carte-illu p{padding:0 24px}
.v7-consequence{margin:72px auto 0; max-width:600px; text-align:center}
.home-v3 .v7-consequence h3{font-family:var(--sans); font-weight:700; font-size:clamp(24px,2.4vw,32px); line-height:1.15; letter-spacing:-.02em; color:var(--ink-strong)}
.v7-consequence p{margin-top:14px; color:var(--ink-soft); font-size:clamp(17px,1.4vw,19px); line-height:1.6; text-wrap:pretty}
@media (max-width:820px){ .v7-consequence{margin-top:48px} }
.home-v3 #amplitude h2{max-width:none; text-wrap:wrap}
.home-v3 #amplitude .lede{max-width:none}
.home-v3 .v4-alex .preuve .voix + .fort{margin-top:16px}
/* carte « Une base toujours à jour » : la sphère de la base (version dense) dans le même panneau 4:3 */
.v7-illu-graphe .v4-graphe{aspect-ratio:auto; width:100%; height:100%; border:0; border-radius:0}
.v7-consequence{max-width:760px} .v7-consequence p{text-wrap:balance}
/* deux profils : les deux citations partent à la même hauteur (filets alignés), au lieu d'être poussées en bas */
.home-v3 #amplitude .v4-carte .preuve{margin-top:16px}
/* « Tu changes d'IA quand tu veux » : les trois marques en monochrome en bas de la carte (noms dans le texte, logos aria-hidden) */
.home-v3 #chez-soi .v4-trois .v4-carte{display:flex; flex-direction:column}
.home-v3 .v7-logos{margin-top:auto; padding-top:18px; display:flex; gap:18px; align-items:center}
.home-v3 .v7-logos img{width:20px; height:20px; object-fit:contain; filter:grayscale(1) brightness(0) invert(1); opacity:.6}
.home-v3 .v7-logos{justify-content:center; gap:22px; flex-wrap:wrap; font-family:var(--sans); font-size:14px; color:rgba(232,233,225,.6)}
.home-v3 .v7-logos span{display:inline-flex; align-items:center; gap:7px; white-space:nowrap}
/* le moteur animé (prototype) : le canvas occupe la place du JPG, calé en haut du panneau 4:3, au format 16:9 */
.v7-panneau.v7-moteur-anime{align-items:flex-start}
.v7-moteur-anime canvas,.v7-moteur-anime noscript img{display:block; width:100%; aspect-ratio:16/9; height:auto}
/* cartes animées (prototype) : le canvas remplit le panneau 4:3 comme le JPG */
.v7-illu-anime canvas,.v7-illu-anime noscript img{display:block; width:100%; height:100%}

/* ============ Page Manou v2 (29/10) : body.home-v3.app-v5 ; six mouvements dans la charte de la home v2 ============
   Titres pleine largeur (une ligne de 768 à 1920 px), paragraphe à 600 px dessous, panneaux nuit à filet 1 px,
   légende dans l'image (.v7-legende). Les captures 1600 × 1000 restent entières : panneau au format 16:10 à toutes les largeurs. */
.home-v3.app-v5 section h2{max-width:none; text-wrap:wrap}
.app-v5 .v7-tete-pile p{max-width:600px}
.app-v5 #appel .lede{max-width:600px; margin-left:auto; margin-right:auto}
/* Page Manou, hero (29/10 soir) : même règle que le hero de la home (.hero-grille-carte) : deux colonnes explicites
   au-dessus de 900 px, cellules placées, colonnes à minimum nul, sans :has() ; une colonne et le Manou centré en dessous. */
.app-v5 .hero-grille-manou > .hero-copy,.app-v5 .hero-grille-manou > .app-tete-manou{min-width:0}
@media (min-width:901px){
  .app-v5 .hero-v3-grid.hero-grille-manou{grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center;
    padding-top:72px; padding-bottom:72px}
  .app-v5 .hero-grille-manou > .hero-copy{grid-column:1; grid-row:1}
  .app-v5 .hero-grille-manou > .app-tete-manou{grid-column:2; grid-row:1; justify-self:center}
}
@media (max-width:900px){
  .app-v5 .hero-v3-grid.hero-grille-manou{grid-template-columns:minmax(0,1fr)}
  .app-v5 .hero-grille-manou > .app-tete-manou{justify-self:center}
}
/* Page Manou, « De plus près » (29/10 nuit) : le récit au scroll (ManouRecit.astro, /manou-recit-2026-10-29.js). Un
   plateau figé sous l'en-tête (61 px) dans un bloc de six plateaux ; la suite d'images fixes est le défaut (sans JS, sans
   WebGL, mouvement réduit), le récit la remplace quand le script de la page pose .recit-actif. */
#plus-pres .recit-tete-sec{padding-bottom:0}
/* Manou doit se voir tôt (Alexandre, 29/10) : le plateau remonte sous le chapeau, sa toile ne capte rien */
.recit-actif .recit{margin-top:-22svh} .recit-toile{pointer-events:none}
.recit-bloc{--recit-haut:61px; position:relative}
.recit{display:none; position:relative; height:calc(6 * (100svh - var(--recit-haut)))}
.recit-actif .recit{display:block}
.recit-actif .recit-fixe{display:none}
.recit-scene{position:sticky; top:var(--recit-haut); height:calc(100svh - var(--recit-haut)); overflow:hidden}
.recit-couche{position:absolute; inset:0; will-change:transform}
.recit-toile{position:absolute; inset:0; width:100%; height:100%; display:block; touch-action:pan-y}
.recit-textes{position:absolute; pointer-events:none}
.recit-textes .recit-txt{position:absolute; left:0; top:0; width:100%; opacity:0; transform:translateY(8px);
  transition:opacity .28s cubic-bezier(.33,0,.67,1), transform .28s cubic-bezier(.33,0,.67,1)}
.recit-textes .recit-txt.vu{opacity:1; transform:none}
.recit-ch1{left:max(48px,6vw); top:50%; width:min(320px,25vw); height:12em; transform:translateY(-50%)}
.recit-ch2{height:7em}
.recit-libelle{margin:0; font-family:var(--serif); font-size:22px; line-height:1.3; color:var(--ink-strong); text-wrap:balance}
.recit-phrase{margin:8px 0 0; font-size:17px; line-height:1.5; color:var(--ink-soft); text-wrap:pretty}
.recit-a-ecrire{color:var(--ghost)}
.recit-repere{font-family:var(--mono); font-size:11px; letter-spacing:.06em}
.recit-lignes{margin:10px 0 0}
.recit-lignes > div{display:grid; grid-template-columns:80px minmax(0,1fr); gap:10px; font-size:15.5px; line-height:1.5; padding:3px 0}
.recit-lignes dt{font-weight:700; color:var(--ink-strong)} .recit-lignes dd{margin:0; color:var(--ink-soft)}
.recit-fenetre{position:absolute; left:0; top:0; transform-origin:0 0; opacity:0; visibility:hidden; border:1px solid #28304A;
  border-radius:var(--radius); background:#0F1420; overflow:hidden}
.recit-barre{display:flex; align-items:center; gap:7px; height:28px; padding:0 12px; border-bottom:1px solid #28304A; background:#121827;
  font-family:var(--mono); font-size:11px; letter-spacing:.04em; color:#8A93AD; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.recit-barre i{width:10px; height:10px; border-radius:50%; background:#2B3350; flex:none}
.recit-barre span{margin-left:8px; min-width:0; overflow:hidden; text-overflow:ellipsis}
.recit-vue{display:block}
@media (max-width:700px){ .recit-libelle{font-size:19px} .recit-phrase{font-size:16px; margin-top:6px} }
/* sous 1100 px (BASCULE du script), le chapitre 1 se dispose comme sur téléphone : le texte sous Manou, jamais par-dessus */
@media (max-width:1099px){
  .recit-ch1{left:var(--gutter); right:var(--gutter); width:auto; max-width:560px; margin:0 auto; top:auto; bottom:18px; transform:none; height:7.5em}
}
/* la suite fixe : une image et ses textes par étape */
.recit-fixe{max-width:1148px; margin:0 auto; padding:0 var(--gutter) 32px}
.recit-fig{margin:0 0 72px; display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:48px; align-items:center}
.recit-cadre{min-width:0}
.recit-cadre img{display:block; width:100%; height:auto}
.recit-cadre-fenetre{border:1px solid #28304A; border-radius:var(--radius); overflow:hidden; background:#0F1420}
.recit-cadre-panneau{max-width:420px; justify-self:center; width:100%}
.recit-cadre-manou{max-width:440px; justify-self:center; width:100%}
.recit-fig-txt + .recit-fig-txt{margin-top:28px}
@media (max-width:700px){
  .recit-fig{grid-template-columns:minmax(0,1fr); gap:20px; margin-bottom:56px}
  .recit-cadre-manou{max-width:300px}
}
/* les six états : le compagnon en vedette au-dessus du titre */
.etats-vedette .ms-manou{width:120px; height:120px; display:block; margin:0 auto 20px}
.app-v5 #etats .v4-etats{max-width:760px; margin-left:auto; margin-right:auto}
/* Manou 3D (ManouTroisD.astro) : le dessin d'abord ; le canvas, posé exactement sur lui, le remplace en fondu */
.m3d{position:relative; display:block; line-height:0}
.m3d-toile{position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity 400ms ease-out; pointer-events:none}
.m3d.est-3d .m3d-toile{opacity:1; pointer-events:auto; touch-action:pan-y; user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent}
.m3d.est-3d .ms-manou{visibility:hidden}
/* ce que Manou ne fait jamais : un seul panneau nuit à filet 1 px, Manou au repos à gauche, quatre affirmations en 2 × 2 */
.jamais-panneau{display:grid; grid-template-columns:150px minmax(0,1fr); gap:40px; align-items:center;
  border:1px solid #28304A; border-radius:var(--radius); background:#101420; padding:48px 48px 48px 40px; margin-top:40px}
.jamais-manou .ms-manou{width:150px; height:150px; display:block}
.jamais-grille{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 48px}
.jamais-grille li{min-width:0; padding-top:18px; border-top:1px solid #28304A}
.jamais-etiquette{margin:0 0 12px; font-family:var(--mono); font-size:11.5px; font-weight:400; letter-spacing:.04em; color:#8A93AD}
.jamais-phrase{margin:0; font-size:15.5px; line-height:1.6; color:#A9B0C6; text-wrap:pretty; max-width:46ch}
.jamais-tete{display:block; margin-bottom:6px; font-family:var(--serif); font-size:clamp(20px,1.7vw,23px); line-height:1.25; color:#FFFFFF}
.jamais-phrase .lien{color:#C9D0F5}
@media (max-width:900px){
  .jamais-panneau{grid-template-columns:minmax(0,1fr); gap:24px; padding:28px 22px}
  .jamais-manou .ms-manou{width:96px; height:96px}
  .jamais-grille{grid-template-columns:minmax(0,1fr); gap:28px}
}
/* les six états en 3D (ManouSixEtats.astro) : la capture d'abord ; une seule toile sur la rangée les remplace en fondu */
.e3d{position:relative}
.e3d .v4-etats .e3d-case{display:block; width:104px; height:104px; line-height:0}
.e3d .v4-etats img{width:104px; height:104px; -webkit-user-drag:none; user-select:none}
.e3d-toile{position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:0; transition:opacity 300ms ease-out}
.e3d.est-3d .e3d-toile{opacity:1}
.e3d.est-3d .e3d-case{cursor:grab; touch-action:pan-y; user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent}
.e3d.est-3d .e3d-case.tenu{cursor:grabbing}
.e3d.est-3d .e3d-case picture{visibility:hidden}
.e3d .e3d-vedette{display:block; width:180px; height:180px; margin:0 auto 8px; line-height:0}
.e3d .e3d-vedette img{width:180px; height:180px; -webkit-user-drag:none; user-select:none}
@media (max-width:640px){ .e3d .v4-etats .e3d-case, .e3d .v4-etats img{width:88px; height:88px} .e3d .e3d-vedette, .e3d .e3d-vedette img{width:150px; height:150px} }
@media (max-width:700px){ .recit-barre i{display:none} .recit-barre span{margin-left:0} }
/* Hero de la home sans sous-titre (30/10) : plus d'air entre le titre et le bouton */
.home-v3 .hero-v2 h1.hero-gain + .hero-actions{margin-top:60px}
/* Hero de la home : un petit Manou dans le bouton de la beta (30/10), sans pastille */
.home-v3 .btn-manou{display:inline-flex; align-items:center; gap:10px; padding-left:14px}
.home-v3 .btn-manou img{width:22px; height:22px; display:block; flex:none}
/* les thèmes de Manou (ManouThemes.astro, 31/10) : la fenêtre au centre, trois Manou en 3D de chaque côté ; un clic sur
   un Manou change la fenêtre sans faire défiler. Le Manou montré se dit par son nom à l'encre forte, les autres en
   graphite, rien d'autre (Alexandre : « on comprend sans »). Mobile : la fenêtre en haut, trois et trois dessous. */
.app-v5 #themes .sec{padding-top:56px; border-top:1px solid var(--rule)}
.th-scene{position:relative; display:grid; grid-template-columns:150px minmax(0,1fr) 150px; gap:28px; align-items:center; max-width:1100px; margin:44px auto 0}
.th-gauche{grid-column:1; grid-row:1} .th-carrousel{grid-column:2; grid-row:1} .th-droite{grid-column:3; grid-row:1}
.th-colonne{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px}
.th-colonne li{display:flex; justify-content:center; min-width:0}
.th-choisir{appearance:none; background:none; border:0; padding:6px 10px 10px; margin:0; color:inherit; font:inherit; cursor:pointer; width:100%;
  display:flex; flex-direction:column; align-items:center; gap:2px; border-radius:var(--radius); -webkit-tap-highlight-color:transparent}
.th-choisir:focus-visible{outline:2px solid var(--encre); outline-offset:2px}
.th-case{display:block; width:124px; height:124px; line-height:0; margin-bottom:-18px}
.th-case img{width:124px; height:124px; -webkit-user-drag:none; user-select:none}
.th-case.est-3d picture{visibility:hidden}
.th-nom{font-family:var(--sans); font-weight:600; font-size:15px; line-height:1.3; color:var(--ghost); transition:color 160ms ease-out}
.th-choisir:hover .th-nom,.th-choisir[aria-pressed="true"] .th-nom{color:var(--ink-strong)}
.th-toile{position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:1}
.th-carrousel{min-width:0; text-align:left}
.th-fenetre{border:1px solid #28304A; border-radius:var(--radius); overflow:hidden; background:#0F1420}
.th-fenetre .recit-barre b{font-weight:400}
.th-piste{display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; scroll-behavior:smooth}
.th-piste::-webkit-scrollbar{display:none}
.th-piste:focus-visible{outline:2px solid var(--encre); outline-offset:-2px}
.th-diapo{flex:0 0 100%; margin:0; scroll-snap-align:start; scroll-snap-stop:always}
.th-diapo img{display:block; width:100%; height:auto; aspect-ratio:1600/1000; background:#0F1420}
.th-invite{margin:20px auto 0; font-size:14px; color:var(--ghost)}
.th-invite .th-touche{display:none}
@media (hover:none){ .th-invite .th-clique{display:none} .th-invite .th-touche{display:inline} }
@media (max-width:860px){
  .th-scene{grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 6px; margin-top:32px}
  .th-carrousel{grid-column:1 / -1; grid-row:1; margin-bottom:6px}
  .th-colonne{display:contents}
  .th-gauche li{grid-row:2} .th-droite li{grid-row:3}
  .th-choisir{padding:4px 4px 8px}
  .th-case,.th-case img{width:96px; height:96px}
  .th-case{margin-bottom:-12px}
  .th-nom{font-size:14px}
  .th-fenetre .recit-barre i{display:none} .th-fenetre .recit-barre span{margin-left:0} .th-fenetre .recit-barre b{display:none}
}
@media (prefers-reduced-motion: reduce){ .th-piste{scroll-behavior:auto} .th-nom{transition:none} }

  /* ============ LE MANIFESTE (/architecture/manifesto, /fr/architecture/manifeste ; prototype 03/11) ============
     Une page du wiki « Sous le capot » : le registre en neuf sections cotées, les tableaux en listes à filets,
     les sept couches portant les trois organes en marge, la phrase finale en encre et fantôme. */
  .mf-tete{padding-bottom:8px}
  .mf-article section.mf-sec{border-bottom:0}
  .home-v3 .mf-tete h1{font-family:var(--serif); font-size:clamp(36px,4vw,54px); line-height:1.08; letter-spacing:-.02em; color:var(--ink-strong); margin:0 0 28px; max-width:18ch}
  .mf-chapo{margin:18px 0 0; max-width:62ch; font-size:clamp(18px,1.6vw,20px); line-height:1.6; color:var(--ink); text-wrap:pretty}
  .mf-chapo strong{color:var(--ink-strong); font-weight:600}
  .mf-note{margin:32px 0 0; padding:2px 0 2px 20px; border-left:2px solid var(--encre); max-width:62ch}
  .mf-note p{margin:0; font-size:15px; line-height:1.6; color:var(--ink-soft)}
  .mf-note a,.mf-article .defi-texte a{color:var(--encre)}
  .mf-cote{margin:0 0 10px; font-family:var(--mono); font-size:13px; letter-spacing:.04em; color:var(--encre)}
  .home-v3 .mf-sec h2{font-family:var(--serif)}
  .mf-article strong{color:var(--ink-strong); font-weight:600}
  .mf-article .defi-texte code,.mf-liste code,.mf-panneau code{font-family:var(--mono); font-size:.86em; padding:1px 5px; border-radius:4px; background:var(--rule-soft); color:var(--ink-strong); overflow-wrap:anywhere}

  /* listes à filets (la grammaire des neuf lois de la vue d'ensemble) */
  .mf-liste{list-style:none; margin:24px 0 0; padding:0; border-top:1px solid var(--rule); max-width:68ch}
  .mf-liste > li,.mf-liste > div{padding:16px 0; border-bottom:1px solid var(--rule); color:var(--ink-soft); font-size:16px; line-height:1.6}
  .mf-num > li,.mf-echelle > li{display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px}
  .mf-n{font-family:var(--mono); font-size:13px; color:var(--encre); padding-top:3px; font-variant-numeric:tabular-nums}
  .mf-li-t{margin:0; color:var(--ink-strong); font-weight:600}
  .mf-li-c{margin:4px 0 0}
  .mf-lbl{display:block; font-size:12.5px; font-weight:600; color:var(--ghost); margin:0 0 2px}
  .mf-puces > li strong{color:var(--ink-strong)}
  .mf-organes{margin-top:24px}
  .mf-organes dt{color:var(--ink-soft); font-size:16px}
  .mf-organes dd{margin:10px 0 0; font-size:15px; color:var(--ink-soft)}
  .mf-echelle > li{grid-template-columns:56px minmax(0,1fr); gap:16px; align-items:start}
  .mf-niv{font-family:var(--serif); font-size:34px; line-height:1; color:var(--encre); font-variant-numeric:lining-nums}

  /* l'encadré « hors disque » et la note : panneau à filet 1 px, sans ombre */
  .mf-panneau{margin:28px 0 0; padding:18px 22px; border:1px solid #3A4466; border-radius:var(--radius); background:var(--paper-raise); max-width:68ch}
  .mf-panneau p{margin:0; font-size:15.5px; line-height:1.6; color:var(--ink-soft)}

  /* les sept couches, les trois organes en marge (remplace le schéma organes/couches du dépôt) */
  .mf-couches{margin:28px 0 0; border-top:1px solid var(--rule)}
  .mf-c-tete{display:grid; grid-template-columns:150px minmax(0,1.2fr) minmax(0,1.5fr); gap:20px; padding:10px 0 10px 168px; border-bottom:1px solid var(--rule); font-size:12.5px; font-weight:600; color:var(--ghost)}
  .mf-groupe{display:grid; grid-template-columns:150px minmax(0,1fr); gap:18px; border-bottom:1px solid var(--rule)}
  .mf-organe{margin:0; padding:16px 14px 16px 0; border-right:2px solid var(--encre); font-family:var(--serif); font-size:15px; line-height:1.35; color:var(--ink-strong); font-style:italic}
  .mf-organe span{position:sticky; top:100px; display:block}
  .mf-couche{display:grid; grid-template-columns:150px minmax(0,1.2fr) minmax(0,1.5fr); gap:20px; padding:16px 0; border-top:1px solid var(--rule-soft); font-size:15px; line-height:1.55; color:var(--ink-soft)}
  .mf-g-lignes .mf-couche:first-child{border-top:0}
  .mf-c-n{display:flex; gap:10px; align-items:baseline}
  .mf-c-n strong{color:var(--ink-strong)}
  @media (max-width:860px){
    .mf-c-tete{display:none}
    .mf-groupe{grid-template-columns:minmax(0,1fr); gap:0}
    .mf-organe{border-right:0; border-left:2px solid var(--encre); padding:14px 0 10px 14px; margin-top:8px}
    .mf-organe span{position:static}
    .mf-g-lignes{border-left:2px solid var(--encre); padding-left:14px}
    .mf-couche{grid-template-columns:minmax(0,1fr); gap:6px}
    .mf-c-o{font-size:14px}
  }

  /* l'arborescence : le panneau de fichier des chapitres */
  .mf-arbo pre{font-size:12px; line-height:1.6; padding:18px 20px}
  @media (min-width:1100px){ .mf-arbo{margin-right:-68px} }
  @media (min-width:701px){ .mf-article code{overflow-wrap:normal} }
  @media (max-width:700px){ .mf-arbo pre{font-size:11.5px} }

  /* la phrase finale : la loi en encre, la chute en fantôme */
  .mf-phrase{margin:28px 0 0; padding:0}
  .mf-phrase p{margin:0; font-family:var(--serif); font-size:clamp(22px,2.2vw,28px); line-height:1.45; letter-spacing:-.005em; text-wrap:pretty; max-width:40ch}
  .mf-encre{color:var(--ink-strong)}
  .mf-fantome{color:var(--ghost)}

  /* le sommaire : les sections du manifeste dépliées sous son entrée, suivies à la lecture */
  .archi-sommaire .mf-som-sections{margin:2px 0 0; padding:0}
  .archi-sommaire .mf-som-sections a{padding:4px 0 4px 26px; font-size:12.5px; border-left-color:var(--rule)}
  .archi-sommaire .mf-som-sections a.mf-actif{color:var(--ink-strong); border-left-color:var(--encre)}
  .archi-sommaire .mf-som a[aria-current]{border-left-color:var(--rule)}
  .archi-sommaire .mf-som-sections .som-n{width:14px; font-family:var(--mono); font-size:11.5px}
  @media (prefers-reduced-motion: no-preference){ .archi-sommaire a{transition:color .15s ease, border-color .15s ease} }
  .mf-article .mf-sec{scroll-margin-top:88px}
  .mf-organes code{white-space:nowrap}
.mn-entete[data-astro-cid-kdyzvuez] {
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0;
  padding: 0;
  height: 64px;
  background: #101420;
  color: #c3c7d3;
  border: 0;
  border-bottom: 1px solid #28304a;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.mn-entete[data-astro-cid-kdyzvuez] [data-astro-cid-kdyzvuez] {
  box-sizing: border-box;
}

.mn-entete-dedans[data-astro-cid-kdyzvuez] {
  max-width: 1304px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.mn-marque[data-astro-cid-kdyzvuez] {
  font: 400 22px / 1 Iowan Old Style, Palatino Linotype, Palatino, Georgia, serif;
  letter-spacing: .005em;
  color: #f6f6f0;
  text-decoration: none;
}

.mn-liens[data-astro-cid-kdyzvuez] {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font: 400 15px / 1.6 -apple-system, BlinkMacSystemFont, SF Pro Text, Segoe UI, system-ui, sans-serif;
}

.mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez] {
  color: #c3c7d3;
  text-decoration: none;
  padding: 8px 0;
  transition: color .15s;
}

.mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez]:hover {
  color: #f6f6f0;
}

.mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez][aria-current="page"] {
  color: #f6f6f0;
  box-shadow: 0 1px #9db4ff;
}

.mn-bouton[data-astro-cid-kdyzvuez] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  white-space: nowrap;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #2f4fe0;
  color: #fdfcf8;
  text-decoration: none;
  font: 600 14.5px / 1 -apple-system, BlinkMacSystemFont, SF Pro Text, Segoe UI, system-ui, sans-serif;
  letter-spacing: 0;
  transition: background-color .15s;
}

.mn-bouton[data-astro-cid-kdyzvuez]:hover {
  background: #2541c4;
  color: #fdfcf8;
}

.mn-marque[data-astro-cid-kdyzvuez]:focus-visible, .mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez]:focus-visible, .mn-bouton[data-astro-cid-kdyzvuez]:focus-visible {
  outline: 2px solid #9db4ff;
  outline-offset: 3px;
  border-radius: 6px;
}

@media (width <= 959px) {
  .mn-entete-dedans[data-astro-cid-kdyzvuez] {
    gap: 14px;
  }

  .mn-liens[data-astro-cid-kdyzvuez] {
    gap: 0;
  }

  .mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez] {
    display: none;
  }

  .mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez].mn-contact {
    display: block;
    font-size: 14.5px;
  }
}

@media (width <= 759px) {
  .mn-entete[data-astro-cid-kdyzvuez] {
    height: 56px;
  }

  .mn-entete-dedans[data-astro-cid-kdyzvuez] {
    padding: 0 20px;
  }
}

@media (width <= 479px) {
  .mn-bouton[data-astro-cid-kdyzvuez] {
    padding: 0 12px;
    font-size: 13.5px;
  }
}

@media (width <= 379px) {
  .mn-bouton-suite[data-astro-cid-kdyzvuez] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mn-bouton[data-astro-cid-kdyzvuez], .mn-liens[data-astro-cid-kdyzvuez] a[data-astro-cid-kdyzvuez] {
    transition: none;
  }
}
.mn-pied[data-astro-cid-aipgsrkx] .mn-pied-dedans[data-astro-cid-aipgsrkx] a[data-astro-cid-aipgsrkx].mn-pied-yt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mn-pied-yt[data-astro-cid-aipgsrkx] svg[data-astro-cid-aipgsrkx] {
  flex: none;
}

.mn-pied[data-astro-cid-aipgsrkx] {
  margin: 0;
  padding: 24px 0 28px;
  background: #0b0f19;
  border: 0;
  border-top: 1px solid #ffffff0f;
}

.mn-pied[data-astro-cid-aipgsrkx] [data-astro-cid-aipgsrkx] {
  box-sizing: border-box;
}

.mn-pied-dedans[data-astro-cid-aipgsrkx] {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  font: 400 14px / 1.5 -apple-system, BlinkMacSystemFont, SF Pro Text, Segoe UI, Inter, system-ui, sans-serif;
  color: #8a93ad;
}

.mn-pied[data-astro-cid-aipgsrkx] a[data-astro-cid-aipgsrkx] {
  color: #8a93ad;
  text-decoration: none;
  font: inherit;
}

.mn-pied[data-astro-cid-aipgsrkx] a[data-astro-cid-aipgsrkx]:hover {
  color: #fff;
}

.mn-pied[data-astro-cid-aipgsrkx] a[data-astro-cid-aipgsrkx][aria-current="page"] {
  color: #f6f6f0;
}

.mn-pied[data-astro-cid-aipgsrkx] .mn-pied-marque[data-astro-cid-aipgsrkx] {
  font-weight: 700;
  color: #f6f6f0;
}

.mn-pied[data-astro-cid-aipgsrkx] a[data-astro-cid-aipgsrkx]:focus-visible {
  outline: 2px solid #8ca0f2;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (width <= 600px) {
  .mn-pied-dedans[data-astro-cid-aipgsrkx] {
    padding: 0 16px;
    gap: 10px 20px;
  }
}
