/* Powered By MstatE Technologies
   Feuille de style du site public — direction « Signature MstatE » (13/11/2026),
   qui remplace « Réseau vivant » (17/08). Chaque effet vient de la charte : les
   13 arcs, la chaîne moléculaire en S, les bouts pleins ou creux.

   Deux thèmes, clair par défaut, portés par un attribut data-theme posé côté
   serveur d'après un cookie : le HTML arrive déjà dans le bon thème, donc pas de
   clignotement au chargement.

   Organisation : jetons, base, utilitaires, puis un bloc par composant dans
   l'ordre où il apparaît dans la page. Aucune couleur n'est écrite ailleurs que
   dans la déclaration des variables. */

/* ═══════════════════════════════════════════════════════════════════════════
   1. JETONS
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Charte MstatE (dossier AiiR rev01) : corail, prune, bleu complémentaire.
     Les variantes claires et sombres existent parce qu'une même couleur ne tient
     pas le rapport de contraste sur les deux fonds. */
  --principale-charte: #de524c;
  --prune-charte:      #736377;
  --bleu-charte:       #498fcd;

  /* Échelle typographique : cinq tailles dérivées d'un même rapport. */
  --t-geant: clamp(2.5rem, 1.3rem + 4.2vw, 4.5rem);
  --t1: clamp(1.9rem, 1.25rem + 2.8vw, 3.4rem);
  --t2: clamp(1.28rem, 1.06rem + 1vw, 1.78rem);
  --t3: clamp(1rem, .96rem + .2vw, 1.12rem);
  --t4: .86rem;     /* micro-libellés en casse normale depuis le 13/11 */

  /* Échelle d'espacements : six valeurs, rien entre les deux. */
  --e1: .5rem; --e2: 1rem; --e3: 1.75rem; --e4: 3rem;
  --e5: clamp(3.5rem, 2rem + 5vw, 6rem);
  --e6: clamp(5rem, 2.5rem + 8vw, 9rem);

  --largeur: 1280px;
  --largeur-article: 760px;
  --entete-hauteur: 76px;

  /* Signature MstatE (13/11) : la police de marque partout. Les titres en
     Raleway extra-gras, la voix humaine (citations, mot du fondateur) en Lora
     italique. Space Grotesk, choisi en août, est la police que les sites faits
     par IA prennent presque tous : MstatE veut un site qui ne ressemble qu'à lui. */
  --display: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --voix: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ── Thème clair (défaut) ─────────────────────────────────────────────────── */
:root, :root[data-theme="clair"] {
  --fond: #faf8f7;
  --fond-2: #ffffff;
  --surface: rgba(26, 21, 25, .035);
  --surface-survol: rgba(26, 21, 25, .05);
  --surface-2: linear-gradient(160deg, rgba(26, 21, 25, .045), rgba(26, 21, 25, .012));
  --bord: rgba(26, 21, 25, .13);
  --bord-vif: rgba(26, 21, 25, .28);
  --filet: rgba(26, 21, 25, .13);

  --encre: #161219;
  --gris-lecture: #544d52;
  --gris-libelle: #6b6266;

  --principale: #cf2d26;          /* corail assombri : tient 4,89:1 sur le fond */
  --principale-vive: #de524c;
  --principale-fonce: #b8332d;
  --accent: #2f6ea8;
  --prune: #736377;

  --entete-fond: rgba(250, 248, 247, .62);
  --entete-dense: rgba(250, 248, 247, .94);
  --entete-opaque: rgba(250, 248, 247, .98);
  --trame: rgba(26, 21, 25, .05);
  --piste: rgba(26, 21, 25, .07);
  --piste-index: rgba(26, 21, 25, .15);
  --arc-eteint: rgba(26, 21, 25, .10);
  --voile-1: rgba(250, 248, 247, .55);
  --voile-2: rgba(250, 248, 247, .96);
  --note-fond: rgba(250, 248, 247, .88);
  /* Voile de la bande : sombre sous le texte (moitie gauche), leger a droite pour
     que la photo se voie. Avant le 27/10 il couvrait tout a 82-94 % : aucune
     photo televersee ne ressortait. Mobile : voile uniforme, le texte y prend
     toute la largeur. */
  --voile-bande: linear-gradient(100deg, rgba(22, 18, 25, .86) 0%, rgba(22, 18, 25, .78) 42%, rgba(44, 36, 45, .42) 70%, rgba(22, 18, 25, .2) 100%);
  --voile-bande-mobile: rgba(22, 18, 25, .72);
  --halo-1: rgba(222, 82, 76, .16);
  --halo-2: rgba(73, 143, 205, .12);
  --halo-3: rgba(115, 99, 119, .10);
  --degrade-accent: linear-gradient(96deg, #cf2d26 10%, #d9542a 90%);
  --grain-opacite: .032;
  --grain-fusion: multiply;
}

/* ── Thème sombre ─────────────────────────────────────────────────────────── */
:root[data-theme="sombre"] {
  --fond: #0b0910;
  --fond-2: #12101a;
  --surface: rgba(255, 255, 255, .045);
  --surface-survol: rgba(255, 255, 255, .06);
  --surface-2: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  --bord: rgba(255, 255, 255, .10);
  --bord-vif: rgba(255, 255, 255, .22);
  --filet: rgba(255, 255, 255, .10);

  --encre: #f5f2f7;
  --gris-lecture: #c2bbc9;
  --gris-libelle: #9990a2;

  --principale: #ff6f66;          /* corail éclairci : tient 7,28:1 sur la nuit */
  --principale-vive: #de524c;
  --principale-fonce: #b8332d;
  --accent: #63b0f5;
  --prune: #a794ae;

  --entete-fond: rgba(11, 9, 16, .52);
  --entete-dense: rgba(11, 9, 16, .92);
  --entete-opaque: rgba(11, 9, 16, .97);
  --trame: rgba(255, 255, 255, .035);
  --piste: rgba(255, 255, 255, .07);
  --piste-index: rgba(255, 255, 255, .18);
  --arc-eteint: rgba(255, 255, 255, .10);
  --voile-1: rgba(11, 9, 16, .55);
  --voile-2: rgba(11, 9, 16, .95);
  --note-fond: rgba(11, 9, 16, .72);
  --voile-bande: linear-gradient(100deg, rgba(11, 9, 16, .88) 0%, rgba(11, 9, 16, .8) 42%, rgba(38, 31, 40, .48) 70%, rgba(11, 9, 16, .28) 100%);
  --voile-bande-mobile: rgba(11, 9, 16, .76);
  --halo-1: rgba(222, 82, 76, .22);
  --halo-2: rgba(73, 143, 205, .15);
  --halo-3: rgba(115, 99, 119, .18);
  --degrade-accent: linear-gradient(96deg, #ff6f66 10%, #ff9a6e 90%);
  --grain-opacite: .055;
  --grain-fusion: overlay;
}

/* ── La lumière du Sahel (13/11) ─────────────────────────────────────────────
   Le héros prend la teinte de l'heure locale du visiteur (data-moment, posé
   dans la mise en page) : aube dorée, midi blanc, crépuscule prune, nuit
   bleutée. Elle rappelle l'expertise solaire de l'entreprise et ne touche ni
   au texte ni au thème choisi : seuls le ciel du héros, son soleil et les
   couleurs du motif changent. Contrastes mesurés sur chaque moment. */
:root { --ciel: transparent; --soleil: transparent; --soleil-x: 70%; --soleil-y: -10%;
  --arc-1: var(--principale); --arc-2: var(--prune); --arc-3: var(--accent); }
:root[data-moment="aube"] { --ciel: linear-gradient(180deg, #fbefe1 0%, #faf5ef 60%, var(--fond) 100%);
  --soleil: rgba(255, 190, 110, .45); --soleil-x: 10%; --soleil-y: 85%;
  --arc-1: #b9741f; --arc-2: #cf2d26; --arc-3: #736377; }
:root[data-moment="midi"] { --ciel: radial-gradient(120% 80% at 70% -10%, #ffffff 0%, var(--fond) 62%);
  --soleil: rgba(255, 232, 190, .5); --soleil-x: 64%; --soleil-y: -8%; }
:root[data-moment="crepuscule"] { --ciel: linear-gradient(180deg, #f4e3e5 0%, #f3ebf0 58%, var(--fond) 100%);
  --soleil: rgba(236, 120, 96, .34); --soleil-x: 92%; --soleil-y: 82%;
  --arc-1: #736377; --arc-2: #cf2d26; --arc-3: #9a6a7e; }
:root[data-moment="nuit"] { --ciel: linear-gradient(180deg, #ebe8f1 0%, #f2f0f5 58%, var(--fond) 100%);
  --soleil: rgba(120, 130, 210, .22); --soleil-x: 84%; --soleil-y: 4%;
  --arc-1: #4d5f9a; --arc-2: #736377; --arc-3: #cf2d26; }
/* Thème sombre : le fond reste la nuit choisie par le visiteur, seule la lueur
   et la teinte du motif suivent l'heure. */
:root[data-theme="sombre"][data-moment] { --ciel: transparent; }
:root[data-theme="sombre"][data-moment="aube"] { --soleil: rgba(255, 170, 90, .16); --arc-1: #f0a85a; --arc-2: #ff6f66; --arc-3: #a794ae; }
:root[data-theme="sombre"][data-moment="midi"] { --soleil: rgba(255, 220, 180, .10); --arc-1: #ff6f66; --arc-2: #a794ae; --arc-3: #63b0f5; }
:root[data-theme="sombre"][data-moment="crepuscule"] { --soleil: rgba(255, 111, 102, .18); --arc-1: #a794ae; --arc-2: #ff6f66; --arc-3: #c98aa6; }
:root[data-theme="sombre"][data-moment="nuit"] { --soleil: rgba(140, 120, 220, .18); --arc-1: #8fa2e8; --arc-2: #a794ae; --arc-3: #ff6f66; }

/* Polices auto-hébergées : aucun appel tiers, pour le RGPD comme pour la vitesse. */
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-500-italique.woff2") format("woff2");
  font-weight: 600; font-style: italic; font-display: swap; }

/* ═══════════════════════════════════════════════════════════════════════════
   2. BASE
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--t3);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.06; margin: 0; letter-spacing: -.025em; }
p { margin: 0 0 var(--e2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--principale); color: #fff; }

/* Le grain : la texture est ce qui distingue une page travaillée d'un dégradé
   lisse. C'est le premier remède au « ça sent le généré ». */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: var(--grain-opacite); mix-blend-mode: var(--grain-fusion);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. UTILITAIRES
   ═══════════════════════════════════════════════════════════════════════════ */

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }
.conteneur--etroit { width: min(100% - 2.5rem, 860px); }
.conteneur--article { width: min(100% - 2.5rem, var(--largeur-article)); }

.section { padding-block: var(--e5); position: relative; }
.section + .section { padding-top: 0; }
/* Le bandeau de repères n'a pas de marge propre : sans cette règle il colle à
   la section suivante, les deux blocs se lisaient comme un seul. */
.section--reperes + .section { padding-top: var(--e5); }
.section--reperes { padding-block: 0; }
.section__pied { margin-top: var(--e3); }

/* Index en arc (Signature MstatE, 13/11). Le surtitre n'est plus en capitales
   espacées : il porte un petit cercle de la charte dont l'arc grandit d'une
   section à l'autre (--part, posé par le script selon le rang de la section
   dans la page), jusqu'au cercle complet en bas. Sans script, un quart d'arc.
   Bout plein au départ, bout creux à l'arrivée, comme dans le motif. */
.surtitre {
  display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 600;
  font-size: .95rem; letter-spacing: .005em; color: var(--gris-libelle); margin: 0; line-height: 1.35;
}
.surtitre--corail { color: var(--gris-libelle); }
.surtitre--clair, .surtitre--sur-media { color: rgba(255, 255, 255, .92); }
.surtitre::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: conic-gradient(var(--principale) calc(var(--part, .25) * 1turn), var(--piste-index) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.6px), #000 calc(100% - 2.4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.6px), #000 calc(100% - 2.4px));
}
/* Pas d'index sur les libellés qui ne sont pas des têtes de section. */
.formule__intitule::before, .surtitre--sur-media::before, .pied__intitule::before,
.carte-article__date::before, .emplacement__titre::before, .equipe .surtitre::before,
.produit__prix .surtitre::before, .formule__ruban::before,
.logos__libelle::before, .tuile .surtitre::before { display: none; }
.surtitre--clair::before { background: conic-gradient(#fff calc(var(--part, .25) * 1turn), rgba(255, 255, 255, .28) 0); }
.bande .surtitre::before { background: conic-gradient(#ffb3ad calc(var(--part, .25) * 1turn), rgba(255, 255, 255, .28) 0); }

.titre-section { font-size: var(--t1); max-width: 22ch; }
.titre-section--petit { font-size: var(--t2); }
/* Le mot clé passe en corail plein : le dégradé dans le texte est l'un des
   effets que l'on retrouve partout. Dans les héros, il est en plus « branché »
   sur un arc de la charte (accent_branche()). */
.accent { font-style: normal; color: var(--principale); }
.branche { position: relative; display: inline-block; white-space: nowrap; }
.branche__trait { position: absolute; left: -.06em; bottom: -.34em; width: calc(100% + .2em); height: .46em;
  overflow: visible; pointer-events: none;
  clip-path: inset(-30% 100% -30% -6%); animation: devoiler 1s cubic-bezier(.6, .1, .2, 1) .5s forwards; }
.branche__trait path { fill: none; stroke: var(--principale); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.branche__plein, .branche__creux { position: absolute; width: .15em; height: .15em; min-width: 6px; min-height: 6px; border-radius: 50%; }
.branche__plein { left: -.1em; bottom: -.12em; background: var(--principale); }
.branche__creux { right: -.17em; bottom: -.07em; border: max(2px, .04em) solid var(--principale); background: var(--fond);
  opacity: 0; animation: allumer .35s ease-out 1.4s forwards; }
@keyframes devoiler { to { clip-path: inset(-30% -6% -30% -6%); } }
@keyframes allumer { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
.intro { color: var(--gris-lecture); max-width: 52ch; }
.prose { color: var(--gris-lecture); }
.prose p:last-child { margin-bottom: 0; }

.entete-section {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--e4); margin-bottom: var(--e4); flex-wrap: wrap;
}
.entete-section > div { flex: 1 1 28rem; }
.entete-section .intro { flex: 0 1 28rem; padding-bottom: .4rem; }

/* Bouton à borne (13/11) : un cercle creux devant le libellé, éteint au repos,
   plein au survol, prolongé d'un court trait vers le texte. C'est la grammaire
   des bouts d'arc de la charte. Il remplace le bouton aimanté et le halo
   coloré sous le bouton. Dessiné en CSS : aucun gabarit n'a à le porter. */
.bouton {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .95rem 1.5rem .95rem 1.2rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  border: 1.5px solid var(--encre); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.bouton::before {
  content: ""; position: relative; flex: none; width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid currentColor; box-shadow: 0 0 0 0 currentColor;
  transition: background-color .25s, box-shadow .25s;
}
.bouton:hover::before, .bouton:focus-visible::before { background: currentColor; box-shadow: 6px 0 0 -4px currentColor; }
.bouton svg { width: 1.1em; height: 1.1em; }
.bouton--plein { background: var(--encre); color: var(--fond); }
.bouton--plein::before { border-color: var(--principale-vive); }
.bouton--plein:hover::before, .bouton--plein:focus-visible::before { background: var(--principale-vive); box-shadow: 6px 0 0 -4px var(--principale-vive); }
.bouton--ligne { color: var(--encre); background: transparent; }
.bouton--ligne:hover { background: var(--surface-survol); }
.bouton--compact { padding: .7rem 1.1rem .7rem .95rem; font-size: .9rem; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 600; color: var(--principale);
}
.lien-fleche svg { width: 1.15em; height: 1.15em; transition: transform .2s; }
.lien-fleche:hover svg { transform: translateX(4px); }
.lien-fleche--discret { font-size: var(--t4); letter-spacing: .005em; }

.icone { width: 1.5rem; height: 1.5rem; flex: none; }
.icone--pied { width: 1.15rem; height: 1.15rem; }

.message { padding: var(--e2) var(--e3); border-radius: 10px; margin-bottom: var(--e3); }
.message ul { list-style: disc; padding-left: 1.2rem; }
.message--succes { background: var(--surface); border-left: 3px solid var(--accent); }
.message--erreur { background: var(--surface); border-left: 3px solid var(--principale); }

.champ {
  width: 100%; padding: .85rem 1rem; font: inherit; color: var(--encre);
  background: var(--fond-2); border: 1px solid var(--bord); border-radius: 10px;
}
.champ:focus { border-color: var(--accent); }
.champ--zone { resize: vertical; min-height: 9rem; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vide {
  padding: var(--e4); border: 1px dashed var(--bord); border-radius: 4px;
  color: var(--gris-lecture); max-width: 48rem; background: var(--surface);
}

.lien-evitement { position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--encre); color: var(--fond); padding: var(--e2) var(--e3); }
.lien-evitement:focus { left: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   4. MOTIF DE MARQUE ET MÉDIAS
   ═══════════════════════════════════════════════════════════════════════════ */

.motif { width: 100%; height: 100%; overflow: visible; color: var(--principale); }
.motif__traits .motif__arc:nth-child(3n+2) { stroke: var(--accent); opacity: .85; }
.motif__traits .motif__arc:nth-child(4n+3) { stroke: var(--prune); opacity: .65; }
.motif__noeud--plein { fill: currentColor; }
.motif__noeud--creux { fill: var(--fond); stroke: currentColor; stroke-width: 5; }
.motif__noeuds circle:nth-child(3n+2) { color: var(--accent); }
.motif__paquet { fill: var(--principale-vive); }
/* Rotation autour du centre relevé du motif (512,5 ; 482,7), pas du centre du
   cadre : sinon le motif tangue. Elle démarre une fois les arcs tracés et
   tourne dans le sens des aiguilles d'une montre (angle positif). */
.motif__rotation { transform-box: view-box; transform-origin: 512.5px 482.7px;
  animation: motif-tourner 80s linear 3.4s infinite; }
@keyframes motif-tourner { to { transform: rotate(360deg); } }

/* Chaque arc se dessine lui-même : pathLength=1 rend la durée indépendante de
   la longueur réelle du tracé. */
.motif--anime .motif__arc { stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: tracer 1.9s cubic-bezier(.35, 0, .15, 1) forwards; }
.motif--anime .motif__noeud { opacity: 0; animation: paraitre .6s ease forwards; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes paraitre { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }

.media { display: block; position: relative; overflow: hidden; isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
/* Bichromie appliquée par le navigateur, jamais cuite dans le fichier : la photo
   que le client téléverse prend la teinte de la marque toute seule. La case
   « garder les couleurs d'origine » retire simplement cette classe. */
.media--bichromie img { filter: grayscale(1) contrast(1.12) brightness(.97); }
.media--bichromie::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(150deg, var(--principale-vive), var(--bleu-charte));
  mix-blend-mode: color; opacity: .7;
}
.media--bichromie::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .35;
  background: linear-gradient(150deg, rgba(222, 82, 76, .25), rgba(11, 9, 16, .35));
}
/* Emplacement d'image : trame en fond, mention en HTML posée en haut à gauche.
   Elle est en haut et non au centre pour ne jamais croiser la légende de la
   tuile, qui est ancrée en bas — c'est exactement le défaut de la version
   précédente, où les deux textes se superposaient. */
.emplacement { position: relative; display: block; width: 100%; height: 100%;
  min-height: 150px; background: var(--surface-2); overflow: hidden; }
.emplacement__trame { position: absolute; inset: 0; width: 100%; height: 100%; }
.emplacement__cadre { position: absolute; inset: 10px; border-radius: 12px;
  border: 1.5px dashed rgba(207, 45, 38, .38); pointer-events: none; }
.emplacement__mention { position: absolute; inset: auto auto 0 0; top: 0; height: max-content;
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: calc(10px + var(--e2)) var(--e3); max-width: 100%; }
.emplacement__icone { width: 26px; height: 26px; color: var(--principale); }
.emplacement__titre { color: var(--encre); }
.emplacement__libelle { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--encre); }
.emplacement__dimensions { font-size: .78rem; color: var(--gris-libelle); }
.carte-region { width: 100%; height: auto; }
.carte-region__onde { animation: onde 3.6s ease-out infinite; }
@keyframes onde { 0% { opacity: .5; transform: scale(.6); } 70% { opacity: 0; transform: scale(1.25); } 100% { opacity: 0; } }

/* ═══════════════════════════════════════════════════════════════════════════
   5. EN-TÊTE
   ═══════════════════════════════════════════════════════════════════════════ */

.entete {
  position: sticky; top: 0; z-index: 70;
  background: var(--entete-fond);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
/* Repli quand le navigateur ne sait pas flouter : fond quasi opaque, jamais de
   texte illisible par transparence. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .entete { background: var(--entete-opaque); }
}
.entete.est-dense { background: var(--entete-dense); border-bottom-color: var(--bord); }
.entete__interieur { display: flex; align-items: center; justify-content: space-between;
  gap: var(--e3); min-height: var(--entete-hauteur); }

.logo { display: inline-flex; align-items: center; }
/* Les deux variantes du logo sont dans le HTML ; le thème en montre une.
   Le pied de page est clair depuis la refonte : le logo blanc y disparaissait. */
.logo__paire { display: inline-flex; align-items: center; }
.logo__image { width: auto; height: 40px; }
.logo__image--sombre { display: none; }
:root[data-theme="sombre"] .logo__image--clair { display: none; }
:root[data-theme="sombre"] .logo__image--sombre { display: block; }
.logo--pied .logo__image, .logo__paire--pied .logo__image { height: 50px; }

.navigation { display: flex; align-items: center; gap: var(--e4); }
.navigation__liste { display: flex; align-items: center; gap: 1.8rem; }
/* Barre « B » : libellés en casse normale. À taille égale ils se lisent plus
   vite qu'en capitales espacées ; les capitales restent le registre des
   surtitres à l'intérieur des pages. */
.navigation__lien {
  position: relative; display: inline-block; padding-block: .45rem;
  font-size: .97rem; font-weight: 600; color: var(--gris-lecture); transition: color .2s;
}
.navigation__lien::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--principale); transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.navigation__lien:hover { color: var(--encre); }
.navigation__lien:hover::after, .navigation__lien.est-actif::after { transform: scaleX(1); }
.navigation__lien.est-actif { color: var(--principale); }

.entete__actions { display: flex; align-items: center; gap: .8rem; }

.theme { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--bord); color: var(--gris-lecture);
  transition: border-color .2s, color .2s; }
.theme:hover { border-color: var(--bord-vif); color: var(--encre); }
.theme svg { width: 17px; height: 17px; }
.theme__lune { display: none; }
:root[data-theme="clair"] .theme__lune { display: block; }
:root[data-theme="clair"] .theme__soleil { display: none; }

/* Segment de langue : les deux langues restent visibles en permanence, on voit
   d'un coup d'œil où l'on est et vers quoi on bascule. */
.segment { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--bord);
  border-radius: 999px; background: var(--surface); }
.segment__lien { padding: .34rem .82rem; border-radius: 999px; font-family: var(--display);
  font-weight: 600; font-size: .75rem; letter-spacing: .06em; color: var(--gris-libelle);
  transition: background-color .2s, color .2s; }
.segment__lien:hover { color: var(--encre); }
.segment__lien.est-actif { background: var(--principale-fonce); color: #fff; }

/* Même grammaire que les boutons : une borne qui s'allume au survol. */
.bouton-entete { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.25rem .7rem 1rem;
  border-radius: 999px; background: var(--encre); color: var(--fond); font-weight: 600; font-size: .95rem;
  transition: background-color .2s; }
.bouton-entete::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--principale-vive); transition: background-color .2s; }
.bouton-entete:hover::before, .bouton-entete:focus-visible::before { background: var(--principale-vive); }

.bascule { display: none; align-items: center; gap: .6rem; background: none;
  border: 1px solid var(--bord); border-radius: 999px; padding: .5rem .9rem;
  color: var(--encre); font: inherit; font-family: var(--display); font-size: var(--t4);
  letter-spacing: .005em; cursor: pointer; }
.bascule__traits { display: grid; gap: 4px; }
.bascule__traits i { display: block; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .3s; }
.bascule[aria-expanded="true"] .bascule__traits i:first-child { transform: translateY(2.75px) rotate(45deg); }
.bascule[aria-expanded="true"] .bascule__traits i:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════════
   6. HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero { position: relative; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) var(--e5); overflow: hidden;
  background: var(--ciel); }
.hero--accueil { min-height: calc(100svh - var(--entete-hauteur)); display: flex; align-items: center; }
/* Le soleil : une lueur douce dont la place dépend de l'heure. */
.hero__soleil { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(44rem 44rem at var(--soleil-x) var(--soleil-y), var(--soleil), transparent 62%); }

.hero__motif { position: absolute; top: 50%; right: -4%; transform: translateY(-50%);
  width: min(70vh, 700px); aspect-ratio: 1; z-index: 1; pointer-events: none;
  /* Le texte prime : le motif s'efface là où il passerait sous les lettres. */
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .3) 30%, #000 58%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .3) 30%, #000 58%); }
.motif--hero { color: var(--arc-1); }
.motif--hero .motif__arc { stroke: var(--arc-1); transition: stroke .8s; }
.motif--hero .motif__traits .motif__arc:nth-child(3n+2) { stroke: var(--arc-2); opacity: 1; }
.motif--hero .motif__traits .motif__arc:nth-child(4n+3) { stroke: var(--arc-3); opacity: .8; }
.motif--hero .motif__noeud--plein { fill: var(--arc-1); }
.motif--hero .motif__noeud--creux { stroke: var(--arc-1); }
.motif--hero .motif__noeuds circle:nth-child(3n+2) { color: var(--arc-2); }

.hero__contenu { position: relative; z-index: 2; }
.hero__contenu > * { max-width: 44rem; }
.hero .conteneur { position: relative; z-index: 2; }
/* La signature moléculaire, puis les repères séparés d'un filet. */
.hero__reperes { display: flex; gap: .4rem 1rem; align-items: center; flex-wrap: wrap; margin-bottom: var(--e3);
  font-weight: 600; font-size: .95rem; color: var(--gris-lecture); }
.hero__repere + .hero__repere { padding-left: 1rem; border-left: 1px solid var(--bord-vif); }
.signature { width: 20px; height: 34px; flex: none; color: var(--principale); overflow: visible; }
.signature__trace { fill: currentColor; fill-opacity: 0; stroke: currentColor; stroke-width: 320;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: signer 1.5s cubic-bezier(.5, 0, .2, 1) .15s forwards, remplir .5s ease-out 1.5s forwards; }
@keyframes signer { to { stroke-dashoffset: 0; } }
@keyframes remplir { to { fill-opacity: 1; stroke-width: 0; } }
.hero__titre { font-size: var(--t-geant); max-width: min(56rem, 100%); margin-bottom: var(--e3); text-wrap: balance; }
.hero__titre--fiche { font-size: var(--t1); max-width: 22ch; }
.hero__chapo { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); line-height: 1.5;
  color: var(--gris-lecture); max-width: 44ch; margin-top: var(--e4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--e2); margin-top: var(--e4); }
.hero--erreur { min-height: 60vh; display: grid; align-items: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   7. BANDEAU DÉFILANT
   ═══════════════════════════════════════════════════════════════════════════ */

.ruban { border-block: 1px solid var(--bord); background: var(--surface); overflow: hidden; padding-block: .9rem; }
.ruban__piste { display: flex; gap: var(--e4); width: max-content; animation: glisser 38s linear infinite; }
@keyframes glisser { to { transform: translateX(-50%); } }
.ruban__mot { display: inline-flex; align-items: center; gap: var(--e4); white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: var(--t4);
  letter-spacing: .005em; color: var(--gris-libelle); }
.ruban__mot::after { content: ""; width: 5px; height: 5px; border-radius: 999px;
  background: var(--principale); opacity: .7; }

/* ═══════════════════════════════════════════════════════════════════════════
   8. REPÈRES CHIFFRÉS
   ═══════════════════════════════════════════════════════════════════════════ */

.reperes { border-block: 1px solid var(--bord); }
.reperes__liste { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.reperes__element { padding: var(--e4) var(--e3); border-left: 1px solid var(--bord); }
.reperes__element:first-child { border-left: 0; padding-left: 0; }
.reperes__valeur { display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1; color: var(--encre);
  letter-spacing: -.03em; font-variant-numeric: lining-nums; }
/* L'orbite : un arc de la charte sous le chiffre, bout plein, bout creux. */
.orbite { position: relative; display: block; width: calc(var(--part, .6) * 100%); max-width: 11rem; height: 12px;
  margin: .55rem 0 .8rem; }
.orbite svg { width: 100%; height: 100%; overflow: visible; }
.orbite path { fill: none; stroke: var(--principale); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.orbite__plein, .orbite__creux { position: absolute; top: -1px; width: 7px; height: 7px; border-radius: 50%; }
.orbite__plein { left: -2px; background: var(--principale); }
.orbite__creux { right: -3px; border: 2px solid var(--principale); background: var(--fond); }
.reperes__libelle { display: block; font-family: var(--display); font-weight: 600; font-size: var(--t4);
  letter-spacing: .005em; color: var(--gris-libelle); line-height: 1.5; }
.reperes .surtitre { padding-top: var(--e4); display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   9. CARTES DE SERVICES
   ═══════════════════════════════════════════════════════════════════════════ */

.cartes { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--e3) var(--e2); }
.carte { position: relative; grid-column: span 2; display: flex; flex-direction: column; padding: var(--e4) var(--e3) 5rem;
  border-radius: 3px; background: var(--fond-2); border: 1px solid var(--bord); transition: border-color .3s; }
.carte:nth-child(1), .carte:nth-child(2) { grid-column: span 3; }
/* Six cartes (six expertises, 26/10) : deux rangees de trois sur grand ecran.
   Le motif 2 + 3 laisserait une sixieme carte seule sur une troisieme ligne.
   Limite au grand ecran : en dessous, les regles des points de rupture
   (deux par ligne, puis une) tombent juste avec six cartes. */
@media (min-width: 1081px) {
  .cartes:has(> .carte:nth-child(6)) > .carte { grid-column: span 2; }
}
.carte:hover, .carte:focus-visible { border-color: var(--bord-vif); }
/* Repères de coupe aux quatre coins, comme sur un plan. */
.planche__reperes { position: absolute; inset: -7px; pointer-events: none; opacity: .6; background:
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) 0 7px / 14px 1px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) 7px 0 / 1px 14px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) 100% 7px / 14px 1px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) calc(100% - 7px) 0 / 1px 14px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) 0 calc(100% - 7px) / 14px 1px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) 7px 100% / 1px 14px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) 100% calc(100% - 7px) / 14px 1px no-repeat,
  linear-gradient(var(--gris-libelle), var(--gris-libelle)) calc(100% - 7px) 100% / 1px 14px no-repeat; }
.carte__icone { position: relative; z-index: 1; width: 44px; height: 44px; margin: 0 0 var(--e3); color: var(--encre);
  stroke-width: 1.4; }
.carte__titre { display: block; font-family: var(--display); font-weight: 800; font-size: var(--t2);
  line-height: 1.12; margin-bottom: .7rem; letter-spacing: -.02em; }
.carte__texte { display: block; color: var(--gris-lecture); font-size: .98rem; }
.carte__lien { position: absolute; left: var(--e3); bottom: 1.9rem; z-index: 1; display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--encre); }
.borne { flex: none; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--principale);
  background: var(--fond-2); transition: background-color .2s .5s; }
.carte:hover .borne, .carte:focus-visible .borne { background: var(--principale); }
.cartouche { position: absolute; right: 0; bottom: 0; display: grid; grid-template-columns: auto auto;
  border-top: 1px solid var(--bord); border-left: 1px solid var(--bord); font-size: .72rem; line-height: 1.2;
  color: var(--gris-libelle); font-variant-numeric: lining-nums; }
.cartouche > * { padding: .5rem .75rem; }
.cartouche strong { border-left: 1px solid var(--bord); color: var(--encre); font-weight: 600; }
/* Le courant : piste à angles arrondis de l'icône vers la borne du lien. */
.planche__courant { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.planche__piste { fill: none; stroke: var(--principale); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s cubic-bezier(.5, 0, .3, 1); }
.planche__depart { fill: var(--principale); opacity: 0; transition: opacity .15s; }
.carte:hover .planche__piste, .carte:focus-visible .planche__piste { stroke-dashoffset: 0; }
.carte:hover .planche__depart, .carte:focus-visible .planche__depart { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   10. GRILLE DE MÉDIAS
   ═══════════════════════════════════════════════════════════════════════════ */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: var(--e2); }
.tuile { position: relative; border-radius: 4px; overflow: hidden; margin: 0;
  border: 1px solid var(--bord); background: var(--fond-2); }
/* margin: 0 : une tuile sans lien est un <figure>, que les navigateurs
   decalent de 40 px de chaque cote par defaut (constate le 26/10). */
/* Derniere tuile seule sur sa rangee (grande + trois tuiles de deux colonnes) :
   elle prend toute la largeur au lieu de laisser un trou. Grand ecran seulement,
   la grille passe a deux colonnes en dessous de 1080 px et tombe juste. */
@media (min-width: 1081px) {
  .bento > .tuile--pleine { grid-column: 1 / -1; }
}
.tuile__media { width: 100%; height: 100%; }
.tuile:hover .media img { transform: scale(1.05); }
.tuile--grande { grid-column: span 2; grid-row: span 2; }
.tuile--large { grid-column: span 2; }
.tuile--carte { grid-column: span 2; grid-row: span 2; display: grid; place-items: center;
  padding: var(--e2) var(--e3); background: linear-gradient(150deg, var(--halo-1), var(--halo-2)); }
.tuile--carte__interieur { display: flex; flex-direction: column; gap: .6rem; width: 100%; }
.tuile--carte svg { width: 100%; max-height: 200px; }
.tuile--citation { grid-column: span 2; display: flex; align-items: center; padding: var(--e3);
  background: var(--surface-2); }
.citation { font-family: var(--display); font-weight: 800; font-size: 1.28rem; line-height: 1.3; margin: 0; }
.tuile__legende { position: absolute; inset: auto 0 0; padding: var(--e2) var(--e3) var(--e3); z-index: 3;
  background: linear-gradient(transparent, rgba(11, 9, 16, .62) 58%, rgba(11, 9, 16, .93));
  display: flex; flex-direction: column; gap: .3rem; color: #fff; }


/* ═══════════════════════════════════════════════════════════════════════════
   11. BANDE PLEINE LARGEUR
   ═══════════════════════════════════════════════════════════════════════════ */

/* L'image reste immobile pendant que la page glisse par-dessus.
   background-attachment: fixed est ignoré par Safari sur iPhone et iPad : on
   découpe le conteneur par clip-path, ce qui en fait le référentiel d'un fond
   en position fixed placé à l'intérieur. */
.bande { position: relative; isolation: isolate; clip-path: inset(0);
  min-height: clamp(340px, 62vh, 580px); display: grid; align-items: center;
  color: #fff; overflow: hidden; }
.bande__fond { position: fixed; inset: 0; z-index: -2; }
.bande__fond .media, .bande__fond .emplacement { width: 100%; height: 100%; }
.bande__voile { position: absolute; inset: 0; z-index: -1; background: var(--voile-bande); }
.bande__contenu { padding-block: var(--e5); }
.bande__titre { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); max-width: 20ch; margin-bottom: var(--e2); }
.bande .intro { color: rgba(255, 255, 255, .88); }
/* Sur la bande, le corail de la charte tombe à 1,14:1 : le voile est trop clair
   pour lui. Le surtitre y passe donc dans un corail éclairci, mesuré à l'écran. */
.bande .surtitre--corail { color: #ffb3ad; }
@media (prefers-reduced-motion: reduce), (hover: none) {
  .bande { clip-path: none; }
  .bande__fond { position: absolute; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   12. MÉTHODE EN RAIL
   ═══════════════════════════════════════════════════════════════════════════ */

.molecule { position: relative; display: grid; grid-template-columns: repeat(var(--etapes, 4), minmax(0, 1fr));
  margin-top: var(--e5); }
/* Les liaisons se dévoilent de gauche à droite. Par découpe et non par
   pointillés : le tracé est étiré (preserveAspectRatio="none") et garde une
   épaisseur constante (non-scaling-stroke), ce qui fausse pathLength. */
.molecule__liaisons { position: absolute; top: 0; left: 0; width: 100%; height: 44px; overflow: visible;
  clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.6s cubic-bezier(.4, 0, .2, 1); }
.molecule__liaisons path { fill: none; stroke: var(--principale); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.molecule.est-visible .molecule__liaisons, .sans-js .molecule__liaisons { clip-path: inset(-20% -2% -20% -2%); }
.molecule__etape { position: relative; padding: 4.6rem var(--e2) 0; text-align: center; }
.molecule__atome { position: absolute; top: 2px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--principale); transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1);
  transition-delay: calc(var(--rang, 0) * .3s + .2s); }
.molecule__etape--bas .molecule__atome { top: 26px; }
.molecule__atome--creux { background: var(--fond); border: 3px solid var(--principale); }
.molecule.est-visible .molecule__atome, .sans-js .molecule__atome { transform: none; }
.molecule__titre { font-size: 1.25rem; margin: 0 0 .5rem; }
.molecule__texte { color: var(--gris-lecture); font-size: .95rem; margin: 0 auto; max-width: 30ch; }

/* ═══════════════════════════════════════════════════════════════════════════
   13. SECTEURS
   ═══════════════════════════════════════════════════════════════════════════ */

.secteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--e2); }
.secteur { position: relative; display: block; padding: var(--e4) var(--e3); border-radius: 4px;
  overflow: hidden; border: 1px solid var(--bord); background: var(--surface-2);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s; }
.secteur:hover { border-color: var(--bord-vif); }
.secteur__icone { width: 38px; height: 38px; color: var(--accent); margin-bottom: var(--e3); }
.secteur__titre { font-size: 1.28rem; margin-bottom: .5rem; }
.secteur__texte { color: var(--gris-lecture); font-size: .95rem; margin: 0 0 var(--e2); }

/* ═══════════════════════════════════════════════════════════════════════════
   14. LISTES EN LIGNES (pages intérieures)
   ═══════════════════════════════════════════════════════════════════════════ */

.lignes { border-top: 1px solid var(--bord); }
.lignes__element { border-bottom: 1px solid var(--bord); }
.ligne { display: grid; grid-template-columns: 4.5rem 1fr auto auto; align-items: center;
  gap: var(--e3); padding-block: var(--e3); transition: background-color .2s, padding-inline .2s; }
a.ligne:hover { background: var(--surface); padding-inline: var(--e2); }
.ligne__numero { font-family: var(--display); font-size: var(--t4); letter-spacing: .02em; color: var(--gris-libelle); }
.ligne__corps { display: block; }
.ligne__titre { display: block; font-family: var(--display); font-weight: 800; font-size: var(--t2);
  line-height: 1.15; margin-bottom: .35rem; letter-spacing: -.02em; }
.ligne__texte { display: block; color: var(--gris-lecture); max-width: 62ch; }
.ligne__meta { display: flex; flex-wrap: wrap; gap: var(--e2); margin-top: .6rem; }
.ligne__icone { color: var(--prune); display: inline-flex; }
.ligne__icone .icone { width: 1.7rem; height: 1.7rem; }
.ligne__fleche { color: var(--principale); display: inline-flex; }
.ligne__fleche svg { width: 1.5rem; height: 1.5rem; transition: transform .2s; }
a.ligne:hover .ligne__fleche svg { transform: translateX(5px); }

/* ═══════════════════════════════════════════════════════════════════════════
   15. MANIFESTE, SECTION SCINDÉE, CONVICTION
   ═══════════════════════════════════════════════════════════════════════════ */

.manifeste { padding-block: var(--e6); background: var(--surface); }
.manifeste__phrase { font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); line-height: 1.2; text-align: center;
  text-wrap: balance; margin: 0 auto; max-width: 24ch; letter-spacing: -.022em; }
.manifeste__phrase--dense { font-size: clamp(1.5rem, 1rem + 1.9vw, 2.3rem); max-width: 32ch; }
/* Un paragraphe centré sous une phrase centrée forme un pâté illisible : la
   suite passe en deux colonnes alignées à gauche, sous un filet. */
.manifeste__suite { margin-top: var(--e4); padding-top: var(--e3); border-top: 1px solid var(--bord);
  columns: 2; column-gap: var(--e4); text-align: left; color: var(--gris-lecture); }
.manifeste__suite p { break-inside: avoid; }
.manifeste__suite--courte { columns: 1; border-top: 0; padding-top: 0; margin-top: var(--e3); text-align: center;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); max-width: 46ch; margin-inline: auto; }

.scindee { padding-block: var(--e5); }
.scindee__grille { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e5); align-items: center; }
.scindee--inverse .scindee__media { order: 2; }
.scindee__texte .titre-section { margin-block: var(--e2) var(--e3); }
.visuel { display: block; border-radius: 4px; overflow: hidden; }
.visuel--motif, .media--vide { display: block; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.visuel img, .media img { border-radius: inherit; }
.media-large { border-radius: 4px; overflow: hidden; }
.media-large img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.motif--large { aspect-ratio: 21 / 9; }
.motif--portrait { aspect-ratio: 1; }

.conviction { background: var(--principale-fonce); color: #fff; padding-block: var(--e5); }
.conviction .surtitre { color: rgba(255, 255, 255, .92); }   /* .8 ne donnait que 4,32:1 sur le corail foncé */
.conviction__titre { font-size: var(--t1); max-width: 20ch; margin-block: var(--e2) var(--e5); }
.conviction__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--e4); }
.conviction__point { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: var(--e2); }
.conviction__icone { display: block; margin-bottom: var(--e2); color: rgba(255, 255, 255, .9); }
.conviction__point-titre { font-size: var(--t3); font-family: var(--display); margin-bottom: .5rem; }
.conviction__point-texte { color: rgba(255, 255, 255, .94); margin: 0; font-size: .95rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   16. FIL, FICHES, ÉQUIPE, PARTENAIRES
   ═══════════════════════════════════════════════════════════════════════════ */

.fil { border-block: 1px solid var(--bord); }
.fil__liste { display: flex; flex-wrap: wrap; gap: .6rem; padding-block: var(--e2);
  font-size: .85rem; color: var(--gris-lecture); }
.fil__element + .fil__element::before { content: "/"; margin-right: .6rem; color: var(--gris-libelle); }

.fiche-meta { display: flex; flex-wrap: wrap; gap: var(--e4); margin: 0 0 var(--e4);
  padding-bottom: var(--e3); border-bottom: 1px solid var(--bord); }
.fiche-meta--colonne { flex-direction: column; gap: var(--e2); margin-top: var(--e4); }
.fiche-meta dt { font-family: var(--display); font-size: var(--t4); letter-spacing: .005em;
  color: var(--gris-libelle); margin-bottom: .3rem; }
.fiche-meta dd { margin: 0; font-weight: 600; }
.encadre { margin-top: var(--e4); padding: var(--e3); background: var(--surface);
  border-left: 3px solid var(--principale); border-radius: 0 12px 12px 0; }
.encadre p:last-child { margin-bottom: 0; }

.equipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--e4); }
.equipe__portrait { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px;
  margin-bottom: var(--e2); background: var(--surface); }
.equipe__portrait img { width: 100%; height: 100%; object-fit: cover; }
.equipe__nom { font-size: var(--t3); margin-bottom: .25rem; }
.equipe__bio { color: var(--gris-lecture); font-size: .95rem; margin-top: .6rem; }

.partenaires { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--e3); }
.partenaires__element { display: grid; place-items: center; min-height: 100px; padding: var(--e2);
  border: 1px solid var(--bord); border-radius: 14px; background: var(--fond-2); }
.partenaires__nom { font-weight: 600; text-align: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   17. CONTACT
   ═══════════════════════════════════════════════════════════════════════════ */

.contact__grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--e5); align-items: start; }
.formulaire { margin-top: var(--e3); }
.formulaire__note { font-size: .85rem; color: var(--gris-libelle); }
.formulaire__ligne { margin-bottom: var(--e2); }
.formulaire__duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e2); }
.formulaire__libelle { display: block; font-family: var(--display); font-size: var(--t4);
  letter-spacing: .005em; color: var(--gris-libelle); margin-bottom: .4rem; }
.formulaire .bouton { margin-top: var(--e2); }
.coordonnees { display: grid; gap: var(--e2); margin-block: var(--e3); }
.coordonnees li { display: flex; align-items: center; gap: var(--e2); }
.coordonnees svg { color: var(--principale); }
.contact__visuel { margin-top: var(--e3); }
.section__intro { color: var(--gris-lecture); margin-top: var(--e2); }
.section__entete { max-width: 46rem; margin-bottom: var(--e4); }

/* ═══════════════════════════════════════════════════════════════════════════
   18. DOUBLE APPEL
   ═══════════════════════════════════════════════════════════════════════════ */

.appel { padding-block: var(--e4) var(--e5); }
.appel__grille { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e5);
  border: 1px solid var(--bord); border-radius: 4px; padding: var(--e5); background: var(--surface); }
.appel__colonne + .appel__colonne { border-left: 1px solid var(--bord); padding-left: var(--e5); }
.appel__titre { font-size: var(--t2); margin-bottom: var(--e2); }
.appel__texte { color: var(--gris-lecture); margin-bottom: var(--e3); }

/* ═══════════════════════════════════════════════════════════════════════════
   19. PIED DE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.pied { border-top: 1px solid var(--bord); background: var(--fond-2); padding-top: var(--e5); margin-top: var(--e5); }
.pied a:hover { color: var(--principale); }
.pied__haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--e4); padding-bottom: var(--e5); }
.pied__accroche { margin-top: var(--e2); max-width: 34ch; font-size: .95rem; color: var(--gris-lecture); }
.pied__titre { font-family: var(--display); font-size: var(--t4); font-weight: 600; letter-spacing: .005em;
  color: var(--encre); margin-bottom: var(--e2); }
.pied__titre--reseaux { margin-top: var(--e3); }
.pied__liste { display: grid; gap: .55rem; font-size: .95rem; color: var(--gris-lecture); }
.pied__liste--contact li { display: flex; align-items: center; gap: .7rem; }
.pied__liste--contact svg { color: var(--principale); flex: none; }
.pied__texte { font-size: .95rem; color: var(--gris-lecture); }
.lettre__libelle { position: absolute; left: -9999px; }
.lettre__ligne { display: flex; gap: .5rem; flex-wrap: wrap; }
.lettre__ligne .champ { flex: 1 1 12rem; }
.reseaux { display: flex; flex-wrap: wrap; gap: .5rem; }
/* Tuiles carrées pleines, glyphe blanc, dessinées en SVG dans le code. */
.reseaux__tuile { display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--principale-fonce); color: #fff; border-radius: 11px;
  transition: background-color .2s, transform .2s; }
.reseaux__tuile:hover { background: var(--principale-vive); transform: translateY(-3px); color: #fff; }
.reseaux__tuile svg { width: 19px; height: 19px; }
.pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--e2); padding-block: var(--e3); border-top: 1px solid var(--bord);
  font-size: .82rem; color: var(--gris-libelle); }
.pied__bas p { margin: 0; }
.pied__legal { display: flex; flex-wrap: wrap; gap: var(--e3); }

/* ═══════════════════════════════════════════════════════════════════════════
   20. ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Sans JavaScript, le contenu reste visible : la classe sans-js est posée dans
   le HTML et retirée par le script dès son exécution. */
/* Signature MstatE (13/11) : plus d'apparition qui glisse sur chaque bloc. Le
   contenu est là d'emblée ; seuls trois moments s'animent, et une seule fois :
   la signature et le motif du héros, la molécule de la méthode, la frise des
   treize arcs. [data-revele] reste posé dans les gabarits, sans effet visuel. */
.sans-js .motif__arc { stroke-dashoffset: 0; animation: none; }
.sans-js .motif__noeud { opacity: 1; animation: none; }
.sans-js .signature__trace { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important;
    animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .motif__arc { stroke-dashoffset: 0; }
  .motif__noeud { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   20 bis. PRODUITS, FORMULES, LOGOS
   Ajoutés le 18/08. Les produits se vendent sur formule et sur prix : leur
   traitement diffère volontairement des cartes de services, pour que le
   visiteur voie d'un coup d'œil que ce n'est pas la même façon d'acheter.
   ═══════════════════════════════════════════════════════════════════════════ */

.entete-section--simple { margin-bottom: var(--e3); }

.produits { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: var(--e2); }
.produit { position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: var(--e3); border-radius: 4px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--bord);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s, background-color .35s; }
.produit:hover { background: var(--surface-survol); border-color: var(--bord-vif); }
.produit__icone { width: 40px; height: 40px; color: var(--principale); margin-bottom: .4rem; }
.produit__titre { font-family: var(--display); font-weight: 800; font-size: var(--t2);
  line-height: 1.1; letter-spacing: -.02em; }
.produit__texte { color: var(--gris-lecture); font-size: .98rem; }
/* Le prix se détache : c'est l'information que le visiteur cherche ici. */
.produit__prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem;
  margin-top: auto; padding-top: var(--e2); border-top: 1px solid var(--bord); }
.produit__prix strong { font-family: var(--display); font-weight: 800; font-size: var(--t2);
  color: var(--encre); letter-spacing: -.02em; }
.produit__periode { color: var(--gris-libelle); font-size: .9rem; }
.produit .carte__lien { margin-top: var(--e2); }

/* Bornée en haut : une formule unique étirée sur 1280 px ne ressemble plus à
   une carte de tarif. Trois formules remplissent la largeur, une seule non. */
.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 23rem));
  justify-content: start; gap: var(--e2); align-items: start; }
.formule { position: relative; display: flex; flex-direction: column; gap: .6rem;
  padding: var(--e3); border-radius: 4px; background: var(--surface); border: 1px solid var(--bord); }
.formule--avant { border-color: var(--principale); background: var(--surface-2);
  box-shadow: 0 24px 60px -34px rgba(222, 82, 76, .55); }
.formule__ruban { position: absolute; top: -.75rem; left: var(--e3);
  padding: .3rem .8rem; border-radius: 999px; background: var(--principale-fonce); color: #fff; }
.formule__titre { font-size: var(--t3); margin: 0; }
.formule__prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem; margin: 0; }
/* Pas var(--t1) : à 54 px, « 15 000 F CFA » se coupe en deux dans une carte de
   23 rem. Le prix reste la plus grosse chose de la carte, sans la déborder. */
.formule__prix strong { font-family: var(--display); font-weight: 800;
  font-size: clamp(1.55rem, 1.15rem + 1.3vw, 2.25rem);
  line-height: 1.05; letter-spacing: -.03em; }
.formule__periode { color: var(--gris-libelle); font-size: .92rem; }
.formule__texte { color: var(--gris-lecture); font-size: .95rem; margin: 0; }
.formule__intitule { margin-top: .5rem; }
.formule__liste { display: grid; gap: .5rem; font-size: .95rem; color: var(--gris-lecture); }
.formule__liste li { display: flex; align-items: flex-start; gap: .6rem; }
.formule__coche { width: 17px; height: 17px; flex: none; margin-top: .18rem; color: var(--principale); }
.formule__action { margin-top: auto; justify-content: center; }
.formules__note { margin-top: var(--e3); font-size: .88rem; color: var(--gris-libelle); max-width: 60ch; }

/* Références en orbite (13/11) : logos posés sur deux arcs concentriques de
   la charte, partenaires dedans, clients dehors. Les positions (--x, --y)
   viennent du gabarit ; sous 820 px, ou au-delà de huit logos par arc, la
   scène redevient une grille simple. */
.references { display: grid; gap: var(--e4); }
.references__groupe { display: grid; gap: var(--e2); }
.references__libelle { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: var(--gris-libelle); }
.references__noeud { width: 9px; height: 9px; border-radius: 50%; background: var(--principale); flex: none; }
.references__noeud--creux { background: var(--fond); border: 2px solid var(--principale); }
.references__liste { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e3) var(--e4); }
.references__arcs { display: none; }
@media (min-width: 821px) {
  .references--orbite { position: relative; display: block; aspect-ratio: 5 / 2; margin: var(--e4) auto var(--e5); max-width: 1100px; }
  .references__arcs { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .references__arcs path { fill: none; stroke: var(--arc-eteint); stroke-width: 2; vector-effect: non-scaling-stroke; }
  .references--orbite .references__groupe, .references--orbite .references__liste { display: contents; }
  .references--orbite .references__element { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
    padding: .5rem .8rem; background: var(--fond); border-radius: 10px; }
  .references--orbite .references__libelle { position: absolute; top: calc(100% + .9rem); left: var(--pied); transform: translateX(-50%); white-space: nowrap; }
}
.logos__element { display: inline-flex; align-items: center; flex: none; }
.logos__image { height: 44px; width: auto; max-width: 150px; object-fit: contain;
  /* Un mur de logos multicolores écrase tout le reste de la page : ils sont
     désaturés au repos et reprennent leur couleur au survol. */
  filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
:root[data-theme="sombre"] .logos__image { filter: grayscale(1) invert(1) brightness(1.7); opacity: .6; }
.logos__element:hover .logos__image { filter: none; opacity: 1; }
:root[data-theme="sombre"] .logos__element:hover .logos__image { filter: none; opacity: 1; }

/* Note de chantier : visible seulement pour une personne connectée à
   l'administration, elle explique pourquoi elle voit des cadres vides. */
.note-chantier { display: flex; align-items: center; gap: .7rem; margin-top: var(--e2);
  padding: .7rem 1rem; border-radius: 12px; font-size: .88rem; color: var(--gris-lecture);
  background: var(--surface-2); border: 1px dashed var(--bord-vif); }
.note-chantier__icone { width: 18px; height: 18px; flex: none; color: var(--principale); }
.tuile--chantier { border-style: dashed; }
.emplacement--muet .emplacement__mention, .emplacement--muet .emplacement__cadre { display: none; }

.pied__intitule { margin-top: var(--e3); margin-bottom: .7rem; color: var(--gris-libelle); }

/* Carte de repérage — page Entreprise. Même traitement que la tuile qu'elle
   remplace sur l'accueil, mais en pleine largeur du conteneur. */
.carte-bloc { display: flex; flex-direction: column; gap: var(--e2); align-items: center;
  padding: var(--e4) var(--e3); border-radius: 4px; border: 1px solid var(--bord);
  background: linear-gradient(150deg, var(--halo-1), var(--halo-2)); text-align: center; }
.carte-bloc .carte-region { width: 100%; max-width: 780px; height: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   20 bis b. ACTUALITÉS EN CARTES
   Grille de trois sur grand écran. Sur téléphone : carrousel à défilement
   horizontal avec accroche, sans JavaScript. Un article sans image porte le
   motif de la charte, jamais un trou.
   ═══════════════════════════════════════════════════════════════════════════ */

.cartes-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--e2); }
.carte-article { position: relative; display: flex; flex-direction: column; border-radius: 4px;
  overflow: hidden; background: var(--surface-2); border: 1px solid var(--bord);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .35s; }
.carte-article:hover { border-color: var(--bord-vif); }
.carte-article__visuel { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(150deg, var(--halo-1), var(--halo-2)); }
.carte-article__media { position: absolute; inset: 0; }
.carte-article__media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.carte-article:hover .carte-article__media img { transform: scale(1.05); }
.carte-article__motif { position: absolute; inset: -30% -20% auto auto; width: 90%; aspect-ratio: 1;
  color: var(--principale); }
.carte-article__voile { position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(22, 18, 25, .18)); pointer-events: none; }
.carte-article__corps { display: flex; flex-direction: column; gap: .55rem; padding: var(--e3);
  flex: 1; }
.carte-article__date { color: var(--gris-libelle); }
.carte-article__titre { font-family: var(--display); font-weight: 800; font-size: var(--t3);
  line-height: 1.15; letter-spacing: -.01em; }
.carte-article .lien-fleche { margin-top: auto; padding-top: var(--e2); }

/* ═══════════════════════════════════════════════════════════════════════════
   20 ter. RECHERCHE DE NOM DE DOMAINE
   Le champ est volontairement le plus gros élément de sa section : c'est une
   caisse, pas un formulaire. Les états libre / pris / à vérifier se distinguent
   d'abord par un libellé, la couleur ne fait que confirmer.
   ═══════════════════════════════════════════════════════════════════════════ */

.domaines { max-width: 56rem; }
.domaines--compact { max-width: none; padding: var(--e3); border-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--bord); }
.domaines__etiquette { display: block; font-family: var(--display); font-weight: 800;
  font-size: var(--t2); letter-spacing: -.02em; margin-bottom: var(--e2); }
.domaines__ligne { display: flex; gap: .6rem; flex-wrap: wrap; }
.champ--domaine { flex: 1 1 16rem; font-family: var(--display); font-weight: 600;
  font-size: 1.15rem; padding: 1rem 1.2rem; }
.domaines__vedettes { display: flex; flex-wrap: wrap; gap: var(--e2); margin-top: var(--e2);
  font-size: .88rem; color: var(--gris-libelle); }
.domaines__vedette strong { color: var(--encre); font-family: var(--display); margin-left: .35rem; }

.domaines__resultats { display: grid; gap: .6rem; margin-top: var(--e3); }
.domaine { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center;
  gap: var(--e2); padding: .9rem 1.2rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--bord); }
.domaine__nom { font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  overflow-wrap: anywhere; }
.domaine__etat { font-family: var(--display); font-weight: 600; font-size: var(--t4);
  letter-spacing: .005em; }
.domaine--libre { border-color: rgba(47, 110, 74, .5); }
.domaine--libre .domaine__etat { color: var(--vert-etat, #2f6e4a); }
.domaine--pris { opacity: .62; }
.domaine--pris .domaine__etat { color: var(--gris-libelle); }
.domaine--a_verifier .domaine__etat { color: var(--principale); }
.domaine__prix { font-family: var(--display); font-weight: 800; white-space: nowrap; }
.domaine__periode { color: var(--gris-libelle); font-weight: 400; font-size: .85rem; }
.domaine__delai { grid-column: 1 / -1; font-size: .82rem; color: var(--gris-libelle); }
.domaines__vide { color: var(--gris-lecture); }
.domaines__note { margin-top: var(--e3); font-size: .85rem; color: var(--gris-libelle); max-width: 60ch; }
:root { --vert-etat: #2f6e4a; }
:root[data-theme="sombre"] { --vert-etat: #7fd6a4; }

.grille-extensions { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--e2); }
.extension { display: flex; flex-direction: column; gap: .4rem; padding: var(--e3);
  border-radius: 4px; background: var(--surface); border: 1px solid var(--bord); }
.extension--avant { border-color: var(--principale); background: var(--surface-2); }
.extension__nom { font-family: var(--display); font-weight: 800; font-size: var(--t2); color: var(--principale); }
.extension__prix { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.extension__periode { color: var(--gris-libelle); font-weight: 400; font-size: .85rem; }
.extension__renouvellement, .extension__delai, .extension__note { font-size: .85rem; color: var(--gris-libelle); }

/* ═══════════════════════════════════════════════════════════════════════════
   20 quater. PAGE À PROPOS : MOT DU FONDATEUR, FRISE DES TREIZE ARCS (13/11)
   ═══════════════════════════════════════════════════════════════════════════ */

.fondateur__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--e5); align-items: start; }
.visuel--portrait, .fondateur .media--vide { aspect-ratio: 4 / 5; border-radius: 4px; }
.visuel--portrait img { width: 100%; height: 100%; object-fit: cover; }
.fondateur__texte { margin: 0; }
.fondateur__citation { margin: var(--e3) 0 0; }
/* La voix humaine du site : Lora italique, réservée aux paroles de personnes. */
.fondateur__phrase { font-family: var(--voix); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.2rem); line-height: 1.32; color: var(--encre); margin: 0 0 var(--e3); }
.fondateur__suite { padding-left: var(--e3); border-left: 2px solid var(--prune); }
.fondateur__signature { display: grid; gap: .15rem; margin-top: var(--e4); }
.fondateur__signature strong { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--encre); }
.fondateur__signature span { color: var(--gris-libelle); font-weight: 600; font-size: .95rem; }

.frise__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--e5); align-items: start; }
.frise__scene { position: sticky; top: calc(var(--entete-hauteur) + var(--e3)); }
.frise__cadre { position: relative; max-width: 540px; }
.frise__motif { width: 100%; height: auto; overflow: visible; }
.frise__arc { fill: none; stroke: var(--arc-eteint); stroke-width: 7; stroke-linecap: round; transition: stroke .45s, stroke-width .45s; }
.frise__noeud { fill: var(--fond); stroke: var(--arc-eteint); stroke-width: 5; transition: fill .45s, stroke .45s; }
/* Allumé : par le script au défilement, ou d'office sans script. */
.frise__an.est-allume .frise__arc, .frise:not(.est-pilotee) .frise__arc { stroke: var(--principale); }
.frise__an.est-allume .frise__noeud--plein, .frise:not(.est-pilotee) .frise__noeud--plein { fill: var(--principale); stroke: var(--principale); }
.frise__an.est-allume .frise__noeud--creux, .frise:not(.est-pilotee) .frise__noeud--creux { stroke: var(--principale); }
.frise__an.est-courant .frise__arc { stroke: var(--encre); stroke-width: 9; }
/* L'année au centre du motif (centre relevé : 512,5 / 482,7 sur 1000). */
.frise__annee { position: absolute; left: 51.25%; top: 48.27%; transform: translate(-50%, -50%); margin: 0;
  pointer-events: none; }
.frise__annee b { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.2rem);
  letter-spacing: -.03em; color: var(--encre); font-variant-numeric: lining-nums; }
.frise__etapes { counter-reset: none; }
.frise__etape { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--e2); padding: var(--e3) var(--e2);
  border-top: 1px solid var(--bord); border-left: 3px solid transparent; transition: background-color .3s, border-color .3s; }
.frise__etape:last-child { border-bottom: 1px solid var(--bord); }
.frise__etape.est-active { border-left-color: var(--principale); background: var(--surface); }
.frise__date { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.2; color: var(--encre);
  letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.frise__texte { margin: 0; color: var(--gris-lecture); }
.frise__texte strong { display: block; color: var(--encre); font-weight: 600; }

/* Les cartes de produits gardent leur lien dans le flux : seule la planche
   ancre son lien en bas, au départ du courant. */
.produit .carte__lien { position: static; margin-top: var(--e2); }

/* ═══════════════════════════════════════════════════════════════════════════
   21. ADAPTATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1080px) {
  .cartes { grid-template-columns: repeat(4, 1fr); }
  .carte, .carte:nth-child(1), .carte:nth-child(2) { grid-column: span 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tuile--grande, .tuile--carte { grid-column: span 2; grid-row: span 2; }
  .reperes__liste { grid-template-columns: repeat(2, 1fr); }
  .reperes__element:nth-child(3) { border-left: 0; padding-left: 0; }
  .secteurs { grid-template-columns: 1fr; }
  .conviction__grille { grid-template-columns: repeat(2, 1fr); }
  .equipe { grid-template-columns: repeat(2, 1fr); }
  .scindee__grille { grid-template-columns: 1fr; gap: var(--e3); }
  .fondateur__grille { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--e4); }
  .frise__grille { gap: var(--e4); }
  .scindee--inverse .scindee__media { order: 0; }
  .contact__grille { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
  .hero__motif { right: -24%; opacity: .6; }
}

@media (max-width: 1080px) {
  .formules { grid-template-columns: repeat(auto-fit, minmax(15rem, 23rem)); }
}

/* En-tete compact (menu replie) jusqu'a 1080 px, et non plus 820 : avec sept
   entrees de menu, l'en-tete demande environ 1020 px ; entre 821 et 1016 px
   le bouton « Nous contacter » sortait de l'ecran (constate le 26/10). */
@media (max-width: 1080px) {
  :root { --entete-hauteur: 66px; }
  .entete__interieur { flex-wrap: wrap; }
  .logo__image { height: 34px; }
  .bascule { display: inline-flex; }

  /* Sans JavaScript, la navigation reste dépliée : jamais de menu inaccessible.
     Avec JavaScript, le panneau suit le thème — codé en dur, il restait sombre
     en thème clair, avec du texte sombre dessus. */
  .navigation { flex-basis: 100%; flex-direction: column; align-items: stretch;
    gap: var(--e2); padding-bottom: var(--e3); }
  html:not(.sans-js) .navigation { display: none; background: var(--fond); }
  html:not(.sans-js) .navigation.est-ouvert { display: flex; }
  .navigation__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .navigation__element { border-bottom: 1px solid var(--bord); }
  .navigation__lien { display: block; padding-block: 1rem; font-size: 1.05rem; }
  .navigation__lien::after { display: none; }
  .entete__actions { padding-top: var(--e2); flex-wrap: wrap; }
  .bouton-entete { flex: 1; justify-content: center; padding-block: .9rem; }
}

@media (max-width: 820px) {
  .produits, .formules { grid-template-columns: 1fr; }
  .bande__voile { background: var(--voile-bande-mobile); }
  /* Les rangees de la grille medias suivent la hauteur des tuiles : figees a
     240 px, la grande tuile (340 px) debordait sur la suivante (27/10). */
  .bento { grid-auto-rows: auto; }
  /* Le carrousel du téléphone : une carte presque pleine largeur, accroche au
     défilement, la suivante dépasse pour annoncer qu'il y en a d'autres. */
  .cartes-articles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: var(--e2); margin-inline: calc(-1 * var(--e2)); padding-inline: var(--e2);
    padding-bottom: .5rem; scrollbar-width: none; }
  .cartes-articles::-webkit-scrollbar { display: none; }
  .carte-article { flex: 0 0 84%; scroll-snap-align: center; }
  .domaine { grid-template-columns: 1fr auto; row-gap: .4rem; }
  .domaine__action { grid-column: 1 / -1; justify-content: center; }
  .logos__image { height: 34px; max-width: 140px; }


  .hero--accueil { min-height: auto; }
  .hero__motif { top: auto; bottom: -12%; right: -40%; transform: none; width: 120vw; opacity: .22; }
  /* Signature et premier repère sur une ligne, le second dessous, aligné. */
  .hero__reperes { gap: .3rem .8rem; }
  .hero__repere + .hero__repere { flex-basis: 100%; border-left: 0; padding-left: calc(20px + .8rem); }
  .cartes, .bento { grid-template-columns: 1fr; }
  .carte, .carte:nth-child(1), .carte:nth-child(2) { grid-column: span 1; }
  .tuile { grid-column: span 1 !important; grid-row: span 1 !important; min-height: 240px; }
  .tuile--grande { min-height: 340px; }
  .tuile--citation, .tuile--carte { min-height: 0; height: auto; }
  .reperes__liste { grid-template-columns: 1fr; }
  .reperes__element { border-left: 0; padding-left: 0; border-top: 1px solid var(--bord); }
  .reperes__element:first-child { border-top: 0; }
  /* La molécule se redresse : chaîne verticale, liaison à gauche. */
  .molecule { grid-template-columns: 1fr; gap: var(--e4); margin-top: var(--e4); }
  .molecule__liaisons { display: none; }
  .molecule::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--principale); opacity: .5; }
  .molecule__etape { padding: 0 0 0 2.6rem; text-align: left; }
  .molecule__atome, .molecule__etape--bas .molecule__atome { top: 3px; left: 8px; }
  .molecule__texte { margin: 0; }
  .conviction__grille { grid-template-columns: 1fr; gap: var(--e3); }
  .equipe { grid-template-columns: 1fr; }
  .appel__grille { grid-template-columns: 1fr; gap: var(--e4); padding: var(--e4); }
  .appel__colonne + .appel__colonne { border-left: 0; border-top: 1px solid var(--bord);
    padding-left: 0; padding-top: var(--e4); }
  .ligne { grid-template-columns: 2.6rem 1fr auto; gap: var(--e2); }
  .ligne__icone { display: none; }
  .manifeste__suite { columns: 1; }
  .fondateur__grille, .frise__grille { grid-template-columns: 1fr; }
  .fondateur__portrait { max-width: 22rem; }
  /* La frise garde son motif à l'écran pendant qu'on lit les étapes. */
  .frise__scene { top: calc(var(--entete-hauteur) - 1px); z-index: 2; background: var(--fond); padding-block: .4rem; }
  .frise__cadre { max-width: 240px; margin-inline: auto; }
  .frise__etape { grid-template-columns: 4rem 1fr; padding-inline: var(--e2) 0; }
  .formulaire__duo { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr; gap: var(--e4); }
  .pied__bas { flex-direction: column; align-items: flex-start; }
}
