/* =====================================================================
   FINANCES MALINES : feuille de style du site
   Partagée par le thème WordPress et par la maquette (maquette/*.html).
   Direction artistique : « le registre malin », inspirée de la référence
   Stripe fournie par Mathis le 2026-10-14, aux couleurs de la marque
   (voir .claude/skills/site/reference/direction-artistique.md).
   Animations : assets/js/motion.js, catalogue des attributs data-* dans
   .claude/skills/site/reference/animations.md.
   ===================================================================== */

/* --- 1. Polices embarquées (licence SIL OFL) ------------------------ */
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Italic-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* --- 2. Jetons ------------------------------------------------------- */
:root {
  /* Encres (texte) */
  --encre: #0A192F;          /* bleu nuit de la marque : titres et texte */
  --encre-texte: #22324A;    /* paragraphes longs */
  --encre-2: #50617A;        /* texte tertiaire */
  --ardoise: #64748D;        /* chapôs, légendes, étiquettes */
  --brume: #8DA2C0;          /* seconde moitié des grands titres, jamais pour un paragraphe */

  /* Surfaces : la profondeur vient de la teinte, jamais d'une ombre */
  --toile: #FFFFFF;
  --bande: #F8FAFD;
  --givre: #E5EDF5;          /* filets, bordures, survols */
  --lavis: #E7F6FF;          /* bleu très clair de la marque : étiquettes, encadrés */
  --profond: #0A192F;        /* panneau sombre de contraste */
  --profond-2: #13284A;

  /* L'unique couleur d'action */
  --accent: #0085FF;
  --accent-survol: #2E9BFF;
  --accent-fonce: #0067C7;
  --accent-bord: #A9D4FF;
  --accent-bord-2: #D3E9FF;

  /* Signature de marque, à dose homéopathique */
  --jaune: #FFE14D;
  --rouge: #E5392C;

  --font: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 4px;
  --max: 1280px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --bord: max(var(--gouttiere), calc((100vw - var(--max)) / 2));
  --section: clamp(80px, 9vw, 128px);
  --entete: 72px;
  --ecran: 100vh;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-ressort: cubic-bezier(.34, 1.56, .64, 1);
}
@supports (height: 100svh) { :root { --ecran: 100svh; } }

/* --- 3. Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--toile); color: var(--encre);
  font: 400 1.0625rem/1.6 var(--font); letter-spacing: -.01em;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r); }
::selection { background: var(--lavis); color: var(--encre); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 12px 18px; border-radius: var(--r); background: var(--accent); color: #fff; font-weight: 500; transition: top .3s; }
.lien-evitement:focus { top: 16px; }
.conteneur { width: min(100% - 2 * var(--gouttiere), var(--max)); margin-inline: auto; }
.icone { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* --- 4. Typographie : la graisse 300 est la signature ----------------- */
.affiche { font-weight: 300; font-size: clamp(2.6rem, 5.6vw, 5.1rem); line-height: 1.03; letter-spacing: -.032em; }
.titre { font-weight: 300; font-size: clamp(2rem, 3.9vw, 3.25rem); line-height: 1.06; letter-spacing: -.024em; }
.titre-s { font-weight: 300; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.14; letter-spacing: -.02em; }
.chapo { font-weight: 300; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--ardoise); max-width: 48ch; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.brume { color: var(--brume); }
.sombre .brume { color: #7F95B8; }

/* Le surligneur de la marque : un seul mot par page */
.surligne {
  background-image: linear-gradient(var(--jaune), var(--jaune));
  background-repeat: no-repeat; background-position: 0 88%; background-size: 0% 30%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.2s var(--ease-out) calc(var(--delai-base, 0s) + .55s);
}
.surligne.is-in, .is-in .surligne, html:not(.js) .surligne { background-size: 100% 30%; }

/* --- 5. Boutons, liens, flèches -------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--r);
  background: var(--accent); color: #fff;
  font-size: .9375rem; font-weight: 500; line-height: 1; white-space: nowrap;
  translate: var(--mx, 0) var(--my, 0);
  transition: background-color .2s, border-color .2s, color .2s, translate .6s var(--ease-ressort);
}
.bouton:hover { background: var(--accent-survol); }
.bouton.is-moving { transition-duration: .2s, .2s, .2s, .15s; }
.bouton--fantome { background: transparent; color: var(--accent); border-color: var(--accent-bord); }
.bouton--fantome:hover { background: var(--lavis); border-color: var(--accent); }
.bouton--discret { height: 40px; padding: 0 16px; background: transparent; color: var(--accent); border-color: var(--accent-bord-2); }
.bouton--discret:hover { background: var(--lavis); }
.sombre .bouton--fantome { color: #fff; border-color: rgba(255, 255, 255, .28); }
.sombre .bouton--fantome:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.duo { display: flex; flex-wrap: wrap; gap: 8px; }

/* La flèche de survol : un chevron qui devient flèche */
.fleche { width: 10px; height: 10px; margin-left: 7px; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fleche__ligne { opacity: 0; transition: opacity .2s var(--ease-out); }
.fleche__pointe { transition: translate .2s var(--ease-out); }
a:hover .fleche__ligne, button:hover .fleche__ligne, a:focus-visible .fleche__ligne { opacity: 1; }
a:hover .fleche__pointe, button:hover .fleche__pointe, a:focus-visible .fleche__pointe { translate: 3px 0; }
.lien-fleche { display: inline-flex; align-items: center; color: var(--accent); font-weight: 500; }
.lien-fleche:hover { color: var(--accent-fonce); }
.sombre .lien-fleche { color: var(--accent-bord); }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; background: var(--lavis); color: var(--accent-fonce); font-size: .75rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.tag .icone { width: 14px; height: 14px; }

/* Filet de section qui se trace à l'apparition */
.filet { height: 1px; background: var(--givre); transform-origin: 0 50%; }
.js .filet[data-reveal] { opacity: 1; translate: 0 0; scale: 0 1; transition: scale 1.4s var(--ease-in-out); }
.js .filet[data-reveal].is-in { scale: 1 1; }

/* --- 6. Barre de progression ----------------------------------------- */
.progression { position: fixed; inset: 0 0 auto; z-index: 70; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--accent); pointer-events: none; }

/* --- 7. En-tête en verre dépoli et menu qui se transforme ------------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--entete); display: flex; align-items: center; transition: translate .5s var(--ease-out), background-color .3s, box-shadow .3s; }
.entete__barre { display: flex; align-items: center; gap: 32px; }
.entete--verre { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); box-shadow: 0 1px 0 var(--givre); }
.entete--cache { translate: 0 -100%; }
.entete__actions { display: flex; gap: 8px; margin-left: auto; }
.entete__actions .bouton { height: 40px; padding: 0 16px; font-size: .875rem; }

.logo { display: inline-flex; align-items: baseline; gap: .22em; font-size: 1.25rem; font-weight: 300; letter-spacing: -.03em; color: var(--encre); white-space: nowrap; }
.logo b { font-weight: 600; background: linear-gradient(var(--jaune), var(--jaune)) 0 92% / 100% 32% no-repeat; transition: background-size .5s var(--ease-out); }
.logo:hover b { background-size: 100% 85%; }

.nav { position: relative; }
.nav__liste { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__lien { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; font-size: .9375rem; font-weight: 400; color: var(--encre); transition: opacity .2s; }
.nav__lien:hover, .nav__lien.est-survole { opacity: .6; }
.nav__lien .icone { width: 12px; height: 12px; stroke-width: 2; transition: rotate .3s var(--ease-out); }
.nav__lien.est-survole .icone { rotate: 180deg; }

.deroulant { position: absolute; top: 100%; left: 0; padding-top: 10px; pointer-events: none; perspective: 1400px; }
.deroulant__boite {
  position: relative; overflow: hidden;
  width: var(--w, 420px); height: var(--h, 300px); translate: var(--x, 0px) 0;
  background: var(--toile); border: 1px solid var(--givre); border-radius: 6px;
  box-shadow: 0 50px 100px -20px rgba(50, 50, 93, .22), 0 30px 60px -30px rgba(0, 0, 0, .28);
  opacity: 0; transform: rotateX(-14deg) scale(.96); transform-origin: 50% -40px;
  transition: width .38s var(--ease-out), height .38s var(--ease-out), translate .38s var(--ease-out), opacity .25s, transform .3s var(--ease-out);
}
.deroulant__pointe { position: absolute; top: 4px; left: 0; width: 12px; height: 12px; translate: calc(var(--fx, 40px) - 6px) 0; rotate: 45deg; background: var(--toile); border: 1px solid var(--givre); border-right: 0; border-bottom: 0; border-radius: 2px 0 0 0; z-index: 2; opacity: 0; transition: translate .38s var(--ease-out), opacity .25s; }
.deroulant.est-ouvert { pointer-events: auto; }
.deroulant.est-ouvert .deroulant__boite { opacity: 1; transform: none; }
.deroulant.est-ouvert .deroulant__pointe { opacity: 1; }
.deroulant.sans-transition .deroulant__boite, .deroulant.sans-transition .deroulant__pointe { transition: opacity .25s, transform .3s var(--ease-out); }
.deroulant__section { position: absolute; top: 0; left: 0; width: 440px; padding: 22px; opacity: 0; pointer-events: none; translate: 0 0; transition: opacity .3s, translate .45s var(--ease-out); }
.deroulant__section.est-avant { translate: -70px 0; }
.deroulant__section.est-apres { translate: 70px 0; }
.deroulant__section.est-active { opacity: 1; translate: 0 0; pointer-events: auto; }
.deroulant__tete { display: flex; gap: 14px; align-items: flex-start; padding: 4px 4px 18px; }
.deroulant__icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--lavis); color: var(--accent); flex: none; }
.deroulant__titre { font-size: 1rem; font-weight: 500; }
.deroulant__desc { font-size: .875rem; line-height: 1.45; color: var(--ardoise); }
.deroulant__liste { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--givre); }
.deroulant__liste a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 6px; border-radius: var(--r); font-size: .9rem; line-height: 1.35; color: var(--encre); transition: background-color .2s, color .2s; }
.deroulant__liste a:hover { background: var(--bande); color: var(--accent); }
.deroulant__liste .fleche { color: var(--accent); }
.deroulant__tout { display: flex; padding: 14px 6px 2px; font-size: .9rem; }

.burger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-left: auto; border-radius: var(--r); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--encre); transition: top .3s var(--ease-out), rotate .45s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-ouvert .burger span:nth-child(1) { top: 21px; rotate: 45deg; }
.menu-ouvert .burger span:nth-child(2) { top: 21px; rotate: -45deg; }
.menu-mobile {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--entete) + 24px) var(--gouttiere) 32px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.menu-ouvert { overflow: hidden; }
.menu-ouvert .menu-mobile { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-ouvert .entete { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; translate: 0 0; }
.menu-mobile__liste { list-style: none; margin: 0; padding: 0; }
.menu-mobile__liste li { overflow: hidden; border-bottom: 1px solid var(--givre); }
.menu-mobile__liste > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 300; letter-spacing: -.03em; translate: 0 105%; transition: translate .7s var(--ease-out); }
.menu-mobile__liste .fleche { width: 14px; height: 14px; color: var(--accent); }
.menu-ouvert .menu-mobile__liste > li > a, .menu-ouvert .menu-mobile__liste summary { translate: 0 0; transition-delay: calc(.06s * var(--i, 0) + .1s); }

.menu-mobile__liste summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 300; letter-spacing: -.03em; translate: 0 105%; transition: translate .7s var(--ease-out); }
.menu-mobile__liste summary::-webkit-details-marker { display: none; }
.menu-mobile__liste summary .icone { width: 18px; height: 18px; color: var(--accent); transition: rotate .3s var(--ease-out); }
.menu-mobile__liste details[open] summary .icone { rotate: 180deg; }
.menu-mobile__sous { list-style: none; margin: 0 0 16px; padding: 0; }
.menu-mobile__sous a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--givre); font-size: 1rem; line-height: 1.35; color: var(--encre-2); }
.menu-mobile__sous .fleche { color: var(--accent); }
.menu-mobile__sous .menu-mobile__tout { color: var(--accent); font-weight: 500; }
.menu-mobile__pied { display: grid; gap: 16px; }
.menu-mobile__pied .duo .bouton { flex: 1 1 auto; }
.menu-mobile__reseaux { display: flex; gap: 8px; }
.menu-mobile__reseaux a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--lavis); color: var(--accent); }
.methode__onglets { display: none; gap: 6px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; }
.methode__onglets::-webkit-scrollbar { display: none; }
.methode__onglets button { flex: 1 0 auto; height: 42px; padding: 0 12px; border: 1px solid var(--givre); border-radius: 999px; background: var(--toile); color: var(--encre-2); font-size: .875rem; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s; }
.methode__onglets button[aria-selected="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.methode__astuce { display: none; align-items: center; gap: 8px; margin-top: 10px; font-size: .8rem; color: var(--ardoise); }

/* --- 8. Sections ------------------------------------------------------ */
.section { position: relative; padding-block: var(--section); }
.section__tete { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__tete--ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; max-width: none; }
.section__tete--ligne > :first-child { display: grid; gap: 20px; max-width: 720px; }
.bande { background: var(--bande); }

/* --- 9. Héros : dégradé animé et interface flottante ----------------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--entete) + clamp(48px, 7vw, 104px)); padding-bottom: clamp(72px, 9vw, 120px); }
.degrade { position: absolute; inset: 0 0 auto; z-index: -1; height: 100%; clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%); }
.degrade canvas { width: 100%; height: 100%; }
.degrade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 30%, rgba(255, 255, 255, .55) 52%, rgba(255, 255, 255, 0) 72%); }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__texte { display: grid; gap: 28px; justify-items: start; }
.hero .affiche { max-width: 13ch; }
.auteur-puce { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; font-size: .9rem; color: var(--ardoise); }
.auteur-puce img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.auteur-puce strong { color: var(--encre); font-weight: 500; }

.vitrine { position: relative; height: clamp(440px, 44vw, 560px); }
.vitrine > * { position: absolute; }
.ui { background: var(--toile); border-radius: 6px; border: 1px solid rgba(10, 25, 47, .06); box-shadow: 0 30px 60px -12px rgba(10, 25, 47, .22), 0 18px 36px -18px rgba(0, 0, 0, .2); }
.flotte { animation: flotte var(--duree, 7s) ease-in-out infinite; animation-delay: var(--decale, 0s); }
@keyframes flotte { 50% { transform: translateY(-10px); } }
.ui__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--givre); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ardoise); }
.ui__corps { padding: 16px; }
.ui__montant { font-size: 2rem; font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.ui__sous { font-size: .8rem; color: var(--ardoise); margin-top: 4px; }

.ui-budget { top: 6%; left: 0; width: min(310px, 60%); z-index: 3; }
.ui-telephone { top: 0; right: 4%; width: min(232px, 46%); z-index: 2; }
.ui-checklist { bottom: 0; left: 5%; width: min(262px, 50%); z-index: 4; }
.telephone { position: relative; display: block; aspect-ratio: 9 / 18.5; overflow: hidden; border-radius: 22px; border: 6px solid var(--profond); background: var(--profond); color: #fff; box-shadow: 0 30px 60px -12px rgba(10, 25, 47, .3), 0 18px 36px -18px rgba(0, 0, 0, .25); }

.barres { display: grid; gap: 12px; margin-top: 16px; }
.barre { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: .82rem; }
.barre__nom { color: var(--encre-2); }
.barre__valeur { font-weight: 500; }
.barre__piste { grid-column: 1 / -1; height: 8px; border-radius: 2px; background: var(--givre); overflow: hidden; }
.barre__jauge { display: block; height: 100%; width: var(--v, 0%); border-radius: 2px; background: var(--c, var(--accent)); transition: width 1.2s var(--ease-out) var(--d, 0s); }
.js .barres:not(.is-in) .barre__jauge { width: 0; }

.reel { position: absolute; inset: 0; }
.reel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 25, 47, .92) 8%, rgba(10, 25, 47, 0) 52%); }
.reel__progres { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 2; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.reel__progres::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; animation: reel 8s linear infinite; }
@keyframes reel { from { transform: scaleX(0); } }
.reel__haut { position: absolute; top: 22px; left: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 500; }
.reel__haut img { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--jaune); }
.reel__bas { position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2; display: grid; gap: 6px; }
.reel__type { font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-bord); }
.reel__titre { font-size: 1rem; font-weight: 400; line-height: 1.25; letter-spacing: -.01em; }
.reel__lecture { position: absolute; top: 44%; left: 50%; z-index: 2; display: grid; place-items: center; width: 54px; height: 54px; translate: -50% -50%; border-radius: 50%; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.reel__lecture::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); animation: pulse 2.4s var(--ease-out) infinite; }
.reel__lecture svg { width: 18px; height: 18px; margin-left: 3px; fill: #fff; stroke: none; }
@keyframes pulse { from { scale: .9; opacity: 1; } to { scale: 1.5; opacity: 0; } }

.coches { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ui .coches { padding: 16px; }
.coches li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.coche { position: relative; display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: var(--r); border: 1.5px solid var(--accent-bord); transition: background-color .3s, border-color .3s; transition-delay: calc(var(--delai-base, 0s) + var(--d, 0s)); }
.coche svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.coche path { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s var(--ease-out); transition-delay: calc(var(--delai-base, 0s) + var(--d, 0s) + .15s); }
.is-in .coche, html:not(.js) .coche { background: var(--accent); border-color: var(--accent); }
.is-in .coche path, html:not(.js) .coche path { stroke-dashoffset: 0; }

/* --- 10. Téléscripteur ----------------------------------------------- */
.telescripteur { border-block: 1px solid var(--givre); padding-block: 18px; overflow: hidden; }
.telescripteur__piste { display: flex; width: max-content; will-change: transform; }
.telescripteur__groupe { display: flex; align-items: center; gap: 44px; padding-right: 44px; white-space: nowrap; }
.telescripteur__item { display: inline-flex; align-items: baseline; gap: 10px; font-size: .95rem; color: var(--ardoise); }
.telescripteur__item b { font-weight: 500; color: var(--encre); }
.telescripteur__item i { font-style: normal; color: var(--accent); font-size: .8rem; }

/* --- 11. Qui suis-je --------------------------------------------------- */
.apropos__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.apropos__texte { display: grid; gap: 28px; justify-items: start; }
.manifeste { font-weight: 300; font-size: clamp(1.55rem, 2.7vw, 2.45rem); line-height: 1.24; letter-spacing: -.022em; }
.manifeste .mot-scrub { opacity: var(--o, 1); transition: opacity .2s linear; }
.js .manifeste .mot-scrub { --o: .22; }
.apropos__texte p:not(.manifeste) { max-width: 52ch; color: var(--encre-texte); }
.portrait { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--profond); }
.portrait img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 10%; }
.portrait__legende { margin-top: 14px; font-size: .875rem; color: var(--ardoise); }

/* --- 12. La méthode : scène collante ---------------------------------- */
.methode__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); }
.etape { min-height: calc(var(--ecran) * .72); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 48px; opacity: .3; transition: opacity .5s var(--ease-out); }
.etape.est-active, .statique .etape { opacity: 1; }
.etape__num { font-size: .875rem; font-weight: 500; color: var(--accent); }
.etape__texte { color: var(--ardoise); font-weight: 300; font-size: 1.125rem; line-height: 1.5; max-width: 44ch; }
.etape__liens { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--givre); }
.etape__liens a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--givre); font-size: .975rem; transition: color .2s; }
.etape__liens a:hover { color: var(--accent); }
.etape__liens .fleche { color: var(--accent); }
.methode__scene { position: sticky; top: var(--entete); height: calc(var(--ecran) - var(--entete)); display: flex; align-items: center; }
.panneau { position: relative; width: 100%; height: min(560px, 76%); border: 1px solid var(--givre); border-radius: var(--r); background: var(--bande); overflow: hidden; }
.panneau__barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--givre); background: var(--toile); font-size: .8rem; color: var(--ardoise); }
.panneau__onglets { display: flex; gap: 4px; }
.panneau__onglets span { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: var(--r); font-weight: 500; color: var(--brume); transition: background-color .3s, color .3s; }
.panneau__onglets span.est-actif { background: var(--lavis); color: var(--accent-fonce); }
.panneau__etats { position: absolute; inset: 52px 0 0; }
.etat { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 3vw, 36px); opacity: 0; translate: 0 22px; pointer-events: none; transition: opacity .45s var(--ease-out), translate .7s var(--ease-out); }
.etat.est-actif { opacity: 1; translate: 0 0; pointer-events: auto; }
.etat__titre { font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ardoise); }
.etat__grand { font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; }
.etat__note { margin-top: auto; font-size: .78rem; line-height: 1.45; color: var(--ardoise); }
.etat .barres { gap: 16px; margin-top: 4px; }
.etat .barre { font-size: .9rem; }
.etat .barre__piste { height: 10px; }
.etat .barre__jauge { transition-duration: .8s; transition-delay: 0s; }

.curseur-montant { display: grid; gap: 10px; }
.curseur-montant label { font-size: .85rem; color: var(--encre-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--rempli, 30%) 100% no-repeat, var(--givre); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--givre); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); transition: scale .3s var(--ease-ressort); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1.5px solid var(--accent); }
input[type="range"]:active::-webkit-slider-thumb { scale: 1.2; }

.graphique { width: 100%; height: auto; flex: 1; min-height: 0; overflow: visible; }
.graphique .grille line { stroke: var(--givre); stroke-width: 1; }
.graphique .aire { fill: url(#fm-aire); opacity: 0; transition: opacity 1s .6s; }
.graphique .courbe { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: var(--longueur, 1200); stroke-dashoffset: var(--longueur, 1200); transition: stroke-dashoffset 1.8s var(--ease-in-out); }
.graphique .verse { fill: none; stroke: var(--brume); stroke-width: 1.5; stroke-dasharray: 5 5; }
.graphique .point { fill: var(--toile); stroke: var(--accent); stroke-width: 2.5; opacity: 0; transition: opacity .3s 1.7s; }
.graphique text { font-family: var(--font); font-size: 11px; fill: var(--ardoise); }
.est-actif .graphique .courbe, .statique .graphique .courbe, html:not(.js) .graphique .courbe { stroke-dashoffset: 0; }
.est-actif .graphique .aire, .est-actif .graphique .point, .statique .graphique .aire, .statique .graphique .point { opacity: 1; }
.legende { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; color: var(--encre-2); }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende i { width: 14px; height: 2.5px; border-radius: 2px; background: var(--accent); }
.legende i.pointille { background: repeating-linear-gradient(90deg, var(--brume) 0 4px, transparent 4px 7px); }
.legende b { font-weight: 500; color: var(--encre); }

.registre { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.registre li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--givre); opacity: 0; translate: 0 8px; transition: opacity .4s, translate .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + .1s); }
.est-actif .registre li, .statique .registre li, html:not(.js) .registre li { opacity: 1; translate: 0 0; }
.registre li span:last-child { font-weight: 500; }
.registre .moins span:last-child { color: var(--rouge); }
.registre .total { border-bottom: 0; border-top: 1px solid var(--encre); margin-top: 2px; }
.registre .total span:last-child { color: var(--accent); font-size: 1.1rem; }

.etat .coches li { font-size: .95rem; padding: 12px 0; border-bottom: 1px solid var(--givre); }
.etat .coches { gap: 0; }
.etat:not(.est-actif) .coche { background: transparent; border-color: var(--accent-bord); transition-delay: 0s; }
.etat:not(.est-actif) .coche path { stroke-dashoffset: 20; transition-delay: 0s; }
.etat.est-actif .coche { background: var(--accent); border-color: var(--accent); }
.etat.est-actif .coche path { stroke-dashoffset: 0; }

/* --- 13. Défilement horizontal des articles -------------------------- */
.hscroll { position: relative; }
.hscroll__collant { position: sticky; top: 0; min-height: var(--ecran); display: flex; flex-direction: column; justify-content: center; gap: clamp(32px, 4vw, 56px); padding-block: calc(var(--entete) + 24px) 40px; overflow: hidden; }
.hscroll__repere { display: flex; align-items: center; gap: 16px; font-size: .9rem; color: var(--ardoise); }
.hscroll__repere b { font-weight: 500; color: var(--encre); }
.hscroll__barre { width: clamp(100px, 14vw, 200px); height: 2px; background: var(--givre); overflow: hidden; }
.hscroll__barre span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hscroll__piste { position: relative; display: flex; gap: 24px; padding-inline: var(--bord); will-change: transform; }
.hscroll--libre .hscroll__collant { position: relative; min-height: 0; }
.hscroll--libre .hscroll__piste { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bord); scrollbar-width: none; transform: none !important; padding-bottom: 4px; }
.hscroll--libre .hscroll__piste::-webkit-scrollbar { display: none; }
.hscroll--libre .carte { scroll-snap-align: start; }

/* --- 14. Cartes : teinte, halo qui suit le pointeur, flèche ------------ */
.carte {
  position: relative; isolation: isolate; flex: 0 0 clamp(290px, 28vw, 380px);
  display: flex; flex-direction: column;
  background: var(--toile); border: 1px solid var(--givre); border-radius: var(--r);
  transition: background-color .3s, border-color .3s;
}
.carte::before { content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), var(--accent), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .3s; }
.carte::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(0, 133, 255, .07), transparent 45%); opacity: 0; transition: opacity .3s; }
.carte:hover { background: var(--bande); }
.carte:hover::before, .carte:hover::after { opacity: 1; }
.carte__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--givre); border-radius: var(--r) var(--r) 0 0; background: var(--lavis); }
.carte__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease-out); }
.carte:hover .carte__media img { scale: 1.05; }
.carte__media--vide { display: grid; place-items: center; color: var(--accent); background-image: linear-gradient(var(--accent-bord-2) 1px, transparent 1px), linear-gradient(90deg, var(--accent-bord-2) 1px, transparent 1px); background-size: 24px 24px; }
.carte__media--vide .icone { width: 56px; height: 56px; stroke-width: 1.2; transition: scale .8s var(--ease-ressort); }
.carte:hover .carte__media--vide .icone { scale: 1.12; }
.carte__corps { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.carte__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--brume); }
.carte__titre { font-size: 1.22rem; font-weight: 400; line-height: 1.28; letter-spacing: -.015em; }
.carte__titre a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.carte__extrait { font-size: .94rem; line-height: 1.55; color: var(--encre-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte__pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--givre); font-size: .85rem; color: var(--ardoise); }
.carte__lire { display: inline-flex; align-items: center; color: var(--accent); font-weight: 500; }
.carte:hover .fleche__ligne { opacity: 1; }
.carte:hover .fleche__pointe { translate: 3px 0; }
.carte--sombre { justify-content: space-between; gap: 48px; padding: 28px; background: var(--profond); border-color: var(--profond); color: #fff; }
.carte--sombre:hover { background: var(--profond-2); }
.carte--sombre .carte__lire { color: var(--accent-bord); font-size: 1rem; }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.grille-cartes .carte { flex: none; }

/* --- 15. Communauté : chiffres monuments et réseaux ------------------- */
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: clamp(56px, 7vw, 96px); }
.chiffre { padding: 8px 32px 8px 0; }
.chiffre + .chiffre { padding-left: 32px; border-left: 1px solid var(--givre); }
.chiffre__nombre { display: block; font-weight: 300; font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.045em; }
.chiffre__legende { display: block; margin-top: 14px; font-size: 1.05rem; color: var(--ardoise); }
.reseaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reseaux .carte { flex: none; padding: 28px; gap: 40px; justify-content: space-between; }
.reseau__haut { display: flex; justify-content: space-between; align-items: flex-start; }
.reseau__icone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--lavis); color: var(--accent); transition: rotate .6s var(--ease-ressort); }
.reseau__icone .icone { width: 24px; height: 24px; }
.carte:hover .reseau__icone { rotate: -8deg; }
.reseau__compte { margin-top: 6px; color: var(--ardoise); }

/* --- 16. Appel final (panneau sombre) ---------------------------------- */
.appel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 40px; padding: clamp(44px, 7vw, 96px) clamp(26px, 6vw, 80px); border-radius: var(--r); background: var(--profond); color: #fff; }
.appel__degrade { position: absolute; inset: 0; z-index: -1; opacity: .75; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%); mask-image: linear-gradient(100deg, transparent 35%, #000 90%); }
.appel__degrade canvas { width: 100%; height: 100%; }
.appel .titre { max-width: 14ch; }
.appel p { margin-top: 20px; max-width: 46ch; color: #B7C6DC; font-weight: 300; font-size: 1.15rem; }
.appel .duo { justify-content: flex-end; }

/* --- 17. Pied de page ------------------------------------------------- */
.pied { background: var(--bande); border-top: 1px solid var(--givre); padding-top: clamp(64px, 8vw, 104px); overflow: clip; }
.pied__grille { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.pied__intro { margin-top: 16px; max-width: 40ch; color: var(--encre-2); font-size: .95rem; }
.avertissement { margin-top: 22px; max-width: 46ch; padding-left: 12px; border-left: 2px solid var(--jaune); font-size: .85rem; line-height: 1.55; color: var(--ardoise); }
.pied__titre { margin-bottom: 14px; font-size: .875rem; font-weight: 500; color: var(--encre); }
.pied__liens { list-style: none; margin: 0; padding: 0; }
.pied__liens a { display: inline-block; padding-block: .32em; font-size: .95rem; color: var(--ardoise); transition: color .2s; }
.pied__liens a:hover { color: var(--accent); }
.pied__geant { margin-top: clamp(56px, 8vw, 104px); font-weight: 300; line-height: .82; letter-spacing: -.055em; white-space: nowrap; overflow: hidden; padding-top: .05em; padding-bottom: .08em; font-size: clamp(2.6rem, 10vw, 9.2rem); }
.pied__geant .mot-l + .mot-l { margin-left: .22em; }
.pied__geant .mot-l:last-child { color: var(--brume); }
.pied__geant .lettre { transition: translate 1.1s var(--ease-out), color .3s; transition-delay: calc(var(--i) * 30ms); }
.js .pied__geant:not(.is-in) .lettre { translate: 0 110%; }
.pied__geant .lettre:hover { color: var(--accent); transition-delay: 0s; }
.pied__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px 28px; border-top: 1px solid var(--givre); font-size: .85rem; color: var(--ardoise); }
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pied__bas a:hover { color: var(--accent); }
.haut-de-page { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 500; }
.haut-de-page .icone { width: 16px; height: 16px; transition: translate .4s var(--ease-out); }
.haut-de-page:hover .icone { translate: 0 -3px; }

/* Lettres et mots découpés */
.lettre { display: inline-block; }
.mot-l { display: inline-block; white-space: nowrap; }

/* --- 18. Article ------------------------------------------------------- */
.article-hero { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--entete) + clamp(48px, 6vw, 88px)); padding-bottom: clamp(40px, 5vw, 64px); }
.article-hero .degrade { height: 70%; opacity: .55; clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%); }
.article-hero .degrade::after { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, .2) 100%); }
.fil-ariane { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; color: var(--ardoise); }
.fil-ariane a:hover { color: var(--accent); }
.fil-ariane .fleche { margin: 0 2px; width: 8px; height: 8px; color: var(--brume); }
.article-hero h1 { max-width: 20ch; margin-block: 24px; font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.article-hero .chapo { max-width: 60ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--givre); font-size: .9rem; color: var(--ardoise); }
.article-meta .auteur-puce { margin: 0; }
.article-meta__info { display: inline-flex; align-items: center; gap: 8px; }
.article-meta__info .icone { width: 16px; height: 16px; color: var(--accent); }
.article-visuel { margin-bottom: clamp(48px, 6vw, 80px); }
.article-visuel figure { position: relative; overflow: hidden; aspect-ratio: 16 / 8; border: 1px solid var(--givre); border-radius: var(--r); background: var(--lavis); }
.article-visuel img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.article-corps { padding-bottom: var(--section); }
.article-mise { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sommaire { position: sticky; top: calc(var(--entete) + 32px); }
.sommaire__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sommaire__titre { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--encre); }
.sommaire__pourcent { font-size: .8rem; color: var(--ardoise); }
.sommaire__jauge { height: 2px; margin-bottom: 16px; background: var(--givre); }
.sommaire__jauge span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.sommaire ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--givre); }
.sommaire a { position: relative; display: block; padding: 7px 0 7px 16px; font-size: .9rem; line-height: 1.35; color: var(--ardoise); transition: color .2s; }
.sommaire a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 1.5px; background: var(--accent); scale: 1 0; transition: scale .35s var(--ease-out); }
.sommaire a:hover { color: var(--encre); }
.sommaire a.est-actif { color: var(--encre); }
.sommaire a.est-actif::before { scale: 1 1; }
.sommaire .niveau-3 a { padding-left: 28px; font-size: .85rem; }
.sommaire .partage { margin-top: 28px; }

.contenu { max-width: 68ch; font-size: 1.125rem; line-height: 1.75; color: var(--encre-texte); }
.contenu > * + * { margin-top: 1.2em; }
.contenu h1, .contenu h2, .contenu h3, .contenu h4 { color: var(--encre); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; margin-top: 2.1em; scroll-margin-top: calc(var(--entete) + 24px); }
.contenu h1, .contenu h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); font-weight: 300; }
.contenu h3 { font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
.contenu h2 + *, .contenu h3 + * { margin-top: .7em; }
.contenu a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; transition: color .2s; }
.contenu a:hover { color: var(--accent-fonce); }
.contenu strong { font-weight: 600; color: var(--encre); }
.contenu ul, .contenu ol { padding-left: 0; list-style: none; }
.contenu li { position: relative; padding-left: 34px; }
.contenu li + li { margin-top: .65em; }
.contenu ul li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: var(--r); background: var(--lavis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230085FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.contenu ol { counter-reset: n; }
.contenu ol li { counter-increment: n; }
.contenu ol li::before { content: counter(n); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r); background: var(--lavis); color: var(--accent-fonce); font-size: .78rem; font-weight: 500; }
.contenu blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); font-size: 1.25rem; font-weight: 300; line-height: 1.5; color: var(--encre); }
.contenu img { border-radius: var(--r); }
.contenu figure, .contenu .wp-block-image { margin-inline: 0; }
.contenu figcaption { margin-top: 10px; font-size: .875rem; color: var(--ardoise); }
.contenu table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.contenu th, .contenu td { padding: 12px 14px; border-bottom: 1px solid var(--givre); text-align: left; }
.contenu th { font-weight: 500; color: var(--encre); background: var(--bande); }
.contenu hr { border: 0; height: 1px; background: var(--givre); }
.contenu sup:empty, .contenu p:empty { display: none; }
.contenu .wp-block-spacer { height: 0 !important; }
.js .contenu > p, .js .contenu > ul, .js .contenu > ol, .js .contenu > h2, .js .contenu > h3 { transition: opacity .9s var(--ease-out), translate 1s var(--ease-out); }

.encadre { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin-top: 56px; padding: 24px; border-radius: var(--r); background: var(--lavis); }
.encadre .icone { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.encadre__titre { font-weight: 500; color: var(--encre); }
.encadre p { margin-top: 4px; font-size: .95rem; line-height: 1.6; color: var(--encre-2); }

.partage { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.partage__titre { width: 100%; margin-bottom: 4px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.partage .bouton { gap: 8px; }
.partage .icone { width: 16px; height: 16px; }

.auteur { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 40px; padding: 24px; border: 1px solid var(--givre); border-radius: var(--r); background: var(--bande); }
.auteur img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.auteur__nom { font-size: 1.15rem; font-weight: 500; }
.auteur p { margin-top: 4px; font-size: .95rem; color: var(--encre-2); }
.auteur .duo { margin-top: 14px; }

.suivant { position: relative; isolation: isolate; overflow: hidden; display: block; margin-top: clamp(64px, 8vw, 104px); padding: clamp(32px, 5vw, 56px); border: 1px solid var(--givre); border-radius: var(--r); transition: border-color .3s; }
.suivant::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lavis); clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--ease-in-out); }
.suivant:hover { border-color: var(--accent-bord); }
.suivant:hover::after { clip-path: inset(0 0 0 0); }
.suivant .titre-s { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 12px; }
.suivant .fleche { width: 22px; height: 22px; stroke-width: 1.5; color: var(--accent); }

/* --- 18 bis. Blocs des articles : encadrés, FAQ, vidéo, outils ---------
   Codes courts [fm_outil] et [fm_video] : inc/blocs-articles.php et
   assets/js/outils.js. Encadrés et FAQ : classes posées dans le texte
   (catalogue : .claude/skills/article/reference/outils.md). */
.contenu .wp-block-table { overflow-x: auto; }
.contenu .wp-block-table table { min-width: 520px; }
.contenu td.nombre, .contenu th.nombre { text-align: right; }

.fm-encadre { padding: 22px 26px; border-radius: var(--r); background: var(--lavis); }
.fm-encadre > * + * { margin-top: .6em; }
.contenu .fm-encadre p, .contenu .fm-encadre li { font-size: 1.02rem; line-height: 1.65; }
.fm-encadre__titre { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fonce); }
.fm-encadre--exemple { background: var(--bande); border: 1px solid var(--givre); }
.fm-encadre--exemple .fm-encadre__titre { color: var(--encre-2); }
.fm-encadre--attention { background: var(--toile); border: 1px solid var(--givre); border-left: 2px solid var(--encre); }
.fm-encadre--attention .fm-encadre__titre { color: var(--encre); }

.contenu details { border-bottom: 1px solid var(--givre); }
.contenu details + details { margin-top: 0; }
.contenu summary { position: relative; list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 500; color: var(--encre); }
.contenu summary::-webkit-details-marker { display: none; }
.contenu summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230085FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: rotate .3s var(--ease-out); }
.contenu details[open] summary::after { rotate: 180deg; }
.contenu details > :not(summary) { margin: 0 0 18px; }

.fm-video { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; border: 1px solid var(--givre); border-radius: var(--r); background: var(--bande); }
.fm-video__lecteur, .fm-video__cadre { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border: 0; border-radius: var(--r); background: var(--profond); }
.contenu .fm-video__lecteur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: scale .6s var(--ease-out); }
.fm-video__lecteur:hover img { scale: 1.04; }
.fm-video__bouton { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--accent); transition: scale .3s var(--ease-ressort); }
.fm-video__lecteur:hover .fm-video__bouton { scale: 1.08; }
.fm-video__bouton .icone { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; stroke: none; }
.fm-video--lien .fm-video__lecteur { background: radial-gradient(120% 80% at 70% 20%, rgba(0, 133, 255, .45), transparent 70%), var(--profond); }
.fm-video--lien .fm-video__lecteur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 25, 47, .15), rgba(10, 25, 47, .6)); }
.fm-video__icone { position: absolute; z-index: 1; top: 14px; left: 14px; color: #fff; }
.fm-video--lien .fm-video__bouton { z-index: 1; }
.fm-video__icone .icone { width: 24px; height: 24px; }
.fm-video__texte { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: 1rem; color: var(--encre-2); }
.fm-video__titre { font-size: 1.3rem; font-weight: 300; line-height: 1.3; letter-spacing: -.02em; color: var(--encre); }
.fm-video__desc { font-size: .95rem; line-height: 1.55; }
.fm-video__reseaux { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contenu .fm-video__reseaux a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--accent-bord-2); border-radius: var(--r); background: var(--toile); font-size: .875rem; color: var(--accent); text-decoration: none; transition: background .2s; }
.contenu .fm-video__reseaux a:hover { background: var(--lavis); }
.fm-video__reseaux .icone { width: 16px; height: 16px; }

.outil { display: grid; gap: 24px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--givre); border-radius: var(--r); background: var(--toile); font-size: 1rem; line-height: 1.5; }
.outil__tete { display: grid; gap: 6px; }
.outil__titre { font-size: clamp(1.3rem, 2vw, 1.5rem); font-weight: 300; line-height: 1.25; letter-spacing: -.02em; color: var(--encre); }
.outil__modes { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; cursor: pointer; }
.pastille input { position: absolute; opacity: 0; pointer-events: none; }
.pastille span { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--accent-bord-2); border-radius: 999px; font-size: .9rem; color: var(--accent-fonce); transition: background .2s, color .2s, border-color .2s; }
.pastille:hover span { background: var(--lavis); }
.pastille input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pastille input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.outil__champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.champ { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; }
.champ__libelle { font-size: .9rem; color: var(--encre-2); }
.champ__saisie { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 150px; height: 40px; padding: 0 12px; border: 1px solid var(--givre); border-radius: var(--r); background: var(--bande); color: var(--ardoise); font-size: .9rem; transition: border-color .2s; }
.champ__saisie:focus-within { border-color: var(--accent); }
.champ__saisie input { width: 6.5em; border: 0; background: transparent; font: 500 1rem var(--font); font-feature-settings: "tnum" 1; color: var(--encre); text-align: right; -moz-appearance: textfield; appearance: textfield; }
.champ__saisie input:focus { outline: none; }
.champ__saisie input::-webkit-inner-spin-button, .champ__saisie input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.champ__curseur { grid-column: 1 / -1; }
.outil__resultats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.resultat { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: var(--r); background: var(--bande); }
.resultat__libelle { font-size: .8rem; line-height: 1.35; color: var(--ardoise); }
.resultat__valeur { font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; color: var(--encre); }
.resultat--fort { background: var(--lavis); }
.resultat--fort .resultat__valeur { color: var(--accent-fonce); font-weight: 400; }
.outil__phrase { font-size: 1.05rem; color: var(--encre); }
.outil__note { font-size: .8rem; line-height: 1.5; color: var(--ardoise); }
.outil .graphique { flex: none; }
.outil .graphique .courbe { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
.outil .graphique .aire, .outil .graphique .point { opacity: 1; transition: none; }
.outil .graphique .aire { fill: rgba(0, 133, 255, .09); }
.outil .graphique text { font-size: 12px; }
.outil .barres { margin-top: 0; gap: 16px; }
.outil .barre { font-size: .92rem; }
.outil .barre__piste { height: 10px; }

/* --- 19. Archives, filtres, pages ------------------------------------- */
.archive-hero { position: relative; isolation: isolate; overflow: clip; padding-top: calc(var(--entete) + clamp(56px, 7vw, 104px)); padding-bottom: clamp(48px, 6vw, 80px); }
.archive-hero .degrade { height: 90%; opacity: .7; }
.archive-hero__icone { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border-radius: var(--r); background: var(--lavis); color: var(--accent); }
.archive-hero__icone .icone { width: 28px; height: 28px; }
.archive-hero .affiche { max-width: 14ch; }
.archive-hero .chapo { margin-top: 24px; }
.archive-hero .tag { margin-top: 28px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filtre { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--givre); border-radius: 999px; font-size: .9rem; color: var(--encre-2); transition: background-color .2s, border-color .2s, color .2s; }
.filtre:hover { border-color: var(--accent-bord); color: var(--accent); }
.filtre[aria-pressed="true"] { background: var(--lavis); border-color: var(--lavis); color: var(--accent-fonce); }
.filtre .icone { width: 15px; height: 15px; }
.carte[hidden] { display: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--givre); border-radius: var(--r); color: var(--encre); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-simple .contenu { max-width: 72ch; }
.vide { padding: 40px 0; color: var(--ardoise); }
.erreur { min-height: calc(var(--ecran) - 120px); display: flex; align-items: center; }
.erreur__code { font-weight: 300; font-size: clamp(6rem, 22vw, 16rem); line-height: .85; letter-spacing: -.06em; color: var(--brume); }
.recherche { display: flex; gap: 8px; max-width: 520px; margin-top: 28px; }
.recherche input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--givre); border-radius: var(--r); font: inherit; color: var(--encre); background: var(--toile); }
.recherche input:focus { outline: none; border-color: var(--accent); }
.contenu input[type="text"], .contenu input[type="email"], .contenu input[type="tel"], .contenu textarea, .contenu select { border-radius: var(--r) !important; }

/* --- 20. Apparitions pilotées par motion.js --------------------------- */
.js [data-reveal] { opacity: 0; translate: 0 32px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out), scale 1.1s var(--ease-out), clip-path 1.3s var(--ease-in-out); transition-delay: calc(var(--delai-base, 0s) + var(--delai, 0s)); }
.js [data-reveal="fondu"] { translate: 0 0; }
.js [data-reveal="echelle"] { translate: 0 0; scale: .94; }
.js [data-reveal="image"] { opacity: 1; translate: 0 0; clip-path: inset(0 0 100% 0); }
.js [data-reveal="image"] img { scale: 1.2; transition: scale 1.6s var(--ease-out) calc(var(--delai-base, 0s) + var(--delai, 0s)); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; clip-path: inset(0 0 0 0); }
.js [data-reveal="image"].is-in img { scale: 1; }

.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .03em .12em; margin: -.1em -.03em -.12em; }
.mot__in { display: inline-block; transition: translate 1.1s var(--ease-out); transition-delay: calc(var(--delai-base, 0s) + var(--delai, 0s) + var(--i, 0) * 40ms); }
.js [data-split]:not(.is-in) .mot__in { translate: 0 115%; }

.js [data-draw] path, .js [data-draw] polyline, .js [data-draw] line { stroke-dasharray: var(--longueur, 2000); stroke-dashoffset: var(--longueur, 2000); transition: stroke-dashoffset 1.5s var(--ease-in-out) calc(var(--delai-base, 0s) + var(--delai, 0s)); }
.js [data-draw].is-in path, .js [data-draw].is-in polyline, .js [data-draw].is-in line { stroke-dashoffset: 0; }

/* Filet de sécurité : si motion.js ne se charge pas, tout apparaît après 2,5 s */
html.js:not(.motion-pret) [data-reveal], html.js:not(.motion-pret) .mot__in, html.js:not(.motion-pret) .pied__geant .lettre { animation: secours 0s 2.5s forwards; }
@keyframes secours { to { opacity: 1; translate: 0 0; scale: 1; clip-path: none; } }

/* Mode capture (?statique) et mouvement réduit : tout est affiché, rien ne bouge */
.statique *, .statique *::before, .statique *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* Page contact et formulaire SureForms aux couleurs du site */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__infos { display: grid; gap: 12px; }
.contact__carte { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
.contact__carte > span:nth-child(2) { flex: 1; display: grid; gap: 2px; min-width: 0; }
.contact__carte .fleche { color: var(--accent); }
.contact__titre { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ardoise); }
.contact__valeur { font-size: 1.05rem; color: var(--encre); overflow-wrap: anywhere; }
.contact__note { margin-top: 12px; font-size: .9rem; color: var(--ardoise); }
.formulaire { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--givre); border-radius: var(--r); background: var(--bande); }
.formulaire > .contact__titre { display: block; margin-bottom: 18px; }
.formulaire form, .formulaire .srfm-form-container { font-family: var(--font) !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.formulaire label { font-family: var(--font) !important; font-weight: 500 !important; color: var(--encre) !important; }
.formulaire input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .formulaire textarea, .formulaire select {
  width: 100%; font-family: var(--font) !important; font-size: 1rem !important; color: var(--encre) !important;
  background: var(--toile) !important; border: 1px solid var(--givre) !important; border-radius: var(--r) !important; box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s;
}
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus { outline: none !important; border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--lavis) !important; }
.formulaire button[type="submit"], .formulaire input[type="submit"], .formulaire .srfm-submit-button {
  height: 48px !important; padding: 0 22px !important; border: 0 !important; border-radius: var(--r) !important;
  background: var(--accent) !important; color: #fff !important; font-family: var(--font) !important; font-weight: 500 !important; font-size: .9375rem !important; cursor: pointer; transition: background-color .2s;
}
.formulaire button[type="submit"]:hover, .formulaire input[type="submit"]:hover, .formulaire .srfm-submit-button:hover { background: var(--accent-survol) !important; }
/* Fluent Forms */
.formulaire .ff-el-group { margin-bottom: 18px; }
.formulaire .ff-el-form-control { padding: 12px 14px !important; line-height: 1.5 !important; }
.formulaire .ff-el-is-error .ff-el-form-control { border-color: #E5392C !important; }
.formulaire .error.text-danger { margin-top: 6px; font-size: .85rem; color: #E5392C; }
.formulaire .ff-message-success { padding: 18px 20px; border: 1px solid var(--givre) !important; border-radius: var(--r); background: var(--toile); box-shadow: none !important; color: var(--encre); }
.formulaire__note { margin-top: 14px; font-size: .85rem; color: var(--ardoise); }
.formulaire__note a { color: var(--accent); }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.formulaire .ff-el-form-check-label { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: .9rem; line-height: 1.5; color: var(--encre-2) !important; cursor: pointer; }
.formulaire .ff-el-form-check-input { flex: none; width: 18px; height: 18px; margin: 2px 0 0 !important; accent-color: var(--accent); }

/* Page du kit gratuit (page-kit-budget.php) : visuel et contenu à gauche, formulaire à droite */
.contact.kit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.kit__visuel { margin: 0 0 40px; max-width: 400px; }
.kit__visuel img { width: 100%; height: auto; border: 1px solid var(--givre); border-radius: var(--r); background: #fff; box-shadow: 0 32px 64px -32px rgba(10, 25, 47, .35); rotate: -2deg; }
.kit__liste { gap: 20px; }
.kit__liste li { align-items: flex-start; font-size: 1rem; line-height: 1.55; color: var(--encre-2); }
.kit__liste .coche { margin-top: 3px; }
.kit__liste strong { display: block; font-weight: 500; color: var(--encre); }
.kit-form button[type="submit"] { width: 100%; }
.kit__merci { display: grid; gap: 12px; }
.kit__merci p { margin-bottom: 6px; }
.kit__merci .bouton { width: 100%; }
.kit-methode .grille-cartes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.kit-methode .carte__extrait { display: block; overflow: visible; }
.kit__repartition { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -.02em; color: var(--accent); }
.kit__note { margin-top: 24px; max-width: 70ch; font-size: .85rem; color: var(--ardoise); }
@media (max-width: 960px) {
  .contact.kit { grid-template-columns: minmax(0, 1fr); }
  .kit .formulaire { order: -1; }
  .kit__visuel { max-width: 300px; margin-inline: auto; }
}

/* Barre d'administration WordPress (Mathis connecté) */
.admin-bar .entete, .admin-bar .progression { top: 32px; }
.admin-bar .menu-mobile { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .entete, .admin-bar .progression, .admin-bar .menu-mobile { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .entete--verre, .admin-bar .entete--cache { top: 0; }
}

/* --- 21. Adaptations écrans -------------------------------------------- */
@media (max-width: 1200px) {
  .entete__barre { gap: 20px; }
  .nav__lien { padding: 0 10px; }
  .entete__actions .bouton--fantome { display: none; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .vitrine { height: 600px; }
  .ui-budget { top: 0; }
}
@media (max-width: 1100px) {
  .article-mise { grid-template-columns: minmax(0, 1fr); }
  .sommaire { display: none; }
}
@media (max-width: 960px) {
  :root { --entete: 64px; }
  .nav, .entete__actions { display: none; }
  .burger { display: block; }

  /* Héros : texte, boutons, puis une seule carte nette, sans superposition */
  .hero { padding-top: calc(var(--entete) + 40px); padding-bottom: 64px; }
  .hero__grille { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero__texte { gap: 22px; }
  .degrade { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
  .degrade::after { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .92) 48%, rgba(255, 255, 255, .15) 85%); }
  .vitrine { height: auto; width: 100%; max-width: 440px; }
  .vitrine > * { position: relative; inset: auto; width: 100%; translate: none !important; }
  .ui-telephone, .ui-checklist { display: none; }
  .ui-budget .flotte { animation: none; }

  /* Qui suis-je */
  .apropos__grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .portrait { aspect-ratio: 1 / 1; }

  /* Méthode : onglets et panneau à faire glisser, au lieu du panneau collant */
  .methode__onglets, .methode__astuce { display: flex; }
  .methode__grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .methode__scene { order: -1; position: relative; top: auto; height: auto; display: block; }
  .panneau { height: auto; touch-action: pan-y; }
  .panneau__barre { display: none; }
  .panneau__etats { position: static; display: grid; grid-template-columns: minmax(0, 1fr); }
  .etat { position: relative; inset: auto; grid-area: 1 / 1; padding: 22px 20px; visibility: hidden; transition: opacity .4s var(--ease-out), translate .6s var(--ease-out), visibility 0s .4s; }
  .etat.est-actif { visibility: visible; transition-delay: 0s; }
  .etape { display: none; min-height: 0; opacity: 1; gap: 14px; padding-block: 28px 0; }
  .etape.est-active { display: flex; }

  /* Articles : cartes plus larges, la suivante reste visible */
  .hscroll .carte { flex-basis: min(82vw, 340px); }

  /* Communauté : les trois chiffres sur une ligne, réseaux en liste */
  .chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 48px; }
  .chiffre { padding: 4px 10px 4px 0; }
  .chiffre + .chiffre { padding-left: 12px; }
  .chiffre__nombre { font-size: clamp(1.9rem, 8.6vw, 3.2rem); }
  .chiffre__legende { margin-top: 8px; font-size: .82rem; line-height: 1.35; }
  .reseaux { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .reseaux .carte { flex-direction: row; align-items: center; gap: 16px; padding: 14px 18px; }
  .reseaux .reseau__haut { display: contents; }
  .reseaux .carte > span:last-child { order: 1; flex: 1; }
  .reseaux .carte .fleche { order: 2; color: var(--accent); }
  .reseaux .titre-s { font-size: 1.2rem; }
  .reseaux .reseau__compte { margin-top: 2px; font-size: .92rem; }
  .reseaux .reseau__icone { width: 44px; height: 44px; }

  .appel { grid-template-columns: minmax(0, 1fr); }
  .appel .duo { justify-content: flex-start; }
  .pied__grille { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pied__grille > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --section: 64px; }
  .section__tete { margin-bottom: 36px; }
  .ui__tete { font-size: .7rem; }
  .duo .bouton { flex: 1 1 auto; }
  .hscroll .carte__extrait { display: none; }
  .auteur { grid-template-columns: minmax(0, 1fr); }
  .pied__geant { margin-top: 48px; }

  /* Blocs des articles */
  .outil__champs { grid-template-columns: minmax(0, 1fr); }
  .outil__resultats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outil__resultats .resultat--fort { grid-column: 1 / -1; }
  .fm-video { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 14px; align-items: start; }
  .fm-video__titre { font-size: 1.1rem; }
  .fm-video__desc { display: none; }
  .fm-video__bouton { width: 44px; height: 44px; }
  .fm-encadre { padding: 18px 20px; }
}