/* ==========================================================================================
   Reach Adz v16 « Annoté » — le système partagé (toutes les pages)

   Le travail, annoté par ceux qui l'ont fait. Quatre signes et une main (loi §3) :
     l'écran      le travail, le monde du client      lumière, verre, nuit
     le papier    la voix de l'équipe                 blanc chaud, grain, ruban
     le sous-titre ce qu'on dit d'important           une boîte cyan aux deux bouts coupés à 45°
     l'étiquette  l'action « Chhal ? »                blanche, un coin coupé, un œillet, un fil cyan
     la main      l'encre cobalt qui pointe une preuve (note, flèche, cercle, soulignement)

   La loi : docs/v16/LOI-v16.md (§3 grammaire, §4 composants).
   Le balisage prêt à copier : docs/v16/COMPOSANTS.md. Chaque composant en vrai : proto/v21/_labo/systeme.html.
   Les pages ajoutent leur feuille (css/<page>.css) ; ce fichier ne porte que ce qui est commun.

   Sommaire
     0. Polices                     14. Le menu qui se remplit (.formules)
     1. Jetons                      15. Le fil du client (.fil-client, --mini)
     2. Base                        16. La conversation (.conversation)
     3. Typographie                 17. Surfaces (.section, .nuit, .glace)
     4. Le sous-titre (.st)         18. L'en-tête (.tete) et le sous-menu
     5. La main (.main, .trait)     19. Le tiroir du téléphone (.tiroir)
     6. Exemple et source           20. Le pied (.pied)
     7. Le papier et le ruban       21. La barre du téléphone (.barre-mobile)
     8. L'étiquette « Chhal ? »     22. Le fil : la pub en plein écran (dialog.fil)
     9. Boutons, liens, puces       23. La feuille « Chhal ? » (dialog.feuille)
    10. Le signe d'un service       24. Les pages qui s'enchaînent (view transitions)
    11. Les écrans                  25. La mise au point (focus)
    12. Le travail en galerie       26. Utilitaires
    13. L'œuvre annotée, les unités 27. Mouvement réduit
                                   28. La finition premium (v16)
                                   29. La tenue v17 (.rubrique, chiffres, source)

   États posés par js/site.js : html.js, .est-vu (élément révélé, ou l'un de ses parents),
   dialog[open], .est-ouvert, .est-glisse, .est-retiree (barre), .est-defile (en-tête), html.vt-retour.
   ========================================================================================== */


/* ------------------------------------------------------------------------------------------
   0. Polices : Inter (texte), Inter Tight (titres), locales ; Noto Naskh Arabic (locale) pour
   les seules répliques arabes citées. Caveat (la main) vient de Google Fonts (_partials.html).
   ------------------------------------------------------------------------------------------ */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/v6/fonts/inter-tight-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/v6/fonts/inter-tight-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/v6/fonts/inter-normal-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/v6/fonts/inter-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Naskh Arabic"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/v6/fonts/noto-naskh-arabic-normal-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
/* L'espace fine des titres : dans Inter Tight, la fine insécable (U+202F) mesure .094 em ; l'approche négative des
   titres (−.03 em) la réduit à .06 em, et « +1 200 » se lit « +1200 ». Aucune face ne peut l'élargir (Chrome prend
   les espaces dans la police du mot voisin). Règle des titres d'affichage (.h1, .h2, .chiffre, gros chiffres) : le séparateur des
   milliers, l'espace entre un nombre et son unité, et l'espace avant « : » s'écrivent en insécable normale (&nbsp;) ;
   ailleurs, la fine (docs/v16/COMPOSANTS.md §1). */


/* ------------------------------------------------------------------------------------------
   1. Jetons
   ------------------------------------------------------------------------------------------ */
:root {
  /* Les couleurs (loi §1, §3.2). Chacune a un seul rôle. */
  --blanc: #FFFFFF;            /* la page */
  --glace: #F4F7FF;            /* seulement la table sous le travail */
  --glace-2: #E8EEFA;
  --papier: #FFFDF7;           /* les objets de papier : la voix de l'équipe */
  --encre: #0D203F;            /* le marine : l'encre des titres */
  --encre-2: #2C3E62;          /* le texte courant (9,9:1 sur blanc) */
  --doux: #55658A;             /* cartels et légendes (5,6:1 sur blanc) */
  --nuit: #071326;             /* l'écran : la salle des pubs, le fil, l'appel final, le pied */
  --nuit-2: #0E1F3B;           /* une surface posée sur la nuit */
  --cobalt: #1D4A93;           /* le stylo (la main) et les liens */
  --cobalt-clair: #5A86CE;
  --cyan: #80F2FF;             /* la lumière : le sous-titre, le ruban, l'état actif, la mise au point */
  --cyan-2: #B9F8FF;
  --wa: #25D366;               /* WhatsApp, et rien d'autre */
  --wa-fonce: #0F7A3D;
  --wa-encre: #04210F;         /* le texte posé sur le vert (11:1) */
  --wa-bulle: #D9FDD3;         /* la bulle qui part */
  --wa-fond: #EFEAE2;          /* le fond d'une conversation */
  --wa-lu: #53BDEB;            /* les deux coches, lues */
  --wa-heure: #667781;
  --ligne: rgb(13 32 63 / .1);
  --ligne-2: rgb(13 32 63 / .16);
  /* Sur la nuit */
  --nuit-texte: #C9D6EE;       /* 11,9:1 */
  --nuit-doux: #9FB0D0;        /* 8,4:1 */
  --nuit-ligne: rgb(255 255 255 / .12);
  --main-nuit: #A9C6F5;        /* l'encre de la main quand elle écrit sur la nuit */

  /* Les ombres : douces et à deux couches, jamais grises. */
  --ombre: 0 1px 2px rgb(13 32 63 / .05), 0 12px 32px -12px rgb(13 32 63 / .18);
  --ombre-haute: 0 2px 4px rgb(13 32 63 / .06), 0 30px 60px -20px rgb(13 32 63 / .28);
  --ombre-papier: 0 1px 1px rgb(13 32 63 / .07), 0 3px 6px -2px rgb(13 32 63 / .07), 0 22px 40px -22px rgb(13 32 63 / .38);

  /* Les rayons. --r et --r-petit restent pour les feuilles de la v15 (le papier redéfinit --r en angle). */
  --rayon: 24px;
  --rayon-petit: 14px;
  --r: 24px;
  --r-petit: 14px;

  /* La grille : 12 colonnes, gouttière 24 px ; au-delà de 1440 la page grandit avec la fenêtre (1520 px à 1920). */
  --wrap: clamp(1240px, 84vw, 1520px);
  --gout: 24px;
  --tete-h: 72px;

  /* Les familles */
  --titre: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --main: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --arabe: "Noto Naskh Arabic", "Geeza Pro", "Arial", sans-serif;

  /* Le mouvement (loi §3.3) : trois durées, une courbe. */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-etat: var(--t-coupe);    /* les états (survol, pression) : 120 ms, le tempo de la coupe (v21) */
  --t-st: var(--t-revele);     /* le sous-titre, les feuilles : 420 ms, une révélation (v21 ; 320 ms avant) */
  --t-main: var(--t-objet);    /* la main, les unités, le fil du client : 700 ms, un objet (v21 ; 600 ms avant) */

  /* v21 « Ça vit » (BRIEF-v21 §6) : un ressort pour tout le site, trois durées, trois tempos. Les composants v21
     (stories21, montage21, auto21, sites21) et les anciens s'alignent dessus. Le ressort : ~6 % de dépassement,
     écrit en linear() (Safari 17.2+, Chrome 113+) ; repli cubic-bezier juste dessous (@supports). */
  --ressort: cubic-bezier(.2, .9, .25, 1.15);
  --ressort-doux: cubic-bezier(.22, 1.08, .36, 1);        /* à peine de dépassement : les grands objets, les nappes */
  --t-toucher: 180ms;          /* un toucher qui répond */
  --t-revele: 420ms;           /* une révélation (titre, carte, pastille) */
  --t-objet: 700ms;            /* un objet qui arrive (téléphone, navigateur, scène) */
  --t-frere: 60ms;             /* l'écart entre deux frères qui arrivent l'un après l'autre */
  --t-coupe: 120ms;            /* tempo 1, la coupe : changer de média, d'onglet (sec, sans ressort) */
  --t-ressort: 460ms;          /* tempo 2, le ressort : cartes, pastilles, boutons */
  --t-fil: 800ms;              /* tempo 3, le fil : tout trait qui relie (stroke-dashoffset) */

  /* L'échelle (loi §3.1) : à 1440 (1920) H1 112 (136), H2 52 (60), H3 22, texte 17, cartels 13, chiffres jusqu'à 160.
     Au téléphone (390) : H1 46, H2 33, texte 16. Deux droites raccordées à 1440 (min()), bornées par clamp(). */
  --fs-h1: clamp(44px, min(21.5px + 6.286vw, 40px + 5vw), 136px);
  --fs-h2: clamp(32px, min(25.9px + 1.81vw, 28px + 1.667vw), 60px);
  --fs-h3: clamp(19px, 17.6px + .31vw, 22px);
  --fs-chapo: clamp(17px, 15.9px + .3vw, 20px);
  --fs-corps: 17px;
  --fs-cartel: 13px;
  --fs-chiffre: clamp(64px, 30px + 9vw, 160px);

  /* Les icônes dessinées en CSS (masques) : un seul endroit pour les retoucher. */
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-coches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 11' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6l3 3 6.5-7.5M7.4 8.3l.7.7 6.5-7.5'/%3E%3C/svg%3E");
  --i-signet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.75h11v16.5l-5.5-4.1-5.5 4.1z'/%3E%3C/svg%3E");
  --i-signet-plein: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='black' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.75h11v16.5l-5.5-4.1-5.5 4.1z'/%3E%3C/svg%3E");
  --i-fermer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  --i-haut: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 14.5l6-6 6 6'/%3E%3C/svg%3E");
  --i-bas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  --i-gauche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-droite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-lecture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.2v13.6a.8.8 0 0 0 1.2.7l10.9-6.8a.8.8 0 0 0 0-1.4L9.2 4.5a.8.8 0 0 0-1.2.7z'/%3E%3C/svg%3E");
  --i-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='4.5' width='4.2' height='15' rx='1.2'/%3E%3Crect x='13.8' y='4.5' width='4.2' height='15' rx='1.2'/%3E%3C/svg%3E");
  --i-son: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 9.25h3.4L11.5 5.5v13l-4.6-3.75H3.5z'/%3E%3Cpath d='M15 9a4.2 4.2 0 0 1 0 6M17.6 6.4a7.8 7.8 0 0 1 0 11.2' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* Le ressort en linear() : un ressort amorti (dépassement de 6 % vers 55 %, retour posé), là où le navigateur le sait. */
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ressort: linear(0, .009, .035 2.1%, .141 4.4%, .281 6.7%, .723 13.4%, .938 17.2%, 1.017 20.4%, 1.051 23.6%, 1.06 26.7%, 1.055 30.4%, 1.04 34.4%, 1.016 41.9%, 1.002 48.6%, .996 55%, .998 70%, 1);
  }
}


/* ------------------------------------------------------------------------------------------
   2. Base
   ------------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tete-h) + 16px); interpolate-size: allow-keywords; }
html:has(dialog[open]) { overflow: hidden; }   /* la page ne défile pas sous le fil ni sous la feuille */
body { margin: 0; background: var(--blanc); color: var(--encre-2); font: 400 var(--fs-corps)/1.6 var(--corps); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--encre); font-family: var(--titre); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:where(ul, ol)[role="list"] { list-style: none; }   /* role="list" garde la liste pour VoiceOver quand les puces disparaissent */
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--cyan); color: var(--encre); }
/* Les liens dans le texte courant : le stylo (cobalt), soulignés finement. */
:where(p, li, dd, figcaption, td) > a:not([class]) { color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:where(p, li, dd, figcaption, td) > a:not([class]):hover { text-decoration-thickness: 2px; }
/* Les répliques arabes citées (loi §3.1) : Noto Naskh, de droite à gauche. */
:lang(ar), .arabe { font-family: var(--arabe); font-weight: 500; line-height: 1.7; }


/* ------------------------------------------------------------------------------------------
   3. Typographie : .h1 .h2 .h3 .chapo .cartel .legende .chiffre
   Les titres d'affichage gardent word-spacing: .06em : l'approche négative fermait les espaces.
   ------------------------------------------------------------------------------------------ */
.h1, .h2, .chiffre { word-spacing: .06em; font-kerning: normal; }
.h1 { font-family: var(--titre); font-size: var(--fs-h1); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: var(--encre); }
.h2 { font-family: var(--titre); font-size: var(--fs-h2); font-weight: 750; line-height: 1.05; letter-spacing: -.03em; color: var(--encre); }
.h3 { font-family: var(--titre); font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -.012em; color: var(--encre); }
.chapo { font-size: var(--fs-chapo); line-height: 1.5; color: var(--encre-2); max-width: 36em; text-wrap: pretty; }
.cartel { font: 500 var(--fs-cartel)/1.4 var(--corps); color: var(--doux); }
.cartel b, .cartel strong { font-weight: 600; color: var(--encre); }
.legende { font-size: 15px; line-height: 1.45; color: var(--doux); text-wrap: pretty; }
/* Le chiffre de résultat : jusqu'à 160 px, chiffres alignés. */
.chiffre { display: block; font-family: var(--titre); font-size: var(--fs-chiffre); font-weight: 800; line-height: .92; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--encre); }
.chiffre small { font-size: .32em; font-weight: 700; letter-spacing: -.02em; }
/* La phrase en deux tons (facultatif) : la seconde phrase plus douce. */
.ton { color: rgb(13 32 63 / .5); }


/* ------------------------------------------------------------------------------------------
   4. Le sous-titre : <span class="st">sous un même toit.</span>
   Une boîte cyan derrière un groupe de mots, ses deux bouts coupés à 45° (la coupe du A du logo),
   comme les mots encadrés de leurs pubs. Coin haut-gauche et coin bas-droit coupés : la boîte
   « avance » de gauche à droite. Chaque ligne a ses deux biseaux (box-decoration-break: clone).
   Elle se découvre une fois, de gauche à droite (320 ms), quand son titre entre à l'écran
   (.est-vu posé par site.js sur le titre ou sur le .st). Deux par page au plus : le H1 d'abord.
   Géométrie (Inter Tight : ascendante .97, capitale .73, descendante .22) : la boîte va de .16 em
   au-dessus de la capitale à .2 em sous la ligne de base, et ne mord pas sur la ligne d'au-dessus
   avec un interligne de 1.
   ------------------------------------------------------------------------------------------ */
.st {
  --st-fond: var(--cyan);
  --st-coupe: .3em;                                       /* la longueur des côtés du biseau */
  color: var(--encre);
  padding-inline: .14em;
  margin-inline: -.06em;
  background: linear-gradient(135deg, transparent calc(var(--st-coupe) * .7071), var(--st-fond) 0 calc(100% - var(--st-coupe) * .7071), transparent 0) 0 .16em / 100% 1.01em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.st--entier { white-space: nowrap; }   /* la boîte ne se coupe jamais (seulement si les mots tiennent à 360 px) */
/* Sur la nuit : cyan plein, texte marine, et le halo (loi §3.2). */
:is(.nuit, .section--nuit) .st { filter: drop-shadow(0 0 12px rgb(128 242 255 / .45)); }
@media (prefers-reduced-motion: no-preference) {
  html.js .st { transition: background-size var(--t-st) var(--ease) 80ms; background-size: 0% 1.01em; }
  html.js .est-vu .st, html.js .st.est-vu { background-size: 100% 1.01em; }
}


/* ------------------------------------------------------------------------------------------
   5. La main : la voix d'une personne de l'équipe, à l'encre cobalt. Elle pointe une preuve.
   <p class="main">écrire ne vous engage à rien</p> — Caveat 700, ≥ 22 px au téléphone, ≥ 24 px au bureau.
   Traits : <svg class="trait" viewBox="0 0 96 48" aria-hidden="true"><use href="#t-fleche-d"/></svg>
   (symboles #t-fleche-d #t-fleche-g #t-fleche-b #t-cercle #t-souligne, chemins pathLength="1"),
   tracés en 600 ms quand le trait (ou un parent) reçoit .est-vu.
   ------------------------------------------------------------------------------------------ */
.main { font: 700 clamp(22px, 20.5px + .4vw, 27px)/1.08 var(--main); color: var(--cobalt); rotate: -2deg; text-wrap: balance; max-width: 16em; letter-spacing: .005em; }
.main--droite { rotate: 1.5deg; }
.trait { display: block; flex: none; width: 88px; height: auto; max-width: none; overflow: visible; fill: none; stroke: var(--cobalt); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.trait--g, .trait--d { width: 84px; }
.trait--b { width: 40px; }
/* Un chiffre entouré à la main : <span class="entoure">430 DH<svg class="trait" viewBox="0 0 120 60" preserveAspectRatio="none" aria-hidden="true"><use href="#t-cercle"/></svg></span> */
.entoure { position: relative; display: inline-block; white-space: nowrap; }
.entoure > .trait { position: absolute; left: -.3em; top: -.12em; width: calc(100% + .6em); height: calc(100% + .24em); }   /* la boucle passe autour, sans toucher les chiffres */
/* Un mot souligné à la main : <span class="souligne">…<svg class="trait" viewBox="0 0 120 12" preserveAspectRatio="none"><use href="#t-souligne"/></svg></span> */
.souligne { position: relative; display: inline-block; white-space: nowrap; }
.souligne > .trait { position: absolute; left: -.04em; bottom: -.14em; width: calc(100% + .08em); height: .26em; }
:is(.nuit, .section--nuit) .main { color: var(--main-nuit); }
:is(.nuit, .section--nuit) .trait { stroke: var(--main-nuit); }
@media (prefers-reduced-motion: no-preference) {
  html.js .trait { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--t-main) var(--ease) var(--trait-delai, 160ms); }
  html.js .est-vu .trait, html.js .trait.est-vu { stroke-dashoffset: 0; }
  html.js .annote__note[data-a]:not(.est-vu) .trait { stroke-dashoffset: 1; }   /* une note minutée : son trait attend la note (demande gestes S4) */
}


/* ------------------------------------------------------------------------------------------
   6. Exemple et source
   <span class="exemple">Exemple · maquette</span> : une pastille de papier posée sur l'objet, en haut
   à gauche (liste fermée : maquette | conversation fictive | chiffres fictifs | commande fictive).
   <p class="source">Source : Reach Adz</p>
   ------------------------------------------------------------------------------------------ */
.exemple {
  /* (v20, passe de la direction artistique) La même pastille partout : celle des interfaces (la barre des écrans de sites,
     l'en-tête des conversations) — une pilule cyan, droite, posée dans l'objet ; plus de papier incliné (jury art n° 12). */
  display: inline-block; width: max-content; max-width: calc(100% - 20px); min-height: 22px;
  padding: 4px 10px; border-radius: 12px; background: var(--cyan); color: var(--encre);
  font: 600 13px/1.2 var(--corps); letter-spacing: .02em; white-space: normal; text-wrap: balance;
  box-shadow: 0 6px 14px -8px rgb(13 32 63 / .55); rotate: 0deg;
}
.exemple::before { content: none; }
/* Posée sur l'objet : dans un écran, une feuille, une conversation, une œuvre annotée. */
:is(.tel, .wa, .notif, .profil, .navigateur, .papier, .conversation, .annote__oeuvre, .exemple-sur) > .exemple { position: absolute; z-index: 7; top: -11px; left: 14px; }
.notif > .exemple { top: auto; bottom: calc(100% - 6px); }   /* un objet bas : la pastille se pose sur son bord, au-dessus du titre */
.source { font: 500 13px/1.4 var(--corps); color: var(--doux); }
:is(.nuit, .section--nuit) .source { color: var(--nuit-doux); }


/* ------------------------------------------------------------------------------------------
   7. Le papier (la voix de l'équipe) et le ruban (réservé aux chiffres publiés)
   <div class="papier" style="--r:1.4deg">…<span class="ruban ruban--h" aria-hidden="true"></span></div>
   Blanc chaud, grain à 4 %, ombre à deux couches, à peine de travers. Trois objets de papier par écran au plus.
   ------------------------------------------------------------------------------------------ */
.papier {
  --r: -1.2deg;
  position: relative; padding: clamp(22px, 1rem + 1vw, 32px); border-radius: 3px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .12 0 0 0 0 .25 0 0 0 1.3 -.55'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.1'/%3E%3C/svg%3E"),
    var(--papier);
  color: var(--encre-2); box-shadow: var(--ombre-papier); rotate: var(--r);
}
.ruban {
  position: absolute; z-index: 3; width: 96px; height: 28px; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .28), transparent 45%), rgb(128 242 255 / .55);
  mix-blend-mode: multiply;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Cpath d='M2.2 0H97.6L100 2.6 97.4 5.6 99.6 8.8 97.2 12.4 99.7 15.9 97.5 19.4 99.4 22.8 97.8 25.6 98.8 28H1.4L0 25.2 2.5 22 .3 18.6 2.7 15 .2 11.4 2.3 8.1.4 4.6 1.9 2z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 28' preserveAspectRatio='none'%3E%3Cpath d='M2.2 0H97.6L100 2.6 97.4 5.6 99.6 8.8 97.2 12.4 99.7 15.9 97.5 19.4 99.4 22.8 97.8 25.6 98.8 28H1.4L0 25.2 2.5 22 .3 18.6 2.7 15 .2 11.4 2.3 8.1.4 4.6 1.9 2z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.ruban--h { top: -14px; left: 50%; translate: -50% 0; rotate: -3deg; }
.ruban--g { top: -6px; left: -26px; rotate: -36deg; }
.ruban--d { top: -6px; right: -26px; rotate: 36deg; }
@media (max-width: 759px) { .ruban--g { left: -10px; } .ruban--d { right: -10px; } }   /* le ruban reste dans la gouttière : rien ne déborde de l'écran */


/* ------------------------------------------------------------------------------------------
   8. L'étiquette « Chhal ? » : <a class="etiquette" data-wa="service:video" data-chhal href="…">Chhal ?</a>
   Un carton blanc, le coin haut-gauche coupé à 45°, un œillet percé (on voit le fond au travers),
   pendu à un fil cyan qui passe par l'œillet. Au survol, elle se balance depuis l'œillet (700 ms) puis
   se pose. Au téléphone : ≥ 44 px, pas de balancement. Variante --grande (≥ 48 px) :
   <a class="etiquette etiquette--grande" …><b>Chhal ?</b> Demander un devis</a>
   ------------------------------------------------------------------------------------------ */
.etiquette {
  --etq-h: 44px; --etq-coupe: 16px; --etq-oeil: 16px; --etq-trou: 4.4px; --etq-repos: -2deg;
  --etq-fond: var(--blanc); --etq-bord: rgb(13 32 63 / .22); --etq-anneau: rgb(29 74 147 / .5);
  position: relative; isolation: isolate; z-index: 0;
  display: inline-flex; align-items: center; gap: .4em; min-height: var(--etq-h);
  padding: 0 17px 0 calc(var(--etq-oeil) + 14px);
  color: var(--encre); font: 650 15px/1.1 var(--corps); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  rotate: var(--etq-repos); transform-origin: var(--etq-oeil) 50%;
  filter: drop-shadow(0 1px 1px rgb(13 32 63 / .1)) drop-shadow(0 7px 10px rgb(13 32 63 / .13));
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.etiquette::before { /* le carton */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 2px 6px 6px 6px;
  background:
    radial-gradient(circle at var(--etq-oeil) 50%, transparent var(--etq-trou), var(--etq-anneau) calc(var(--etq-trou) + .2px) calc(var(--etq-trou) + 2px), transparent calc(var(--etq-trou) + 2.2px)),
    linear-gradient(135deg, transparent calc(var(--etq-coupe) * .7071 - .7px), var(--etq-bord) calc(var(--etq-coupe) * .7071 - .5px) calc(var(--etq-coupe) * .7071 + .6px), transparent calc(var(--etq-coupe) * .7071 + .8px)),
    var(--etq-fond);
  box-shadow: inset 0 0 0 1px var(--etq-bord);
  -webkit-mask: radial-gradient(circle at var(--etq-oeil) 50%, transparent var(--etq-trou), #000 calc(var(--etq-trou) + .4px)), linear-gradient(135deg, transparent calc(var(--etq-coupe) * .7071), #000 calc(var(--etq-coupe) * .7071 + .3px));
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle at var(--etq-oeil) 50%, transparent var(--etq-trou), #000 calc(var(--etq-trou) + .4px)), linear-gradient(135deg, transparent calc(var(--etq-coupe) * .7071), #000 calc(var(--etq-coupe) * .7071 + .3px));
  mask-composite: intersect;
}
.etiquette::after { /* le fil cyan, qui passe par l'œillet */
  content: ""; position: absolute; z-index: -2; top: calc(50% - 1.25px); left: calc(var(--etq-oeil) - 42px); width: 42px; height: 2.5px;
  border-radius: 2px; background: var(--cyan); rotate: 34deg; transform-origin: 100% 50%;
}
.etiquette b { font-weight: 700; }
.etiquette--grande { --etq-h: 56px; --etq-coupe: 18px; --etq-oeil: 18px; --etq-trou: 5px; padding-right: 22px; font-size: 17px; font-weight: 500; gap: .4em; }
.etiquette:hover { --etq-bord: rgb(13 32 63 / .34); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .etiquette:hover { animation: etiquette-balance 700ms var(--ease) both; }
}
@keyframes etiquette-balance { 0% { rotate: var(--etq-repos); } 18% { rotate: calc(var(--etq-repos) + 8deg); } 46% { rotate: calc(var(--etq-repos) - 5deg); } 72% { rotate: calc(var(--etq-repos) + 2deg); } 100% { rotate: var(--etq-repos); } }
:is(.nuit, .section--nuit) .etiquette { --etq-bord: rgb(13 32 63 / .14); filter: drop-shadow(0 10px 16px rgb(0 0 0 / .35)); }


/* ------------------------------------------------------------------------------------------
   9. Boutons, liens, puces
   Trois libellés (plume §1.9). Le vert est à WhatsApp, et un seul vert par écran.
   ------------------------------------------------------------------------------------------ */
.btn {
  --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 24px; border: 0; border-radius: 999px; font: 600 16px/1.1 var(--corps); letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-etat), box-shadow var(--t-etat), color var(--t-etat);
}
.btn .ico { width: 20px; height: 20px; }
.btn--wa { background: var(--wa); color: var(--wa-encre); box-shadow: inset 0 -1px 0 rgb(4 33 15 / .12), 0 10px 22px -12px rgb(15 122 61 / .7); }
.btn--wa:hover { background: #31E077; }
.btn--wa:active { background: #1EBE5A; }
.btn--encre { background: var(--encre); color: #fff; }
.btn--encre:hover { background: #17305A; }
.btn--contour { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--ligne-2); }
.btn--contour:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn--petit { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn--grand { --h: 62px; padding: 0 32px; font-size: 18px; }
.btn--plein { width: 100%; }
:is(.nuit, .section--nuit) .btn--contour { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); }
:is(.nuit, .section--nuit) .btn--contour:hover { box-shadow: inset 0 0 0 1.5px #fff; }
/* Le lien fléché */
.lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--encre); text-decoration: none; }
.lien .ico { width: 18px; height: 18px; transition: translate var(--t-etat) var(--ease); }
.lien:hover .ico { translate: 3px 0; }
.lien:hover span { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
:is(.nuit, .section--nuit) .lien { color: #fff; }
/* Les puces (activités, besoins, filtres) : ≥ 44 px ; pressée = marine, avec une coche. */
.puce {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--blanc); color: var(--encre); font: 500 15px/1.15 var(--corps); text-decoration: none; text-align: left;
  box-shadow: inset 0 0 0 1px var(--ligne-2); cursor: pointer;
  transition: background-color var(--t-etat), color var(--t-etat), box-shadow var(--t-etat);
}
.puce:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.puce .signe { --signe-taille: 30px; --signe-coupe: 7px; margin-left: -9px; border-radius: 0 7px 7px 7px; }
.puce--signe { padding-left: 14px; gap: 10px; }
.puce[aria-pressed="true"], .puce[aria-current="true"], .puce[aria-current="page"] { background: var(--encre); color: #fff; box-shadow: none; }
.puce[aria-pressed="true"]::before { content: ""; width: 15px; height: 15px; margin-left: -3px; background: var(--cyan); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
:is(.nuit, .section--nuit) .puce { background: rgb(255 255 255 / .06); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
:is(.nuit, .section--nuit) .puce:hover { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .7); }
:is(.nuit, .section--nuit) .puce[aria-pressed="true"] { background: #fff; color: var(--encre); }
:is(.nuit, .section--nuit) .puce[aria-pressed="true"]::before { background: var(--cobalt); }

/* Les états que js/site.js pose sur les boutons et les bulles.
   .est-change : le libellé d'un bouton vert change (« Demander un devis » → « Envoyer mon message ») : il s'efface 120 ms.
   .est-ecrit  : une bulle verte reçoit un nouveau message : elle se découvre de gauche à droite (600 ms), comme écrite.
   .est-refuse : « Enregistrer » refusé (trois pubs déjà mises de côté) : un bref non de la tête. */
:is(.btn, .barre-mobile__wa) > span { transition: opacity var(--t-etat) var(--ease); }
.est-change > span { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .est-ecrit { animation: bulle-ecrit var(--t-main) var(--ease) backwards; }
  .est-refuse { animation: refuse var(--t-st) var(--ease); }
}
@keyframes bulle-ecrit { from { clip-path: inset(-16px 100% -16px -16px); } to { clip-path: inset(-16px -16px -16px -16px); } }
@keyframes refuse { 0%, 100% { translate: 0 0; } 20% { translate: -4px 0; } 45% { translate: 3px 0; } 70% { translate: -2px 0; } }


/* ------------------------------------------------------------------------------------------
   10. Le signe d'un service : <span class="signe"><svg aria-hidden="true"><use href="#s-video"/></svg></span>
   Une pastille au coin coupé à 45° ; le signe au trait 1,75, son détail cyan (variable --signe-detail).
   Allumé (le service courant, ou .signe--allume) : la pastille devient cyan, le détail marine.
   ------------------------------------------------------------------------------------------ */
.signe {
  --signe-taille: 40px; --signe-coupe: 9px; --signe-detail: var(--cyan);
  display: inline-grid; place-items: center; flex: none; width: var(--signe-taille); height: var(--signe-taille);
  border-radius: 0 9px 9px 9px; background: var(--glace); color: var(--cobalt);
  clip-path: polygon(var(--signe-coupe) 0, 100% 0, 100% 100%, 0 100%, 0 var(--signe-coupe));
  transition: background-color var(--t-etat), color var(--t-etat);
}
.signe > svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.signe--allume, [aria-current="page"] > .signe { --signe-detail: var(--encre); background: var(--cyan); color: var(--encre); }
:is(.nuit, .section--nuit) .signe { background: rgb(255 255 255 / .08); color: var(--cyan-2); }


/* ------------------------------------------------------------------------------------------
   11. Les écrans : le monde du client, dessiné fidèlement (le patron les reconnaît en un regard).
   ------------------------------------------------------------------------------------------ */

/* 11.1 Le téléphone : <div class="tel" style="--l:300px"><div class="tel__ecran">(video|img|HTML)</div></div>
   9:19,5, lunette marine, île, coins proportionnels à --l. L'île est dessinée par le CSS. */
.tel {
  --l: 300px;
  --tel-bord: max(4px, calc(var(--l) * .0194));
  --tel-rayon: calc(var(--l) * .1222);
  position: relative; flex: none; width: var(--l); aspect-ratio: 9 / 19.5; padding: var(--tel-bord);
  border-radius: var(--tel-rayon);
  background: linear-gradient(155deg, #23395F 0%, var(--encre) 30%, #08152A 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), inset 0 1px 0 rgb(255 255 255 / .16), 0 2px 4px rgb(13 32 63 / .14), 0 36px 64px -30px rgb(13 32 63 / .6);
}
.tel::after { /* l'île */
  content: ""; position: absolute; z-index: 6; top: calc(var(--tel-bord) + var(--l) * .026); left: 50%; translate: -50% 0;
  width: calc(var(--l) * .25); height: calc(var(--l) * .0722); border-radius: 999px; background: #02060D;
}
.tel__ecran { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--tel-rayon) - var(--tel-bord)); background: #000; isolation: isolate; }
.tel__ecran > video, .tel__ecran > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(.nuit, .section--nuit) .tel { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), inset 0 1px 0 rgb(255 255 255 / .2), 0 40px 80px -30px rgb(0 0 0 / .7); }

/* 11.2 La pub en situation : .tel--pub + <div class="tel__ui"><b class="tel__marque">Pepironi</b>
   <span class="tel__spon">Sponsorisé · Mélanges d'épices</span><span class="tel__cta">Envoyer un message</span></div>
   La marque seulement si elle est nommable. Icônes génériques à droite (j'aime, commenter, partager), jamais de compteurs. */
.tel__ui {
  --ui: max(13px, calc(var(--l) * .043));
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: .18em;
  padding: calc(var(--l) * .2) calc(var(--l) * .2) calc(var(--l) * .055) calc(var(--l) * .05);
  background: linear-gradient(to top, rgb(0 0 0 / .66), rgb(0 0 0 / .38) 52%, transparent);
  color: #fff; font: 500 var(--ui)/1.3 var(--corps); text-shadow: 0 1px 2px rgb(0 0 0 / .4);
}
.tel__marque { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; }
.tel__marque::before { content: ""; flex: none; width: 1.75em; height: 1.75em; border-radius: 50%; background: linear-gradient(140deg, var(--cyan), var(--cobalt) 70%); box-shadow: 0 0 0 1.5px #fff; }
.tel__spon { font-size: .9em; opacity: .9; }
.tel__cta {
  justify-self: stretch; display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: .65em; margin-right: calc(var(--l) * -.15);
  min-height: 2.65em; padding: 0 .9em; border-radius: .55em; background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .38);
  font-weight: 600; text-shadow: none;
}
.tel__cta::after { content: ""; flex: none; width: 1.1em; height: 1.1em; background: #fff; -webkit-mask: var(--i-droite) center / contain no-repeat; mask: var(--i-droite) center / contain no-repeat; }
/* « Avec le son » posé sur l'écran d'un téléphone (en haut à droite, sous l'île, loin du visage et des sous-titres) :
   <button class="tel__son" type="button" data-voir="2" aria-label="Voir la pub Pepironi en grand, avec le son">Avec le son</button> */
.tel__son {
  position: absolute; z-index: 5; top: calc(var(--tel-bord) + var(--l) * .15); right: calc(var(--l) * .04); display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 14px 0 11px; border: 0; border-radius: 999px; background: rgb(7 19 38 / .5); color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); font: 600 13.5px/1 var(--corps); cursor: pointer; transition: background-color var(--t-etat);
}
.tel__son::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-son) center / contain no-repeat; mask: var(--i-son) center / contain no-repeat; }
.tel__son:hover { background: rgb(7 19 38 / .72); }
.tel--pub .tel__ecran::after { /* j'aime, commenter, partager : génériques, sans compteur */
  content: ""; position: absolute; z-index: 4; right: calc(var(--l) * .035); bottom: calc(var(--l) * .5); width: calc(var(--l) * .08); aspect-ratio: 24 / 92;
  background: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .45));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 92' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.2s-8-4.7-8-10.6A4.4 4.4 0 0 1 12 7a4.4 4.4 0 0 1 8 2.6c0 5.9-8 10.6-8 10.6z'/%3E%3Cpath d='M20.3 45.5a8.3 8.3 0 1 1-3.1-6.5 8.2 8.2 0 0 1 3.1 6.5zM17.4 51.6l3.3 2.4-.6-4'/%3E%3Cpath d='M21.5 71.5 3 78.4l7.3 2.4 2.3 7.3z M10.3 80.8l11.2-9.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 92' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.2s-8-4.7-8-10.6A4.4 4.4 0 0 1 12 7a4.4 4.4 0 0 1 8 2.6c0 5.9-8 10.6-8 10.6z'/%3E%3Cpath d='M20.3 45.5a8.3 8.3 0 1 1-3.1-6.5 8.2 8.2 0 0 1 3.1 6.5zM17.4 51.6l3.3 2.4-.6-4'/%3E%3Cpath d='M21.5 71.5 3 78.4l7.3 2.4 2.3 7.3z M10.3 80.8l11.2-9.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 11.3 WhatsApp : fond #EFEAE2, queues des bulles, heure en 11 px, doubles coches.
   <div class="wa"><div class="wa__tete">Reach Adz</div><div class="wa__fil">
   <p class="wa__bulle wa__bulle--recu">… <time>23:47</time></p>
   <p class="wa__bulle wa__bulle--envoye">… <time>23:47</time><i class="wa__coches"></i></p></div></div>
   Une bulle peut servir seule (.wa__bulle hors de .wa), par exemple sur l'objet du héros. */
.wa { position: relative; display: flex; flex-direction: column; border-radius: 16px; background: var(--wa-fond); color: #111B21; box-shadow: var(--ombre); }
.wa__tete { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border-radius: 16px 16px 0 0; background: #fff; font: 600 15.5px/1.2 var(--corps); color: #111B21; box-shadow: 0 1px 0 rgb(11 20 26 / .08); }
.wa__tete::before { /* l'avatar par défaut de WhatsApp : la conversation d'un client avec son commerce */
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23DFE5E7'/%3E%3Ccircle cx='18' cy='14.2' r='6.2' fill='%23fff'/%3E%3Cpath d='M6.4 30.6c1.9-5.6 6.4-8.7 11.6-8.7s9.7 3.1 11.6 8.7A17.9 17.9 0 0 1 18 36a17.9 17.9 0 0 1-11.6-5.4z' fill='%23fff'/%3E%3C/svg%3E") center / cover;
}
.wa__tete--reach::before { background: url(/assets/v6/img/favicon.svg) center / cover; }   /* quand l'autre bout est Reach Adz */
.wa__tete small { display: block; font-weight: 400; font-size: 12.5px; color: var(--wa-heure); }
.wa__fil { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; }
.wa__bulle {
  position: relative; align-self: flex-start; width: fit-content; max-width: 84%; padding: 6px 9px 7px; border-radius: 9px;
  background: #fff; color: #111B21; font: 400 15px/1.36 var(--corps); text-align: left; overflow-wrap: break-word;
  box-shadow: 0 1px .5px rgb(11 20 26 / .13);
}
.wa__bulle time { float: right; position: relative; top: 7px; margin: -4px 0 0 12px; font: 400 11px/1 var(--corps); color: var(--wa-heure); }
.wa__bulle--recu { border-top-left-radius: 0; }
.wa__bulle--recu::before { content: ""; position: absolute; top: 0; left: -7px; width: 8px; height: 12px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa__bulle--envoye { align-self: flex-end; background: var(--wa-bulle); border-top-right-radius: 0; }
.wa__bulle--envoye::before { content: ""; position: absolute; top: 0; right: -7px; width: 8px; height: 12px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa__bulle--envoye time { padding-right: 19px; }
.wa__coches { position: absolute; right: 8px; bottom: 6px; width: 16px; height: 11px; background: var(--wa-lu); -webkit-mask: var(--i-coches) center / contain no-repeat; mask: var(--i-coches) center / contain no-repeat; }
.wa__coches--gris { background: var(--wa-heure); }

/* 11.4 La notification : <div class="notif"><img class="notif__vignette" …><div><b>Nouvelle commande</b><span>…</span></div><time>maintenant</time></div> */
.notif {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0 10px;
  padding: 10px 12px 10px 10px; border-radius: 20px; background: rgb(252 252 253 / .97); color: #0B1220;
  box-shadow: 0 0 0 .5px rgb(0 0 0 / .06), 0 2px 4px rgb(0 0 0 / .06), 0 18px 36px -14px rgb(7 19 38 / .5);
  font: 400 13.5px/1.3 var(--corps);
}
.notif__vignette { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: var(--glace-2); }
.notif > div { display: grid; min-width: 0; }
.notif b { font-weight: 600; font-size: 13.5px; letter-spacing: -.005em; color: #0B1220; }
.notif span { color: #3B4558; overflow: hidden; text-overflow: ellipsis; }
.notif time { align-self: start; padding-top: 2px; font-size: 11.5px; color: #737D8C; white-space: nowrap; }

/* 11.5 Le profil (la grille d'un compte) :
   <div class="profil"><div class="profil__barre">Publications</div><ul class="profil__grille"><li><img …></li>…</ul></div> */
.profil { position: relative; overflow: hidden; border-radius: 14px; background: #fff; color: #0B1220; box-shadow: 0 0 0 1px var(--ligne), var(--ombre); }
.tel__ecran .profil { overflow: visible; border-radius: 0; box-shadow: none; }   /* dans un téléphone, le profil est l'écran */
.profil__barre { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font: 600 13.5px/1 var(--corps); box-shadow: inset 0 -1px 0 rgb(0 0 0 / .08), inset 0 -2px 0 #0B1220; }
.profil__barre::before { content: ""; width: 14px; height: 14px; background: linear-gradient(#0B1220 0 0) 0 0 / 6px 6px no-repeat, linear-gradient(#0B1220 0 0) 100% 0 / 6px 6px no-repeat, linear-gradient(#0B1220 0 0) 0 100% / 6px 6px no-repeat, linear-gradient(#0B1220 0 0) 100% 100% / 6px 6px no-repeat; }
.profil__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; list-style: none; }
.profil__grille > li { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--glace-2); }
.profil__grille img, .profil__grille button { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; border: 0; background: none; cursor: pointer; }
.profil__grille button img { position: static; }
/* v23 (relecture) · La case après les visuels : la prochaine publication, un + au trait sur un cadre en pointillé (un profil
   où l'on publie), au lieu d'un trou blanc. */
.profil__grille > .profil__nouvelle { display: grid; place-items: center; background: var(--glace); outline: 1.5px dashed rgb(13 32 63 / .22); outline-offset: -7px; }
.profil__grille > .profil__nouvelle::before { content: ""; width: 24%; aspect-ratio: 1; color: rgb(13 32 63 / .38); background: linear-gradient(currentColor 0 0) 50% / 100% 2px no-repeat, linear-gradient(currentColor 0 0) 50% / 2px 100% no-repeat; }

/* 11.6 Le navigateur : seulement pour le héros de Sites web, avec « Exemple · maquette ».
   <div class="navigateur"><div class="navigateur__barre"><span class="navigateur__adresse">…</span></div><div class="navigateur__page">…</div></div> */
.navigateur { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--ligne), var(--ombre-haute); }
.navigateur__barre { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-radius: 14px 14px 0 0; background: #F3F5F9; box-shadow: inset 0 -1px 0 var(--ligne); }
.navigateur__barre::before { content: ""; flex: none; width: 46px; height: 10px; background: radial-gradient(circle at 5px 5px, #C9D2E3 4.5px, transparent 5px) 0 0 / 18px 10px repeat-x; }
.navigateur__adresse { flex: 1; max-width: 360px; margin-inline: auto; padding: 6px 12px; border-radius: 8px; background: #fff; color: var(--doux); font: 500 12.5px/1 var(--corps); text-align: center; box-shadow: 0 0 0 1px var(--ligne); }
.navigateur__page { position: relative; overflow: hidden; border-radius: 0 0 14px 14px; }


/* ------------------------------------------------------------------------------------------
   12. Le travail en galerie : la pub, le rail, les filtres « Vous êtes… »
   ------------------------------------------------------------------------------------------ */

/* 12.1 La pub : cadre 9:16 nu, rayon 14 px, cartel DESSOUS (rien ne recouvre la pub), « Enregistrer » à côté.
   Sur la nuit, chaque pub jette un halo de sa propre teinte (--teinte, docs/v16/teintes.json). */
.pub { --teinte: #3A5A93; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ecran ecran" "cartel garder"; gap: 10px 6px; align-items: start; margin: 0; }
.pub__ecran {
  grid-area: ecran; position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  background: var(--glace-2); cursor: pointer; isolation: isolate; text-align: left;
  box-shadow: 0 1px 2px rgb(13 32 63 / .08), 0 18px 34px -22px rgb(13 32 63 / .45);
  transition: box-shadow var(--t-st) var(--ease);
}
.pub__ecran > video, .pub__ecran > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pub__ecran::after { /* « avec le son » : un rond discret, en haut à droite, loin des sous-titres de la pub */
  content: ""; position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M3.5 9.25h3.4L11.5 5.5v13l-4.6-3.75H3.5z'/%3E%3Cpath d='M15 9a4.2 4.2 0 0 1 0 6M17.6 6.4a7.8 7.8 0 0 1 0 11.2' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat, rgb(7 19 38 / .55);
  opacity: .9; transition: opacity var(--t-etat), scale var(--t-etat) var(--ease);
}
@media (hover: hover) {
  .pub__ecran::after { opacity: 0; }
  .pub__ecran:hover::after, .pub__ecran:focus-visible::after { opacity: 1; }
}
.pub__cartel { grid-area: cartel; min-width: 0; padding-top: 1px; font: 500 13px/1.38 var(--corps); color: var(--doux); text-wrap: pretty; }
.pub__cartel b { display: block; font-weight: 600; color: var(--encre); }
.pub__garder {
  grid-area: garder; display: grid; place-items: center; width: 44px; height: 44px; margin: -9px -10px 0 0; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--encre); font-size: 0; cursor: pointer; transition: background-color var(--t-etat), color var(--t-etat);
}
.pub__garder::before { content: ""; width: 21px; height: 21px; background: currentColor; -webkit-mask: var(--i-signet) center / contain no-repeat; mask: var(--i-signet) center / contain no-repeat; }
.pub__garder:hover { background: var(--glace); }
.pub__garder[aria-pressed="true"] { color: var(--cobalt); }
.pub__garder[aria-pressed="true"]::before { -webkit-mask-image: var(--i-signet-plein); mask-image: var(--i-signet-plein); }
:is(.nuit, .section--nuit) .pub__ecran { /* le halo de la loi (§4.5), et une seconde couche plus proche, de la même teinte, pour qu'il se lise */
  background: var(--nuit-2);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 18px 46px -18px color-mix(in srgb, var(--teinte) 60%, transparent), 0 40px 120px -30px color-mix(in srgb, var(--teinte) 70%, transparent);
}
:is(.nuit, .section--nuit) .pub__cartel { color: var(--nuit-doux); }
:is(.nuit, .section--nuit) .pub__cartel b { color: #fff; }
:is(.nuit, .section--nuit) .pub__garder { color: #fff; }
:is(.nuit, .section--nuit) .pub__garder:hover { background: rgb(255 255 255 / .08); }
:is(.nuit, .section--nuit) .pub__garder[aria-pressed="true"] { color: var(--cyan); }

/* 12.2 Le rail : <div class="rail" data-rail><ul class="rail__piste">…</ul></div>
   Défilement horizontal aimanté ; il part du bord du texte et déborde à droite de l'écran ; la carte suivante dépasse.
   Largeur des cartes : --rail-l. Téléphone : 84 % (la suivante dépasse d'environ 12 %), 62 % quand le rail porte des pubs
   9:16 (une pub et son cartel tiennent dans l'écran) ; bureau : 300 px à 1440, 340 px à 1920. Un trait de position là où
   animation-timeline: scroll() existe. Flèches au bureau : <div class="rail__fleches"><button class="rail__fleche" data-rail-prec …>.
   Le rail est un conteneur (container-type: inline-size) : le bord du texte se calcule sur sa largeur à lui (cqw), car un
   pourcentage de scroll-padding se lirait sur la piste, qui couvre toute la fenêtre. Le poser dans un bloc ou une piste de
   grille en fr, jamais dans une colonne « auto ». */
.rail { --rail-l: 84%; --rail-gap: 12px; --rail-bord: calc(50vw - 50cqw); position: relative; container-type: inline-size; }
.rail:has(.pub) { --rail-l: 62%; }
.rail__piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-l); gap: var(--rail-gap); list-style: none;
  margin: -48px calc(-1 * var(--rail-bord)) -72px; padding: 48px var(--rail-bord) 104px; scroll-padding-inline: var(--rail-bord);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rail__piste::-webkit-scrollbar { display: none; }
.rail__piste > :is(li, .rail__carte) { min-width: 0; scroll-snap-align: start; }
.rail__fleches { display: none; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.rail__fleche { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne-2); cursor: pointer; transition: box-shadow var(--t-etat), opacity var(--t-etat); }
.rail__fleche::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-droite) center / contain no-repeat; mask: var(--i-droite) center / contain no-repeat; }
.rail__fleche[data-rail-prec]::before { -webkit-mask-image: var(--i-gauche); mask-image: var(--i-gauche); }
.rail__fleche:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.rail__fleche:disabled, .rail__fleche[aria-disabled="true"] { opacity: .35; cursor: default; }
/* La piste déborde (marges négatives, pour le halo des pubs) : les filtres et les flèches restent cliquables (demande gestes S1). */
.filtres, .rail__fleches { position: relative; z-index: 2; }
:is(.nuit, .section--nuit) .rail__fleche { background: rgb(255 255 255 / .06); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
@media (min-width: 760px) {
  .rail, .rail:has(.pub) { --rail-l: clamp(232px, 20.8vw, 340px); --rail-gap: 24px; }
  .rail__fleches { display: flex; }
  .rail:has(.rail__fleches)::after { bottom: 23px; }
}
@supports (animation-timeline: scroll()) and (timeline-scope: --rail) {
  .rail { timeline-scope: --rail; }
  .rail__piste { scroll-timeline: --rail inline; }
  .rail::after {
    content: ""; position: absolute; left: 0; bottom: 6px; width: min(180px, 46%); height: 2px; border-radius: 2px;
    background: linear-gradient(var(--encre) 0 0) 0 0 / 34% 100% no-repeat, var(--ligne-2);
    animation: rail-position linear both; animation-timeline: --rail;
  }
  :is(.nuit, .section--nuit) .rail::after { background: linear-gradient(var(--cyan) 0 0) 0 0 / 34% 100% no-repeat, rgb(255 255 255 / .16); }
}
@keyframes rail-position { from { background-position: 0 0; } to { background-position: 100% 0; } }

/* 12.3 Les filtres « Vous êtes… » : <div class="filtres" data-filtres="salle" role="group" aria-label="Votre activité">
   <button data-filtre="*" aria-pressed="true">Toutes <span>28</span></button>…</div> */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtres > button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--blanc); color: var(--encre); font: 500 15px/1 var(--corps); white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--ligne-2); transition: background-color var(--t-etat), color var(--t-etat), box-shadow var(--t-etat);
}
.filtres > button > span { font: 600 12.5px/1 var(--corps); font-variant-numeric: tabular-nums; color: var(--doux); }
.filtres > button:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.filtres > button[aria-pressed="true"] { background: var(--encre); color: #fff; box-shadow: none; }
.filtres > button[aria-pressed="true"] > span { color: var(--cyan); }
:is(.nuit, .section--nuit) .filtres > button { background: rgb(255 255 255 / .06); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
:is(.nuit, .section--nuit) .filtres > button > span { color: var(--nuit-doux); }
:is(.nuit, .section--nuit) .filtres > button[aria-pressed="true"] { background: #fff; color: var(--encre); }
:is(.nuit, .section--nuit) .filtres > button[aria-pressed="true"] > span { color: var(--cobalt); }
@media (max-width: 759px) {
  .filtres { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gout)); padding: 2px var(--gout); scrollbar-width: none;
    -webkit-mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .filtres::-webkit-scrollbar { display: none; }
}


/* ------------------------------------------------------------------------------------------
   13. L'œuvre annotée et les unités
   ------------------------------------------------------------------------------------------ */

/* 13.1 L'œuvre annotée (loi §4.5) : la main de l'expert pointe ce qui fait marcher une vraie pub.
   Bureau : les notes autour de l'œuvre (--x/--y relatives à la figure), flèches tracées ; le côté de la note se dit
   par une classe : --g (à gauche de l'œuvre, flèche vers la droite), --d (à droite, flèche vers la gauche), --h (au-dessus,
   flèche vers le bas). Les pastilles numérotées (annote__pin, --x/--y relatives à l'œuvre) disent quel point est pointé.
   Téléphone et tablette (< 1024 px) : JAMAIS de note sur la vidéo ; les notes passent dessous en liste numérotée
   (autour de l'œuvre, il faut environ 950 px : à 768, elles sortaient de l'écran).
   Une note avec data-a (secondes) apparaît quand la vidéo atteint ce moment (site.js pose .est-vu sur la note). */
.annote { position: relative; display: grid; justify-items: center; width: fit-content; max-width: 100%; margin: 0 auto; counter-reset: note; }
.annote__oeuvre { position: relative; grid-area: 1 / 1; }
.annote__pin {
  position: absolute; z-index: 6; left: var(--x); top: var(--y); translate: -50% -50%; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--cyan); color: var(--encre); font: 700 13px/1 var(--corps);
  box-shadow: 0 0 0 3px rgb(7 19 38 / .32), 0 6px 14px -4px rgb(0 0 0 / .5); pointer-events: none;
}
.annote__notes { list-style: none; }
.annote__note { counter-increment: note; }
.annote__note::before {
  content: counter(note); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cyan); color: var(--encre); font: 700 12.5px/1 var(--corps);
}
.annote__note.est-actif::before { box-shadow: 0 0 0 4px rgb(128 242 255 / .45); }
.annote__pin.est-actif { box-shadow: 0 0 0 3px rgb(7 19 38 / .32), 0 0 0 8px rgb(128 242 255 / .42), 0 6px 14px -4px rgb(0 0 0 / .5); }   /* la note du moment (site.js) */
.annote > figcaption, .annote > .cartel { margin-top: 18px; text-align: center; contain: inline-size; width: 100%; }
@media (min-width: 1024px) {
  /* Les notes couvrent la rangée de l'œuvre : --x/--y se lisent dans le cadre de l'œuvre (--x:-8% = à gauche, 108% = à droite).
     Prévoir 16rem libres de chaque côté de la figure. */
  .annote__notes { grid-area: 1 / 1; position: absolute; inset: 0; pointer-events: none; }
  .annote__note { position: absolute; left: var(--x); top: var(--y); translate: 0 -50%; display: flex; align-items: center; gap: 10px; width: max-content; pointer-events: auto; }
  .annote__note .main { width: max-content; max-width: 8.5em; rotate: -2deg; }
  .annote__note--g { translate: -100% -50%; text-align: right; }
  .annote__note--g::before { order: 1; }                      /* [texte] [1] [flèche →] : la pastille touche la flèche */
  .annote__note--g .trait { order: 2; margin-left: -2px; }
  .annote__note--d .trait { order: -2; margin-right: -2px; }
  .annote__note--d::before { order: -1; }
  .annote__note--h { translate: -50% -100%; flex-direction: column; text-align: center; gap: 6px; }
  .annote__note--h .trait { order: 2; }
}
@media (max-width: 1023px) {
  .annote { width: 100%; }
  .annote__notes { display: grid; gap: 14px; width: 100%; max-width: 30rem; margin-top: 26px; }
  .annote__note { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
  .annote__note::before { width: 26px; height: 26px; margin-top: 1px; }
  .annote__note .main { rotate: 0deg; max-width: none; }
  .annote__note .trait { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js :is(.annote__note, .annote__pin) { opacity: 0; transition: opacity var(--t-st) var(--ease); }
  html.js .annote.est-vu .annote__note:not([data-a]), html.js :is(.annote__note, .annote__pin).est-vu { opacity: 1; }
}
/* Une réplique citée (écriture d'origine, puis la traduction) : <blockquote class="replique"><p lang="ar" dir="rtl">…</p><p class="cartel">…</p></blockquote> */
.replique { display: grid; gap: 6px; margin: 0; }
.replique > [lang="ar"] { font-size: 1.25em; color: var(--encre); }

/* 13.2 Les unités (isotype) : <div class="unites" role="img" aria-label="43 pièces de 10 DH"><i class="u u--piece" style="--i:0"></i>…</div>
   u--piece (10 DH), u--personne, u--demi-personne, u--colis, u--colis-vide (non publié), u--trait (une demande reliée à sa pub).
   Statique sans JS ; à l'écran (.est-vu), les unités se comptent de gauche à droite, 18 ms chacune (--i). */
.unites { --u: 18px; --u-gap: 4px; display: flex; flex-wrap: wrap; gap: var(--u-gap); color: var(--encre); }
.unites--avant { color: rgb(13 32 63 / .38); }
.u {
  display: block; flex: none; width: var(--u); height: var(--u); background: currentColor;
  -webkit-mask: var(--u-forme) center / contain no-repeat; mask: var(--u-forme) center / contain no-repeat;
}
.u--piece { --u-forme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1.5a10.5 10.5 0 1 0 0 21 10.5 10.5 0 0 0 0-21zm0 3.1a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8zm0 1.7a5.7 5.7 0 1 0 0 11.4 5.7 5.7 0 0 0 0-11.4z'/%3E%3C/svg%3E"); }
.u--personne { --u-forme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='6.6' r='4.3'/%3E%3Cpath d='M3.6 22.5c0-5.4 3.7-9 8.4-9s8.4 3.6 8.4 9z'/%3E%3C/svg%3E"); }
.u--demi-personne { --u-forme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.3a4.3 4.3 0 0 0 0 8.6zM3.6 22.5c0-5.4 3.7-9 8.4-9v9z'/%3E%3C/svg%3E"); }
.u--colis { --u-forme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M2.5 5.5h19v16h-19zM10.4 5.5v5.2h3.2V5.5z'/%3E%3Cpath d='M3.5 2.5h17l1 2h-19z'/%3E%3C/svg%3E"); }
.u--colis-vide { --u-forme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-dasharray='2.4 2'%3E%3Cpath d='M3.3 6.3h17.4v14.4H3.3z'/%3E%3Cpath d='M4 3h16' stroke-dasharray='none'/%3E%3C/svg%3E"); }
.u--trait { --u-forme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='4' cy='12' r='3'/%3E%3Ccircle cx='20' cy='12' r='3'/%3E%3Cpath d='M6 11h12v2H6z'/%3E%3C/svg%3E"); }
.unites__legende { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; font: 600 14px/1.3 var(--corps); color: var(--encre); }
.unites__legende span { font-weight: 500; color: var(--doux); }
@media (max-width: 759px) { .unites { --u: 14px; --u-gap: 3px; } }
@media (prefers-reduced-motion: no-preference) {
  html.js .unites .u { opacity: .14; }
  html.js .unites.est-vu .u, html.js .est-vu .unites .u { animation: u-compte var(--t-main) var(--ease) both; animation-delay: calc(var(--i, 0) * 18ms); }
}
@keyframes u-compte { from { opacity: .14; scale: .6; } 30% { opacity: 1; } to { opacity: 1; scale: 1; } }


/* ------------------------------------------------------------------------------------------
   14. Le menu qui se remplit (formules, loi §4.10)
   Trois radios + labels en contrôle segmenté (Créa · Créa + Média · 360°), une seule carte de papier.
   Les blocs [data-formule="1|2|3"] : :has() montre la formule choisie ; la ligne .formules__rappel
   (« Tout Créa, plus : ») tient la place de la précédente. Sans :has(), les trois blocs restent empilés.
   ------------------------------------------------------------------------------------------ */
.formules { display: grid; gap: 22px; max-width: 760px; }
.formules__onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--glace); box-shadow: inset 0 0 0 1px var(--ligne); }
.formules__onglets > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.formules__onglet { position: relative; display: grid; place-items: center; min-height: 48px; padding: 4px 10px; border-radius: 999px; color: var(--encre-2); font: 600 15px/1.15 var(--corps); text-align: center; cursor: pointer; transition: background-color var(--t-etat), color var(--t-etat), box-shadow var(--t-etat); }
.formules__onglet input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.formules__onglet small { display: block; font: 500 11.5px/1.2 var(--corps); color: var(--doux); }
.formules__onglet:hover { color: var(--encre); }
.formules__onglet:has(input:checked) { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 2px rgb(13 32 63 / .12), 0 6px 14px -8px rgb(13 32 63 / .35); }
.formules__onglet:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 2px; box-shadow: 0 0 0 4px var(--cyan); }
.formules__carte { display: grid; gap: 34px; }
.formule { display: grid; gap: 14px; align-content: start; }
.formule__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.formule__nom { font: 750 clamp(28px, 22px + 1.2vw, 38px)/1.05 var(--titre); letter-spacing: -.025em; color: var(--encre); }
.formule__eq { font-size: 15px; color: var(--doux); }
.formule__pour { font-size: 16px; color: var(--encre-2); max-width: 34em; }
.formules__rappel { display: flex; align-items: center; gap: 10px; font: 600 15px/1.3 var(--corps); color: var(--cobalt); }
.formules__rappel::before { content: ""; width: 26px; height: 2px; background: var(--cobalt); }
.formule__lignes { display: grid; gap: 0; list-style: none; border-top: 1px dashed var(--ligne-2); }
.formule__lignes > li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--ligne-2); font-size: 16px; line-height: 1.4; color: var(--encre); }
.formule__lignes > li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; background: var(--cobalt); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.formule__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 6px; }
.formule__tampon { display: inline-block; padding: 5px 10px 4px; border: 2px solid currentColor; border-radius: 4px; color: var(--cobalt); font: 800 12.5px/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; rotate: -6deg; opacity: .88; }
@supports selector(:has(*)) {
  .formules__carte { display: block; }
  .formules:has(input[value="crea"]:checked) .formule:not([data-formule="1"]),
  .formules:has(input[value="media"]:checked) .formule:not([data-formule="2"]),
  .formules:has(input[value="complet"]:checked) .formule:not([data-formule="3"]) { display: none; }
  .formule { animation: formule-entre var(--t-st) var(--ease) both; }
  .formule__lignes > li { background: linear-gradient(rgb(128 242 255 / .5), rgb(128 242 255 / .5)) 0 0 / 0% 100% no-repeat; animation: formule-ligne 900ms var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 100ms); }
}
@keyframes formule-entre { from { opacity: 0; } to { opacity: 1; } }
@keyframes formule-ligne { 0% { background-size: 0% 100%; background-position: 0 0; } 40% { background-size: 100% 100%; background-position: 0 0; } 100% { background-size: 0% 100%; background-position: 100% 0; } }
@media (max-width: 759px) {
  .formules__onglet { min-height: 52px; font-size: 14px; padding-inline: 6px; }
  .formule__lignes > li { font-size: 15.5px; }
}


/* ------------------------------------------------------------------------------------------
   15. Le fil du client (loi §4.12) : la seule façon de dessiner le tout.
   Une ligne cyan continue (2 px, bouts biseautés) traverse quatre stations ; les sept services y sont posés, chacun
   un lien (sa pièce, son signe, son nom, sa ligne de bénéfice) suivi de son étiquette « Chhal ? ».
   Bureau (≥ 1080) : à l'horizontale, sept colonnes ; les stations couvrent leurs services (3 · 1 · 2 · 1) ; une
   sous-grille (subgrid) aligne d'une colonne à l'autre les titres, les pièces, les noms, les lignes et les étiquettes.
   Tablette et téléphone : à la verticale, la ligne le long du bord gauche ; la pièce à gauche, le texte à droite,
   l'étiquette sous le texte. La ligne se trace (600 ms) quand le fil reçoit .est-vu.
   Le balisage nu de la loi suffit (<h3> puis <ul>) : les classes __titre, __services et __item sont facultatives.
   ------------------------------------------------------------------------------------------ */
.fil-client { position: relative; list-style: none; }
.fil-client:not(.fil-client--mini) { --fc-gap: 20px; --fc-noeud: 13px; --fc-piece: 96px; display: grid; gap: 34px; padding-left: 34px; }
.fil-client:not(.fil-client--mini)::before { /* la ligne */
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 40px; width: 2px; background: var(--cyan);
  clip-path: polygon(0 2px, 100% 0, 100% calc(100% - 2px), 0 100%); transform-origin: 50% 0;
}
.fil-client__station { position: relative; display: grid; gap: 16px; align-content: start; }
.fil-client:not(.fil-client--mini) .fil-client__station::before { /* la station : un nœud marine sur la ligne */
  content: ""; position: absolute; left: -31px; top: 3px; width: var(--fc-noeud); height: var(--fc-noeud); border-radius: 50%;
  background: var(--encre); box-shadow: 0 0 0 4px var(--blanc), 0 0 0 5.5px var(--cyan);
}
:is(.glace, .section--glace) .fil-client:not(.fil-client--mini) .fil-client__station::before { box-shadow: 0 0 0 4px var(--glace), 0 0 0 5.5px var(--cyan); }
.fil-client__station > :not(ul) { margin: 0; font: 700 14px/1.25 var(--corps); letter-spacing: .005em; color: var(--cobalt); text-wrap: balance; }
.fil-client__station > ul { display: grid; gap: 22px; list-style: none; }
.fil-client__station > ul > li { position: relative; display: grid; align-content: start; justify-items: start; }
.fil-client__service {
  position: relative; z-index: 0; display: grid; grid-template-columns: var(--fc-piece) minmax(0, 1fr); grid-template-rows: auto 1fr;
  grid-template-areas: "piece nom" "piece ligne"; align-items: start; gap: 6px 14px; width: 100%; color: var(--encre); text-decoration: none;
}
.fil-client__service::before { /* le survol : la table glace sous le travail */
  content: ""; position: absolute; z-index: -1; inset: -8px; border-radius: 16px; background: var(--glace); opacity: 0; transition: opacity var(--t-etat);
}
.fil-client__service:hover::before { opacity: 1; }
:is(.glace, .section--glace) .fil-client__service::before { background: var(--blanc); }
.fil-client__service:hover .signe { --signe-detail: var(--encre); background: var(--cyan); color: var(--encre); }
.fil-client__nom { grid-area: nom; display: flex; align-items: center; gap: 10px; padding-top: 4px; font: 650 16.5px/1.2 var(--corps); letter-spacing: -.005em; }
.fil-client__nom .signe { --signe-taille: 30px; --signe-coupe: 7px; border-radius: 0 7px 7px 7px; }
.fil-client__ligne { grid-area: ligne; font-size: 14.5px; line-height: 1.4; color: var(--doux); text-wrap: pretty; }
.fil-client__piece {
  grid-area: piece; position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden;
  background: var(--glace-2); box-shadow: 0 0 0 1px var(--ligne), 0 10px 22px -16px rgb(13 32 63 / .5); container-type: inline-size;
}
.fil-client__piece > img, .fil-client__piece > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fil-client__piece > .exemple { position: absolute; z-index: 2; left: 5px; right: 5px; top: 5px; width: auto; max-width: none; padding: 4px 6px; border-radius: 5px; font-size: 13px; line-height: 1.15; rotate: 0deg; }
.fil-client__piece > .exemple::before { display: none; }
.fil-client__station > ul > li > .etiquette { margin: 14px 0 0 calc(var(--fc-piece) + 14px); }
@media (min-width: 760px) and (max-width: 1079px) {
  .fil-client__station > ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 26px 32px; }
}
@media (min-width: 1080px) {
  .fil-client:not(.fil-client--mini) { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 var(--fc-gap); padding: 34px 0 0; }
  .fil-client:not(.fil-client--mini)::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%); transform-origin: 0 50%; }
  .fil-client:not(.fil-client--mini) .fil-client__station::before { left: 0; top: -34px; }
  .fil-client:not(.fil-client--mini) > .fil-client__station:nth-child(1) { grid-column: span 3; }
  .fil-client:not(.fil-client--mini) > .fil-client__station:nth-child(3) { grid-column: span 2; }
  .fil-client__station > :not(ul) { min-height: 2.5em; }
  .fil-client__station > ul { display: flex; gap: var(--fc-gap); }
  .fil-client__station > ul > li { flex: 1 1 0; min-width: 0; grid-template-rows: auto 1fr; }
  .fil-client__service { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-areas: "piece" "nom" "ligne"; gap: 0; }
  .fil-client__nom { margin-top: 14px; padding-top: 0; }
  .fil-client__ligne { margin-top: 6px; }
  .fil-client__piece { border-radius: 12px; }
  .fil-client__station > ul > li > .etiquette { align-self: end; margin: 18px 0 0 14px; }
  /* La sous-grille : quatre rangées partagées par les sept colonnes (pièce, nom, ligne, étiquette), sous le titre. */
  @supports (grid-template-rows: subgrid) {
    .fil-client:not(.fil-client--mini) { grid-template-rows: auto auto auto auto auto; }
    .fil-client:not(.fil-client--mini) > .fil-client__station { grid-row: 1 / -1; grid-template-columns: subgrid; grid-template-rows: subgrid; gap: 0 var(--fc-gap); }
    .fil-client:not(.fil-client--mini) .fil-client__station > :not(ul) { grid-column: 1 / -1; grid-row: 1; min-height: 0; margin-bottom: 18px; }
    .fil-client:not(.fil-client--mini) .fil-client__station > ul { grid-column: 1 / -1; grid-row: 2 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; gap: 0 var(--fc-gap); }
    .fil-client:not(.fil-client--mini) .fil-client__station > ul > li { grid-row: 1 / -1; grid-template-rows: subgrid; }
    .fil-client:not(.fil-client--mini) .fil-client__service { grid-row: 1 / 4; grid-template-rows: subgrid; }
    .fil-client:not(.fil-client--mini) .fil-client__station > ul > li > .etiquette { grid-row: 4; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .fil-client:not(.fil-client--mini)::before { scale: 1 0; transition: scale var(--t-main) var(--ease); }
  html.js .fil-client.est-vu::before { scale: 1 1; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1080px) {
  html.js .fil-client:not(.fil-client--mini)::before { scale: 0 1; }
  html.js .fil-client.est-vu::before { scale: 1 1; }
}

/* 15.1 Les pièces qui ne sont pas une image : un vrai écran du client, en petit (.mini), toujours avec sa pastille
   « Exemple ». C'est une vignette (aria-hidden="true") ; son texte suit la largeur de la pièce (cqi).
   <span class="fil-client__piece"><span class="mini mini--wa" aria-hidden="true"><span>Kayn livraison l Tanja ?</span>
   <span>Salam ! Oui, on livre à Tanger.</span></span><span class="exemple">Exemple · conversation fictive</span></span>
   --wa : la conversation (bulles reçue, envoyée, en alternance) · --site : la maquette (img, b, i) · --chaine : la
   commande reliée à sa pub (des maillons ; .mini__creux pour un maillon encore inconnu). */
.mini { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; font: 400 clamp(6px, 7.4cqi, 13px)/1.3 var(--corps); color: #111B21; text-align: left; }
.mini--wa { justify-content: flex-end; gap: .55em; padding: 1.1em .85em; background: var(--wa-fond); }
.mini--wa > * { width: fit-content; max-width: 90%; padding: .45em .65em .5em; border-radius: .6em; background: #fff; box-shadow: 0 1px .5px rgb(11 20 26 / .13); }
.mini--wa > :nth-child(odd) { border-top-left-radius: 0; }
.mini--wa > :nth-child(even) { align-self: flex-end; border-radius: .6em 0 .6em .6em; background: var(--wa-bulle); }
.mini--site { background: #fff; }
.mini--site > img { flex: 0 0 50%; width: 100%; min-height: 0; object-fit: cover; }
.mini--site > b { margin: .85em .9em .6em; font: 750 1.3em/1.06 var(--titre); letter-spacing: -.02em; color: var(--encre); }
.mini--site > i { align-self: flex-start; margin: 0 .9em; padding: .6em 1em; border-radius: 99em; background: var(--encre); color: #fff; font: 600 .95em/1 var(--corps); font-style: normal; }
.mini--chaine { justify-content: flex-end; gap: .45em; padding: .9em .75em; background: var(--glace); }
.mini--chaine > * { display: flex; align-items: center; gap: .5em; min-height: 2.6em; padding: .35em .55em; border-radius: .7em; background: #fff; box-shadow: 0 1px 2px rgb(13 32 63 / .1); font-weight: 600; color: var(--encre); }
.mini--chaine > * > img { flex: none; width: 1.9em; height: 1.9em; border-radius: .4em; object-fit: cover; }
.mini--chaine > *::after { content: ""; flex: none; width: 1em; height: 1em; margin-left: auto; background: var(--cobalt); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
.mini--chaine > .mini__creux { background: transparent; box-shadow: inset 0 0 0 1px rgb(13 32 63 / .3); color: var(--doux); }
.mini--chaine > .mini__creux::after { display: none; }

/* 15.2 Le mini-chemin « vous êtes ici » (en tête de chaque page de service) : les sept signes sur la ligne, le service
   courant allumé (aria-current="page" sur son lien), les autres en liens. Le nom court sous chaque signe (commun.md §1a).
   Au téléphone, les titres des stations ne restent que pour les lecteurs d'écran : les sept signes tiennent sur une ligne. */
.fil-client--mini { --fc-y: 41px; display: flex; flex-wrap: nowrap; align-items: start; gap: 22px; width: max-content; max-width: 100%; padding: 0 2px 4px; overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(var(--cyan) 0 0) 18px var(--fc-y) / calc(100% - 36px) 2px no-repeat local; }
.fil-client--mini::-webkit-scrollbar { display: none; }
.fil-client--mini .fil-client__station { flex: none; gap: 8px; }
.fil-client--mini .fil-client__station > :not(ul) { font: 500 12.5px/16px var(--corps); color: var(--doux); white-space: nowrap; }
.fil-client--mini .fil-client__station > ul { display: flex; gap: 10px; }
.fil-client--mini .fil-client__station > ul > li { flex: none; }
.fil-client--mini .fil-client__service { display: grid; grid-template: none / none; justify-items: center; gap: 6px; width: auto; min-width: 44px; }
.fil-client--mini .fil-client__service::before { display: none; }
.fil-client--mini .signe { --signe-taille: 34px; --signe-coupe: 8px; background: var(--blanc); box-shadow: inset 0 0 0 1px var(--ligne-2); }
.fil-client--mini .fil-client__service:hover .signe { --signe-detail: var(--cyan); background: var(--glace); color: var(--cobalt); }
.fil-client--mini .fil-client__nom { grid-area: auto; padding: 0; font: 500 12.5px/1.2 var(--corps); color: var(--doux); white-space: nowrap; }
.fil-client--mini [aria-current="page"] .fil-client__nom { color: var(--encre); font-weight: 650; }
.fil-client--mini [aria-current="page"] .signe, .fil-client--mini [aria-current="page"]:hover .signe { --signe-detail: var(--encre); background: var(--cyan); color: var(--encre); box-shadow: none; filter: drop-shadow(0 0 10px rgb(128 242 255 / .75)); }
@media (min-width: 1080px) { .fil-client--mini { gap: 28px; } }
@media (max-width: 759px) {
  .fil-client--mini { --fc-y: 17px; gap: 6px; }
  .fil-client--mini .fil-client__station { gap: 0; }
  .fil-client--mini .fil-client__station > :not(ul) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fil-client--mini .fil-client__station > ul { gap: 6px; }
  .fil-client--mini .fil-client__nom { font-size: 12px; }
}


/* ------------------------------------------------------------------------------------------
   16. La conversation (loi §4.13) : la fin de chaque page. Un court fil WhatsApp : la bulle reçue,
   les pastilles comme réponses, la bulle verte qui montre le message exact qui partira (✓✓),
   le bouton, l'appel. Ni « en ligne », ni heure, ni points de saisie.
   ------------------------------------------------------------------------------------------ */
.conversation { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 560px; padding-bottom: 18px; border-radius: 22px; background: var(--wa-fond); color: #111B21; box-shadow: var(--ombre-haute); }
.conversation__tete { display: flex; align-items: center; gap: 11px; min-height: 60px; margin-bottom: 4px; padding: 10px 16px; border-radius: 22px 22px 0 0; background: #fff; font: 600 16px/1.2 var(--corps); box-shadow: 0 1px 0 rgb(11 20 26 / .08); }
.conversation__tete::before { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; background: url(/assets/v6/img/favicon.svg) center / cover; }
.conversation__recu, .conversation__envoye {
  position: relative; width: fit-content; max-width: 84%; margin: 12px 16px 0; padding: 7px 10px 8px; border-radius: 9px;
  font: 400 15.5px/1.38 var(--corps); color: #111B21; box-shadow: 0 1px .5px rgb(11 20 26 / .13); text-wrap: pretty;
}
.conversation__recu { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.conversation__recu::before { content: ""; position: absolute; top: 0; left: -7px; width: 8px; height: 12px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.conversation__choix { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 12px 16px 0; padding-left: 12%; }
.conversation__choix .puce { background: #fff; color: var(--cobalt); font-weight: 550; box-shadow: 0 1px .5px rgb(11 20 26 / .13), inset 0 0 0 1px rgb(29 74 147 / .14); }
.conversation__choix .puce:hover { box-shadow: 0 1px .5px rgb(11 20 26 / .13), inset 0 0 0 1.5px var(--cobalt); }
.conversation__choix .puce[aria-pressed="true"] { background: var(--encre); color: #fff; box-shadow: none; }
.conversation__envoye { align-self: flex-end; background: var(--wa-bulle); border-top-right-radius: 0; padding-right: 30px; }
.conversation__envoye::before { content: ""; position: absolute; top: 0; right: -7px; width: 8px; height: 12px; background: var(--wa-bulle); clip-path: polygon(0 0, 100% 0, 0 100%); }
.conversation__envoye::after { content: ""; position: absolute; right: 9px; bottom: 8px; width: 16px; height: 11px; background: var(--wa-heure); -webkit-mask: var(--i-coches) center / contain no-repeat; mask: var(--i-coches) center / contain no-repeat; transition: background-color var(--t-st); }
.conversation:has(.conversation__envoyer:hover) .conversation__envoye::after { background: var(--wa-lu); }
.conversation__envoye:empty { display: none; }
.conversation__reponse { margin-top: 10px; max-width: max-content; }   /* la pastille choisie, posée en bulle (demande gestes S3) */
.conversation__envoyer { margin: 18px 16px 0; }
.conversation__appel { align-self: center; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 12px; color: var(--encre); font: 600 15px/1.2 var(--corps); text-decoration: none; }
.conversation__appel:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 759px) {
  .conversation__choix { padding-left: 0; }
  .conversation__envoyer { white-space: normal; }
}


/* ------------------------------------------------------------------------------------------
   17. Surfaces : la page (blanc), la table (glace), l'écran (nuit)
   ------------------------------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gout); }
.section { position: relative; padding-block: clamp(56px, 35.2px + 5.333vw, 136px); }
.section--serre { padding-block: clamp(40px, 26px + 3.6vw, 88px); }
.section-tete { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(32px, 1.5rem + 2vw, 56px); }
.section-tete--centre { margin-inline: auto; justify-items: center; text-align: center; }
.section-tete--ligne { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; }
.section-tete--ligne > :last-child { justify-self: end; }
.glace, .section--glace { background: var(--glace); }
.nuit, .section--nuit { background: var(--nuit); color: var(--nuit-texte); color-scheme: dark; }
:is(.nuit, .section--nuit) :is(h1, h2, h3, h4, .h1, .h2, .h3, .chiffre) { color: #fff; }
:is(.nuit, .section--nuit) .chapo { color: #B9C7E0; }
:is(.nuit, .section--nuit) :is(.cartel, .legende) { color: var(--nuit-doux); }
:is(.nuit, .section--nuit) .cartel b { color: #fff; }
:is(.nuit, .section--nuit) .ton { color: rgb(255 255 255 / .55); }
:is(.nuit, .section--nuit) :where(p, li, dd, figcaption) > a:not([class]) { color: var(--cyan-2); }
/* La bande cyan (« Ce qu'une bonne pub fait écrire ») : texte marine sur cyan. */
.bande-cyan { background: var(--cyan); color: var(--encre); }
/* Le héros des pages intérieures (sans dégradé, sans grille) */
.page-hero { position: relative; padding: clamp(32px, 1.5rem + 3vw, 88px) 0 clamp(48px, 2rem + 3vw, 96px); }
/* Le retour d'application (« ‹ Services ») : 44 px */
.retour { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-left: -6px; padding-right: 8px; color: var(--doux); font: 500 15px/1 var(--corps); text-decoration: none; }
.retour::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-gauche) center / contain no-repeat; mask: var(--i-gauche) center / contain no-repeat; }
.retour:hover { color: var(--encre); }


/* ------------------------------------------------------------------------------------------
   18. L'en-tête : RA · Services ▾ · Réalisations · Résultats · L'agence · Contact · le numéro · « Demander un devis »
   Le sous-menu range les sept services sous les quatre stations du chemin, sur une ligne cyan.
   backdrop-filter : seulement ici et sur la barre du téléphone (et pas sur les écrans tactiles, pour la fluidité).
   ------------------------------------------------------------------------------------------ */
.saut { position: absolute; z-index: 100; top: 8px; left: 8px; padding: 12px 18px; border-radius: 10px; background: var(--encre); color: #fff; font-weight: 600; text-decoration: none; translate: 0 -160%; transition: translate var(--t-etat); }
.saut:focus { translate: 0 0; }
.tete {
  position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 1px 0 transparent; transition: box-shadow var(--t-st) var(--ease);
}
.tete.est-defile { box-shadow: 0 1px 0 var(--ligne), 0 12px 32px -26px rgb(13 32 63 / .45); }
@media (hover: none) { .tete { background: rgb(255 255 255 / .97); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.tete__in { position: relative; display: flex; align-items: center; gap: 14px; height: var(--tete-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--encre); text-decoration: none; font: 800 18px/1 var(--titre); letter-spacing: -.01em; }
.logo svg { width: 42px; height: 24px; fill: currentColor; }
.tete__nav { margin-inline: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu > li { position: static; }
.menu__lien {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 0; border-radius: 10px;
  background: none; color: var(--encre-2); font: 500 15.5px/1 var(--corps); text-decoration: none; cursor: pointer; transition: background-color var(--t-etat), color var(--t-etat);
}
.menu__lien:hover, .menu__lien[aria-expanded="true"] { color: var(--encre); background: var(--glace); }
.menu__lien[aria-current="page"], .menu__lien[data-courant] { color: var(--encre); font-weight: 600; }
.menu__lien[aria-current="page"]::after, .menu__lien[data-courant]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 3px; background: var(--cyan); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.menu__lien svg { width: 12px; height: 12px; transition: rotate var(--t-st) var(--ease); }
.menu__lien[aria-expanded="true"] svg { rotate: 180deg; }
.tete__actions { display: flex; align-items: center; gap: 8px; }
.tete__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; color: var(--encre); font: 600 15px/1 var(--corps); font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.tete__tel .ico { width: 18px; height: 18px; color: var(--cobalt); }
.tete__tel:hover { text-decoration: underline; text-underline-offset: 3px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--glace); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--encre); transition: translate var(--t-st) var(--ease), rotate var(--t-st) var(--ease), opacity var(--t-etat); }
.burger[aria-expanded="true"] span:nth-child(1) { translate: 0 6px; rotate: 45deg; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { translate: 0 -6px; rotate: -45deg; }

/* Le sous-menu : quatre stations sur la ligne cyan, les sept services dans l'ordre fixe. */
.sous-menu {
  position: absolute; z-index: 2; top: calc(100% - 4px); left: var(--gout); right: var(--gout); padding: 30px 30px 18px; border-radius: 22px;
  background: var(--blanc); box-shadow: var(--ombre-haute), 0 0 0 1px var(--ligne);
  opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity var(--t-etat), translate var(--t-st) var(--ease), visibility 0s var(--t-st);
}
.sous-menu.est-ouvert, html:not(.js) .menu > li:is(:hover, :focus-within) > .sous-menu { opacity: 1; visibility: visible; translate: 0 0; transition: opacity var(--t-etat), translate var(--t-st) var(--ease), visibility 0s; }
.sous-menu__stations { position: relative; display: grid; grid-template-columns: 1.1fr .9fr .9fr 1.1fr; gap: 0 28px; padding-top: 26px; list-style: none; }
.sous-menu__stations::before { content: ""; position: absolute; left: 6px; right: 0; top: 5px; height: 2px; background: var(--cyan); clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%); }
.sous-menu__station { position: relative; display: grid; align-content: start; gap: 4px; }
.sous-menu__station::before { content: ""; position: absolute; left: 0; top: -26px; width: 12px; height: 12px; border-radius: 50%; background: var(--encre); box-shadow: 0 0 0 4px var(--blanc), 0 0 0 5.5px var(--cyan); }
/* v17 : le nom du pôle (Inter Tight), sa promesse en petit, un filet fin ; les quatre filets sur la même ligne. */
.sous-menu__titre { margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--ligne); font: 700 15.5px/1.2 var(--titre); letter-spacing: -.012em; color: var(--encre); }
.sous-menu__titre > span { display: block; min-height: 2.7em; margin-top: 5px; font: 500 12.5px/1.35 var(--corps); letter-spacing: 0; color: var(--doux); text-wrap: pretty; }
.sous-menu__service { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 12px; align-items: center; margin-inline: -10px; padding: 10px; border-radius: 12px; color: var(--encre); text-decoration: none; transition: background-color var(--t-etat); }
.sous-menu__service .signe { grid-row: span 2; }
.sous-menu__service b { font: 600 15px/1.2 var(--corps); align-self: end; }
.sous-menu__service small { font-size: 13px; line-height: 1.32; color: var(--doux); align-self: start; }
.sous-menu__service:hover { background: var(--glace); }
.sous-menu__service:hover .signe { background: var(--blanc); }
.sous-menu__service[aria-current="page"] b { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.sous-menu__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.sous-menu__pied .cartel { font-size: 13.5px; }


/* ------------------------------------------------------------------------------------------
   19. Le tiroir du téléphone : les mêmes liens, les sept services par station, WhatsApp, appel.
   ------------------------------------------------------------------------------------------ */
.tiroir { display: none; }


/* ------------------------------------------------------------------------------------------
   20. Le pied (nuit) : RA, une phrase sourcée, les sept services, les pages, le contact, « Aperçu v21 ».
   ------------------------------------------------------------------------------------------ */
.pied { background: var(--nuit); color: var(--nuit-doux); padding: clamp(56px, 3rem + 2vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); }
.pied a { color: #DCE6F8; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pied__haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.pied .logo { color: #fff; }
.pied__p { margin-top: 18px; max-width: 25rem; font-size: 15px; line-height: 1.55; color: var(--nuit-texte); }
.pied__k { margin-bottom: 14px; font: 600 13.5px/1 var(--corps); color: #7F91B5; }
.pied__liste { display: grid; gap: 4px; list-style: none; font-size: 15px; }
.pied__liste a { display: inline-flex; align-items: center; min-height: 34px; }
.pied__tel { font: 700 22px/1.2 var(--titre) !important; color: #fff !important; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pied__plie > summary { list-style: none; }
.pied__plie > summary::-webkit-details-marker { display: none; }
@media (min-width: 760px) {
  .pied__plie::details-content { content-visibility: visible; }
  .pied__plie > summary { pointer-events: none; }
}
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--nuit-ligne); font-size: 14px; }


/* ------------------------------------------------------------------------------------------
   21. La barre du téléphone : WhatsApp + appel. Un seul vert par écran ; elle s'efface (.est-retiree)
   quand un gros bouton vert de la page est visible, et sur le dernier écran.
   ------------------------------------------------------------------------------------------ */
.barre-mobile { display: none; }


/* ------------------------------------------------------------------------------------------
   22. Le fil : la pub en plein écran (dialog.fil, rempli par site.js)
   Téléphone : plein écran, glisser vers le haut = pub suivante, toucher = pause, trait de progression en haut,
   légende en bas à gauche, le bouton vert dans la zone du pouce, deux ronds de 48 px à droite.
   Ordinateur : une colonne 9:16 centrée sur la nuit, halo de la teinte, flèches, mêmes boutons.
   Les boutons ronds (.fil__btn, .fil__prec, .fil__suiv, .fil__son) dessinent leur icône en CSS :
   leur texte reste le libellé (affiché en petit sous le rond).
   ------------------------------------------------------------------------------------------ */
.fil {
  --fil-h: 100dvh; --fil-l: 100vw;
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #000; color: #fff; overflow: hidden; overscroll-behavior: contain;
}
.fil[open] { opacity: 1; transition: opacity var(--t-st) var(--ease), display var(--t-st) allow-discrete, overlay var(--t-st) allow-discrete; }
@starting-style { .fil[open] { opacity: 0; } }
.fil::backdrop { background: var(--nuit); }
.fil__piste { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; }
.fil__piste::-webkit-scrollbar { display: none; }
.fil__diapo { --teinte: #3A5A93; position: relative; height: 100dvh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.fil__affiche, .fil__video, .fil__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.fil__video { z-index: 1; }
.fil__image { object-fit: contain; }
.fil__diapo::after { /* le voile bas, sous la légende et le bouton */
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none;
  background: linear-gradient(to top, rgb(0 0 0 / .72), rgb(0 0 0 / .35) 55%, transparent);
}
.fil__progres { position: absolute; z-index: 6; top: env(safe-area-inset-top); left: 0; right: 0; height: 3px; background: rgb(255 255 255 / .22); pointer-events: none; }
.fil__progres > i { display: block; width: 0; height: 100%; background: var(--cyan); box-shadow: 0 0 10px rgb(128 242 255 / .6); }
.fil__leg { position: absolute; z-index: 6; left: 16px; right: 88px; bottom: calc(92px + env(safe-area-inset-bottom)); font: 500 14.5px/1.4 var(--corps); color: #fff; text-shadow: 0 1px 3px rgb(0 0 0 / .55); text-wrap: pretty; }
.fil__leg b, .fil__leg strong { display: block; font-weight: 700; font-size: 15.5px; }
.fil__wa { position: absolute; z-index: 6; left: 16px; right: 88px; bottom: calc(22px + env(safe-area-inset-bottom)); white-space: normal; text-align: center; line-height: 1.15; }
.fil__actions { position: absolute; z-index: 6; right: 10px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.fil__btn, .fil__prec, .fil__suiv {
  --fil-ico: var(--i-fermer);
  display: grid; justify-items: center; gap: 5px; width: 64px; padding: 0; border: 0; background: none; color: #fff;
  font: 600 11.5px/1.15 var(--corps); text-align: center; text-shadow: 0 1px 2px rgb(0 0 0 / .6); cursor: pointer;
}
.fil__btn::before, .fil__prec::before, .fil__suiv::before {
  content: ""; width: 48px; height: 48px; border-radius: 50%;
  background: rgb(18 26 42 / .58); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22);
  -webkit-mask: none; transition: background-color var(--t-etat);
}
.fil__btn::after, .fil__prec::after, .fil__suiv::after { /* l'icône, posée au centre du rond */
  content: ""; position: absolute; top: 13px; left: 50%; translate: -50% 0; width: 22px; height: 22px; background: #fff;
  -webkit-mask: var(--fil-ico) center / contain no-repeat; mask: var(--fil-ico) center / contain no-repeat;
}
.fil__btn, .fil__prec, .fil__suiv { position: relative; }
.fil__btn > svg, .fil__prec > svg, .fil__suiv > svg { display: none; }
.fil__btn:hover::before, .fil__prec:hover::before, .fil__suiv:hover::before { background: rgb(255 255 255 / .22); }
.fil__btn--garder { --fil-ico: var(--i-signet); }
.fil__btn--garder[aria-pressed="true"] { --fil-ico: var(--i-signet-plein); }
.fil__btn--garder[aria-pressed="true"]::before { background: rgb(128 242 255 / .3); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.fil__btn--garder[aria-pressed="true"]::after { background: var(--cyan); }
.fil__btn--fermer { --fil-ico: var(--i-fermer); }
.fil__prec { --fil-ico: var(--i-haut); }
.fil__suiv { --fil-ico: var(--i-bas); }
.fil__prec, .fil__suiv { display: none; font-size: 0; gap: 0; }
.fil__son { /* en haut, sous le trait de progression : jamais sur le visage */
  position: absolute; z-index: 7; top: calc(28px + env(safe-area-inset-top)); left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--encre);
  font: 600 16px/1 var(--corps); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .6); cursor: pointer;
}
.fil__son::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-son) center / contain no-repeat; mask: var(--i-son) center / contain no-repeat; }
.fil__son > svg { display: none; }
.fil__piste:focus, .fil__piste:focus-visible { outline: none; box-shadow: none; }
:is(.fil__prec, .fil__suiv)[aria-disabled="true"] { opacity: .32; cursor: default; }
:is(.fil__prec, .fil__suiv)[aria-disabled="true"]:hover::before { background: rgb(18 26 42 / .58); }
/* La pause : toucher la pub l'arrête ; un rond « lecture » se pose alors au centre (et au clavier, il se montre au focus).
   Son texte (« Mettre en pause », « Reprendre ») reste pour les lecteurs d'écran. */
.fil__lecture {
  position: absolute; z-index: 7; top: 50%; left: 50%; translate: -50% -50%; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(7 19 38 / .52); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); color: transparent; font-size: 0; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity var(--t-etat) var(--ease);
}
.fil__lecture::before { content: ""; position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; background: #fff; -webkit-mask: var(--i-pause) center / contain no-repeat; mask: var(--i-pause) center / contain no-repeat; }
.fil.est-pause .fil__lecture::before { -webkit-mask-image: var(--i-lecture); mask-image: var(--i-lecture); translate: 2px 0; }
.fil.est-pause .fil__lecture, .fil__lecture:focus-visible { opacity: 1; pointer-events: auto; }
/* Le test du pouce : la consigne sur la première pub (cachée ensuite par site.js). */
.fil__consigne {
  position: absolute; z-index: 6; top: calc(16px + env(safe-area-inset-top)); left: 14px; right: 14px; display: grid; gap: 4px; padding: 13px 16px 14px;
  border-radius: 16px; background: rgb(7 19 38 / .82); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 16px 32px -16px rgb(0 0 0 / .6);
  color: #fff; font: 600 15.5px/1.38 var(--corps); text-wrap: pretty; pointer-events: none;
}
.fil__consigne-note { font: 500 13.5px/1.35 var(--corps); color: var(--nuit-doux); }
@media (max-width: 1023px), (orientation: portrait) {
  .fil:has(.fil__consigne:not([hidden])) .fil__son { top: calc(150px + env(safe-area-inset-top)); }   /* sous la consigne */
}
/* L'aide du clavier (bureau seulement). */
.fil__aide { display: none; }
/* Le bilan du test (la dernière diapositive) : « Votre pouce s'est arrêté sur : » et le secteur, dans le sous-titre. */
.fil__bilan { position: relative; display: grid; place-content: center; justify-items: center; gap: 18px; height: 100dvh; padding: 40px 24px calc(40px + env(safe-area-inset-bottom)); background: var(--nuit); color: var(--nuit-texte); text-align: center; scroll-snap-align: start; }
.fil__bilan-titre { max-width: 15em; font: 750 clamp(30px, 22px + 2.2vw, 48px)/1.12 var(--titre); letter-spacing: -.025em; word-spacing: .06em; color: #fff; text-wrap: balance; }
.fil__bilan-titre b {
  font-weight: inherit; color: var(--encre); padding-inline: .14em; margin-inline: -.02em;
  background: linear-gradient(135deg, transparent calc(.3em * .7071), var(--cyan) 0 calc(100% - .3em * .7071), transparent 0) 0 .14em / 100% 1.04em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; filter: drop-shadow(0 0 12px rgb(128 242 255 / .45));
}
.fil__bilan-detail { max-width: 28em; font: 500 16px/1.5 var(--corps); color: var(--nuit-texte); text-wrap: pretty; }
.fil__bilan-wa { margin-top: 10px; white-space: normal; text-align: center; }
.fil__bilan-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fil__bilan .btn--contour { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); }
.fil__bilan .btn--contour:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.fil.est-bilan :is(.fil__progres, .fil__leg, .fil__aide, .fil__consigne) { visibility: hidden; }
.fil.est-seul :is(.fil__aide, .fil__prec, .fil__suiv) { display: none !important; }
@media (min-width: 1024px) and (orientation: landscape) {
  .fil { --fil-h: min(92dvh, 980px); --fil-l: calc(var(--fil-h) * 9 / 16); background: var(--nuit); }
  .fil.est-image { --fil-l: calc(var(--fil-h) * 4 / 5); }
  .fil__diapo { background: var(--nuit); }
  .fil__diapo::after { display: none; }
  .fil__affiche, .fil__video, .fil__image {
    inset: auto; top: 50%; left: 50%; translate: -50% -50%; width: var(--fil-l); height: var(--fil-h); border-radius: 18px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 40px 140px -30px color-mix(in srgb, var(--teinte) 75%, transparent);
  }
  .fil__image { object-fit: cover; }
  .fil__progres { top: calc((100dvh - var(--fil-h)) / 2); left: calc(50% - var(--fil-l) / 2 + 14px); right: auto; width: calc(var(--fil-l) - 28px); border-radius: 3px; overflow: hidden; }
  .fil__leg { left: auto; right: calc(50% + var(--fil-l) / 2 + 32px); bottom: calc((100dvh - var(--fil-h)) / 2 + 84px); width: min(280px, calc(50vw - var(--fil-l) / 2 - 56px)); text-align: right; text-shadow: none; color: var(--nuit-texte); }
  .fil__leg b, .fil__leg strong { color: #fff; }
  .fil__wa { left: auto; right: calc(50% + var(--fil-l) / 2 + 32px); bottom: calc((100dvh - var(--fil-h)) / 2); width: auto; max-width: min(400px, calc(50vw - var(--fil-l) / 2 - 56px)); white-space: nowrap; }
  .fil__son { top: calc((100dvh - var(--fil-h)) / 2 + 28px); }
  .fil__actions { right: auto; left: calc(50% + var(--fil-l) / 2 + 20px); bottom: calc((100dvh - var(--fil-h)) / 2); }
  .fil__prec, .fil__suiv { position: absolute; z-index: 6; display: grid; right: 28px; }
  .fil__prec { top: calc(50% - 64px); }
  .fil__suiv { top: calc(50% + 8px); }
  .fil__consigne { top: calc((100dvh - var(--fil-h)) / 2); left: auto; right: calc(50% + var(--fil-l) / 2 + 32px); width: min(300px, calc(50vw - var(--fil-l) / 2 - 56px)); }
  .fil__aide { display: block; position: absolute; z-index: 6; right: 28px; bottom: calc((100dvh - var(--fil-h)) / 2); max-width: 15em; font: 500 13px/1.4 var(--corps); color: var(--nuit-doux); text-align: right; }
  .fil__bilan { padding-inline: calc(50% - var(--fil-l) / 2); }
}


/* ------------------------------------------------------------------------------------------
   23. La feuille « Chhal ? » (dialog.feuille, remplie par site.js)
   Téléphone : monte du bas (320 ms), poignée, se ferme en la tirant (.est-glisse pendant le geste :
   site.js pose style.translate), par le retour ou en touchant le fond. Ordinateur : une carte centrée.
   ------------------------------------------------------------------------------------------ */
.feuille {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: 92dvh; margin: 0; padding: 0 20px calc(18px + env(safe-area-inset-bottom));
  border: 0; border-radius: 24px 24px 0 0; background: var(--blanc); color: var(--encre-2); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 -24px 60px -24px rgb(7 19 38 / .55);
  translate: 0 0; transition: translate var(--t-st) var(--ease), display var(--t-st) allow-discrete, overlay var(--t-st) allow-discrete;
}
.feuille:not([open]) { translate: 0 100%; }
@starting-style { .feuille[open] { translate: 0 100%; } }
.feuille.est-glisse { transition: none; }
.feuille::backdrop { background: rgb(7 19 38 / .55); transition: background-color var(--t-st), display var(--t-st) allow-discrete, overlay var(--t-st) allow-discrete; }
@starting-style { .feuille[open]::backdrop { background: rgb(7 19 38 / 0); } }
.feuille__poignee { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; height: 30px; margin: 0 -20px 4px; background: var(--blanc); cursor: grab; touch-action: none; }
.feuille__poignee::before { content: ""; width: 40px; height: 5px; border-radius: 99px; background: rgb(13 32 63 / .2); }
.feuille__titre { padding-right: 48px; font: 750 clamp(24px, 21px + .8vw, 30px)/1.12 var(--titre); letter-spacing: -.02em; word-spacing: .04em; color: var(--encre); text-wrap: balance; }
.feuille__titre:focus { outline: none; box-shadow: none; }   /* tabindex="-1" : site.js y pose le focus à l'ouverture */
.feuille__texte { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--doux); text-wrap: pretty; }
.feuille__question { margin-top: 20px; font: 600 15px/1.3 var(--corps); color: var(--encre); }
.feuille__activites { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.feuille__bulle {
  position: relative; width: fit-content; max-width: 88%; margin: 20px 7px 0 auto; padding: 8px 32px 9px 11px; border-radius: 10px; border-top-right-radius: 0;
  background: var(--wa-bulle); color: #111B21; font: 400 15.5px/1.4 var(--corps); box-shadow: 0 1px .5px rgb(11 20 26 / .13), 0 0 0 10px var(--wa-fond); text-wrap: pretty;
}
.feuille__bulle::before { content: ""; position: absolute; top: 0; right: -7px; width: 8px; height: 12px; background: var(--wa-bulle); clip-path: polygon(0 0, 100% 0, 0 100%); }
.feuille__bulle::after { content: ""; position: absolute; right: 9px; bottom: 8px; width: 16px; height: 11px; background: var(--wa-heure); -webkit-mask: var(--i-coches) center / contain no-repeat; mask: var(--i-coches) center / contain no-repeat; }
.feuille__bulle:empty { display: none; }
.feuille__envoyer { display: flex; width: 100%; margin-top: 26px; white-space: normal; text-align: center; }
.feuille__appel { display: flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 6px; color: var(--encre); font: 600 15px/1.2 var(--corps); text-decoration: none; }
.feuille__appel:hover { text-decoration: underline; text-underline-offset: 3px; }
.feuille__effacer { display: block; min-height: 44px; margin: 0 auto; padding: 0 14px; border: 0; background: none; color: var(--doux); font: 500 14px/1 var(--corps); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.feuille__fermer { position: absolute; z-index: 3; top: 26px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--glace); color: var(--encre); font-size: 0; cursor: pointer; }
.feuille__fermer::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-fermer) center / contain no-repeat; mask: var(--i-fermer) center / contain no-repeat; }
.feuille__fermer > svg { display: none; }
.feuille__fermer:hover { background: var(--glace-2); }
@media (min-width: 760px) {
  .feuille { inset: 0; width: min(540px, calc(100vw - 48px)); height: fit-content; max-height: min(88dvh, 820px); margin: auto; padding: 28px 32px 24px; border-radius: 24px; box-shadow: 0 40px 100px -30px rgb(7 19 38 / .6); opacity: 1; transition: opacity var(--t-st) var(--ease), translate var(--t-st) var(--ease), display var(--t-st) allow-discrete, overlay var(--t-st) allow-discrete; }
  .feuille:not([open]) { translate: 0 14px; opacity: 0; }
  @starting-style { .feuille[open] { translate: 0 14px; opacity: 0; } }
  .feuille__poignee { display: none; }
  .feuille__fermer { top: 18px; right: 18px; }
}


/* ------------------------------------------------------------------------------------------
   24. Les pages qui s'enchaînent (loi §3.4) : fondu de la racine en 160 ms ; éléments nommés :
   l'en-tête (tete), la barre (barre), le signe de chaque service (svc-<slug>), l'écran d'un service
   (ecran-<slug>). Les noms des services sont posés en ligne par les pages (un nom une fois par document).
   html.vt-retour (posée par site.js pendant un retour) : même fondu dans les deux sens.
   ------------------------------------------------------------------------------------------ */
@view-transition { navigation: auto; }
.tete { view-transition-name: tete; }
.barre-mobile { view-transition-name: barre; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; animation-timing-function: linear; }
::view-transition-group(*) { animation-duration: var(--t-st); animation-timing-function: var(--ease); }
::view-transition-group(tete), ::view-transition-group(barre) { animation-duration: 0s; }


/* ------------------------------------------------------------------------------------------
   25. La mise au point (focus) : la lumière cyan, cernée de marine pour se voir sur le blanc.
   ------------------------------------------------------------------------------------------ */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; box-shadow: 0 0 0 3px var(--cyan); }
.etiquette:focus-visible { box-shadow: none; outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.pub__ecran:focus-visible { outline-offset: 4px; }
:is(.nuit, .section--nuit, .pied, .fil) :focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 3px var(--nuit); }
.fil :focus-visible { box-shadow: none; }


/* ------------------------------------------------------------------------------------------
   26. Utilitaires
   ------------------------------------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ico { width: 20px; height: 20px; flex: none; fill: currentColor; }
.ico--trait { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.differe { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Retirés par la loi (§3.2, §3.6) : le décor « SaaS ». S'il en reste dans une page, il ne s'affiche pas. */
.fond-grille, .halo { display: none !important; }   /* rendu différé, à poser sur une section sans halo qui déborde */


/* ------------------------------------------------------------------------------------------
   Tablette et téléphone : le tiroir (< 1080), puis le téléphone (< 760) : la barre du pouce.
   ------------------------------------------------------------------------------------------ */
@media (max-width: 1239px) { .tete__tel { display: none; } }
@media (max-width: 1079px) {
  .tete__nav { display: none; }
  .burger { display: block; }
  .tete__actions { margin-left: auto; }
  .tiroir {
    position: fixed; inset: var(--tete-h) 0 0; z-index: 59; display: block; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px var(--gout) calc(40px + env(safe-area-inset-bottom)); background: var(--blanc);
    opacity: 0; visibility: hidden; transition: opacity var(--t-st) var(--ease), visibility 0s var(--t-st);
  }
  .tiroir.est-ouvert { opacity: 1; visibility: visible; transition: opacity var(--t-st) var(--ease), visibility 0s; }
  .tiroir__in { max-width: 560px; margin-inline: auto; }
  .tiroir__k { margin: 18px 0 4px; font: 600 13.5px/1.2 var(--corps); color: var(--doux); }
  .tiroir__stations { position: relative; display: grid; gap: 4px; padding-left: 26px; list-style: none; }
  .tiroir__stations::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 30px; width: 2px; background: var(--cyan); }
  .tiroir__station { position: relative; margin: 14px 0 2px; font: 700 13.5px/1.25 var(--titre); letter-spacing: .005em; color: var(--cobalt); }
  .tiroir__station::before { content: ""; position: absolute; left: -26px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--encre); box-shadow: 0 0 0 3px var(--blanc), 0 0 0 4.5px var(--cyan); }
  .tiroir__service { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 52px; padding: 4px 0; color: var(--encre); text-decoration: none; }
  .tiroir__service .signe { --signe-taille: 36px; --signe-coupe: 8px; }
  .tiroir__service b { font: 600 16px/1.2 var(--corps); }
  .tiroir__service[aria-current="page"] b { text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 4px; }
  .tiroir__tout { display: flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 6px; color: var(--cobalt); font: 600 15.5px/1.2 var(--corps); text-decoration: none; }
  .tiroir__tout .ico { width: 18px; height: 18px; }
  .tiroir__pages { display: grid; margin-top: 14px; border-top: 1px solid var(--ligne); }
  .tiroir__pages a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--ligne); color: var(--encre); font: 700 20px/1.2 var(--titre); letter-spacing: -.01em; text-decoration: none; }
  .tiroir__pages a::after { content: ""; width: 18px; height: 18px; background: var(--doux); -webkit-mask: var(--i-droite) center / contain no-repeat; mask: var(--i-droite) center / contain no-repeat; }
  .tiroir__pages a[aria-current="page"] { color: var(--cobalt); }
  .tiroir__actions { display: grid; gap: 10px; margin-top: 24px; }
  .pied__haut { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .pied__marque { grid-column: span 2; }
}
@media (max-width: 759px) {
  :root { --gout: 18px; --tete-h: 64px; --fs-corps: 16px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  /* Un bouton ne déborde jamais de l'écran : un libellé long passe sur deux lignes, équilibrées. */
  .btn { max-width: 100%; white-space: normal; text-wrap: balance; text-align: center; }
  .btn--grand { padding-inline: 22px; font-size: 17px; }
  .tete__actions .tete__wa { display: none; }
  .section-tete--ligne { grid-template-columns: 1fr; }
  .section-tete--ligne > :last-child { justify-self: start; }
  .cache-tel { display: none !important; }
  .pied { padding-top: 48px; }
  .pied__haut { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .pied__plie { grid-column: span 2; border-block: 1px solid var(--nuit-ligne); }
  .pied__plie > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0; cursor: pointer; color: #DCE6F8; font-size: 15px; }
  .pied__plie > summary::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-bas) center / contain no-repeat; mask: var(--i-bas) center / contain no-repeat; transition: rotate var(--t-st) var(--ease); }
  .pied__plie[open] > summary::after { rotate: 180deg; }
  .pied__plie .pied__liste { grid-template-columns: 1fr 1fr; padding-bottom: 14px; }
  .pied__col--contact { grid-column: span 2; }
  .pied__bas { margin-top: 24px; padding-top: 16px; }
  /* Le pied au téléphone, plus court (demandes preuves P2 et accueil) : la phrase sur trois lignes, les quatre liens
     de Reach Adz sur deux colonnes, des marges de 24 px. */
  .pied { padding-top: 36px; }
  .pied__haut { gap: 22px 20px; }
  .pied__p { margin-top: 12px; max-width: none; line-height: 1.5; }
  .pied__col--site { grid-column: span 2; }
  .pied__col--site .pied__liste, .pied__col--contact .pied__liste { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .pied__col--contact .pied__liste > li:first-child { grid-column: span 2; }
  .pied__k { margin-bottom: 8px; }
  /* Le libellé de la barre tient sur une ligne (demande preuves P1). */
  .barre-mobile .btn > span { min-width: 0; }
  [data-barre-wa-label] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* La barre du pouce : WhatsApp toujours à portée, l'appel à côté. Fond plein (pas de flou au-dessus des vidéos). */
  .barre-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .97);
    box-shadow: 0 -1px 0 var(--ligne), 0 -12px 30px -20px rgb(13 32 63 / .45);
    translate: 0 0; transition: translate var(--t-st) var(--ease);
  }
  .barre-mobile.est-retiree { translate: 0 110%; }
  .barre-mobile__detail { margin-left: 2px; font-size: 13.5px; font-weight: 500; opacity: .8; }
  .barre-mobile .btn { --h: 54px; width: 100%; padding: 0 16px; }
  .barre-mobile__tel { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--ligne-2); }
  .barre-mobile__tel .ico { width: 22px; height: 22px; }
}
@media (min-width: 760px) { .cache-bureau { display: none !important; } }


/* ------------------------------------------------------------------------------------------
   27. Mouvement réduit : l'état final, tout de suite. Ni balancement, ni tracé, ni fondu, ni transition de page.
   ------------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Le libellé de la barre du téléphone, sous 400 px (demande preuves P1) : « Des vidéos comme ça, pour moi » tient sur une ligne. */
@media (max-width: 399px) {
  .barre-mobile .btn { font-size: 15px; padding-inline: 14px; gap: 8px; }
  .fil__wa { font-size: 15px; padding-inline: 12px; gap: 8px; white-space: nowrap; }   /* le même libellé, dans le fil */
}
@media (max-width: 374px) {
  .barre-mobile { padding-inline: 12px; gap: 8px; }
  .barre-mobile .btn, .fil__wa { font-size: 14px; padding-inline: 12px; }
}


/* ------------------------------------------------------------------------------------------
   28. La finition premium (v16, retour du propriétaire) : le même langage, jeune et net, un cran plus fin.
   Un seul mouvement : de gauche à droite, 120 / 320 / 600 ms, une seule courbe (--ease).
   ------------------------------------------------------------------------------------------ */

/* 28.1 Le défilé des logos « Ils nous font confiance » (contrat commun avec l'accueil) :
   <div class="defile" data-defile style="--duree:40s">
     <ul class="defile__piste">…</ul><ul class="defile__piste" aria-hidden="true">…les mêmes…</ul></div>
   Éléments : <li class="defile__item"><img …></li> ou <li class="defile__item defile__item--mot">Boutique Meuble</li>.
   CSS seul : les deux pistes glissent de 0 à -100 %, sans fin ; bords fondus ; pause au survol et au focus ;
   mouvement réduit : arrêt, la seconde piste cachée, la première passe à la ligne. */
.defile {
  --duree: 40s; --defile-h: 44px; --defile-ecart: clamp(40px, 2.4rem + 2vw, 88px);
  position: relative; display: flex; overflow: hidden; padding-block: 8px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.defile__piste {
  flex: none; display: flex; align-items: center; justify-content: space-around; gap: var(--defile-ecart);
  min-width: 100%; margin: 0; padding: 0 var(--defile-ecart) 0 0; list-style: none;
  animation: defile var(--duree) linear infinite;
}
.defile:hover .defile__piste, .defile:focus-within .defile__piste { animation-play-state: paused; }
@keyframes defile { from { translate: 0 0; } to { translate: -100% 0; } }
.defile__item { flex: none; display: flex; align-items: center; height: var(--defile-h); }
.defile__item img {
  width: auto; height: 100%; max-width: 168px; object-fit: contain;
  filter: grayscale(1) contrast(1.1); opacity: .5; mix-blend-mode: multiply;
  transition: filter var(--t-st) var(--ease), opacity var(--t-st) var(--ease);
}
.defile__item--mot { font: 800 clamp(19px, 15px + .6vw, 24px)/1 var(--titre); letter-spacing: -.035em; color: var(--encre); white-space: nowrap; opacity: .42; transition: opacity var(--t-st) var(--ease), color var(--t-st) var(--ease); }
.defile__item:hover img { filter: none; opacity: 1; }
.defile__item--mot:hover { opacity: 1; color: var(--cobalt); }
:is(.nuit, .section--nuit) .defile__item img { filter: grayscale(1) brightness(0) invert(1); opacity: .55; mix-blend-mode: normal; }
:is(.nuit, .section--nuit) .defile__item:hover img { filter: none; opacity: 1; }
:is(.nuit, .section--nuit) .defile__item--mot { color: #fff; opacity: .5; }
:is(.nuit, .section--nuit) .defile__item--mot:hover { color: var(--cyan); opacity: 1; }
@media (max-width: 759px) { .defile { --defile-h: 34px; --defile-ecart: 36px; } .defile__item img { max-width: 124px; } }
@media (prefers-reduced-motion: reduce) {
  .defile { -webkit-mask: none; mask: none; }
  .defile__piste { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: 20px; padding: 0; animation: none !important; translate: none; }
  .defile__piste[aria-hidden="true"] { display: none; }
}

/* 28.2 Le chiffre qui se compte (js/site.js) : <b class="compte" data-compte="1200" data-prefixe="+">+1 200</b>.
   La valeur finale est dans le HTML ; site.js réserve sa largeur, rien ne bouge autour. */
.compte { font-variant-numeric: tabular-nums; }
.compte.est-compte { display: inline-block; text-align: inherit; }

/* 28.3 La sélection */
::selection { background: rgb(128 242 255 / .6); color: var(--encre); }
:is(.nuit, .section--nuit, .pied) ::selection { background: var(--cyan); color: var(--nuit); }

/* 28.4 Les boutons : un trait de lumière qui passe de gauche à droite au survol (600 ms), une pression de 1 px,
   une mise au point nette (le marine, puis la lumière cyan). */
:where(.btn--wa, .btn--encre) { position: relative; isolation: isolate; overflow: hidden; }
:where(.btn--wa, .btn--encre)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgb(255 255 255 / .38) 50%, transparent 68%);
  translate: -101% 0;
}
.btn--encre::after { background: linear-gradient(105deg, transparent 32%, rgb(128 242 255 / .22) 50%, transparent 68%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :where(.btn--wa, .btn--encre):hover::after { translate: 101% 0; transition: translate var(--t-main) var(--ease); }
}
.btn { transition: background-color var(--t-etat), box-shadow var(--t-etat), color var(--t-etat), translate var(--t-etat) var(--ease); }
.btn:active { translate: 0 1px; }
.btn:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; box-shadow: 0 0 0 5px var(--cyan); }
:is(.nuit, .section--nuit, .pied) .btn:focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 5px var(--nuit); }

/* 28.5 Les liens : le trait se dessine de gauche à droite (320 ms). */
.lien > span, .pied__liste a, .tete__tel, .tiroir__tout {
  text-decoration: none !important;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size var(--t-st) var(--ease), color var(--t-etat);
}
.lien:hover > span, .pied__liste a:hover, .tete__tel:hover, .tiroir__tout:hover { background-size: 100% 1.5px; }
.pied__liste a { background-position: 0 calc(50% + .72em); }
.tete__tel { background-position: 13px calc(50% + .8em); background-size: 0 1.5px; }
.tete__tel:hover { background-size: calc(100% - 23px) 1.5px; }
/* Le menu du bureau : le trait au lieu de la pastille, sauf pour le lien de la page (le trait cyan). */
.menu__lien:not([aria-current="page"], [data-courant])::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 1.5px; background: var(--encre);
  scale: 0 1; transform-origin: 0 50%; transition: scale var(--t-st) var(--ease);
}
.menu__lien:hover { background: none; }
.menu__lien:hover::after { scale: 1 1; }
.menu__lien[aria-expanded="true"] { background: var(--glace); }
.menu__lien[aria-expanded="true"]::after { scale: 0 1; }

/* 28.6 Les pubs et les cartes : elles se lèvent doucement (sans rien déplacer autour). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pub__ecran { transition: box-shadow var(--t-st) var(--ease), translate var(--t-st) var(--ease); }
  .pub__ecran:hover { translate: 0 -4px; box-shadow: 0 2px 4px rgb(13 32 63 / .08), 0 28px 48px -24px rgb(13 32 63 / .55); }
  :is(.nuit, .section--nuit) .pub__ecran:hover { box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 24px 56px -18px color-mix(in srgb, var(--teinte) 75%, transparent), 0 48px 130px -30px color-mix(in srgb, var(--teinte) 85%, transparent); }
  .sv-table__pub, .sv-table__mini, .sv-suivant, .papier { transition: translate var(--t-st) var(--ease), box-shadow var(--t-st) var(--ease), background-color var(--t-etat); }
  .sv-table__piece:hover .sv-table__pub, .sv-table__piece:hover .sv-table__mini, .sv-suivant:hover { translate: 0 -3px; }
  .sv-table__piece:hover .sv-table__pub { box-shadow: 0 2px 4px rgb(13 32 63 / .08), 0 22px 36px -20px rgb(13 32 63 / .55); }
}

/* 28.7 Les images et les vidéos arrivent en fondu (js/site.js pose .attend tant qu'elles chargent ; sans JS, rien). */
:is(img, video).attend { opacity: 0; }
:is(img, video).arrive { transition: opacity var(--t-main) var(--ease); }

/* 28.8 Le grain de la nuit : à peine visible, il donne de la matière au marine. */
.nuit, .section--nuit, .pied, .oeuvre {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .065 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-image: var(--grain);
  background-size: 180px 180px;
}
/* v17 : les grandes nuits (sections, pied) prennent de la lumière : une lueur de la teinte du travail en haut à droite
   (--lueur, cobalt par défaut ; une page la règle sur la teinte de sa pub : style="--lueur:#B5523A"), un reflet cyan
   très bas à gauche, un filet de lumière au bord haut. Même spécificité qu'avant : la feuille d'une page garde la main. */
.section--nuit, .pied {
  --lueur: #2A5BAE;
  background-image: var(--grain),
    radial-gradient(70% 60% at 88% -8%, color-mix(in srgb, var(--lueur) 30%, transparent), transparent 72%),
    radial-gradient(55% 50% at -6% 108%, rgb(128 242 255 / .06), transparent 70%);
  background-size: 180px 180px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
}

/* 28.9 L'en-tête : un verre plus net, un filet fin quand la page défile. */
@media (hover: hover) {
  .tete { background: rgb(255 255 255 / .84); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.tete.est-defile { box-shadow: 0 1px 0 var(--ligne-2), 0 10px 30px -24px rgb(13 32 63 / .4); }

/* 28.10 Le tiroir du téléphone : il descend de 8 px en s'ouvrant, ses rangées arrivent l'une après l'autre. */
@media (max-width: 1079px) and (prefers-reduced-motion: no-preference) {
  .tiroir { translate: 0 -8px; transition: opacity var(--t-st) var(--ease), translate var(--t-st) var(--ease), visibility 0s var(--t-st); }
  .tiroir.est-ouvert { translate: 0 0; transition: opacity var(--t-st) var(--ease), translate var(--t-st) var(--ease), visibility 0s; }
  .tiroir.est-ouvert .tiroir__stations > li, .tiroir.est-ouvert .tiroir__tout, .tiroir.est-ouvert .tiroir__pages, .tiroir.est-ouvert .tiroir__actions {
    animation: tiroir-rang var(--t-st) var(--ease) backwards;
  }
  .tiroir.est-ouvert .tiroir__stations > li:nth-child(2) { animation-delay: 40ms; }
  .tiroir.est-ouvert .tiroir__stations > li:nth-child(3) { animation-delay: 80ms; }
  .tiroir.est-ouvert .tiroir__stations > li:nth-child(4) { animation-delay: 120ms; }
  .tiroir.est-ouvert .tiroir__tout { animation-delay: 160ms; }
  .tiroir.est-ouvert .tiroir__pages { animation-delay: 200ms; }
  .tiroir.est-ouvert .tiroir__actions { animation-delay: 240ms; }
}
@keyframes tiroir-rang { from { opacity: 0; translate: -10px 0; } }

/* 28.11 « Le plus complet » : une pastille nette, plus un tampon de travers. */
.formule__tampon { padding: 6px 10px; border: 0; border-radius: 999px; background: var(--cyan); color: var(--encre); font: 700 12px/1 var(--corps); letter-spacing: .02em; text-transform: none; rotate: none; opacity: 1; }

/* 28.12 Le pied devient une signature : « Reach Adz » sur toute la largeur, la phrase de l'agence, puis les colonnes. */
.pied__signature { container-type: inline-size; display: grid; gap: clamp(18px, 1rem + 1vw, 32px); margin-bottom: clamp(44px, 2rem + 3vw, 80px); padding-bottom: clamp(36px, 1.6rem + 2.4vw, 64px); border-bottom: 1px solid var(--nuit-ligne); }
.pied a.pied__mot {
  display: block; width: fit-content; margin-left: -.045em; padding-bottom: .06em;
  font: 800 22.3cqi/.8 var(--titre); letter-spacing: -.055em; white-space: nowrap; text-decoration: none;
  color: #fff;
  /* le reflet : une bande cyan passe une fois, de gauche à droite, quand le pied entre à l'écran */
  background: linear-gradient(100deg, #fff 0 36%, var(--cyan) 50%, #fff 64% 100%) 0 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* la lueur : le bas des lettres prend la lumière cyan de la nuit */
.pied a.pied__mot > span { background: linear-gradient(180deg, transparent 38%, rgb(128 242 255 / .3) 100%); -webkit-background-clip: text; background-clip: text; }
@media (prefers-reduced-motion: no-preference) {
  .pied__signature .pied__mot { transition: background-position 1400ms var(--ease) 200ms; }
  .js .pied__signature:not(.est-vu) .pied__mot { background-position: 100% 0; transition: none; }
}
.pied a.pied__mot:hover { text-decoration: none; }
.pied__devise { max-width: none; font: 650 clamp(20px, 15px + 1.2vw, 32px)/1.15 var(--titre); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.pied__devise > span { color: var(--cyan); }
.pied__marque .pied__p { margin-top: 0; }
@media (max-width: 759px) {
  /* V11 (jury visiteurs) : au téléphone, la signature ne prend plus un écran après la conversation */
  .pied__signature { gap: 10px; margin-bottom: 22px; padding-bottom: 20px; }
  .pied a.pied__mot { font-size: clamp(40px, 14cqi, 56px); }
  .pied__devise { font-size: 19px; }
  .pied__devise > span { display: block; }
}

/* Jury V1 (15 novembre) : au téléphone, l'étiquette « Exemple » d'une vignette du fil passe en bas, en petit, sans couper le mot. */
@media (max-width: 759px) {
  .fil-client__piece > .exemple { top: auto; bottom: 4px; font-size: 10px; line-height: 1.2; padding: 3px 5px; overflow-wrap: anywhere; }
}


/* ------------------------------------------------------------------------------------------
   29. La tenue v17 : une agence qui travaille comme un cabinet (docs/v17/OFFRES-v17.md).
   Le même langage jeune (marine, cyan, la main, les quatre signes, un seul mouvement), un rythme plus posé :
   plus d'air entre les chapitres, des titres équilibrés, des chiffres tenus comme dans un compte rendu,
   des nuits qui prennent la lumière du travail (28.8), un détail signature répété avec retenue : le petit carré cyan
   au coin coupé à 45°, celui des signes, devant chaque rubrique et chaque source.
   ------------------------------------------------------------------------------------------ */

/* 29.1 Le rythme : un chapitre respire avant le suivant ; le titre se détache de ce qu'il annonce. */
.section { padding-block: clamp(64px, 40px + 6.2vw, 168px); }
.section--serre { padding-block: clamp(44px, 28px + 4vw, 104px); }
.section-tete { gap: 18px; margin-bottom: clamp(36px, 1.6rem + 2.6vw, 76px); }
.h1, .h2 { text-wrap: balance; }
.h2 { letter-spacing: -.034em; }
.chapo { max-width: 34em; }

/* 29.2 La rubrique : l'ouverture d'un chapitre, comme dans un rapport. Numérotée toute seule dans la page,
   en Inter Tight (jamais de chasse fixe), suivie d'un filet qui s'efface. À poser en tête de .section-tete :
     <p class="rubrique">Réalisations</p>          → « 01  Réalisations ———— »
     <p class="rubrique" data-n="A">Annexe</p>     → le numéro donné remplace le compte
   Au plus une par section ; pas dans le héros ni dans l'appel final. */
main { counter-reset: rubrique; }
.rubrique {
  counter-increment: rubrique;
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 0;
  font: 600 13.5px/1.2 var(--titre); letter-spacing: .01em; color: var(--encre);
}
.rubrique::before {
  content: counter(rubrique, decimal-leading-zero);
  padding: 0 12px 0 15px; border-right: 1px solid var(--ligne-2);
  font-variant-numeric: tabular-nums; color: var(--cobalt);
  background: linear-gradient(135deg, transparent 2.2px, var(--cyan) 2.2px) 0 50% / 7px 7px no-repeat;
}
.rubrique[data-n]::before { content: attr(data-n); }
.rubrique::after { content: ""; flex: 1 1 auto; min-width: 24px; height: 1px; background: linear-gradient(90deg, var(--ligne-2), transparent); }
.section-tete--centre .rubrique { justify-content: center; }
.section-tete--centre .rubrique::after { display: none; }
.section-tete--ligne > .rubrique { grid-column: 1 / -1; }
:is(.nuit, .section--nuit) .rubrique { color: #fff; }
:is(.nuit, .section--nuit) .rubrique::before { color: var(--cyan-2); border-color: var(--nuit-ligne); }
:is(.nuit, .section--nuit) .rubrique::after { background: linear-gradient(90deg, rgb(255 255 255 / .18), transparent); }

/* 29.3 Les chiffres : chiffres alignés et de même hauteur, l'unité posée sur la ligne ;
   sur la nuit, le chiffre prend une lumière cyan par le bas (sauf s'il porte un sous-titre). */
.chiffre, .compte { font-feature-settings: "tnum" 1, "lnum" 1; }
.chiffre small { margin-left: .06em; vertical-align: .08em; }
:is(.nuit, .section--nuit) .chiffre:not(:has(.st, .main, svg)) {
  background: linear-gradient(180deg, #fff 38%, #C4F8FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* 29.4 La source : une note de bas de page, ouverte par le petit carré cyan au coin coupé. */
p.source::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: .1em;
  background: linear-gradient(135deg, transparent 2.2px, var(--cyan) 2.2px);
}

/* 29.5 Les états : une carte ou un service qu'on survole prend un filet de marine, net, au lieu de grossir. */
.sous-menu { padding: 32px 32px 18px; }
.sous-menu__service { transition: background-color var(--t-etat), box-shadow var(--t-etat); }
.sous-menu__service:hover { background: var(--glace); box-shadow: inset 0 0 0 1px var(--ligne); }
.sous-menu__service b { letter-spacing: -.005em; }

/* 29.6 Le pied : la phrase de l'agence un cran plus grande, les intitulés de colonne en Inter Tight. */
.pied__marque .pied__p { max-width: 27rem; font-size: 16px; line-height: 1.55; color: #DCE6F8; text-wrap: pretty; }
.pied__k { font: 650 13.5px/1 var(--titre); letter-spacing: .01em; }

@media (max-width: 759px) {
  .section-tete { gap: 14px; }
  .rubrique { font-size: 13px; }
}


/* ------------------------------------------------------------------------------------------
   30. L'expérience v18 (docs/v18/BRIEF-v18.md §2) : la salle en 3D, le toucher premium, la lumière vivante,
   les pages qui s'enchaînent. Seulement transform et opacity animés ; rien d'épinglé ; tout coupé en mouvement
   réduit ; les effets de souris derrière (hover: hover) and (pointer: fine).
   ------------------------------------------------------------------------------------------ */

/* 30.1 La salle en 3D : <div class="rail" data-rail data-salle3d> autour d'un .rail__piste de .pub.
   Ordinateur (≥ 1024 px, souris, mouvement permis) : site.js pose .est-3d ; les pubs sont posées sur un mur courbe
   convexe (après le jury : la pub du centre avance, les autres fuient sur le cylindre ; aucune n'est coupée par l'écran),
   qui tourne avec le défilement de la section ; un clic sur une pub de côté l'amène au centre ; « 7 / 28 » près des flèches.
   Chaque li reçoit de site.js transform, opacity et --salle-a (son angle, en radians). La section porte .a-salle3d
   (elle coupe ce qui dépasse en largeur). Téléphone et tablette : le rail reste un rail, chaque carte s'incline
   selon sa place (coverflow, animation-timeline: view(inline)) ; à plat là où le navigateur ne sait pas. */
.a-salle3d { overflow-x: clip; }
.rail.est-3d { --salle-l: min(clamp(220px, 17.5vw, 300px), 24svh); perspective: 1400px; perspective-origin: 50% 42%; }
.rail.est-3d::after { display: none; }   /* le trait de position suit le défilement du rail, qui ne défile plus */
.rail.est-3d .rail__piste {
  display: block; position: relative; overflow: visible; height: var(--salle-h, 680px);
  margin: 0 calc(-1 * var(--rail-bord)); padding: 0; transform-style: preserve-3d; scroll-snap-type: none;
}
.rail.est-3d .rail__piste > li {
  position: absolute; top: 2%; left: 50%; width: var(--salle-l); margin-left: calc(var(--salle-l) / -2);
  transform-style: preserve-3d; will-change: transform, opacity; backface-visibility: hidden;
}
.rail.est-3d .pub { transition: transform 520ms cubic-bezier(.22, 1, .36, 1); transform-origin: 50% 40%; }
.rail.est-3d .rail__piste > li:is(:hover, :focus-within) .pub { transform: translateZ(90px) rotateY(calc(var(--salle-a, 0) * -1rad)); }   /* elle vient vers vous, de face */
.rail.est-3d .rail__piste > li.est-cote .pub__ecran { cursor: pointer; }
/* Le cartel : celui du centre se lit en plein, ceux des côtés pâlissent (--salle-t, posé par site.js) ; au survol, de face, en plein. */
.rail.est-3d :is(.pub__cartel, .pub__garder) { opacity: var(--salle-t, 1); transition: opacity 240ms var(--ease); }
.rail.est-3d .rail__piste > li:is(:hover, :focus-within) :is(.pub__cartel, .pub__garder) { opacity: 1; }
.salle__pos { display: none; }
.a-salle3d .salle__pos { display: block; align-self: center; margin-right: 10px; font: 600 14px/1 var(--corps); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--doux); }
:is(.nuit, .section--nuit) .salle__pos { color: var(--nuit-doux); }
.rail.est-3d .rail__piste > li.est-loin { pointer-events: none; }
/* Les filtres : les pubs se replacent en glissant ; celles qui reviennent arrivent en fondu. */
.rail.est-respace .rail__piste > li { transition: transform 640ms cubic-bezier(.22, 1, .36, 1), opacity 420ms var(--ease); }
@starting-style { .rail.est-respace .rail__piste > li { opacity: 0; } }
.rail.est-3d .rail__fleche[aria-disabled="true"] { opacity: .35; }
/* Téléphone et tablette (après le jury) : un vrai coverflow, du même sens que le mur (convexe) — la pub est centrée,
   ses deux voisines se voient, inclinées, de chaque côté ; à plat au centre (50 % de sa traversée). */
@supports (animation-timeline: view(inline)) {
  @media (max-width: 1023.98px) and (prefers-reduced-motion: no-preference) {
    html.js [data-salle3d] .rail__piste {
      grid-auto-columns: min(56vw, 300px); padding-inline: calc(50vw - min(28vw, 150px)); scroll-padding-inline: 0;
    }
    html.js [data-salle3d] .rail__piste > li { scroll-snap-align: center; animation: salle-flux linear both; animation-timeline: view(inline); transform-origin: 50% 38%; }
  }
}
@keyframes salle-flux {
  0%   { transform: perspective(900px) translateX(-14%) rotateY(44deg) scale(.82); opacity: .55; }
  50%  { transform: perspective(900px) translateX(0) rotateY(0deg) scale(1); opacity: 1; }
  100% { transform: perspective(900px) translateX(14%) rotateY(-44deg) scale(.82); opacity: .55; }
}

/* 30.2 La lueur qui suit le pointeur (.spot, posée par site.js sur les cartes, les rangées et les pubs) :
   un filet de lumière sur le bord et un voile très léger dedans, centrés sur --spot-x / --spot-y.
   .spot--avant : la même lueur en ::before (quand ::after est déjà pris) ; .spot--doux : sans filet (une rangée sans coins). */
@media (hover: hover) and (pointer: fine) {
  .spot, .spot--avant { --spot-c: 43 207 232; }
  :is(.nuit, .section--nuit) :is(.spot, .spot--avant) { --spot-c: 128 242 255; }
  .spot::after, .spot--avant::before {
    content: ""; position: absolute; inset: 0; z-index: 3; padding: 1px; border-radius: inherit; pointer-events: none;
    background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgb(var(--spot-c) / .95), rgb(var(--spot-c) / .25) 42%, transparent 72%);
    -webkit-mask: linear-gradient(rgb(0 0 0 / .88) 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(rgb(0 0 0 / .88) 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity: 0; transition: opacity 360ms var(--ease);
  }
  .spot--doux::after, .spot--doux.spot--avant::before { padding: 0; -webkit-mask: none; mask: none; background: radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgb(var(--spot-c) / .10), transparent 70%); }
  .pub.spot::after { grid-area: ecran; border-radius: 14px; }   /* sur la pub : seulement l'écran, jamais le cartel */
  .spot:hover::after, .spot--avant:hover::before { opacity: 1; }
}

/* 30.3 Les boutons aimantés [data-aimant] (site.js : 6 px au plus vers le pointeur, retour amorti). */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-aimant] {
    transform: translate3d(var(--aimant-x, 0px), var(--aimant-y, 0px), 0);
    transition: background-color var(--t-etat), box-shadow var(--t-etat), color var(--t-etat), translate var(--t-etat) var(--ease), transform 560ms cubic-bezier(.22, 1, .36, 1);
  }
  [data-aimant].est-aimante { transition-duration: var(--t-etat), var(--t-etat), var(--t-etat), var(--t-etat), 140ms; }
  .btn--wa:hover { box-shadow: 0 10px 28px -12px rgb(37 211 102 / .65); }
}

/* 30.4 La lumière vivante (.aurore, posée par site.js sur les nuits) : une couche déjà douce (des dégradés radiaux,
   jamais de flou calculé) qui dérive lentement en transform/opacity, seulement quand la section est à l'écran. */
.aurore { isolation: isolate; }
.aurore__ciel { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurore__ciel::before, .aurore__ciel::after { content: ""; position: absolute; border-radius: 50%; will-change: transform, opacity; }
.aurore__ciel::before {
  width: 96%; height: 140%; left: -24%; top: -34%;
  background: radial-gradient(closest-side, rgb(128 242 255 / .28), rgb(128 242 255 / .09) 55%, transparent);
  animation: aurore-a 26s ease-in-out infinite alternate paused;
}
.aurore__ciel::after {
  width: 90%; height: 130%; right: -22%; bottom: -36%;
  background: radial-gradient(closest-side, rgb(58 111 214 / .46), rgb(42 91 174 / .14) 60%, transparent);
  animation: aurore-b 34s ease-in-out infinite alternate paused;
}
.aurore.est-allume .aurore__ciel::before, .aurore.est-allume .aurore__ciel::after { animation-play-state: running; }
@keyframes aurore-a { from { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: .75; } to { transform: translate3d(22%, 14%, 0) scale(1.18) rotate(18deg); opacity: 1; } }
@keyframes aurore-b { from { transform: translate3d(0, 0, 0) scale(1.05); opacity: 1; } to { transform: translate3d(-26%, -12%, 0) scale(.9) rotate(-14deg); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .aurore__ciel::before, .aurore__ciel::after { animation: none; } }
html.economie .aurore__ciel::before, html.economie .aurore__ciel::after { animation: none; }

/* 30.5 Le reflet du sous-titre : une seule lumière traverse la boîte cyan quand elle se découvre (après le dévoilement),
   bornée aux deux biseaux. --st-reflet est déclarée (@property) : sans elle, rien ne bouge et la boîte reste nette. */
@property --st-reflet { syntax: "<percentage>"; inherits: false; initial-value: -30%; }
.st {
  --st-x: calc(var(--st-coupe) * .7071);
  background-image: linear-gradient(135deg,
    transparent var(--st-x),
    var(--st-fond) 0 clamp(var(--st-x), calc(var(--st-reflet) - 16%), calc(100% - var(--st-x))),
    rgb(244 254 255) clamp(var(--st-x), var(--st-reflet), calc(100% - var(--st-x))),
    var(--st-fond) clamp(var(--st-x), calc(var(--st-reflet) + 16%), calc(100% - var(--st-x))) calc(100% - var(--st-x)),
    transparent 0);
}
@media (prefers-reduced-motion: no-preference) {
  html.js .est-vu .st, html.js .st.est-vu { animation: st-reflet 1100ms cubic-bezier(.4, 0, .2, 1) 460ms 1 both; }
}
@keyframes st-reflet { from { --st-reflet: -30%; } to { --st-reflet: 130%; } }

/* 30.6 Les pages qui s'enchaînent : l'ancienne page recule et s'éteint, la nouvelle arrive d'un rien plus près.
   L'en-tête et la barre ne bougent pas ; les noms partagés (svc-*, ecran-*) gardent leur vol (§24). */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-recule 300ms cubic-bezier(.4, 0, 1, 1) both; transform-origin: 50% 30vh; }
  ::view-transition-new(root) { animation: vt-arrive 460ms cubic-bezier(.22, 1, .36, 1) 70ms both; transform-origin: 50% 30vh; }
}
@keyframes vt-recule { to { opacity: 0; transform: scale(.965); } }
@keyframes vt-arrive { from { opacity: 0; transform: scale(1.018); } }

/* 30.7 L'inclinaison au survol [data-incline] (après le jury : le geste des services de l'accueil, devenu contrat système ;
   site.js pose --incl-rx et --incl-ry). Ordinateur à souris, sans mouvement réduit ; seulement transform. */
@media (min-width: 1080px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-incline] {
    transform: perspective(900px) rotateX(var(--incl-rx, 0deg)) rotateY(var(--incl-ry, 0deg));
    transition: transform 520ms cubic-bezier(.22, .8, .2, 1);
  }
  [data-incline]:hover { transition-duration: 160ms; }
}


/* ------------------------------------------------------------------------------------------
   31. La vitrine v19 (docs/v19/BRIEF-v19.md §2) : le système resserré, puis les six pièces de la vitrine.
   Monumental par le travail et par la rigueur, pas par les effets. Le balisage et les règles d'emploi :
   docs/v19/COMPOSANTS-v19.md. Seulement transform et opacity animés ; rien d'épinglé ; les animations liées
   au défilement sous @supports, avec un état fixe et lisible ailleurs ; mouvement réduit : rien ne bouge.
   ------------------------------------------------------------------------------------------ */

/* 31.1 Trois matières, deux ombres, deux rayons, un filet (§2.1).
   le papier  la page (blanc), le papier à l'ombre (--glace : les sections alternées, les pastilles), la feuille (--papier)
   la nuit    l'écran, le travail, la lumière (--nuit, et --nuit-2 posée dessus)
   le signal  le cyan : l'action, le sous-titre, l'état actif (--signal)
   La glace bleutée de la v16 devient le papier à l'ombre : un gris de papier à peine marine, sans bleu. */
:root {
  --glace: #F5F6F8;
  --glace-2: #EAEDF2;
  --papier: #FFFEFB;
  --signal: var(--cyan);
  /* un seul filet (les séparations) ; --ligne-2 reste le bord des contrôles (puces, contours), pas un filet */
  --filet: rgb(13 32 63 / .12);
  --ligne: var(--filet);
  --ligne-2: rgb(13 32 63 / .18);
  --nuit-ligne: rgb(255 255 255 / .12);
  /* deux ombres : posée (1) et levée (2) ; les anciens noms y renvoient */
  --ombre-1: 0 1px 2px rgb(13 32 63 / .06), 0 14px 34px -18px rgb(13 32 63 / .3);
  --ombre-2: 0 2px 4px rgb(13 32 63 / .06), 0 36px 72px -28px rgb(13 32 63 / .38);
  --ombre: var(--ombre-1);
  --ombre-haute: var(--ombre-2);
  --ombre-papier: 0 0 0 1px rgb(13 32 63 / .05), var(--ombre-1);
  /* deux rayons : 14 (une pub, une carte, une pastille d'écran) et 24 (une feuille, une conversation) ; la pilule (999px) est une forme */
  --rayon-1: 14px;
  --rayon-2: 24px;
  --rayon: var(--rayon-2);
  --rayon-petit: var(--rayon-1);
  --r-petit: var(--rayon-1);

  /* Cinq voix, une échelle fixe (six tailles au plus sur une page) :
       1 Monument   --fs-monument   Inter Tight 800, 12 à 20 vw (téléphone 18 à 22 vw), trois fois par page au plus
       2 Titre      --fs-h1 / --fs-h2
       3 Titre 3    --fs-h3 = --fs-chapo (le chapô et le petit titre partagent la taille, pas la voix)
       4 Texte      --fs-corps (17, téléphone 16)
       5 Note       --fs-cartel (13) : cartels, sources, étiquettes de données
     La Donnée (chiffres tabulaires, .donnee) et la Main (Caveat, rare) prennent la taille de la voix qu'elles servent. */
  --fs-monument: clamp(64px, 13.5vw, 260px);
  --fs-monument-affiche: clamp(72px, 20vw, 288px);   /* la phrase traversée par la pub : l'affiche, plus grande */
  --fs-h3: clamp(18px, 16.5px + .4vw, 21px);
  --fs-chapo: var(--fs-h3);

  /* L'air : un rythme vertical généreux et régulier. Une section respire de --rythme en haut et en bas ;
     un titre se détache de ce qu'il annonce de --rythme-tete. 72 px au téléphone, 144 à 1440, 184 à 1920. */
  --rythme: clamp(72px, 44px + 6.9vw, 184px);
  --rythme-tete: clamp(36px, 22px + 3vw, 72px);
}
@media (max-width: 759px) { :root { --fs-monument: 19vw; --fs-monument-affiche: 21vw; } }

.section { padding-block: var(--rythme); }
.section--serre { padding-block: calc(var(--rythme) * .62); }
.section-tete { margin-bottom: var(--rythme-tete); }

/* La feuille (la voix de l'équipe) : moins de travers, un bord net, l'ombre posée. Le ruban, plus discret. */
.papier { rotate: calc(var(--r) * .5); box-shadow: var(--ombre-papier); }
.ruban { width: 80px; height: 24px; opacity: .78; }
.conversation { border-radius: var(--rayon-2); }
.conversation__tete { border-radius: var(--rayon-2) var(--rayon-2) 0 0; }

/* 31.2 Les détails d'atelier.
   Titres équilibrés, paragraphes sans mot seul en dernière ligne, chiffres de même chasse, un seul langage d'état :
   survol = un filet ou une lueur, appuyé = 1 px vers le bas, mise au point = le marine puis la lumière cyan (§25). */
:where(h1, h2, h3, h4, .h1, .h2, .h3, .feuille__titre, .pied__devise) { text-wrap: balance; }
:where(p, li, dd, dt, figcaption, blockquote, .cartel, .source, .legende) { text-wrap: pretty; }
:where(.h1, .h2, .h3, .chiffre, .monument, .chiffre-monument) { font-kerning: normal; text-rendering: optimizeLegibility; }
.donnee { font-family: var(--titre); font-weight: 650; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
:where(table, .compte, time) { font-variant-numeric: tabular-nums; }
:where(.puce, .lien, .retour, .rail__fleche, .pub__garder, .feuille__fermer, .burger, .conversation__appel, .feuille__appel):active { translate: 0 1px; }
.oeuvre :focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 3px var(--nuit); }
.oeuvre .btn:focus-visible { outline-color: var(--cyan); box-shadow: 0 0 0 5px var(--nuit); }

/* 31.3 Le Monument (la cinquième voix) : <p class="monument">Vous vendez.</p>
   Trois fois par page au plus ; trois mots courts par ligne au plus. Il s'aligne à l'œil sur la colonne (−.05 em :
   l'approche du premier caractère). Sur la nuit, blanc, la lumière cyan par le bas. Il monte une fois, lié au défilement. */
.monument, .chiffre-monument {
  margin: 0; font-family: var(--titre); font-size: var(--fs-monument); font-weight: 800;
  line-height: .88; letter-spacing: -.055em; word-spacing: .05em; color: var(--encre);
  text-wrap: balance; hyphens: manual; overflow-wrap: normal;
}
.monument { display: block; max-width: 100%; margin-left: -.05em; padding-bottom: .06em; }
.monument .st { --st-coupe: .22em; }
:is(.nuit, .section--nuit, .oeuvre) .monument:not(:has(.st, .main, svg)) {
  color: #fff;
  background: linear-gradient(180deg, #fff 46%, #C4F8FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js :is(.monument, .chiffre-monument) { animation: monument-leve linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes monument-leve { from { opacity: .12; transform: translateY(.14em); } to { opacity: 1; transform: none; } }

/* 31.5 Le travail comme une œuvre : une bande pleine largeur, une vraie pub qui joue en grand, comme une affiche.
   <section class="oeuvre" style="--teinte:#…" data-barre="pub:KEY">
     <div class="oeuvre__ecran"><video data-src="…" poster="…" muted loop playsinline preload="none"></video></div>
     <div class="oeuvre__texte"><p class="cartel"><b>Ce qu'elle est</b> …</p><a class="btn btn--wa" data-wa="pub:KEY">Des vidéos comme ça, pour moi</a></div></section>
   (finition, après les jurys) Une affiche, pas une carte : la pub touche le haut et le bas de la bande, sans rayon ni lueur.
   Ordinateur et tablette : dans la grille de la page, la pub à gauche (60 %), le cartel à droite (40 %), en grand : le nom de
   l'œuvre en Titre, le reste en chapô. La bande garde la nuit de la page (la même nuit et le même grain que les sections de
   nuit, sans coupure) et ne prend la teinte de la pub qu'en descendant. Téléphone : la pub bord à bord (4:5), le cartel et
   l'appel posés en bas de l'image. La pub n'est jamais agrandie au-delà de sa netteté (720 px de large au plus à l'ordinateur).
   Mouvement : en entrant, l'image se pose (scale 1,06 → 1, dans son cadre) et le cartel arrive ; rien d'autre. */
.oeuvre {
  --teinte: #2A5BAE;
  position: relative; isolation: isolate; overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr);
  background-color: var(--nuit);
  background-image: var(--grain, none), linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--teinte) 16%, transparent));
  background-size: 180px 180px, 100% 100%;
  color: var(--nuit-texte); color-scheme: dark;
}
.oeuvre__ecran {
  position: relative; overflow: hidden; min-height: 0;
  background: color-mix(in srgb, var(--teinte) 34%, var(--nuit));
}
.oeuvre__ecran > :is(video, img) { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--oeuvre-pos, 50% 38%); }
.oeuvre__texte { display: grid; gap: 22px; justify-items: start; }
.oeuvre .cartel { margin: 0; font: 400 var(--fs-chapo)/1.45 var(--corps); color: var(--nuit-texte); }
.oeuvre .cartel b, .oeuvre .cartel strong { display: block; margin-bottom: .3em; font: 800 var(--fs-h2)/1.02 var(--titre); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.oeuvre .btn--wa { white-space: normal; text-align: center; }
@media (min-width: 760px) {
  .oeuvre {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); column-gap: clamp(40px, 5vw, 96px);
    height: clamp(560px, calc(100svh - var(--tete-h, 72px)), 940px);
    padding-inline: max(var(--gout), calc((100% - var(--wrap)) / 2 + var(--gout)));
  }
  .oeuvre__ecran { max-width: 720px; height: 100%; }
  .oeuvre__texte { align-self: end; max-width: 28rem; padding-bottom: calc(var(--rythme) * .5); }
  .oeuvre .btn--wa { white-space: nowrap; }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .oeuvre { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); column-gap: 32px; height: clamp(520px, 78svh, 760px); }
}
@media (max-width: 759px) {
  .oeuvre__ecran { grid-area: 1 / 1; aspect-ratio: 4 / 5; }
  .oeuvre__ecran::after { /* le pied de l'image s'assombrit sous le cartel (un dégradé fixe, aucun flou) */
    content: ""; position: absolute; inset: 42% 0 0; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgb(7 19 38 / .6) 42%, rgb(7 19 38 / .94));
  }
  .oeuvre__texte { grid-area: 1 / 1; z-index: 1; align-self: end; gap: 14px; padding: 0 var(--gout) 22px; }
  .oeuvre .cartel { font-size: var(--fs-corps); color: #fff; }
  .oeuvre .cartel b { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; margin-bottom: .15em; }
  .oeuvre .btn--wa { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js .oeuvre__ecran > :is(video, img) { animation: oeuvre-pose linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    html.js .oeuvre__texte { animation: oeuvre-cartel linear both; animation-timeline: view(); animation-range: entry 20% entry 100%; }
  }
}
@keyframes oeuvre-pose { from { opacity: .4; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes oeuvre-cartel { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 31.6 La colonne vertébrale : « Comment on travaille avec vous », en quatre temps.
   <ol class="methode"><li class="methode__temps"><p class="methode__num">01</p><h3 class="h3">L'audit</h3><p>…</p>
     <p class="methode__recu"><b>Vous recevez</b> …</p><p class="methode__decide"><b>On décide ensemble</b> …</p></li> …</ol>
   Sobre comme le sommaire d'une proposition : un filet par temps, le numéro en Donnée, ce que vous recevez et ce qu'on
   décide en regard. Le temps qu'on lit s'allume (son numéro, un trait marine sur son filet), lié au défilement,
   sans rien épingler. Ailleurs (et en mouvement réduit) : tout est allumé, fixe. */
.methode { container: methode / inline-size; list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--filet); }
.methode__temps {
  position: relative; display: grid;
  grid-template-columns: minmax(4.5rem, 2fr) minmax(0, 5fr) minmax(0, 5fr); grid-template-rows: auto auto 1fr;
  column-gap: clamp(24px, 3.4vw, 64px); row-gap: 10px; align-items: start;
  padding-block: clamp(28px, 1.2rem + 2.2vw, 56px); border-top: 1px solid var(--filet);
}
/* (finition) Un seul filet par temps, et un seul allumage : le numéro. Le trait tiré sur le filet est retiré
   (à mi-course, il se lisait comme une barre de chargement). */
.methode__num {
  grid-column: 1; grid-row: 1 / -1;
  font: 400 var(--fs-h2)/.86 var(--titre); letter-spacing: -.04em; color: var(--cobalt);
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1;
}
.methode__temps > :is(h3, .h3) { grid-column: 2; grid-row: 1; }
.methode__temps > p:not([class]) { grid-column: 2; grid-row: 2 / span 2; max-width: 32em; }
.methode__recu { grid-column: 3; grid-row: 1 / span 2; }
.methode__decide { grid-column: 3; grid-row: 3; }
:is(.methode__recu, .methode__decide) { max-width: 32em; color: var(--encre-2); }
:is(.methode__recu, .methode__decide) > b:first-child { /* (finition) l'intitulé en voix Donnée, à la taille du texte ; plus de pastille */
  display: block; margin-bottom: 4px;
  font: 650 var(--fs-corps)/1.3 var(--titre); letter-spacing: -.005em; color: var(--encre);
}
:is(.nuit, .section--nuit) .methode, :is(.nuit, .section--nuit) .methode__temps { border-color: var(--nuit-ligne); }
:is(.nuit, .section--nuit) .methode__num { color: var(--cyan-2); }
:is(.nuit, .section--nuit) :is(.methode__recu, .methode__decide) { color: var(--nuit-texte); }
:is(.nuit, .section--nuit) :is(.methode__recu, .methode__decide) > b:first-child { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .methode__temps { view-timeline: --temps block; }
    html.js .methode__num { animation: methode-num linear both; animation-timeline: --temps; animation-range: cover 10% cover 90%; }
  }
}
@keyframes methode-num { 0%, 100% { opacity: .3; } 32%, 68% { opacity: 1; } }
@container methode (max-width: 640px) {
  .methode__temps { grid-template-columns: 2.6rem minmax(0, 1fr); grid-template-rows: none; row-gap: 12px; column-gap: 14px; }
  .methode__num { grid-row: 1; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
  .methode__temps > :is(h3, .h3), .methode__temps > p:not([class]), .methode__recu, .methode__decide { grid-column: 2; grid-row: auto; }
  .methode__temps > :is(h3, .h3) { grid-row: 1; }
}

/* 31.7 Nos engagements : seulement ce qui est sourcé, comme les clauses d'une lettre de mission.
   <ul class="engagements"><li><b class="engagements__titre">…</b><span class="engagements__texte">…</span></li> …</ul> */
.engagements { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--filet); }
.engagements > li { /* le titre et le texte côte à côte quand la clause a la place (36 rem), l'un sous l'autre sinon */
  position: relative; display: flex; flex-wrap: wrap; align-items: baseline; align-content: start; gap: 6px clamp(24px, 3.4vw, 64px);
  padding: clamp(20px, .9rem + 1.2vw, 34px) 0; border-top: 1px solid var(--filet);
}
.engagements__titre {
  flex: 5 1 15rem; display: block;
  font: 700 var(--fs-h3)/1.25 var(--titre); letter-spacing: -.012em; color: var(--encre); text-wrap: balance;
}
.engagements__texte { flex: 7 1 19rem; display: block; max-width: 36em; color: var(--encre-2); text-wrap: pretty; }
:is(.nuit, .section--nuit) .engagements, :is(.nuit, .section--nuit) .engagements > li { border-color: var(--nuit-ligne); }
:is(.nuit, .section--nuit) .engagements__titre { color: #fff; }
:is(.nuit, .section--nuit) .engagements__texte { color: var(--nuit-texte); }

/* 31.8 Le chiffre monumental : la preuve comme une sculpture.
   <p class="chiffre-monument"><span class="compte" data-compte="430">430</span><span class="chiffre-monument__unite">DH</span></p>
   <p class="chiffre-monument__condition">…</p><p class="source">Source : Reach Adz</p>
   Chiffres de même chasse (le compte ne fait rien bouger), l'unité posée sur la ligne ; la condition et la source juste dessous. */
.chiffre-monument {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .1em;
  font-size: clamp(120px, 18vw, 340px); line-height: .8; letter-spacing: -.06em; margin-left: -.06em;
  font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1;
}
.chiffre-monument .compte { font-feature-settings: "tnum" 1, "lnum" 1; }
.chiffre-monument__unite { font-size: .28em; font-weight: 750; letter-spacing: -.02em; line-height: 1; }
.chiffre-monument + .chiffre-monument__condition, .chiffre-monument__condition {
  margin-top: clamp(16px, .6rem + 1vw, 28px); max-width: 30em;
  font-size: var(--fs-chapo); line-height: 1.45; color: var(--encre-2); text-wrap: pretty;
}
.chiffre-monument ~ .source { margin-top: 10px; }
:is(.nuit, .section--nuit, .oeuvre) .chiffre-monument {
  color: #fff; background: linear-gradient(180deg, #fff 42%, #C4F8FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
:is(.nuit, .section--nuit, .oeuvre) .chiffre-monument__condition { color: var(--nuit-texte); }
@media (max-width: 759px) { .chiffre-monument { font-size: 34vw; } }

/* 31.9 Mouvement réduit et économie de données : rien ne monte, rien ne s'allume, la pub reste son affiche. */
@media (prefers-reduced-motion: reduce) {
  .monument, .chiffre-monument, .oeuvre__ecran > :is(video, img), .oeuvre__texte, .methode__num { animation: none !important; opacity: 1; transform: none; }
}

/* 31.10 Au téléphone, la page finit sur la nuit du pied : la place de la barre du pouce est prise dans le pied, et non plus
   sous lui (la bande blanche sous le pied, signalée depuis la v17, disparaît). */
@media (max-width: 759px) {
  body { padding-bottom: 0; }
  .pied { padding-bottom: calc(28px + 78px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------------------------------------
   32. La finition v19 (après les jurys du 15 novembre) : les restes de matières en trop se ramènent aux trois
   matières du brief (le papier, la nuit, le signal). Ces règles viennent en dernier : elles gagnent sur les
   tenues v16 à v18 sans les réécrire. Rien de neuf à l'écran, seulement moins.
   ------------------------------------------------------------------------------------------ */

/* 32.1 L'en-tête : un fond plein, plus de verre flouté (le flou était calculé au-dessus des vidéos). */
.tete, .tete.est-defile { background: var(--blanc); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 32.2 « Chhal ? » devient une action du signal : à plat, cyan, le coin coupé de la marque. Plus de carton incliné,
   d'œillet ni de fil ; plus de balancement. Survol : le cyan fonce d'un cran ; appuyé : 1 px vers le bas ; mise au point :
   un anneau marine dans la forme (un contour serait coupé par la découpe). */
.etiquette {
  --etq-coupe: 10px;
  rotate: none; filter: none; isolation: auto; z-index: auto;
  min-height: 44px; padding: 0 18px; gap: .4em;
  background: var(--cyan); color: var(--encre); font: 650 var(--fs-corps)/1.1 var(--corps);
  clip-path: polygon(var(--etq-coupe) 0, 100% 0, 100% calc(100% - var(--etq-coupe)), calc(100% - var(--etq-coupe)) 100%, 0 100%, 0 var(--etq-coupe));
  transition: background-color var(--t-etat) var(--ease);
}
.etiquette::before, .etiquette::after { content: none; display: none; }
.etiquette--grande { --etq-coupe: 12px; min-height: 52px; padding: 0 22px; font-size: var(--fs-corps); font-weight: 500; }
.etiquette:hover { background: #5FE6F5; animation: none; }
.etiquette:active { translate: 0 1px; }
.etiquette:focus-visible { outline: none; border-radius: 0; box-shadow: inset 0 0 0 3px var(--encre); }
:is(.nuit, .section--nuit) .etiquette { filter: none; }

/* 32.3 Les feuilles du menu : le papier à plat, sans grain ni travers (le grain reste à la nuit). */
.formules__carte.papier { rotate: none; background: var(--papier); }

/* 32.4 La signature du pied : « Reach Adz » à la taille d'un titre (plus un Monument), la phrase de l'agence à côté. */
.pied a.pied__mot { font-size: var(--fs-h2); line-height: 1; }
.pied__devise { font-size: var(--fs-chapo); line-height: 1.35; font-weight: 600; }
@media (min-width: 760px) {
  .pied__signature { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: clamp(24px, 3vw, 56px); }
}
@media (max-width: 759px) {
  .pied a.pied__mot { font-size: var(--fs-h2); }
  .pied__devise { font-size: var(--fs-chapo); }
}

/* 32.5 Les petits carrés cyan et la numérotation des rubriques sont retirés : la seule suite de numéros d'une page est
   celle des temps de la méthode (01 à 04), et une source se lit sans pastille. */
.rubrique::before, p.source::before { content: none; display: none; }
/* (v20, passe de la direction artistique) Une seule étiquette de chapitre sur tout le site : la rubrique prend la tenue du
   numéro de plaque (§33.1) — Inter Tight espacée, en capitales, le filet cobalt → cyan ; cyan sur la nuit. */
.rubrique { gap: 14px; font: 650 var(--fs-cartel)/1 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--cobalt); }
.rubrique::after { flex: none; width: clamp(48px, 6vw, 88px); min-width: 0; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, var(--cobalt), var(--cyan)); }
:is(.nuit, .section--nuit) .rubrique { color: var(--cyan-2); }
:is(.nuit, .section--nuit) .rubrique::after { background: var(--cyan); box-shadow: 0 0 10px rgb(128 242 255 / .7), 0 0 2px rgb(128 242 255 / .9); }

/* 32.6 Trois Monuments sur tout le site (jury art) : « Vous vendez. » traversé par la pub et « 430 DH » à l'accueil,
   « L'audit d'abord. » à L'agence. Ailleurs, un chiffre publié garde la forme du chiffre-monument (le chiffre, sa condition,
   sa source juste dessous) mais dans la voix Donnée, à la taille du H1 : il informe, il ne fait plus l'affiche.
   L'accueil rend au sien la taille du Monument (css/accueil.css, --ac-monument). */
.chiffre-monument { font-size: var(--fs-h1); line-height: .9; letter-spacing: -.045em; }
@media (max-width: 759px) { .chiffre-monument { font-size: var(--fs-h1); } }

/* ------------------------------------------------------------------------------------------
   33. Le musée de nuit v20 (docs/v20/BRIEF-v20.md, docs/v20/COMPOSANTS-v20.md) : la plaque, la salle éclairée et son
   creux de lumière, le socle et le reflet, le cartel de musée, le plan de la visite, le curseur d'exposition, l'écran de
   site. Puis le système tenu partout (33.9). Seulement transform et opacity animés ; les lumières sont des dégradés déjà
   dessinés (aucun flou calculé) ; rien d'épinglé ; ce qui suit le défilement est sous @supports, avec un état fixe et
   lisible ailleurs ; ce qui suit la souris est réservé à la souris fine ; mouvement réduit : tout est posé, rien ne bouge.
   ------------------------------------------------------------------------------------------ */

/* 33.0 Les deux ombres sur la nuit : les mêmes jetons, une encre noire (le marine ne se voit pas sur le marine). */
:is(.nuit, .section--nuit, .oeuvre, .pied, .musee-salle:not(.musee-salle--jour)) {
  --ombre-1: 0 1px 2px rgb(0 0 0 / .32), 0 18px 36px -18px rgb(0 0 0 / .72);
  --ombre-2: 0 2px 4px rgb(0 0 0 / .32), 0 44px 84px -30px rgb(0 0 0 / .82);
}

/* 33.1 La plaque : elle ouvre une salle, à la place du surtitre.
   <header class="plaque" data-salle="1"><p class="plaque__num">Salle 1</p><h2 class="h2 plaque__nom">Création</h2>
     <p class="plaque__ligne">…une ligne…</p></header>
   Une plaque gravée : le numéro en Inter Tight espacé, un filet de lumière qui le prolonge, le nom en Titre, une ligne en
   chapô. Elle glisse une fois, quand la salle entre (site.js pose .est-vu) ; sans JS ou en mouvement réduit, elle est posée.
   Variante centrée : .plaque--centre. */
.plaque { position: relative; display: grid; justify-items: start; gap: 14px; max-width: 46rem; margin: 0 0 var(--rythme-tete); }
.plaque--centre { justify-items: center; margin-inline: auto; text-align: center; }
.plaque > * { margin: 0; }
.plaque__num {
  display: inline-flex; align-items: center; gap: 14px;
  font: 650 var(--fs-cartel)/1 var(--titre); letter-spacing: .16em; text-transform: uppercase;
  font-feature-settings: "tnum" 1, "lnum" 1; color: var(--cobalt);
}
.plaque__num::after {
  content: ""; width: clamp(48px, 6vw, 88px); height: 1.5px; border-radius: 2px; transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
}
.plaque--centre .plaque__num::before {
  content: ""; width: clamp(48px, 6vw, 88px); height: 1.5px; border-radius: 2px; transform-origin: 100% 50%;
  background: linear-gradient(270deg, var(--cobalt), var(--cyan));
}
.plaque__nom { text-shadow: 0 1px 0 #fff, 0 -1px 0 rgb(13 32 63 / .07); }
.plaque__ligne { max-width: 36rem; font: 400 var(--fs-chapo)/1.45 var(--corps); color: var(--encre-2); text-wrap: pretty; }
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .plaque__num { color: var(--cyan-2); }
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .plaque__num::after,
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .plaque--centre .plaque__num::before {
  background: var(--cyan); box-shadow: 0 0 10px rgb(128 242 255 / .7), 0 0 2px rgb(128 242 255 / .9);
}
/* la gravure : une lumière en dessous, une ombre au-dessus, à peine */
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .plaque__nom { color: #fff; text-shadow: 0 1px 0 rgb(255 255 255 / .07), 0 -1px 0 rgb(0 0 0 / .55); }
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .plaque__ligne { color: var(--nuit-texte); }
@media (prefers-reduced-motion: no-preference) {
  html.js .plaque > * { transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
  html.js .plaque > :nth-child(2) { transition-delay: 90ms; }
  html.js .plaque > :nth-child(3) { transition-delay: 180ms; }
  html.js .plaque__num::after, html.js .plaque__num::before { transition: transform 1100ms var(--ease) 120ms; }
  html.js .plaque:not(.est-vu) > * { opacity: 0; transform: translate3d(-22px, 0, 0); }
  html.js .plaque--centre:not(.est-vu) > * { transform: translate3d(0, 14px, 0); }
  html.js .plaque:not(.est-vu) .plaque__num::after, html.js .plaque:not(.est-vu) .plaque__num::before { transform: scaleX(0); }
}

/* 33.2 La salle : de nuit (par défaut) ou de jour (.musee-salle--jour), jamais de lampe.
   (Après l'utilisateur, 15/11 : « l'idée de la lampe foire le style cool jeune ».) Plus de projecteurs, de faisceaux, de
   flaques ni de creux de lumière : la seule lumière d'une salle est celle des œuvres (la lueur --teinte de chaque pub, comme
   en v15–v19) et, la nuit, la lumière vivante très douce (.aurore, 30.4).
   <section class="musee-salle section section--nuit" id="salle-1" data-salle-lumiere> … </section>   la salle de nuit
   <section class="musee-salle musee-salle--jour section" id="salle-3"> … </section>                     la salle de jour (papier)
   <section class="musee-salle musee-salle--jour bande-cyan section" id="salle-2"> … </section>          la salle cyan (la bande)
   Sur l'accueil, jamais plus de deux salles de nuit à la suite. Les œuvres de la salle : .oeuvre-socle, .ecran-site,
   [data-oeuvre] ; au survol (souris fine), elles s'avancent (transform seul : l'ombre ne s'anime plus). */
.musee-salle { position: relative; isolation: isolate; overflow: clip; }
.musee-salle[id], [data-salle][id] { scroll-margin-top: var(--tete-h); }
.musee-salle--jour { background: var(--blanc); color: var(--encre-2); color-scheme: light; }
.musee-salle--jour.bande-cyan { background: var(--cyan); color: var(--encre); }
/* La salle cyan : l'encre partout ; le filet de la plaque passe au marine (le cyan ne se voit pas sur le cyan). */
.bande-cyan .plaque__num { color: var(--encre); }
.bande-cyan .plaque__num::after, .bande-cyan .plaque--centre .plaque__num::before { background: var(--encre); }
.bande-cyan .plaque__nom { text-shadow: none; }
.bande-cyan .plaque__ligne, .bande-cyan .cartel-musee { color: var(--encre-2); }
.bande-cyan .cartel-musee { border-left-color: rgb(13 32 63 / .35); }
.bande-cyan .cartel-musee > span:last-child:not(:nth-child(2)) { color: var(--encre); }
/* les œuvres de la salle s'avancent au survol (transform seul) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .musee-salle :is(.oeuvre-socle > :first-child, .ecran-site, [data-oeuvre]) { transition: transform var(--t-st) var(--ease); }
  .musee-salle :is(.oeuvre-socle:hover > :first-child, .ecran-site:hover, [data-oeuvre]:hover) { transform: translate3d(0, -6px, 0) scale(1.012); }
}

/* 33.3 Le socle et le reflet : l'œuvre posée, son reflet au sol (l'affiche retournée et estompée, jamais une vidéo).
   <figure class="oeuvre-socle"> …l'œuvre… <span class="oeuvre-socle__reflet" aria-hidden="true"
     style="--affiche:url(/assets/media/poster/KEY.webp)"></span><figcaption class="cartel-musee">…</figcaption></figure>
   La figure prend la largeur de l'œuvre (la page la règle) ; le reflet aussi (--reflet-l pour une œuvre plus étroite) ;
   --reflet-h règle sa hauteur. En économie de données, le reflet n'est pas chargé : il reste le socle. */
.oeuvre-socle { position: relative; display: grid; justify-items: stretch; margin: 0; }
.oeuvre-socle > :first-child { position: relative; z-index: 1; }
.oeuvre-socle__reflet {
  position: relative; display: block; width: var(--reflet-l, 100%); height: var(--reflet-h, clamp(32px, 4.4vw, 72px));
  margin-top: 3px; pointer-events: none;
}
.oeuvre-socle__reflet::before {
  content: ""; position: absolute; inset: 0; border-radius: 0 0 var(--rayon-1) var(--rayon-1);
  background: var(--affiche, none) 50% 100% / 100% auto no-repeat; transform: scaleY(-1); opacity: .9;
  -webkit-mask-image: linear-gradient(to top, rgb(0 0 0 / .26), rgb(0 0 0 / .06) 50%, transparent 85%);
  mask-image: linear-gradient(to top, rgb(0 0 0 / .26), rgb(0 0 0 / .06) 50%, transparent 85%);
}
.oeuvre-socle__reflet::after { /* l'arête du socle : un filet de lumière, et l'ombre portée au sol */
  content: ""; position: absolute; left: -6%; right: -6%; top: -3px; height: 26px;
  background:
    linear-gradient(90deg, transparent, rgb(255 255 255 / .38) 30%, rgb(255 255 255 / .38) 70%, transparent) 0 0 / 100% 1px no-repeat,
    radial-gradient(46% 50% at 50% 0%, rgb(0 0 0 / .32), transparent 100%) 0 1px / 100% 22px no-repeat;
}
:not(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) > .oeuvre-socle .oeuvre-socle__reflet::after {
  background:
    linear-gradient(90deg, transparent, rgb(13 32 63 / .16) 30%, rgb(13 32 63 / .16) 70%, transparent) 0 0 / 100% 1px no-repeat,
    radial-gradient(50% 50% at 50% 0%, rgb(13 32 63 / .14), transparent 100%) 0 1px / 100% 25px no-repeat;
}
@media (max-width: 759px) { .oeuvre-socle__reflet { height: var(--reflet-h-tel, 36px); } }
html.economie .oeuvre-socle__reflet::before { content: none; }

/* 33.4 Le cartel de musée : une seule typographie de cartel. Le nom de l'œuvre, ce qu'elle est, la source (ou « Exemple »).
   <figcaption class="cartel-musee"><b>Titre</b><span>ce qu'elle est</span><span>Source : Reach Adz | Exemple</span></figcaption>
   Aligné sur le bord gauche de l'œuvre, un filet à gauche ; sur la nuit, le filet est la lumière. */
.cartel-musee {
  justify-self: start; display: grid; gap: 3px; max-width: 30rem; margin-top: 14px; padding-left: 14px;
  border-left: 1px solid var(--filet); text-align: left;
  font: 400 var(--fs-cartel)/1.45 var(--corps); color: var(--doux);
}
.cartel-musee > b { font: 650 var(--fs-corps)/1.25 var(--titre); letter-spacing: -.01em; color: var(--encre); text-wrap: balance; }
.cartel-musee > span { text-wrap: pretty; }
.cartel-musee > span:last-child:not(:nth-child(2)) { margin-top: 3px; font-weight: 600; letter-spacing: .04em; color: var(--encre-2); }
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .cartel-musee { border-left-color: rgb(128 242 255 / .55); color: var(--nuit-doux); }
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .cartel-musee > b { color: #fff; }
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .cartel-musee > span:last-child:not(:nth-child(2)) { color: var(--nuit-texte); }
.oeuvre-socle > .oeuvre-socle__reflet + .cartel-musee { margin-top: 6px; }

/* 33.5 Le plan de la visite : on sait où l'on est et ce qu'il reste à voir.
   <nav class="plan-musee" aria-label="Plan de la visite"><ol><li><a href="#salle-1">Création</a></li>…</ol></nav>
   (ou <nav class="plan-musee" aria-label="Plan de la visite" data-plan-auto></nav> : site.js le remplit depuis les plaques.)
   Grand écran (≥ 1320 px) : une colonne fine dans la marge de gauche, un trait par salle, la salle en cours allumée et
   nommée sur la tranche ; au survol ou au clavier, le plan se déplie (toutes les salles, nommées, cliquables).
   Téléphone, tablette et petit ordinateur (< 1320 px, où la marge ne suffit pas) : un fil de progression sous l'en-tête,
   avec le nom de la salle. Caché dans l'entrée (le héros) et dès que le pied de page entre à l'écran : .est-visible.
   Le plan dit ce que disent les plaques : « Salle 1 » à « Salle 4 » pour les quatre pôles (le numéro vient du .plaque__num,
   data-num sur le lien), le nom seul pour les autres (« La preuve », « La sortie »). Il n'invente aucune numérotation. */
.plan-musee {
  --plan-p: 0;
  position: fixed; z-index: 58; pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 400ms var(--ease), transform 500ms var(--ease), visibility 0s linear 400ms;
  color: #fff; font: 500 var(--fs-cartel)/1.2 var(--corps);
}
.plan-musee.est-visible { pointer-events: auto; opacity: 1; visibility: visible; transition-delay: 0s; }
.plan-musee ol { counter-reset: salle; margin: 0; padding: 0; list-style: none; }
.plan-musee li { counter-increment: salle; }
.plan-musee a { color: inherit; text-decoration: none; }
.plan-musee__actuel { margin: 0; white-space: nowrap; }
.plan-musee__actuel b { font: 650 var(--fs-cartel)/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
@media (min-width: 1320px) {
  /* une colonne fine dans la marge de gauche (la marge fait au moins 64 px dès 1320 px : le plan ne couvre jamais le texte) */
  .plan-musee {
    left: 18px; top: 50%; transform: translate3d(-10px, -50%, 0);
    display: flex; flex-direction: column; align-items: center; gap: 14px; width: 40px; padding: 14px 0 12px;
    border-radius: var(--rayon-1);
    background: rgb(7 19 38 / .9); box-shadow: var(--ombre-1), inset 0 0 0 1px rgb(255 255 255 / .1);
  }
  .plan-musee.est-visible { transform: translate3d(0, -50%, 0); }
  /* la salle en cours, écrite sur la tranche comme sur un cartel de mur (se lit de bas en haut) */
  .plan-musee__actuel {
    display: flex; align-items: center; gap: 8px; writing-mode: vertical-rl; text-orientation: sideways; transform: rotate(180deg);
    max-height: 46vh; overflow: hidden; color: #fff; font-weight: 500;
  }
  .plan-musee ol { display: flex; flex-direction: column; gap: 2px; }
  .plan-musee li { display: block; }
  .plan-musee a { position: relative; display: block; width: 28px; height: 16px; font-size: 0; color: transparent; }
  .plan-musee a::before { /* le trait de la salle */
    content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
    background: rgb(255 255 255 / .26); transition: background-color var(--t-etat) var(--ease), left var(--t-st) var(--ease), right var(--t-st) var(--ease);
  }
  .plan-musee a:hover::before { background: rgb(255 255 255 / .7); }
  .plan-musee a.est-vue::before { background: rgb(128 242 255 / .45); }
  .plan-musee a[aria-current]::before { left: 4px; right: 4px; background: var(--cyan); box-shadow: 0 0 8px rgb(128 242 255 / .8); }
  .plan-musee a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 3px; }
  /* déplié au survol ou au clavier : la liste nommée, numérotée, cliquable (le seul moment où le plan couvre la page) */
  .plan-musee:is(:hover, :focus-within) { width: auto; align-items: stretch; padding: 10px 18px 10px 12px; }
  .plan-musee:is(:hover, :focus-within) .plan-musee__actuel { display: none; }
  .plan-musee:is(:hover, :focus-within) a {
    width: auto; height: auto; display: flex; align-items: baseline; gap: 10px; padding: 7px 0;
    font-size: var(--fs-cartel); color: var(--nuit-texte); white-space: nowrap;
  }
  .plan-musee:is(:hover, :focus-within) a::before { position: static; flex: none; width: 14px; margin: 0; align-self: center; }
  .plan-musee:is(:hover, :focus-within) a::after { content: attr(data-num); order: -1; width: 1.2em; font: 650 var(--fs-cartel)/1 var(--titre); color: var(--nuit-doux); font-feature-settings: "tnum" 1; }
  .plan-musee:is(:hover, :focus-within) a:hover, .plan-musee:is(:hover, :focus-within) a[aria-current] { color: #fff; }
  .plan-musee__fil { display: none; }
}
@media (min-width: 1320px) and (max-height: 640px) { .plan-musee__actuel { display: none; } }
@media (max-width: 1319.98px) {
  .plan-musee {
    left: 0; right: 0; top: var(--tete-h); transform: translate3d(0, -6px, 0);
    display: flex; align-items: center; height: 28px; padding: 0 var(--gout);
    background: rgb(7 19 38 / .96); box-shadow: 0 1px 0 rgb(255 255 255 / .06);
  }
  .plan-musee.est-visible { transform: none; }
  .plan-musee ol { display: none; }
  .plan-musee__actuel { display: flex; gap: 8px; align-items: baseline; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .plan-musee__fil { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(255 255 255 / .1); }
  .plan-musee__fil > i {
    position: absolute; inset: 0; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(var(--plan-p));
    box-shadow: 0 0 8px rgb(128 242 255 / .7);
  }
}
@media (prefers-reduced-motion: reduce) { .plan-musee { transition: none; transform: none; } }
/* Sous 1320 px, le fil occupe 28 px sous l'en-tête : --plan-h le dit aux en-têtes collants des pages, qui se placent à
   top: calc(var(--tete-h) + var(--plan-h)) (site.js pose html.a-plan tant que le plan est visible). */
:root { --plan-h: 0px; }
@media (max-width: 1319.98px) {
  html.a-plan { --plan-h: 28px; }
  html.a-plan .pf-index { top: calc(var(--tete-h) + var(--plan-h)); }
}
/* (v20, passe DA) La plaque du hub n'est plus collante sous 1024 px (services.css §11) : plus de décalage ici — il la
   faisait glisser de 92 px sur la vignette du premier service quand le fil du plan s'affichait. */

/* 33.6 Le curseur d'exposition (ordinateur à souris fine seulement ; jamais au téléphone ; éteint en mouvement réduit).
   Un anneau discret qui suit le pointeur ; sur une œuvre [data-voir] il devient un disque cyan qui dit « Voir » (ou le mot
   de data-voir-mot="Lire" ; data-voir garde la clé de la pub) ; sur un bouton ou un lien il s'agrandit et s'efface ; dans un champ, il disparaît. */
.curseur-expo { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html.a-curseur .curseur-expo {
    position: fixed; left: 0; top: 0; z-index: 2147483000; display: block; width: 0; height: 0; pointer-events: none;
    will-change: transform; contain: layout style;
  }
  .curseur-expo__anneau, .curseur-expo__mot { position: absolute; left: 0; top: 0; }
  .curseur-expo__anneau {
    width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px rgb(13 32 63 / .45); opacity: 0;
    transition: transform 380ms var(--ease), opacity 260ms var(--ease), background-color 260ms var(--ease), box-shadow 260ms var(--ease);
  }
  .curseur-expo__mot {
    width: 84px; margin: -.6em 0 0 -42px; text-align: center; opacity: 0; transform: scale(.6);
    font: 650 var(--fs-cartel)/1.2 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--encre);
    transition: transform 380ms var(--ease), opacity 200ms var(--ease);
  }
  .curseur-expo.est-la .curseur-expo__anneau { opacity: 1; }
  .curseur-expo.sur-nuit .curseur-expo__anneau { box-shadow: inset 0 0 0 1.5px rgb(185 248 255 / .6); }
  .curseur-expo.est-bouton .curseur-expo__anneau { transform: scale(1.6); opacity: .45; }
  .curseur-expo.est-voir .curseur-expo__anneau { transform: scale(2.7); opacity: 1; background: var(--cyan); box-shadow: 0 6px 18px -6px rgb(0 0 0 / .4); }
  .curseur-expo.est-voir .curseur-expo__mot { opacity: 1; transform: none; }
  .curseur-expo.est-cache .curseur-expo__anneau, .curseur-expo.est-cache .curseur-expo__mot { opacity: 0; }
  html.a-curseur [data-voir], html.a-curseur [data-voir] * { cursor: none; }
}

/* 33.7 L'écran de site : une maquette originale, présentée comme une œuvre sur un grand écran, qui défile toute seule.
   <figure class="ecran-site" data-ecran-site><div class="ecran-site__chrome"><span>Exemple · maquette</span>
     <span class="ecran-site__url">votre-boutique.ma</span></div><div class="ecran-site__page"> …la page… </div></figure>
   La page défile dans l'écran (transform, de haut en bas puis retour, avec des arrêts) quand l'écran est à l'écran ; elle
   s'arrête au survol ; elle reste en haut en mouvement réduit et sans JS. Formats : 16:10 (défaut), .ecran-site--tel (9:19,5),
   --ecran-ratio pour un autre. La pastille « Exemple · maquette » est dans l'interface, toujours lisible. */
.ecran-site {
  --i-cadenas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 11'%3E%3Cpath d='M2.6 4.6V3.4a2.4 2.4 0 0 1 4.8 0v1.2' fill='none' stroke='black' stroke-width='1.3'/%3E%3Crect x='1' y='4.6' width='8' height='6.2' rx='1.4'/%3E%3C/svg%3E");
  position: relative; isolation: isolate; display: flex; flex-direction: column; margin: 0; overflow: hidden;
  aspect-ratio: var(--ecran-ratio, 16 / 10); border-radius: var(--rayon-1);
  background: var(--blanc); color: var(--encre); color-scheme: light;
  box-shadow: var(--ombre-2), 0 0 0 1px rgb(13 32 63 / .1);
}
:is(.nuit, .section--nuit, .oeuvre, .musee-salle:not(.musee-salle--jour)) .ecran-site { box-shadow: var(--ombre-2), 0 0 0 1px rgb(255 255 255 / .14), 0 0 80px -30px rgb(128 242 255 / .35); }
.ecran-site__chrome {
  position: relative; z-index: 2; flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px;
  height: 36px; padding: 0 12px; background: #0E1F3B; color: var(--nuit-texte);
  font: 500 var(--fs-cartel)/1 var(--corps); box-shadow: inset 0 -1px 0 rgb(255 255 255 / .08);
}
.ecran-site__chrome > span:first-child {
  justify-self: start; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-weight: 600; font-size: 12px; letter-spacing: .02em; color: var(--encre); background: var(--cyan); white-space: nowrap;
}
.ecran-site__url {
  justify-self: center; display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; height: 24px; padding: 0 14px; border-radius: 999px;
  background: rgb(255 255 255 / .07); color: #fff; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ecran-site__url::before { /* le cadenas */
  content: ""; flex: none; width: 10px; height: 11px; background: var(--nuit-doux);
  -webkit-mask: var(--i-cadenas) center / contain no-repeat; mask: var(--i-cadenas) center / contain no-repeat;
}
.ecran-site__page { position: relative; z-index: 1; flex: none; min-height: 100%; background: var(--blanc); }
.ecran-site--tel { --ecran-ratio: 9 / 19.5; border-radius: var(--rayon-2); }
.ecran-site--tel .ecran-site__chrome { grid-template-columns: auto minmax(0, 1fr); height: 32px; }
.ecran-site--tel .ecran-site__url { justify-self: end; padding: 0 10px; }
@media (max-width: 759px) {
  .ecran-site:not(.ecran-site--tel) { aspect-ratio: var(--ecran-ratio-tel, 4 / 5); }
  .ecran-site__chrome { grid-template-columns: auto minmax(0, 1fr); } .ecran-site__url { justify-self: end; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .ecran-site.est-defilant .ecran-site__page {
    will-change: transform; animation: ecran-defile var(--defil-duree, 20s) cubic-bezier(.62, 0, .3, 1) infinite paused;
  }
  html.js .ecran-site.est-defilant.est-visible .ecran-site__page { animation-play-state: running; }
  @media (hover: hover) and (pointer: fine) {
    html.js .ecran-site.est-defilant:is(:hover, :focus-within) .ecran-site__page { animation-play-state: paused; }
  }
}
@keyframes ecran-defile {
  0%, 9% { transform: translate3d(0, 0, 0); }
  30%, 36% { transform: translate3d(0, calc(var(--defil, 0px) * .45), 0); }
  58%, 66% { transform: translate3d(0, var(--defil, 0px), 0); }
  94%, 100% { transform: translate3d(0, 0, 0); }
}
html.economie .ecran-site .ecran-site__page { animation: none; }

/* 33.8 Mouvement réduit : la plaque est posée, l'écran de site reste en haut de sa page, le curseur n'existe pas. */
@media (prefers-reduced-motion: reduce) {
  .ecran-site__page { animation: none !important; transform: none !important; }
}

/* 33.9 Le système tenu partout (le reste de la v19) : six tailles au plus sur une page, deux ombres, deux rayons, un
   filet. Les pièces communes qui écrivaient encore une taille à la main passent aux jetons :
     Note (--fs-cartel)  la source, l'exemple, la légende des unités, les intitulés du pied, la position du mur
     Texte (--fs-corps)  la légende, les boutons, les puces, les onglets et les lignes du menu, le retour, le pied
     Titre 3 (--fs-h3)   le grand bouton, le téléphone du pied
   Restent à leur taille, parce qu'ils sont une image d'interface et non une voix de la page : le téléphone et ce qu'il
   montre (.tel, .wa, .notif, .profil, .navigateur, .mini, le fil du client en petit), la conversation, l'en-tête et son
   sous-menu, le tiroir, la barre du pouce, le fil plein écran et la feuille « Chhal ? » (des commandes, pas du texte).
   Les feuilles des pages (services, agence, resultats, portfolio) sont passées aux mêmes jetons dans ce tour
   (docs/v20/COMPOSANTS-v20.md §8). */
.legende { font-size: var(--fs-corps); }
.exemple, .source, .pub__cartel, .annote__pin, .unites__legende, .rubrique, .a-salle3d .salle__pos,
.fil-client__station > :not(ul), .fil-client__ligne, .formules__onglet small, .formule__tampon,
.pied__k, .pied__bas { font-size: var(--fs-cartel); }
.btn, .btn--petit, .puce, .filtres > button, .retour, .formules__onglet, .formule__eq, .formule__pour, .formules__rappel,
.formule__lignes > li, .fil-client__nom, .pied__p, .pied__liste, .pied__marque .pied__p { font-size: var(--fs-corps); }
/* le titre « Services » du pied : comme ses voisins « Reach Adz » et « Contact » à l'ordinateur ; une ligne qu'on touche au téléphone */
@media (max-width: 759px) { .pied__plie > summary { font-size: var(--fs-corps); } }
.btn--grand { font-size: var(--fs-h3); }
.pied__tel { font-size: var(--fs-h3) !important; }
.fil-client--mini .fil-client__station > :not(ul), .fil-client--mini .fil-client__nom { font-size: 12.5px; }
@media (max-width: 759px) {
  .fil-client--mini .fil-client__nom { font-size: 12px; }
  .formules__onglet { font-size: var(--fs-cartel); }
}

/* ==========================================================================================
   34. v20, la passe « visuel d'abord » (l'utilisateur, 15/11 : « privilégier le visuel plutôt que beaucoup d'écriture,
   et ce partout » ; « l'atelier doit avoir un sens visuel » ; « Vous vendez. should have a purpose »). Quatre pièces
   communes, documentées dans docs/v20/COMPOSANTS-v20.md §10 à §15. Les règles de toujours : transform et opacity, un
   ressort court (--ressort), rien d'épinglé, une vidéo à la fois au téléphone, tout posé en mouvement réduit, lisible
   sans JS (le détail ouvert, les vidéos sur leur affiche).
   ========================================================================================== */
/* v21 : --ressort et --ressort-doux sont désormais les jetons du §1 (un seul ressort pour tout le site). */

/* 34.1 La méthode en images : quatre temps, une image, un grand numéro, un titre, UNE ligne ; le détail au toucher.
   <ol class="methode-v" data-methode-v><li class="methode-v__temps" style="--i:1"><figure class="methode-v__image">…</figure>
   <p class="methode-v__num">01</p><h3 class="methode-v__titre">L'audit</h3><p class="methode-v__ligne">…</p>
   <details class="methode-v__plus"><summary>Le détail</summary><p>…</p></details></li> ×4</ol>
   Ordinateur : quatre colonnes reliées par un trait cyan qui se dessine ; les temps arrivent l'un après l'autre (ressort).
   Téléphone : une rangée qu'on fait glisser au pouce (aimantée), un temps par écran, le suivant qui dépasse. */
.methode-v {
  --mv-gap: clamp(16px, 1.6vw, 28px);
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mv-gap);
  margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.methode-v::before { /* le trait qui relie les quatre temps, à la hauteur des numéros */
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--mv-img-h, 0px) + 13px); height: 2px; z-index: 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgb(128 242 255 / .25)); transform-origin: 0 50%;
  transition: transform 1200ms var(--ease) 200ms;
}
.methode-v__temps { position: relative; display: grid; align-content: start; gap: 6px; min-width: 0; }
.methode-v__image {
  position: relative; margin: 0 0 14px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon-1);
  background: var(--nuit); box-shadow: var(--ombre-1); isolation: isolate;
}
.methode-v__image > :is(img, video) { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.methode-v__num {
  position: relative; z-index: 1; justify-self: start; margin: 0; padding: 4px 10px 4px 12px;
  font: 800 var(--fs-h3)/1 var(--titre); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--encre);
  background: var(--cyan); clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}
.methode-v__titre { margin: 6px 0 0; font: 750 var(--fs-h3)/1.15 var(--titre); letter-spacing: -.02em; color: var(--encre); text-wrap: balance; }
.methode-v__ligne { margin: 0; font-size: var(--fs-corps); line-height: 1.45; color: var(--encre-2); text-wrap: pretty; }
.methode-v__plus { margin-top: 4px; }
.methode-v__plus > summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font: 600 var(--fs-cartel)/1 var(--corps); letter-spacing: .02em; color: var(--cobalt);
}
.methode-v__plus > summary::-webkit-details-marker { display: none; }
.methode-v__plus > summary::before { /* le « + » qui devient « − » */
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(currentColor 0 0) 50% / 10px 2px no-repeat, linear-gradient(currentColor 0 0) 50% / 2px 10px no-repeat;
  box-shadow: inset 0 0 0 1.5px currentColor; transition: transform 300ms var(--ressort);
}
.methode-v__plus[open] > summary::before { transform: rotate(45deg); }
.methode-v__plus > p { margin: 2px 0 0; font-size: var(--fs-corps); line-height: 1.5; color: var(--encre-2); }
.methode-v__plus .source { display: block; margin-top: 6px; }
:is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) :is(.methode-v__titre) { color: #fff; }
:is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) :is(.methode-v__ligne, .methode-v__plus > p) { color: var(--nuit-texte); }
:is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) .methode-v__plus > summary { color: var(--cyan); }

/* Les images de la méthode (les pièces que les pages écrivent dans .methode-v__image) :
   .mv-scan   l'audit : une vraie pub, et la boucle tracée à la main autour du produit (v22) ;
   .mv-plan   le plan : une carte « plan + devis » dessinée, marquée « Exemple » ;
   (vidéo)    la production : une coulisse de l'atelier ;
   .mv-barres la mesure : deux barres à l'échelle exacte, la source. */
/* v22 : l'audit, à la main. Plus de viseur ni de ligne de scanner (le vocabulaire HUD que la marque s'interdit, en boucle
   infinie) : la boucle maison entoure le produit et se trace une fois, avec une note. */
.mv-loupe { position: absolute; z-index: 3; left: 11%; top: 60%; width: 64%; height: 19%; pointer-events: none; }
.mv-loupe > .trait { width: 100%; height: 100%; stroke: var(--cyan); stroke-width: 3; --trait-delai: 700ms; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .4)); }
.mv-loupe__note { position: absolute; z-index: 3; right: 5%; top: 45%; margin: 0; rotate: -6deg; color: var(--cyan); font-size: clamp(19px, 1.5vw, 23px); line-height: 1; text-shadow: 0 1px 3px rgb(0 0 0 / .55); pointer-events: none; }
.mv-loupe--matcha { left: 13%; top: 49%; width: 47%; height: 29%; }
.mv-loupe--matcha + .mv-loupe__note { top: 40%; right: 6%; }
.mv-pastille { /* une étiquette posée sur l'image : « Exemple », « Source : Reach Adz » */
  position: absolute; z-index: 4; left: 12px; bottom: 12px; padding: 5px 9px; border-radius: 999px;
  font: 600 12.5px/1 var(--corps); letter-spacing: .02em; color: var(--encre); background: rgb(255 255 255 / .92);
}
.mv-plan { display: grid; place-items: center; background: linear-gradient(160deg, #0E1F3B, #071326); }
.mv-plan__carte {
  width: 78%; display: grid; gap: 9px; padding: 16px 16px 14px; border-radius: 12px; background: var(--blanc);
  box-shadow: 0 24px 40px -18px rgb(0 0 0 / .6); transform: rotate(-3deg);
  font: 500 12.5px/1.2 var(--corps); color: var(--encre-2);
}
.mv-plan__carte > b { font: 750 15px/1.1 var(--titre); color: var(--encre); letter-spacing: -.01em; }
.mv-plan__ligne { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 8px; }
.mv-plan__ligne > i { width: 16px; height: 16px; border-radius: 5px; background: var(--cyan); box-shadow: inset 0 0 0 1.5px rgb(13 32 63 / .3); }
.mv-plan__ligne > i::after { content: ""; display: block; width: 100%; height: 100%; background: var(--encre); -webkit-mask: var(--i-check) center / 13px no-repeat; mask: var(--i-check) center / 13px no-repeat; }
.mv-plan__barre { height: 6px; border-radius: 6px; background: var(--glace-2); overflow: hidden; }
.mv-plan__barre > i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(var(--v, .6)); }
.mv-plan__devis { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; padding-top: 9px; border-top: 1px dashed var(--ligne-2); font-weight: 650; color: var(--encre); }
.mv-plan__devis > span:last-child { padding: 3px 8px; border-radius: 6px; background: var(--wa); color: var(--wa-encre); font-size: 12px; }
.mv-barres { display: grid; align-content: end; padding: 18px 18px 46px; background: linear-gradient(170deg, #E8FDFF, #fff 70%); }
.mv-barres__in { position: absolute; inset: 22px 18px 48px; display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.mv-barres__col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; width: 34%; height: 100%; margin: 0; font: 600 12.5px/1 var(--corps); color: var(--encre-2); }
.mv-barres__col > b { font: 800 clamp(15px, 1.3vw, 19px)/1 var(--titre); letter-spacing: -.02em; color: var(--encre); white-space: nowrap; }
.mv-barres__col > i { display: block; width: 100%; height: calc(var(--v) * (100% - 44px)); border-radius: 10px 10px 3px 3px; background: var(--encre); transform-origin: 50% 100%; transition: transform 1000ms var(--ressort-doux) 300ms; }
.mv-barres__col--avant > i { background: rgb(13 32 63 / .18); }
.mv-barres__col:not(.mv-barres__col--avant) > i { background: linear-gradient(180deg, var(--cyan), #3FD9EA); box-shadow: 0 0 0 1.5px var(--encre) inset; }

/* L'arrivée, l'un après l'autre (site.js pose .est-vu sur la liste quand elle entre) */
@media (prefers-reduced-motion: no-preference) {
  html.js .methode-v:not(.est-vu)::before { transform: scaleX(0); }
  html.js .methode-v__temps { transition: transform 700ms var(--ressort-doux), opacity 400ms var(--ease); transition-delay: calc(var(--i, 1) * 110ms - 110ms); }
  html.js .methode-v:not(.est-vu) .methode-v__temps { transform: translate3d(0, 40px, 0) scale(.96); opacity: 0; }
  html.js .methode-v:not(.est-vu) .mv-barres__col > i { transform: scaleY(.04); }
  html.js .methode-v.est-vu .mv-plan__barre > i { animation: mv-plan 900ms var(--ressort-doux) both; animation-delay: calc(var(--d, 0) * 140ms + 500ms); }
}
@keyframes mv-plan { from { transform: scaleX(0); } }
html:not(.js) .methode-v::before { display: none; }
/* Au téléphone : la rangée au pouce (aimantée), le suivant dépasse de 18 % ; les numéros reliés par le trait. */
@media (max-width: 759.98px) {
  .methode-v {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
    margin-inline: calc(var(--gout) * -1); padding: 4px var(--gout) 8px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gout); scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .methode-v::-webkit-scrollbar { display: none; }
  .methode-v::before { display: none; }
  .methode-v__temps { scroll-snap-align: start; }
  .methode-v__image { aspect-ratio: 4 / 3; margin-bottom: 10px; }
  .methode-v__image > :is(img, video) { object-position: 50% 25%; }
  html.js .methode-v__temps { transition-delay: calc(min(var(--i, 1), 2) * 110ms - 110ms); }
}
.methode-v__points { display: none; }
@media (max-width: 759.98px) {
  .methode-v__points { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
  .methode-v__points > i { width: 6px; height: 6px; border-radius: 6px; background: var(--ligne-2); transition: transform 300ms var(--ressort), background-color 200ms; }
  .methode-v__points > i.est-actif { background: var(--encre); transform: scaleX(2.4); }
}

/* 34.2 Les engagements en repères : cinq marqueurs, une icône chacun ; le détail au survol ou au clavier (ordinateur),
   au toucher (téléphone). <ul class="engagements-v"><li><span class="engagements-v__icone" aria-hidden="true"><svg>…</svg>
   </span><b class="engagements-v__titre">…</b><span class="engagements-v__detail">…</span></li> ×5</ul>
   Le détail reste dans la page pour les lecteurs d'écran (jamais display: none) ; sans JS, il est ouvert. */
.engagements-v { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.engagements-v > li {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px;
  min-height: 60px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--blanc);
  box-shadow: inset 0 0 0 1.5px var(--encre); cursor: default; outline: none;
  transition: transform 260ms var(--ressort), background-color var(--t-etat) var(--ease), box-shadow var(--t-etat);
}
.engagements-v__icone {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--encre);
  transition: transform 420ms var(--ressort);
}
.engagements-v__icone > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.engagements-v__titre { font: 750 var(--fs-corps)/1.15 var(--titre); letter-spacing: -.01em; color: var(--encre); white-space: nowrap; }
.engagements-v__detail { grid-column: 1 / -1; font-size: var(--fs-corps); line-height: 1.45; color: var(--encre-2); }
html.js .engagements-v__detail { /* replié : il reste lisible par les lecteurs d'écran */
  position: absolute; z-index: 5; left: 0; top: calc(100% + 10px); width: max(100%, 300px); padding: 14px 16px; border-radius: var(--rayon-1);
  background: var(--encre); color: #fff; box-shadow: var(--ombre-2, var(--ombre-1));
  opacity: 0; transform: translate3d(0, -6px, 0) scale(.97); transform-origin: 24px 0; pointer-events: none;
  transition: opacity 180ms var(--ease), transform 320ms var(--ressort);
}
html.js .engagements-v__detail::before { content: ""; position: absolute; left: 24px; top: -6px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
html.js .engagements-v > li:is(:hover, :focus-visible, .est-ouvert) { z-index: 6; background: var(--cyan); }
html.js .engagements-v > li:is(:hover, :focus-visible, .est-ouvert) .engagements-v__icone { transform: rotate(-12deg) scale(1.08); background: var(--encre); color: var(--cyan); }
html.js .engagements-v > li:is(:hover, :focus-visible, .est-ouvert) .engagements-v__detail { opacity: 1; transform: none; }
html.js .engagements-v > li:focus-visible { box-shadow: inset 0 0 0 1.5px var(--encre), 0 0 0 3px var(--blanc), 0 0 0 5px var(--cobalt); }
.engagements-v > li.engagements-v__marine { box-shadow: inset 0 0 0 1.5px var(--encre); background: var(--encre); }
.engagements-v > li.engagements-v__marine .engagements-v__titre { color: #fff; }
html.js .engagements-v > li.engagements-v__marine:is(:hover, :focus-visible, .est-ouvert) .engagements-v__titre { color: var(--encre); }
.engagements-v > li.engagements-v__marine .engagements-v__detail { left: auto; right: 0; }
html.js .engagements-v > li.engagements-v__marine .engagements-v__detail::before { left: auto; right: 24px; }
@media (hover: hover) and (pointer: fine) { html.js .engagements-v > li:hover { transform: translate3d(0, -3px, 0); } }
@media (min-width: 1024px) {
  .engagements-v { display: grid; grid-template-columns: repeat(var(--ev-n, 5), minmax(0, 1fr)); }
  .engagements-v > li { border-radius: 22px; min-height: 64px; padding-right: 14px; }
  .engagements-v__titre { white-space: normal; text-wrap: balance; }
}
:is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) .engagements-v > li { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); }
:is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) .engagements-v__titre { color: #fff; }
/* Téléphone : une rangée qu'on fait glisser au pouce (cinq pastilles d'une ligne) ; le détail de la pastille touchée
   s'affiche dans la bulle sous la rangée (.engagements-v__bulle, posée par site.js), rien ne couvre la page. */
.engagements-v__bulle { display: none; }
@media (max-width: 759.98px) {
  .engagements-v {
    flex-wrap: nowrap; gap: 8px; margin-inline: calc(var(--gout) * -1); padding: 2px var(--gout) 4px; overflow-x: auto;
    scroll-snap-type: x proximity; scroll-padding-inline: var(--gout); scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .engagements-v::-webkit-scrollbar { display: none; }
  .engagements-v > li { flex: none; min-height: 52px; padding: 4px 16px 4px 4px; column-gap: 10px; scroll-snap-align: start; }
  .engagements-v__icone { width: 44px; height: 44px; }
  html.js .engagements-v > li { cursor: pointer; }
  html.js .engagements-v__detail { /* lu par les lecteurs d'écran, montré dans la bulle */
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); opacity: 1; transform: none; white-space: nowrap;
  }
  html.js .engagements-v > li:hover:not(.est-ouvert) { background: var(--blanc); }
  html.js .engagements-v > li.engagements-v__marine:hover:not(.est-ouvert) { background: var(--encre); }
  html.js .engagements-v > li:hover:not(.est-ouvert) .engagements-v__icone { transform: none; background: var(--cyan); color: var(--encre); }
  html.js .engagements-v > li.engagements-v__marine:hover:not(.est-ouvert) .engagements-v__titre { color: #fff; }
  html.js .engagements-v__bulle {
    display: block; position: relative; margin: 10px 0 0; padding: 14px 16px; border-radius: var(--rayon-1); background: var(--encre); color: #fff;
    font-size: var(--fs-corps); line-height: 1.45; transform-origin: 30px 0;
  }
  html.js .engagements-v__bulle[hidden] { display: none; }
  html.js .engagements-v__bulle.est-neuve { animation: ev-bulle 360ms var(--ressort) both; }
}
@keyframes ev-bulle { from { opacity: 0; transform: translate3d(0, -6px, 0) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .engagements-v__bulle.est-neuve { animation: none !important; } }

/* 34.6 Le plan de la visite au téléphone : un fil fin (3 px) sous l'en-tête ; le nom de la salle passe dans une petite
   pastille quand on change de salle (1,6 s), puis s'efface. */
@media (max-width: 759.98px) {
  .plan-musee { height: 3px; padding: 0; background: rgb(7 19 38 / .35); box-shadow: none; }
  .plan-musee__fil { height: 3px; }
  .plan-musee__actuel {
    position: absolute; top: 9px; left: 50%; padding: 7px 12px; border-radius: 999px; background: rgb(7 19 38 / .92);
    box-shadow: 0 6px 18px -8px rgb(0 0 0 / .6); transform: translate3d(-50%, -6px, 0); opacity: 0; pointer-events: none;
    transition: opacity 220ms var(--ease), transform 320ms var(--ressort);
  }
  .plan-musee.vient-de-changer .plan-musee__actuel { opacity: 1; transform: translate3d(-50%, 0, 0); }
  html.a-plan { --plan-h: 3px; }
}

/* 34.7 Les bords du téléphone (encoche, paysage) : la barre du pouce garde ses marges hors des zones sûres. */
@media (max-width: 759.98px) {
  .barre-mobile { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
}
/* Tablette (760 à 1023 px) : la méthode en deux colonnes, sans le trait (il relie une seule rangée). */
@media (min-width: 760px) and (max-width: 1023.98px) {
  .methode-v { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .methode-v::before { display: none; }
  .methode-v__image { aspect-ratio: 16 / 11; }
}


/* ==========================================================================================
   35. v21 « Ça vit » : le vivant (BRIEF-v21 §6 ; docs/v21/COMPOSANTS-v21.md « Le vivant »). Un ressort (--ressort, §1),
   trois durées (--t-toucher 180, --t-revele 420, --t-objet 700), trois tempos (--t-coupe 120, --t-ressort 460, --t-fil
   800) et une signature, le surligneur cyan qui voyage (le héros : css/accueil.css ; ailleurs : .surligneur). Tout est
   en transform/opacity (clip-path pour le surligneur) ; en mouvement réduit, tout est posé.
   ========================================================================================== */

/* 35.1 La forme du surligneur, pour les composants qui la reprennent (barre de Story, tête de lecture, onglet actif des
   sites, trace des points de l'automatisation) : le cyan, le coin haut-gauche et le coin bas-droit biseautés (la coupe
   du A du logo, comme le .st). --sl-c règle le biseau (6 px par défaut ; 2 px pour un trait de 3 px). */
.surligneur {
  --sl-c: 6px;
  background: var(--cyan);
  clip-path: polygon(var(--sl-c) 0, 100% 0, 100% calc(100% - var(--sl-c)), calc(100% - var(--sl-c)) 100%, 0 100%, 0 var(--sl-c));
}

/* 35.2 Les titres qui montent (« Rise ») : site.js découpe chaque grand titre de salle en mots (.rise > .rise__mot) et pose
   .a-rise ; à l'entrée, .est-leve : chaque mot monte de 125 % derrière son masque, 45 ms par mot (12 au plus), au ressort.
   Le masque est un clip-path (pas d'overflow : la ligne de base ne bouge pas), un peu plus large que le mot (accents,
   jambages). La plaque ne fait plus glisser son nom (il monte). */
@media (prefers-reduced-motion: no-preference) {
  .rise { display: inline-block; clip-path: inset(-.3em -.14em -.22em -.14em); }
  .rise__mot { display: inline-block; will-change: auto; }
  html.js .a-rise:not(.est-leve) .rise__mot { transform: translate3d(0, 125%, 0); }
  html.js .a-rise.est-leve .rise__mot { transition: transform calc(var(--t-revele) + 100ms) var(--ressort) calc(min(var(--k, 0), 12) * 45ms); }
  html.js .plaque > .plaque__nom.a-rise { opacity: 1; transform: none; transition: none; }
}

/* 35.3 Les chiffres qui roulent (site.js, rouleaux) : le chiffre final tient sa place (invisible), la colonne 0-9 défile
   par-dessus, découpée par un clip-path (la ligne de base ne bouge pas). Chiffres tabulaires dans la colonne. */
.rouleaux { white-space: nowrap; }
.rouleau { position: relative; display: inline-block; clip-path: inset(0 -.12em); }
.rouleau__fixe { visibility: hidden; }
.rouleau__piste { position: absolute; left: 0; right: 0; top: 0; height: 100%; display: flex; flex-direction: column; text-align: center; font-variant-numeric: tabular-nums; will-change: transform; }
.rouleau__piste > span { flex: none; display: block; height: 100%; }

/* 35.4 L'éclat : une seule lumière balaie le bouton principal de la page (site.js : .a-eclat, puis .est-eclat tant qu'il
   est à l'écran), toutes les 8 s, à l'ordinateur. Elle passe entre le vert et le texte (isolation, z-index −1). */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn.a-eclat { position: relative; overflow: hidden; isolation: isolate; }
  .btn.a-eclat::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: 38%; pointer-events: none;
    background: linear-gradient(100deg, transparent 8%, rgb(255 255 255 / .62) 50%, transparent 92%);
    transform: translateX(-130%) skewX(-14deg);
  }
  .btn.a-eclat.est-eclat::after { animation: ra-eclat 8s cubic-bezier(.45, 0, .25, 1) 1.6s infinite; }
}
@keyframes ra-eclat { 0% { transform: translateX(-130%) skewX(-14deg); } 11%, 100% { transform: translateX(330%) skewX(-14deg); } }

/* 35.5 Les logos des clients, plus présents : le logo est un masque peint à l'encre (marine à 75 % sur le papier, blanc à
   70 % la nuit), 100 % au survol ; les noms écrits passent à 75 %. La bande défile toujours. */
.defile__item.a-masque {
  background: var(--encre); opacity: .75;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  transition: opacity var(--t-toucher) var(--ease);
}
.defile__item.a-masque > img { opacity: 0; filter: none; mix-blend-mode: normal; }
.defile__item.a-masque:hover { opacity: 1; }
.defile__item--mot { opacity: .75; }
.defile__item--mot:hover { opacity: 1; }
:is(.nuit, .section--nuit) .defile__item.a-masque { background: #fff; opacity: .7; }
:is(.nuit, .section--nuit) .defile__item.a-masque:hover { opacity: 1; }
:is(.nuit, .section--nuit) .defile__item--mot { opacity: .7; }

/* 35.6 Les salles de nuit en feuilles : chaque salle de nuit monte sur la précédente, coins hauts arrondis (32 px à
   l'ordinateur, 22 px au téléphone) et une ombre douce vers le haut. Statique (pas d'empilement collant). La feuille
   recouvre les 22–32 derniers pixels du blanc de la salle d'avant (son padding du bas, toujours plus grand) ; son ciel
   (.aurore__ciel) prend le même arrondi : un seul bord, net. */
main > .musee-salle:not(.musee-salle--jour) {
  --feuille: 32px;
  z-index: 1; margin-top: calc(-1 * var(--feuille));
  border-radius: var(--feuille) var(--feuille) 0 0;
  box-shadow: 0 -22px 48px -30px rgb(7 19 38 / .55), 0 -1px 0 rgb(255 255 255 / .07);
}
main > .musee-salle:not(.musee-salle--jour) .aurore__ciel { border-radius: inherit; }
@media (max-width: 759.98px) { main > .musee-salle:not(.musee-salle--jour) { --feuille: 22px; } }
main > :first-child.musee-salle:not(.musee-salle--jour) { margin-top: 0; }

/* 35.7 Le plan de la visite (BRIEF-v21 §6.7). Sous 1320 px, le fil devient des segments de Story, un par salle : celui
   de la salle en cours se remplit au défilement, ceux d'avant sont pleins. Au téléphone, une bande de 7 px sous
   l'en-tête (segments de 3 px), le nom de la salle passe toujours dans sa pastille au changement. À l'ordinateur
   (≥ 1320 px), le trait de la salle active est le surligneur (cyan, plus épais) et glisse au ressort. */
.plan-musee__segments { display: none; }
@media (max-width: 1319.98px) {
  .plan-musee__fil { display: none; }
  .plan-musee__segments {
    position: absolute; left: var(--gout); right: var(--gout); bottom: 2px; display: flex; gap: 4px; height: 3px;
  }
  .plan-musee__segments > i { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / .24); }
  .plan-musee__segments b {
    position: absolute; inset: 0; border-radius: inherit; background: var(--cyan); transform-origin: 0 50%; transform: scaleX(0);
    transition: transform var(--t-coupe) linear; box-shadow: 0 0 6px rgb(128 242 255 / .6);
  }
}
@media (max-width: 759.98px) {
  .plan-musee { height: 7px; background: rgb(7 19 38 / .94); }
  .plan-musee__segments { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: 2px; gap: 3px; }
  .plan-musee__actuel { top: 13px; }
  html.a-plan { --plan-h: 7px; }
}
@media (min-width: 1320px) {
  .plan-musee a[aria-current]::before { height: 4px; margin-top: -2px; border-radius: 1px; clip-path: polygon(2px 0, 100% 0, 100% 2px, calc(100% - 2px) 100%, 0 100%, 0 2px); transition: background-color var(--t-coupe) var(--ease), left var(--t-ressort) var(--ressort), right var(--t-ressort) var(--ressort); }
}

/* 35.8 Les vidéos naissent bien : tant que l'affiche n'est pas là, la vidéo attend (site.js : .v-nait), puis elle
   apparaît en 200 ms. Les images et les vidéos sans affiche (28.7) arrivent au tempo d'une révélation. */
video.v-nait { opacity: 0; }
video.v-ne { transition: opacity 200ms var(--ease); }
img.arrive { transition: opacity var(--t-revele) var(--ease); }
video.arrive { transition: opacity 200ms var(--ease); }

/* 35.9 Les anciennes entrées, au même ressort : la plaque (le numéro et la ligne glissent au tempo d'une révélation),
   le sous-titre (.st) se découvre au tempo d'une révélation. */
@media (prefers-reduced-motion: no-preference) {
  html.js .plaque > * { transition: opacity var(--t-revele) var(--ease), transform var(--t-objet) var(--ressort-doux); }
  html.js .plaque > :nth-child(2) { transition-delay: calc(var(--t-frere) * 1.5); }
  html.js .plaque > :nth-child(3) { transition-delay: calc(var(--t-frere) * 3); }
  html.js .plaque__num::after, html.js .plaque__num::before { transition: transform var(--t-fil) var(--ease) var(--t-coupe); }
}

/* 35.10 La bande des accroches (accueil, fin de la salle Création ; BRIEF-v21 §6.13) : les vraies accroches des pubs, mot
   pour mot (celles de la page Vidéo & UGC), en darija et en français, qui défilent ; une accroche touchée ouvre sa pub
   avec le son (le fil). Pause au survol, au clavier, hors de l'écran, 3 s après un toucher. Au téléphone : une ligne de
   18 px, des zones de 44 px. Mouvement réduit : une rangée qu'on fait glisser au pouce. */
/* (couture) de l'air dessous : la feuille suivante monte de 32 px sur la salle (35.6) ; sans cette marge, la bande finissait
   à 4 px (téléphone) ou 20 px (1440) de son bord. */
.bande-accroches { position: relative; margin-top: clamp(40px, 22px + 3vw, 72px); margin-bottom: clamp(24px, 4px + 3vw, 48px); }
.bande-accroches__tete {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; padding-inline: var(--gout);
  font: 650 var(--fs-cartel)/1.3 var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-2);
}
.bande-accroches__tete span { font: 400 var(--fs-cartel)/1.3 var(--corps); letter-spacing: 0; text-transform: none; color: var(--nuit-doux); }
@media (min-width: 760px) { .bande-accroches__tete { max-width: var(--wrap); margin-inline: auto; } }
.bande-accroches__defile {
  position: relative; overflow: hidden; padding-block: 10px; border-block: 1px solid var(--nuit-ligne);
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.bande-accroches__rail { display: flex; width: max-content; animation: ra-accroches 70s linear infinite; }
.bande-accroches:is(:hover, :focus-within, .est-hors, .est-tenue) .bande-accroches__rail { animation-play-state: paused; }
@keyframes ra-accroches { to { transform: translate3d(-50%, 0, 0); } }
.bande-accroches__piste { display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); margin: 0; padding: 0 clamp(28px, 3vw, 56px) 0 0; list-style: none; }
.bande-accroches__piste > li { display: flex; align-items: center; gap: clamp(28px, 3vw, 56px); }
.bande-accroches__piste > li + li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--cyan); clip-path: polygon(3px 0, 100% 0, 100% 5px, 5px 100%, 0 100%, 0 3px); }
.bande-accroches__accroche {
  display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin: 0; padding: 4px 6px; border: 0; border-radius: 10px;
  background: none; color: #fff; font: 800 clamp(18px, 12px + 1.1vw, 30px)/1.2 var(--titre); letter-spacing: -.02em; white-space: nowrap; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: color var(--t-coupe) var(--ease);
}
.bande-accroches__accroche [lang="ar"] { font-family: var(--arabe); font-weight: 700; letter-spacing: 0; }
.bande-accroches__fr { color: var(--nuit-doux); font-weight: 600; }
.bande-accroches__accroche::after { /* le son : on l'entend en touchant */
  content: ""; flex: none; width: .8em; height: .8em; background: var(--cyan); -webkit-mask: var(--i-son) center / contain no-repeat; mask: var(--i-son) center / contain no-repeat;
}
.bande-accroches__accroche:hover, .bande-accroches__accroche:focus-visible { color: var(--cyan); }
.bande-accroches__accroche:hover .bande-accroches__fr { color: var(--nuit-texte); }
.bande-accroches__accroche:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 759.98px) {
  .bande-accroches__accroche { min-height: 44px; font-size: 18px; gap: 10px; }
  .bande-accroches__rail { animation-duration: 55s; }
}
@media (prefers-reduced-motion: reduce) {
  .bande-accroches__defile { overflow-x: auto; scrollbar-width: none; -webkit-mask: none; mask: none; }
  .bande-accroches__rail { animation: none; padding-inline: var(--gout); }
  .bande-accroches__piste[aria-hidden="true"] { display: none; }
}

/* ------------------------------------------------------------------------------------------
   36. v21.3, le téléphone (la critique mobile du 16/11, corrigée)
   1. L'étiquette « Salle N » qui flottait sous l'en-tête à chaque changement de salle couvrait le contenu : on la
      retire au téléphone, le fil de segments sous l'en-tête dit déjà où l'on est.
   2. Les cartels et légendes passent de 13 à 14 px au téléphone (lecture confortable).
   3. Moins de rangées à faire glisser à la suite : la méthode devient une liste numérotée (sans les images), les
      engagements passent à la ligne au lieu de défiler. */
@media (max-width: 759.98px) {
  .plan-musee__actuel { display: none !important; }
  :root { --fs-cartel: 14px; }
  .methode-v {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 0;
    margin-inline: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .methode-v__temps { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--ligne); }
  .methode-v__temps:last-child { border-bottom: 1px solid var(--ligne); }
  .methode-v__image { display: none; }
  .methode-v__num { grid-row: span 3; margin: 0; }
  .methode-v__titre, .methode-v__ligne, .methode-v__plus { grid-column: 2; }
  .engagements-v { flex-wrap: wrap; margin-inline: 0; padding: 0; overflow: visible; }
  .engagements-v > li { flex: 0 1 auto; }
}
@media (max-width: 759.98px) {
  .methode-v__temps { padding: 10px 0; row-gap: 2px; }
  .methode-v__plus { display: none; }
  .methode-v__ligne { margin: 0; }
}
@media (max-width: 759.98px) {
  .methode-v .methode-v__image, .methode-v__points { display: none !important; }
  .engagements-v > li { flex: 1 1 calc(50% - 8px); min-width: 0; }
}
@media (max-width: 759.98px) {
  .engagements-v { gap: 8px; }
  .engagements-v > li { flex: 1 1 calc(50% - 4px); padding: 6px 12px 6px 6px; column-gap: 8px; }
  .engagements-v > li.engagements-v__marine { flex-basis: 100%; }
  .engagements-v__icone { width: 34px; height: 34px; }
  .engagements-v__icone > svg { width: 18px; height: 18px; }
  .engagements-v__titre { white-space: normal; font-size: 14px; line-height: 1.2; }
}

/* 36 bis. Les points sous une rangée qui glisse (js/site.js › raGlisse) : au téléphone seulement. */
.glisse-points { display: none; }
@media (max-width: 759.98px) {
  .glisse-points { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .glisse-points > i { width: 6px; height: 6px; border-radius: 6px; background: var(--ligne-2, #C9D2E3); transition: width 320ms var(--ressort), background-color 200ms; }
  .glisse-points > i.est-actif { width: 20px; background: var(--cyan); }
  :is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) .glisse-points > i { background: rgb(255 255 255 / .28); }
  :is(.nuit, .section--nuit, .musee-salle:not(.musee-salle--jour)) .glisse-points > i.est-actif { background: var(--cyan); }
}

/* 37. v21.6 · L'en-tête qui s'efface (téléphone) : on descend, il glisse hors de l'écran et rend sa hauteur à la page ;
   on remonte, il revient (js/site.js §4 : .tete.est-cache, html.a-tete-cachee). Le fil du plan monte avec lui, les
   têtes collantes aussi. En transform : il se compose avec le translate du moment du téléphone (accueil.css). */
@media (max-width: 759.98px) {
  .tete { transition: transform 360ms cubic-bezier(.2, .8, .2, 1), box-shadow var(--t-st) var(--ease); }
  .tete.est-cache { transform: translate3d(0, calc(-100% - 2px), 0); box-shadow: none; }
  .plan-musee { transition: opacity 400ms var(--ease), transform 360ms cubic-bezier(.2, .8, .2, 1), visibility 0s linear 400ms; }
  html.a-tete-cachee .plan-musee.est-visible { transform: translate3d(0, calc(-1 * var(--tete-h)), 0); }
  .sv-chap__tete { top: calc(var(--tete-h) + var(--plan-h)); transition: top 360ms cubic-bezier(.2, .8, .2, 1); }
  html.a-tete-cachee .sv-chap__tete { top: var(--plan-h); }
}
@media (max-width: 759.98px) and (prefers-reduced-motion: reduce) {
  .tete, .sv-chap__tete { transition: none; }
}

/* 38. v21.6 · Au doigt, ce qu'on touche répond : les grandes cibles (les écrans des pubs, l'affiche, les services de
   l'index, les salles des Réalisations) s'enfoncent d'un rien sous le doigt, comme dans une application. */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .pub__ecran { transition: box-shadow var(--t-st) var(--ease), translate var(--t-st) var(--ease), scale 180ms var(--ease); }
  :is(.ac-affiche__ecran, .ac-index__service, .pf-salles__lien) { transition: scale 180ms var(--ease); }
  :is(.pub__ecran, .ac-affiche__ecran, .ac-index__service, .pf-salles__lien) { -webkit-tap-highlight-color: transparent; }
  :is(.pub__ecran, .ac-affiche__ecran):active { scale: .975; }
  :is(.ac-index__service, .pf-salles__lien):active { scale: .985; }
}

/* 39. (v23 : retiré) v21.7 donnait tout l'écran aux salles figées ; en v23, plus rien ne se fige. */

/* 40. v21.7 · Moins chargé au téléphone (« une impression que c'est trop chargé ») : sous 760 px, ce qui redit ce que l'écran
   dit déjà s'efface. Rien de ce qui renseigne ne part : les chiffres et leur source, « Exemple », Réel / Concept.
   (!important : les feuilles des pages, chargées après, posent leur propre display.) */
@media (max-width: 759.98px) {
  :is(.ac-index, .sv-svc__actions) .etiquette[data-chhal] { display: none !important; }   /* la barre du pouce dit déjà « Chhal ? » */
  .pj__tags { display: none !important; }                      /* les projets : l'état et la ligne disent déjà ce que c'est */
  .ac-barres { display: none !important; }                     /* héros, Boutique Meuble : les barres redisent « 180 → 430 DH » */
  :root .sv-svc__livrables { display: none !important; }   /* :root : services.css force aussi display (flex !important) */             /* l'index des services : les livrables sont sur chaque page */
  :is(.ag-ariane, .ct-ariane) { display: none !important; }    /* le fil d'Ariane : le logo ramène à l'accueil */
  :is(.rs-socle__reflet, .rs-socle__pierre) { display: none !important; }   /* résultats : le décor du socle */
  .sv-pause--pub { display: none !important; }                 /* la pause et sa deuxième pub : le héros en joue déjà une */
}

/* 41. v22 · Les finitions (« carte blanche », 17/11 : la revue PC et téléphone). */

/* 41.1 Les engagements, une planche d'autocollants (la famille de « Made in Casa ») : fond glace, découpe blanche, petites
   inclinaisons ; au survol, l'autocollant se redresse. Le dernier (« Aucun résultat garanti ») reste marine. Les salles
   de nuit gardent leur version (règle plus précise, § 35). */
.engagements-v > li {
  background: var(--glace); box-shadow: 0 0 0 3px #fff, 0 10px 22px -14px rgb(13 32 63 / .45); rotate: -1.2deg;
  transition: transform 260ms var(--ressort), rotate 260ms var(--ressort), background-color var(--t-etat) var(--ease), box-shadow var(--t-etat);
}
.engagements-v > li:nth-child(2) { rotate: 1deg; }
.engagements-v > li:nth-child(3) { rotate: -.5deg; }
.engagements-v > li:nth-child(4) { rotate: 1.4deg; }
.engagements-v > li.engagements-v__marine { rotate: -1deg; background: var(--encre); box-shadow: 0 0 0 3px #fff, 0 12px 24px -14px rgb(13 32 63 / .6); }
html.js .engagements-v > li:is(:hover, :focus-visible, .est-ouvert) { rotate: 0deg; }

/* 41.2 La barre du pouce, de nuit (js/site.js : .est-nuit sur une salle de nuit ou le pied) : marine, sans flou. */
@media (max-width: 759px) {
  .barre-mobile { transition: translate var(--t-st) var(--ease), background-color 240ms var(--ease), box-shadow 240ms var(--ease); }
  .barre-mobile.est-nuit { background: rgb(9 22 44 / .96); box-shadow: 0 -1px 0 rgb(128 242 255 / .14), 0 -16px 32px -20px rgb(0 0 0 / .6); }
  .barre-mobile.est-nuit .barre-mobile__tel { background: rgb(255 255 255 / .06); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
}

/* 41.3 La signature du pied finit sur le geste qui ouvre le site : « Vous vendez. » au surligneur (.st). */
.pied__devise .st { color: var(--encre); }

/* 41.4 Résultats : « pas promis » — un trait de feutre barre « promis », tracé à la main après l'arrivée du titre. */
.biffe > .trait { top: 52%; bottom: auto; height: .2em; translate: 0 -50%; --trait-delai: 900ms; }
/* un feutre : le cœur cyan se voit sur les lettres marine, le bord marine sur le papier */
/* (deux tracés en ligne, sans vector-effect : étiré sur le mot, le symbole « non-scaling » répétait son pointillé) */
.biffe > .trait > path:first-child { stroke: var(--encre); stroke-width: 5.4; }
.biffe > .trait > path:last-child { stroke: var(--cyan); stroke-width: 3; }
/* Le soulignement à la main, étiré sur une longue phrase : son tracé « non-scaling » ne couvrait qu'une partie du trait (le
   pointillé 1/1 se répétait, ex. « Ce n'est pas un bénéfice » sur Résultats). Un tiret de 3 couvre jusqu'à trois fois la
   longueur ; le trait se dessine toujours de gauche à droite. */
html.js .souligne > .trait { stroke-dasharray: 3; stroke-dashoffset: 3; }
html.js .souligne > .trait.est-vu, html.js .est-vu .souligne > .trait { stroke-dashoffset: 0; }

/* ============================================================ 42. v23 · La méthode : la comète (17/11)
   Quand les quatre temps arrivent (.est-vu), une fois le trait tracé, une lueur cyan le parcourt de 01 à 04 et chaque
   numéro s'avance d'un cran à son passage : on lit l'ordre du travail. Une seule fois ; ordinateur seulement (au
   téléphone, les temps ne sont pas sur une ligne). Transform et opacity. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .methode-v { container-type: inline-size; }
  .methode-v::after {
    content: ""; position: absolute; z-index: 0; left: 0; top: calc(var(--mv-img-h, 0px) + 14px - 9px); width: 110px; height: 18px;
    border-radius: 50%; pointer-events: none; opacity: 0;
    background: radial-gradient(closest-side, #fff, rgb(128 242 255 / .9) 30%, rgb(128 242 255 / .25) 62%, transparent);
  }
  html.js .methode-v.est-vu::after { animation: mv-comete 1700ms cubic-bezier(.35, .1, .65, .9) 950ms backwards; }   /* backwards : la lueur finie revient à sa place (à gauche, éteinte), elle ne laisse rien hors du trait */
  html.js .methode-v.est-vu .methode-v__num { animation: mv-num 620ms cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(1000ms + (var(--i, 1) - 1) * 425ms); }
}
@keyframes mv-comete {
  0% { opacity: 0; transform: translate3d(-40px, 0, 0) scaleX(.6); }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(calc(100cqw - 110px), 0, 0) scaleX(1); }   /* la lueur (110 px) finit au bout du trait, pas au-delà */
}
@keyframes mv-num { 0%, 100% { transform: none; } 45% { transform: translate3d(0, -3px, 0) scale(1.16); } }

/* ============================================================ 43. v23 · La conversation écrit (17/11)
   site.js (§ 11, frappe) : quand la conversation arrive à l'écran, trois points sautillent à la place de la première bulle
   (1,3 s), puis la bulle se pose et les pastilles arrivent une à une. Une fois. Transform et opacity. */
.conversation__frappe {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 13px 14px;
  border-radius: 0 9px 9px 9px; background: #fff; box-shadow: 0 1px .5px rgb(11 20 26 / .13); pointer-events: none;
  opacity: 0; transform: scale(.7); transform-origin: 0 0; transition: opacity 180ms linear, transform 320ms cubic-bezier(.3, 1.5, .5, 1);
}
.conversation__frappe.est-active { opacity: 1; transform: none; }
.conversation__frappe > i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: conv-point 900ms ease-in-out infinite; }
.conversation__frappe > i:nth-child(2) { animation-delay: 150ms; }
.conversation__frappe > i:nth-child(3) { animation-delay: 300ms; }
@keyframes conv-point { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translate3d(0, -4px, 0); opacity: 1; } }
.conversation.a-frappe [data-frappe] { transform-origin: 0 0; transition: opacity 200ms linear, transform 420ms cubic-bezier(.3, 1.5, .5, 1); }
.conversation.a-frappe:not(.est-ecrite) [data-frappe] { opacity: 0; transform: scale(.85); }
.conversation.a-frappe:not(.est-ecrite) [data-choix="activite"] { pointer-events: none; }
.conversation.a-frappe:not(.est-ecrite) [data-choix="activite"] > * { opacity: 0; transform: translate3d(0, 8px, 0); }
.conversation.a-frappe [data-choix="activite"] > * { transition: opacity 260ms linear, transform 420ms cubic-bezier(.3, 1.4, .5, 1); }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(1) { transition-delay: 260ms; }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(2) { transition-delay: 310ms; }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(3) { transition-delay: 360ms; }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(4) { transition-delay: 410ms; }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(5) { transition-delay: 460ms; }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(6) { transition-delay: 510ms; }
.conversation.a-frappe.est-ecrite [data-choix="activite"] > :nth-child(n + 7) { transition-delay: 560ms; }

/* ============================================================ 44. v23 · La signature géante (17/11)
   « Reach Adz » sur toute la largeur, au ras du bas de page, coupé par le bord : le nom qu'on emporte. L'encre de la
   nuit, à peine plus claire que le fond, qui s'éteint vers le bas ; quand il arrive (.est-vu), une lueur cyan le
   traverse une fois. Décoratif (aria-hidden) : le lien de l'accueil reste « Reach Adz » en haut du pied. */
.pied { overflow: clip; }
.pied__geant {
  margin: clamp(30px, 4vw, 60px) 0 -.24em; padding: 0; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 800 clamp(72px, 20.5vw, 360px)/.82 var(--titre); letter-spacing: -.065em;
  background:
    linear-gradient(100deg, transparent 38%, rgb(128 242 255 / .55) 50%, transparent 62%) -200% 0 / 220% 100% no-repeat,
    linear-gradient(180deg, rgb(255 255 255 / .17) 0%, rgb(160 200 255 / .09) 42%, rgb(255 255 255 / 0) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  html.js .pied__geant.est-vu { animation: pied-lueur 2600ms cubic-bezier(.4, 0, .2, 1) 250ms 1 both; }
}
@keyframes pied-lueur { from { background-position: -200% 0, 0 0; } to { background-position: 300% 0, 0 0; } }
@media (max-width: 759.98px) { .pied__geant { margin-top: 26px; font-size: 22vw; } }
/* au téléphone, la signature descend jusqu'au bord : elle passe sous la barre du pouce (décorative), et la ligne du
   copyright garde sa place au-dessus de la barre */
@media (max-width: 1023.98px) { .pied:has(.pied__geant) { padding-bottom: 0; } .pied__geant { margin-bottom: -.2em; padding-top: 6px; } }

/* ============================================================ 45. v23 · Le fil de lecture (17/11)
   Un filet cyan sous l'en-tête, qui avance avec la lecture de la page (animation-timeline: scroll(root), sans script ;
   composité). Là où le navigateur ne sait pas lier une animation au défilement : rien. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .tete::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
      background: linear-gradient(90deg, rgb(128 242 255 / .2), var(--cyan) 70%, #C9FBFF);
      box-shadow: 0 0 10px rgb(128 242 255 / .6);
      transform-origin: 0 50%; transform: scaleX(0);
      animation: tete-fil linear both; animation-timeline: scroll(root block);
    }
  }
}
@keyframes tete-fil { to { transform: scaleX(1); } }

/* ============================================================ 46. v23.2 · La méthode, étape 04 : le compte rendu (.mv-cr)
   Venu de css/stories21.css § 6 : le composant de la méthode est commun, son dessin doit l'être aussi (l'accueil ne charge
   plus les Stories). Exemple, sans chiffre. */
.mv-cr { display: grid; place-items: center; padding: 10%; background: linear-gradient(160deg, #E9F0FC, #F7FAFF 60%, #DDF8FC); overflow: hidden; }
.mv-cr__feuille {
  position: relative; display: grid; align-content: start; gap: 7%; width: 86%; height: 92%; padding: 9% 9% 8%; border-radius: 10px; background: #fff;
  box-shadow: 0 1px 2px rgb(13 32 63 / .08), 0 22px 40px -20px rgb(13 32 63 / .45); transform: rotate(-2.5deg); container-type: inline-size;
}
.mv-cr__feuille::before { content: ""; position: absolute; inset: 6px -6px -6px 6px; z-index: -1; border-radius: 10px; background: #fff; box-shadow: 0 10px 24px -14px rgb(13 32 63 / .4); transform: rotate(4deg); }
.mv-cr__titre { display: grid; gap: 4px; padding-bottom: 6%; border-bottom: 1.5px solid rgb(13 32 63 / .1); }
.mv-cr__titre b { font: 850 max(13px, 10cqi)/1.05 var(--titre); letter-spacing: -.02em; color: var(--encre, #0D203F); }
.mv-cr__titre span { width: 46%; height: 5px; border-radius: 4px; background: rgb(13 32 63 / .12); }
.mv-cr__rub { display: grid; gap: 6px; }
.mv-cr__rub > b { display: inline-flex; align-items: center; gap: 6px; font: 750 max(11px, 7cqi)/1.1 var(--titre); color: var(--encre, #0D203F); }
.mv-cr__rub > b::before { content: ""; flex: none; width: .7em; height: .7em; border-radius: 3px; background: var(--cyan, #80F2FF); box-shadow: inset 0 0 0 1.5px var(--encre, #0D203F); }
.mv-cr__rub > i { display: block; height: 5px; border-radius: 4px; background: rgb(13 32 63 / .14); filter: blur(1.2px); transform-origin: 0 50%; }
.mv-cr__rub > i:nth-of-type(2) { width: 78%; }
.mv-cr__rub > i:nth-of-type(3) { width: 56%; }
.mv-cr__rub--chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; column-gap: 8%; }
.mv-cr__rub--chiffres > b { grid-column: 1 / -1; }
.mv-cr__rub--chiffres > i { height: auto; aspect-ratio: 1 / 1.4; width: auto !important; border-radius: 4px; background: rgb(13 32 63 / .12); filter: blur(1.5px); transform-origin: 50% 100%; }
.mv-cr__rub--chiffres > i:nth-of-type(2) { aspect-ratio: 1 / 2; background: rgb(29 74 147 / .3); }
.mv-cr__rub--chiffres > i:nth-of-type(3) { aspect-ratio: 1 / 1.7; background: rgb(128 242 255 / .9); }
@media (prefers-reduced-motion: no-preference) {
  html.js .mv-cr .mv-cr__rub > i { transform: scaleX(.2); opacity: .4; transition: transform 800ms var(--st-ressort, cubic-bezier(.22, 1.2, .36, 1)), opacity 400ms ease; }
  html.js .mv-cr .mv-cr__rub--chiffres > i { transform: scaleY(.15); }
  html.js .mv-cr.est-vu .mv-cr__rub > i { transform: none; opacity: 1; }
  html.js .mv-cr.est-vu .mv-cr__rub:nth-of-type(2) > i { transition-delay: 160ms; }
  html.js .mv-cr.est-vu .mv-cr__rub:nth-of-type(3) > i { transition-delay: 320ms; }
  html.js .mv-cr.est-vu .mv-cr__rub > i:nth-of-type(2) { transition-delay: calc(var(--d, 0ms) + 80ms); }
  html.js .mv-cr .mv-cr__feuille { transition: transform 900ms var(--st-ressort, cubic-bezier(.22, 1.2, .36, 1)); transform: rotate(2deg) translate3d(0, 8%, 0); }
  html.js .mv-cr.est-vu .mv-cr__feuille { transform: rotate(-2.5deg); }
}

/* ============================================================ 47. v23.2 · Les propositions des équipes (dressage)
   (1) Sur la nuit, le mot surligné (.st) restait marine sur marine tant que sa boîte cyan n'était pas dessinée : il est
   cyan, puis marine quand la boîte le couvre. (2) Au téléphone, les sept pastilles de la conversation prenaient cinq
   rangées : un peu plus serrées, elles en prennent quatre (≈ 50 px de moins sur chaque page qui a la conversation). */
@media (prefers-reduced-motion: no-preference) {
  html.js :is(.nuit, .section--nuit) .st { color: var(--cyan); transition: background-size var(--t-st) var(--ease) 80ms, color 0s linear 260ms; }
  html.js :is(.nuit, .section--nuit) .est-vu .st, html.js :is(.nuit, .section--nuit) .st.est-vu, html.js .est-vu:is(.nuit, .section--nuit) .st { color: var(--encre); }
}
@media (max-width: 759.98px) {
  .conversation__choix { gap: 7px 6px; margin-inline: 12px; }
  .conversation__choix .puce { padding-inline: 12px; font-size: 14.5px; }
}

/* v23.3 (Ayoub, 21/11) · « Aucun résultat garanti » part de tout le site. Le dernier autocollant des engagements était
   marine pour lui : ce style passe à une classe (.engagements-v__marine) que plus aucun autocollant ne porte. */
