/* ── Pictogrammes animés (feuille partagée, public/css/pictograms.css) ────────
   Dessins en aplats d'encre (cadre 48 × 48) : encarts de services de
   l'Observatoire, du Consulting et de Muse Companion, ainsi que les en-têtes
   de l'Observatoire et de Muse Companion, où un pictogramme grand format
   remplace une photographie (modèle des pages Services).
   Au repos, le dessin est complet. Dès qu'il entre dans l'écran,
   public/js/pictograms.js pose `.is-live` : une séquence de quelques secondes
   joue aussitôt, revient au repos, puis reprend toutes les 28 à 36 s. Départs
   décalés et cycles de durées différentes : deux dessins d'une même page ne
   bougent jamais ensemble. Hors de l'écran, `.is-live` est retiré et plus rien ne
   tourne. Règles et aperçu : composant Pictogramme de la charte. */
.obs-pico { display: block; flex: none; width: 56px; height: 56px; margin: 0 0 20px; color: var(--obs-ink, var(--ink, #1a1a1a)); fill: currentColor; overflow: visible; }
.obs-pico * { transform-box: fill-box; transform-origin: center; }
.obs-pico { --pico-hole: var(--obs-paper-2, var(--paper-2, #e9e8e2)); } /* couleur du fond, pour les yeux « troués » */
.obs-pico .frame, .obs-pico .roof { fill: none; stroke: currentColor; stroke-linejoin: round; }
.obs-pico .frame { stroke-width: 3.6; }
.obs-pico .roof { stroke-width: 3.2; }
.obs-pico .bot * { stroke: var(--pico-hole); stroke-width: 1.6; paint-order: stroke fill; stroke-linejoin: round; } /* halo : le robot se détache des piliers */
.obs-pico .bot .eye { fill: var(--pico-hole); stroke: none; }
.obs-pico .bot .streak { stroke: none; opacity: 0; transform-origin: 100% 50%; }
.obs-pico .tick line { stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }
.obs-pico .l { transform-origin: 0 50%; }
.obs-pico .col { transform-origin: 50% 100%; }

/* Charte : un document dans son carré fermé, tapé à la machine. Les lignes
   apparaissent de gauche à droite, un cran par caractère, derrière un curseur ;
   elles restent lisibles, puis s'effacent ensemble. Au repos, le texte est complet. */
.obs-pico--charter.is-live .l1 { animation: pico-w1 28s linear .4s infinite backwards; }
.obs-pico--charter.is-live .l2 { animation: pico-w2 28s linear .4s infinite backwards; }
.obs-pico--charter.is-live .l3 { animation: pico-w3 28s linear .4s infinite backwards; }
.obs-pico--charter.is-live .l4 { animation: pico-w4 28s linear .4s infinite backwards; }
.obs-pico--charter.is-live .l5 { animation: pico-w5 28s linear .4s infinite backwards; }
.obs-pico--charter.is-live .l6 { animation: pico-w6 28s linear .4s infinite backwards; }
.obs-pico .cur { transform: translate(14.6px, 23.0px); }
.obs-pico--charter.is-live .cur { animation: pico-cur 28s step-end .4s infinite backwards; }
@keyframes pico-w1 { 0% { transform: scaleX(0); animation-timing-function: steps(4, end); } 1% { transform: scaleX(1); animation-timing-function: linear; } 88% { transform: scaleX(1); opacity: 1; } 93%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pico-w2 { 0% { transform: scaleX(0); } 1.43% { transform: scaleX(0); animation-timing-function: steps(8, end); } 3.43% { transform: scaleX(1); animation-timing-function: linear; } 88% { transform: scaleX(1); opacity: 1; } 93%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pico-w3 { 0% { transform: scaleX(0); } 3.86% { transform: scaleX(0); animation-timing-function: steps(7, end); } 5.61% { transform: scaleX(1); animation-timing-function: linear; } 88% { transform: scaleX(1); opacity: 1; } 93%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pico-w4 { 0% { transform: scaleX(0); } 6.04% { transform: scaleX(0); animation-timing-function: steps(8, end); } 8.04% { transform: scaleX(1); animation-timing-function: linear; } 88% { transform: scaleX(1); opacity: 1; } 93%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pico-w5 { 0% { transform: scaleX(0); } 8.46% { transform: scaleX(0); animation-timing-function: steps(6, end); } 9.96% { transform: scaleX(1); animation-timing-function: linear; } 88% { transform: scaleX(1); opacity: 1; } 93%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pico-w6 { 0% { transform: scaleX(0); } 10.39% { transform: scaleX(0); animation-timing-function: steps(5, end); } 11.64% { transform: scaleX(1); animation-timing-function: linear; } 88% { transform: scaleX(1); opacity: 1; } 93%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pico-cur { 0% { transform: translate(0.6px, 0.0px); opacity: 1; } 0.25% { transform: translate(3.6px, 0.0px); } 0.5% { transform: translate(6.6px, 0.0px); } 0.75% { transform: translate(9.6px, 0.0px); } 1% { transform: translate(12.6px, 0.0px); } 1.43% { transform: translate(0.6px, 4.6px); } 1.68% { transform: translate(3.7px, 4.6px); } 1.93% { transform: translate(6.8px, 4.6px); } 2.18% { transform: translate(10.0px, 4.6px); } 2.43% { transform: translate(13.1px, 4.6px); } 2.68% { transform: translate(16.2px, 4.6px); } 2.93% { transform: translate(19.4px, 4.6px); } 3.18% { transform: translate(22.5px, 4.6px); } 3.43% { transform: translate(25.6px, 4.6px); } 3.86% { transform: translate(0.6px, 9.2px); } 4.11% { transform: translate(3.7px, 9.2px); } 4.36% { transform: translate(6.9px, 9.2px); } 4.61% { transform: translate(10.0px, 9.2px); } 4.86% { transform: translate(13.2px, 9.2px); } 5.11% { transform: translate(16.3px, 9.2px); } 5.36% { transform: translate(19.5px, 9.2px); } 5.61% { transform: translate(22.6px, 9.2px); } 6.04% { transform: translate(0.6px, 13.8px); } 6.29% { transform: translate(3.7px, 13.8px); } 6.54% { transform: translate(6.8px, 13.8px); } 6.79% { transform: translate(10.0px, 13.8px); } 7.04% { transform: translate(13.1px, 13.8px); } 7.29% { transform: translate(16.2px, 13.8px); } 7.54% { transform: translate(19.4px, 13.8px); } 7.79% { transform: translate(22.5px, 13.8px); } 8.04% { transform: translate(25.6px, 13.8px); } 8.46% { transform: translate(0.6px, 18.4px); } 8.71% { transform: translate(3.9px, 18.4px); } 8.96% { transform: translate(7.3px, 18.4px); } 9.21% { transform: translate(10.6px, 18.4px); } 9.46% { transform: translate(13.9px, 18.4px); } 9.71% { transform: translate(17.3px, 18.4px); } 9.96% { transform: translate(20.6px, 18.4px); } 10.39% { transform: translate(0.6px, 23.0px); } 10.64% { transform: translate(3.4px, 23.0px); } 10.89% { transform: translate(6.2px, 23.0px); } 11.14% { transform: translate(9.0px, 23.0px); } 11.39% { transform: translate(11.8px, 23.0px); } 11.64% { transform: translate(14.6px, 23.0px); } 88% { transform: translate(14.6px, 23.0px); opacity: 1; } 90.5%, 100% { transform: translate(14.6px, 23.0px); opacity: 0; } }

/* Academy : un temple à cinq piliers, la culture, où un petit robot, l'IA, arrive.
   Les piliers s'allument de gauche à droite ; pendant que le dernier s'éteint, le
   robot file de l'extérieur jusqu'au centre en un tiers de seconde, en laissant deux
   traînées. Au moment où il arrive, le pilier central disparaît et lui cède la place ;
   l'antenne s'illumine, un clignement. Il n'en repart pas : en fin de cycle il s'efface
   sur place et le pilier revient. Au repos, le robot est dans la travée centrale et le
   pilier central n'est pas là. */
.obs-pico--academy.is-live .col { animation: pico-light 34s ease-in-out 1.6s infinite; }
.obs-pico--academy.is-live .c2 { animation-delay: 2.05s; }
.obs-pico--academy .c3 { opacity: 0; transform: scaleY(0); } /* au repos, le robot a pris sa place */
.obs-pico--academy.is-live .c3 { animation: pico-c3 34s ease-in-out 1.6s infinite backwards; }
.obs-pico--academy.is-live .c4 { animation-delay: 2.95s; }
.obs-pico--academy.is-live .c5 { animation-delay: 3.4s; }
.obs-pico--academy.is-live .bot { animation: pico-bot 34s linear 1.6s infinite backwards; }
.obs-pico--academy.is-live .streak { animation: pico-streak 34s ease-out 1.6s infinite; }
.obs-pico--academy.is-live .ant { animation: pico-ant 34s ease-in-out 1.6s infinite; }
.obs-pico--academy.is-live .eye { animation: pico-blink 34s ease-in-out 1.6s infinite; }
@keyframes pico-light { 0%, 7%, 100% { transform: scaleY(1); opacity: 1; } 3.5% { transform: scaleY(.85); opacity: .25; } }
@keyframes pico-c3 { 0%, 2.65% { transform: scaleY(1); opacity: 1; } 6.2% { transform: scaleY(.85); opacity: .25; } 9.7% { transform: scaleY(1); opacity: 1; } 10.1% { transform: scaleY(1); opacity: 1; animation-timing-function: ease-in; } 11.3%, 97.5% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }
@keyframes pico-bot { 0%, 9.26% { transform: translate(-22px, 0); opacity: 0; } 9.56% { transform: translate(-22px, 0); opacity: 1; animation-timing-function: cubic-bezier(.2, .7, .3, 1); } 10.44% { transform: translate(0, 0); opacity: 1; } 11.03% { transform: translate(.9px, 0); opacity: 1; animation-timing-function: ease-in-out; } 11.62%, 95.5% { transform: translate(0, 0); opacity: 1; } 97.5%, 100% { transform: translate(0, 0); opacity: 0; } }
@keyframes pico-streak { 0%, 9.56% { opacity: 0; transform: scaleX(0); } 9.91% { opacity: .9; transform: scaleX(1); } 11.47%, 100% { opacity: 0; transform: scaleX(1); } }
@keyframes pico-ant { 0%, 14%, 100% { transform: scale(1); } 16.5% { transform: scale(1.7); } 20% { transform: scale(1); } }
@keyframes pico-blink { 0%, 23.5%, 25%, 100% { transform: scaleY(1); } 24% { transform: scaleY(.1); } }

/* Accompagnement : de la désorientation à l'orientation. L'aiguille part en
   tournoiement rapide, ralentit, dépasse un peu le Nord, puis s'y pose ; le
   repère du Nord s'allonge un instant. Au repos, l'aiguille indique le Nord. */
.obs-pico--consulting.is-live .needle { animation: pico-needle 30s linear 2.8s infinite; }
.obs-pico--consulting.is-live .tick .n { animation: pico-north 30s ease-in-out 2.8s infinite; }
@keyframes pico-needle {
  0% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.55, 0, .85, .55); }
  1.8% { transform: rotate(120deg); animation-timing-function: cubic-bezier(.2, .6, .3, 1); }
  12% { transform: rotate(727deg); animation-timing-function: ease-in-out; }
  15% { transform: rotate(716deg); animation-timing-function: ease-in-out; }
  18%, 100% { transform: rotate(720deg); }
}
@keyframes pico-north { 0%, 17%, 28%, 100% { transform: scaleY(1); } 22% { transform: scaleY(1.5); } }

/* Consulting : une feuille de route, avec trois jalons puis une coche. Ce signe
   accompagne un parcours sur mesure ; il reste distinct de la boussole de
   l'en-tête et du globe de l'Observatoire. Le cycle court est rejoué au survol
   de la carte entière par pictograms.js. */
.obs-pico--consulting-roadmap .frame { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.obs-pico--consulting-roadmap .route { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.obs-pico--consulting-roadmap .milestone { fill: var(--pico-hole); stroke: currentColor; stroke-width: 1.5; }
.obs-pico--consulting-roadmap .check { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.obs-pico--consulting-roadmap.is-live .milestone,
.obs-pico--consulting-roadmap.is-live .route-line { animation: pico-roadmap-step 8s ease-out infinite backwards; }
.obs-pico--consulting-roadmap.is-live .m2,
.obs-pico--consulting-roadmap.is-live .l2 { animation-delay: .8s; }
.obs-pico--consulting-roadmap.is-live .m3,
.obs-pico--consulting-roadmap.is-live .l3 { animation-delay: 1.6s; }
.obs-pico--consulting-roadmap.is-live .check { animation: pico-roadmap-check 8s ease-out 2.4s infinite backwards; }
@keyframes pico-roadmap-step {
  0%, 7% { opacity: 0; transform: scale(.55); }
  12%, 86% { opacity: 1; transform: scale(1); }
  92%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes pico-roadmap-check {
  0%, 8% { opacity: 0; stroke-dashoffset: 100; }
  18%, 86% { opacity: 1; stroke-dashoffset: 0; }
  92%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

.obs-pico--observatory .rim { fill: none; stroke: currentColor; stroke-width: .7; opacity: .3; }
.obs-pico--observatory .land { opacity: .6; }
.obs-pico--observatory .links { fill: none; stroke: currentColor; stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: .7; }
.obs-pico--observatory .ring { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; }

/* Observatoire : un globe fait de points, comme une carte en trames. Les cas documentés
   s'allument un à un, chacun lançant un anneau qui s'élargit, pendant qu'un fin
   trait les relie en réseau, du premier au dernier. En fin de cycle, le réseau
   s'estompe et les cas se rendorment. Au repos, les cas sont allumés et reliés. */
.obs-pico--observatory.is-live .case { animation: pico-case 32s ease-in-out 1s infinite backwards; }
.obs-pico--observatory.is-live .ring { animation: pico-ring 32s ease-out 1s infinite backwards; }
.obs-pico--observatory.is-live .links { animation: pico-links 32s linear 1.4s infinite backwards; }
.obs-pico--observatory.is-live .k1 { animation-delay: 1.40s; }
.obs-pico--observatory.is-live .k2 { animation-delay: 1.92s; }
.obs-pico--observatory.is-live .k3 { animation-delay: 2.23s; }
.obs-pico--observatory.is-live .k4 { animation-delay: 2.74s; }
.obs-pico--observatory.is-live .k5 { animation-delay: 3.18s; }
.obs-pico--observatory.is-live .k6 { animation-delay: 3.62s; }
.obs-pico--observatory.is-live .k7 { animation-delay: 3.95s; }
.obs-pico--observatory.is-live .k8 { animation-delay: 4.80s; }
@keyframes pico-case { 0%, .5% { transform: scale(.45); opacity: .5; } 2.4% { transform: scale(1.5); opacity: 1; } 4% { transform: scale(1); opacity: 1; } 94% { transform: scale(1); opacity: 1; } 97%, 100% { transform: scale(.45); opacity: .5; } }
@keyframes pico-ring { 0%, .5% { transform: scale(1); opacity: 0; } 1% { transform: scale(1); opacity: .9; } 5% { transform: scale(3.4); opacity: 0; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes pico-links { 0% { stroke-dashoffset: 100; opacity: .7; } 10.62% { stroke-dashoffset: 0; opacity: .7; } 94% { stroke-dashoffset: 0; opacity: .7; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }

.obs-pico--muse .frame2 { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.obs-pico--muse .ahill { transform-origin: 50% 100%; }
.obs-pico--muse .hand * { stroke: var(--pico-hole); stroke-width: 1.3; paint-order: stroke fill; stroke-linejoin: round; } /* contour clair : la main et le téléphone se détachent de l'œuvre */
.obs-pico--muse .hand .screen { fill: var(--pico-hole); stroke: none; }
.obs-pico--muse .hand .pspark, .obs-pico--muse .hand .pdot { stroke: none; }
.obs-pico--muse .hand { transform-box: view-box; transform-origin: 31px 47px; }

/* Muse Companion : la main d'un visiteur tient son téléphone devant une œuvre. Le dessin est
   complet d'emblée et ne bouge pas ; seul l'écran vit (cycle de 16 s) : une étincelle qui
   scintille et tourne, trois points qui ondulent, un éclat sur le soleil du tableau.
   L'écran n'est jamais vide. */
.obs-pico--muse.is-live .asun { animation: pico-ph-sun 16s ease-in-out .3s infinite backwards; }
.obs-pico--muse.is-live .pspark { animation: pico-ph-spark 16s ease-in-out .3s infinite backwards; }
.obs-pico--muse.is-live .pdot { animation: pico-ph-dot 16s ease-in-out .3s infinite backwards; }
.obs-pico--muse.is-live .pd2 { animation-delay: .5s; }
.obs-pico--muse.is-live .pd3 { animation-delay: .7s; }
@keyframes pico-ph-spark { 0%, 26%, 33.76%, 100% { transform: scale(1) rotate(0deg); } 4.4% { transform: scale(1.45) rotate(45deg); } 8.75% { transform: scale(1) rotate(90deg); } 8.76% { transform: scale(1) rotate(0deg); } 29.7% { transform: scale(1.3) rotate(45deg); } 33.75% { transform: scale(1) rotate(90deg); } }
@keyframes pico-ph-dot { 0%, 5%, 10.5%, 15.5%, 100% { transform: translateY(0) scale(1); } 2.5%, 8%, 13% { transform: translateY(-1.5px) scale(1.25); } }
@keyframes pico-ph-sun { 0%, 19.4%, 27%, 100% { transform: scale(1); } 22.5% { transform: scale(1.55); } }

/* Mouvement réduit : aucun déplacement, seulement un fondu lent du dessin. */
@media (prefers-reduced-motion: reduce) {
  .obs-pico.is-live * { animation: none !important; }
  .obs-pico.is-live { animation: pico-fade 30s ease-in-out 1s infinite; }
}
@keyframes pico-fade { 0%, 18%, 100% { opacity: 1; } 8% { opacity: .35; } }

/* Variante d'en-tête : le pictogramme à la place d'une photographie, sans cadre : il repose
   directement sur le papier de la page. L'emplacement (figure de la page :
   `.obs-landing-media--pico`, `.hed-media--pico`) garde seulement la place et le rapport de
   la photo ; le dessin s'y centre à 92 % de la hauteur. Les détails « troués » prennent donc
   la couleur du papier de la page, pas celle d'un fond d'encart. */
.obs-pico--hero { position: absolute; inset: 4% 0; width: auto; height: 92%; aspect-ratio: 1; margin: auto; --pico-hole: var(--obs-paper, var(--paper, #f4f3ef)); }
.obs-pico--hero.obs-pico--observatory .rim, .obs-pico--hero.obs-pico--observatory .links { stroke-width: .45; }
.hed-media.hed-media--pico { position: relative; border: 0; background: none; overflow: visible; }
/* Bandeau de rubrique (page de présentation des Services) : même variante, mais le fond est
   `paper-2` ; le cadre perd son filet et son recadrage, les pleins « troués » prennent le fond du bandeau. */
.hero-sec-media.hero-sec-media--pico { position: relative; border: 0; background: none; overflow: visible; }
.hero-sec-media--pico .obs-pico--hero { --pico-hole: var(--paper-2, #e9e8e2); }
