/* Coginov — feuille de style commune
   Mise en page : éditoriale, alignée à gauche, asymétrique. Une seule audace :
   les documents qui se rangent en strates dans l'ouverture de l'accueil. */

:root {
  /* Couleurs : papier froid, encre bleu-noir, gris-bleu des boîtes d'archives,
     dégradé de marque (ambre vers corail) réservé aux accents. */
  --papier: #f3f4f1;
  --papier-2: #e8ebe7;
  --feuille: #fdfdfb;
  --encre: #18222c;
  --encre-2: #4a5966;
  --boite: #4c6273;
  --boite-encre: #f1f3f1;
  --boite-2: #c9d3da;
  --corail: #bb3341;
  --corail-fort: #9e2a37;
  --valide: #2a6f47;
  --ambre: #d97b48;
  --filet: #d3d8da;
  --focus: #bb3341;
  --ombre: 24 34 44;
  --tuile-logo: #ffffff; /* reste claire en mode sombre : fond blanc exigé par les chartes des partenaires */

  /* Typographie */
  --f-titre: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-texte: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-hero: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem);
  --t-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3.1rem);
  --t-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --t-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --t-base: 1.0625rem;
  --t-petit: 0.9rem;

  --page: 76rem;
  --texte: 38rem;
  --rayon: 6px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #11171d;
    --papier-2: #18212a;
    --feuille: #1f2a34;
    --encre: #e7ebe8;
    --encre-2: #a5b1ba;
    --boite: #24323f;
    --boite-encre: #e7ebe8;
    --boite-2: #3a4c5b;
    --corail: #f0737c;
    --corail-fort: #f59099;
    --ambre: #e99463;
    --filet: #2c3944;
    --focus: #f0737c;
    --ombre: 0 0 0;
    --valide: #79c99a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #11171d;
  --papier-2: #18212a;
  --feuille: #1f2a34;
  --encre: #e7ebe8;
  --encre-2: #a5b1ba;
  --boite: #24323f;
  --boite-encre: #e7ebe8;
  --boite-2: #3a4c5b;
  --corail: #f0737c;
  --corail-fort: #f59099;
  --ambre: #e99463;
  --filet: #2c3944;
  --focus: #f0737c;
  --ombre: 0 0 0;
  --valide: #79c99a;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--papier);
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 {
  font-family: var(--f-titre);
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--t-hero); letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
::selection { background: var(--corail); color: var(--feuille); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.lien {
  color: var(--corail);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-thickness .2s var(--ease), color .2s;
}
.lien:hover { text-decoration-thickness: 2px; color: var(--corail-fort); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--papier);
  padding: 10px 14px; border-radius: var(--rayon); text-decoration: none;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Gouttière : une seule enveloppe par bande */
.enveloppe {
  width: 100%;
  max-width: calc(var(--page) + 2 * max(16px, env(safe-area-inset-left, 0px)));
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .enveloppe {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.bande { padding-block: clamp(4rem, 3rem + 5vw, 8rem); }
.bande--serree { padding-block: clamp(3rem, 2.4rem + 3vw, 5rem); }
.bande + .bande { border-top: 1px solid var(--filet); }

.chapeau { font-size: var(--t-lead); line-height: 1.5; color: var(--encre-2); max-width: var(--texte); }
.prose { display: grid; gap: 1.1em; max-width: var(--texte); color: var(--encre-2); }
.prose strong { color: var(--encre); font-weight: 600; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--f-texte);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease);
}
.bouton:active { transform: scale(.97); }
.bouton--plein { background: var(--corail); color: var(--feuille); }
.bouton--plein:hover { background: var(--corail-fort); }
.bouton--trait { border-color: var(--encre); color: var(--encre); background: transparent; }
.bouton--trait:hover { background: var(--encre); color: var(--papier); }
.bouton--clair { background: var(--boite-encre); color: var(--boite); }
.bouton--clair:hover { background: var(--feuille); color: var(--encre); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.entete.is-scrolled { border-bottom-color: var(--filet); }
.entete__rang { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.marque { display: inline-flex; align-items: center; flex-shrink: 0; }
.marque img { width: 128px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, .5rem + 1.5vw, 2.2rem); }
.nav__liens { display: flex; gap: clamp(1rem, .4rem + 1.4vw, 2rem); list-style: none; }
.nav__liens a {
  text-decoration: none; font-weight: 500; color: var(--encre-2);
  padding-block: .4rem; background-image: linear-gradient(var(--corail), var(--corail));
  background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .25s var(--ease), color .2s;
}
.nav__liens a:hover, .nav__liens a[aria-current="page"] { color: var(--encre); background-size: 100% 1.5px; }
.nav__menu { display: none; }
.langue {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 .7rem;
  border: 1px solid var(--filet); border-radius: 999px;
  font: 600 .85rem/1 var(--f-texte); letter-spacing: .04em;
  color: var(--encre-2); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.langue:hover { border-color: var(--corail); color: var(--corail); }
@media (max-width: 860px) { .langue { order: -1; } }

@media (max-width: 860px) {
  .nav__menu {
    display: inline-flex; align-items: center; gap: .5rem;
    min-height: 44px; padding: 0 1rem; border-radius: 999px;
    border: 1px solid var(--filet); background: var(--feuille); color: var(--encre);
    font: 600 .95rem/1 var(--f-texte); cursor: pointer;
  }
  .nav__panneau {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--papier); border-bottom: 1px solid var(--filet);
    padding: 1rem max(16px, env(safe-area-inset-right, 0px)) 1.5rem max(16px, env(safe-area-inset-left, 0px));
    display: grid; gap: 1rem;
  }
  .nav__panneau[hidden] { display: none !important; }
  .nav__liens { flex-direction: column; gap: 0; }
  .nav__liens a { display: block; padding-block: .8rem; font-size: 1.15rem; border-bottom: 1px solid var(--filet); background-image: none; }
  .nav__panneau .bouton { justify-self: start; }
}
@media (min-width: 861px) {
  .nav__panneau { display: flex !important; align-items: center; gap: clamp(1rem, .5rem + 1.5vw, 2.2rem); }
}

/* ---------- Ouverture (accueil) ---------- */
.ouverture { padding-block: clamp(2rem, 1.2rem + 4vw, 5.5rem) clamp(1rem, .5rem + 2vw, 3rem); }
.ouverture__grille { display: grid; grid-template-areas: "titre" "scene" "suite"; gap: 1.4rem; }
.ouverture__titre { grid-area: titre; }
.ouverture__scene { grid-area: scene; min-width: 0; }
.ouverture__suite { grid-area: suite; display: grid; gap: 1.6rem; min-width: 0; }
@media (min-width: 960px) {
  .ouverture__grille {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas: "titre scene" "suite scene";
    column-gap: clamp(2.5rem, 1rem + 4vw, 4rem); row-gap: 1.6rem;
  }
  .ouverture__titre { align-self: end; }
  .ouverture__suite { align-self: start; }
  .ouverture__scene { align-self: center; }
}
@media (max-width: 959px) {
  .strates { max-width: 420px; aspect-ratio: 1 / .84; }
  .strates__rejouer { margin-top: .2rem; }
}

/* Titre d'accueil : les deux lignes se posent avec les documents */
.titre-anime .ligne { display: block; transition: opacity .8s var(--ease) var(--ld, 0s), transform .9s var(--ease) var(--ld, 0s); }
.titre-anime.is-avant .ligne { opacity: 0; transform: translateY(.35em); }
.ouverture__actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-top: .4rem; }

/* La scène : des feuilles éparses qui se rangent en trois dossiers */
.strates {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  container-type: size;
}
.dossier, .feuille { position: absolute; left: 0; top: 0; }
.dossier {
  width: 84cqw; height: 25cqh;
  transform: translate(8cqw, var(--y));
  background: var(--papier-2);
  border: 1px solid var(--filet);
  border-radius: 4px 8px 8px 8px;
  transition: opacity .6s var(--ease) var(--dd, 0s), transform .8s var(--ease) var(--dd, 0s);
}
.dossier__onglet {
  position: absolute; left: -1px; bottom: 100%;
  display: inline-flex; align-items: center; gap: .5em;
  height: max(5.4cqh, 1.9em); padding: 0 1em;
  border-radius: 6px 6px 0 0;
  background: var(--onglet);
  color: #fff;
  font: 600 clamp(9px, 2.5cqw, 13px)/1 var(--f-texte);
  letter-spacing: .01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dossier__statut {
  position: absolute; right: 11cqw; top: 0; z-index: 3;
  transform: translateY(var(--cy));
  display: inline-flex; align-items: center; gap: .45em;
  padding: .35em .7em; border-radius: 999px;
  background: var(--feuille); border: 1px solid var(--filet);
  font: 500 clamp(9px, 2.3cqw, 12px)/1 var(--f-texte); color: var(--encre-2);
  transition: opacity .5s var(--ease) calc(var(--dd, 0s) + .35s), transform .5s var(--ease) calc(var(--dd, 0s) + .35s);
}
.dossier__statut::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--onglet); }
.feuille {
  width: 70cqw; height: 19cqh;
  border-radius: 3px;
  background:
    linear-gradient(var(--encre-2), var(--encre-2)) 7% 22% / 34% 1.6cqh no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 2.6cqh, var(--filet) 2.6cqh calc(2.6cqh + 1px)) 7% 100% / 86% 58% no-repeat,
    var(--feuille);
  border: 1px solid var(--filet);
  box-shadow: 0 1px 2px rgb(var(--ombre) / .06), 0 6px 18px -8px rgb(var(--ombre) / .18);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform 1.15s var(--ease) var(--d, 0s);
  will-change: transform;
}
.strates.is-scattered .feuille { transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); }
.strates.is-scattered .dossier { opacity: 0; transform: translate(8cqw, calc(var(--y) + 3cqh)); }
.strates.is-scattered .dossier__statut { opacity: 0; transform: translateY(calc(var(--cy) + 1.5cqh)); }
.ouverture { overflow-x: clip; }
.strates__rejouer {
  display: block; margin: 1.2rem auto 0;
  background: none; border: 0; padding: .6rem .2rem; min-height: 44px;
  font: 500 var(--t-petit)/1 var(--f-texte); color: var(--encre-2);
  text-decoration: underline; text-underline-offset: .25em; cursor: pointer;
}
.strates__rejouer:hover { color: var(--corail); }

/* ---------- Paragraphe-menu ---------- */
.intro-liens {
  font-family: var(--f-titre);
  font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.35rem);
  line-height: 1.3; letter-spacing: -0.01em;
  max-width: 52rem; text-wrap: pretty;
}
.intro-liens a {
  color: var(--corail);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em;
  transition: text-decoration-thickness .2s;
}
.intro-liens a:hover { text-decoration-thickness: 2px; }

/* ---------- Plateforme : rangées éditoriales ---------- */
.entete-section { display: grid; gap: 1.1rem; align-content: start; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); max-width: 46rem; }
.produits { list-style: none; border-top: 1px solid var(--encre); }
.produit {
  display: grid; gap: 1rem 2.5rem;
  padding-block: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
  border-bottom: 1px solid var(--filet);
}
@media (min-width: 860px) { .produit { grid-template-columns: 15rem 1fr 1fr; align-items: start; } }
.produit__nom { font-family: var(--f-titre); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.05; }
.produit__nom span { display: block; font-family: var(--f-texte); font-size: var(--t-petit); color: var(--encre-2); margin-top: .5rem; letter-spacing: 0; }
.produit__resume { font-size: 1.2rem; line-height: 1.45; min-width: 0; }
.produit__points { list-style: none; display: grid; gap: .55rem; color: var(--encre-2); min-width: 0; }
.produit__points li { padding-left: 1.2rem; position: relative; }
.produit__points li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .45rem; height: .45rem; transform: rotate(45deg);
  border: 1.5px solid var(--corail); border-radius: 1px;
}
.produit__lien { grid-column: 1 / -1; }
@media (min-width: 860px) { .produit__lien { grid-column: 2 / -1; } }

/* ---------- Cycle de vie ---------- */
.cycle { --p: 0; }
.cycle__cadre { position: relative; }
.cycle__liste { list-style: none; display: grid; gap: 2rem; counter-reset: etape; }
.cycle__piste, .cycle__remplissage { position: absolute; background: var(--filet); }
.cycle__remplissage { background: linear-gradient(90deg, var(--ambre), var(--corail)); }
.cycle__etape { position: relative; display: grid; gap: .6rem; padding-left: 3.2rem; counter-increment: etape; min-width: 0; }
.cycle__etape::before {
  content: counter(etape);
  position: absolute; left: 0; top: -.15rem;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--papier); border: 1.5px solid var(--filet);
  font: 600 .95rem/1 var(--f-texte); color: var(--encre-2);
  transition: background-color .35s var(--ease), border-color .35s, color .35s;
  font-variant-numeric: tabular-nums;
}
.cycle__etape.is-atteinte::before { background: var(--corail); border-color: var(--corail); color: var(--feuille); }
.cycle__etape h3 { font-size: 1.35rem; }
.cycle__etape p { color: var(--encre-2); }
.cycle__duree { font-size: var(--t-petit); color: var(--encre-2); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .cycle__piste, .cycle__remplissage { left: calc(1.1rem - 1px); top: .5rem; bottom: .5rem; width: 2px; }
  .cycle__remplissage { background: linear-gradient(180deg, var(--ambre), var(--corail)); transform-origin: top; transform: scaleY(var(--p)); }
}
@media (min-width: 900px) {
  .cycle__liste { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .cycle__piste, .cycle__remplissage { left: 1.1rem; right: 0; top: .95rem; height: 2px; }
  .cycle__remplissage { transform-origin: left; transform: scaleX(var(--p)); }
  .cycle__etape { padding-left: 0; padding-top: 3.4rem; }
}

/* ---------- Équipe (déclaration) ---------- */
.declaration { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .declaration { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.declaration h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.2rem); line-height: 1.02; }
.metiers { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.metiers li { padding: .5rem 1rem; border: 1px solid var(--filet); border-radius: 999px; font-size: var(--t-petit); background: var(--feuille); }

/* ---------- Faits ---------- */
.faits { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--encre); }
@media (min-width: 720px) { .faits { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
@media (min-width: 1100px) { .faits { grid-template-columns: repeat(4, 1fr); } }
.faits li { display: grid; gap: .3rem; padding-block: 1.4rem; border-bottom: 1px solid var(--filet); }
.faits strong { font-family: var(--f-titre); font-weight: 450; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: lining-nums; }
.faits span { color: var(--encre-2); font-size: var(--t-petit); }

/* ---------- Secteurs ---------- */
.deux-colonnes { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }
.secteurs { list-style: none; display: grid; }
@media (min-width: 600px) { .secteurs { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.secteurs li { padding-block: 1rem; border-bottom: 1px solid var(--filet); display: grid; gap: .2rem; }
.secteurs li:first-child, .secteurs li:nth-child(2) { border-top: 1px solid var(--filet); }
@media (max-width: 599px) { .secteurs li:nth-child(2) { border-top: 0; } }
.secteurs strong { font-weight: 600; }
.secteurs span { color: var(--encre-2); font-size: var(--t-petit); }

/* ---------- Bande d'appel (boîte d'archives) ---------- */
.appel { background: var(--boite); color: var(--boite-encre); }
.appel__grille { display: grid; gap: 2rem; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
@media (min-width: 900px) { .appel__grille { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.appel h2 { color: var(--boite-encre); }
.appel p { color: var(--boite-encre); max-width: 34rem; margin-top: 1rem; }
.appel__actions { display: grid; gap: 1rem; justify-items: start; }
.appel__tel { font-variant-numeric: tabular-nums; color: var(--boite-encre); }
.appel__tel a { color: inherit; text-underline-offset: .2em; }

/* ---------- Pages intérieures ---------- */
.titre-page { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: 1.4rem; }
.titre-page h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); max-width: 18ch; }
.sous-nav { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin-top: .6rem; }
.sous-nav-barre {
  position: sticky; top: calc(77px + env(safe-area-inset-top, 0px)); z-index: 40;
  background: var(--papier); border-bottom: 1px solid var(--filet); padding-block: .6rem;
}
.sous-nav-barre .sous-nav { margin-top: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.sous-nav-barre .sous-nav::-webkit-scrollbar { display: none; }
@media (max-width: 480px) {
  .sous-nav-barre .sous-nav { gap: .4rem; }
  .sous-nav-barre .sous-nav a { padding: 0 .85rem; font-size: .92rem; }
}
.sous-nav a[aria-current="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.sous-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
  border: 1px solid var(--filet); border-radius: 999px; text-decoration: none;
  font-weight: 500; background: var(--feuille); transition: border-color .2s, color .2s;
}
.sous-nav a:hover { border-color: var(--corail); color: var(--corail); }
.sous-nav a[aria-current="true"]:hover { color: var(--papier); }

.fiche { display: grid; gap: 2rem 4rem; }
[id] { scroll-margin-top: calc(96px + env(safe-area-inset-top, 0px)); }
.bande[id] { scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px)); }
@media (min-width: 960px) { .fiche { grid-template-columns: 22rem 1fr; } }
.fiche__tete { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 960px) { .fiche__tete { position: sticky; top: calc(160px + env(safe-area-inset-top, 0px)); } }
.fiche__tete h2 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
.fiche__accroche { font-size: 1.2rem; line-height: 1.45; color: var(--encre-2); }
.fiche__corps { display: grid; gap: 2.4rem; min-width: 0; }
.capacites { display: grid; gap: 0; list-style: none; border-top: 1px solid var(--encre); }
@media (min-width: 680px) { .capacites { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.capacites li { padding-block: 1.3rem; border-bottom: 1px solid var(--filet); display: grid; gap: .4rem; align-content: start; }
.capacites h3 { font-family: var(--f-texte); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.capacites p { color: var(--encre-2); font-size: .98rem; }

/* Capacités repliables : ouvertes sur grand écran, repliables sur téléphone */
.capa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.capa summary::-webkit-details-marker { display: none; }
.capa p { margin-top: .4rem; }
@media (min-width: 720px) { .capa summary { cursor: default; } }
@media (max-width: 719px) {
  .capacites--repliables li { padding-block: .35rem; }
  .capa summary { min-height: 48px; cursor: pointer; }
  .capa summary::after {
    content: ""; flex-shrink: 0; width: .55rem; height: .55rem; margin-right: .3rem;
    border-right: 1.5px solid var(--encre-2); border-bottom: 1.5px solid var(--encre-2);
    transform: translateY(-25%) rotate(45deg); transition: transform .25s var(--ease);
  }
  .capa[open] summary::after { transform: translateY(25%) rotate(-135deg); }
  .capa p { padding-bottom: .9rem; }
}

/* Démonstration : lecture d'une facture par QoreCapture */
.extraction {
  margin: 0; display: grid; gap: 1.4rem 2rem;
  background: var(--papier-2); border: 1px solid var(--filet); border-radius: 10px;
  padding: clamp(1rem, .6rem + 2vw, 2rem);
}
@media (min-width: 760px) { .extraction { grid-template-columns: 1fr 1fr; align-items: center; } }
.extraction figcaption { grid-column: 1 / -1; font-size: .85rem; color: var(--encre-2); }
.extraction__doc {
  background: var(--feuille); border: 1px solid var(--filet); border-radius: 4px;
  padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .9rem; min-width: 0;
  font-size: .82rem; color: var(--encre-2); font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px rgb(var(--ombre) / .06), 0 10px 24px -12px rgb(var(--ombre) / .25);
  transform: rotate(-.6deg);
}
.extraction__haut { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; }
.extraction__titre { font-family: var(--f-titre); font-size: 1.35rem; color: var(--encre); }
.extraction__meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.extraction__lignes { display: grid; gap: .55rem; padding-block: .3rem; }
.extraction__lignes i { display: block; height: 1px; background: var(--filet); }
.extraction__lignes i:nth-child(odd) { width: 86%; }
.extraction__total { display: flex; justify-content: flex-end; color: var(--encre); font-weight: 600; }
.extraction__zone {
  padding: .12rem .35rem; border-radius: 3px;
  background: color-mix(in srgb, var(--corail) 12%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--corail) 55%, transparent);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease);
  transition-delay: calc(var(--i) * .5s);
}
.extraction__donnees { min-width: 0; }
.extraction__donnees dl { margin: 0; display: grid; border-top: 1px solid var(--encre); }
.extraction__champ { display: grid; gap: .15rem 1rem; padding-block: .7rem; border-bottom: 1px solid var(--filet); align-items: center; }
.extraction__champ dt { font-size: .85rem; color: var(--encre-2); }
.extraction__champ dd { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: .8rem; font-weight: 600; min-width: 0; font-variant-numeric: tabular-nums; }
.extraction__valeur { min-width: 0; overflow-wrap: break-word; }
.extraction__etat {
  display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0;
  font-size: .8rem; font-weight: 500; color: var(--valide);
  transition: color .4s; transition-delay: calc(var(--i) * .5s + .2s);
}
.extraction__coche {
  display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: color-mix(in srgb, var(--valide) 16%, transparent);
  transition: background-color .4s, transform .4s var(--ease); transition-delay: inherit;
}
.extraction__coche svg { transition: opacity .3s; transition-delay: inherit; }
.extraction__envoi {
  margin-top: .9rem; display: flex; align-items: center; gap: .55rem;
  font-size: .88rem; color: var(--encre-2);
  transition: opacity .5s; transition-delay: calc(var(--i) * .5s);
}
.extraction__envoi::before {
  content: ""; flex-shrink: 0; width: .45rem; height: .45rem; transform: rotate(45deg);
  border: 1.5px solid var(--corail); border-radius: 1px;
}
.extraction.is-attente .extraction__zone { background: transparent; box-shadow: inset 0 0 0 1.5px transparent; transition-delay: 0s; }
.extraction.is-attente .extraction__etat { color: var(--encre-2); transition-delay: 0s; }
.extraction.is-attente .extraction__coche { background: var(--feuille); transform: scale(.85); }
.extraction.is-attente .extraction__coche svg { opacity: 0; }
.extraction.is-attente .extraction__envoi { opacity: .4; transition-delay: 0s; }

.encart {
  background: var(--feuille); border: 1px solid var(--filet); border-radius: 10px;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); display: grid; gap: .8rem;
}
.encart h3 { font-size: 1.35rem; }
.encart p { color: var(--encre-2); }

/* Chiffres clés dans un encart */
.chiffres { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--filet); }
@media (min-width: 560px) { .chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; } }
.chiffres li { display: grid; gap: .25rem; align-content: start; padding-block: .9rem; border-bottom: 1px solid var(--filet); min-width: 0; }
.chiffres strong { font-family: var(--f-titre); font-weight: 450; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1; color: var(--corail); font-variant-numeric: lining-nums tabular-nums; }
.chiffres span { color: var(--encre-2); font-size: var(--t-petit); line-height: 1.4; }
.chiffres small { display: block; margin-bottom: .3rem; font: 500 var(--t-petit)/1.2 var(--f-texte); color: var(--encre-2); }

/* Étapes numérotées (déroulement d'un audit) */
.etapes { display: grid; gap: 1rem; }
.etapes h3 { font-size: 1.35rem; }
.etapes ol { list-style: none; counter-reset: etape; display: grid; border-top: 1px solid var(--encre); }
.etapes li {
  counter-increment: etape; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: .75rem;
  padding-block: .9rem; border-bottom: 1px solid var(--filet); min-width: 0;
}
.etapes li::before { content: counter(etape, decimal-leading-zero); grid-row: span 2; font: 600 var(--t-petit)/1.6 var(--f-texte); color: var(--corail); font-variant-numeric: tabular-nums; }
.etapes strong { font-weight: 600; }
.etapes span { color: var(--encre-2); font-size: .98rem; }

/* Flux entre les solutions */
.flux { list-style: none; display: grid; gap: 1rem; counter-reset: flux; }
@media (min-width: 860px) { .flux { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.flux li { counter-increment: flux; display: grid; gap: .5rem; padding: 1.4rem 0; border-top: 2px solid var(--encre); min-width: 0; }
@media (min-width: 860px) { .flux li { padding: 1.4rem 2rem 1.4rem 0; } .flux li + li { padding-left: 2rem; border-left: 1px solid var(--filet); } }
.flux li::before { content: counter(flux); font: 600 var(--t-petit)/1 var(--f-texte); color: var(--corail); }
.flux h3 { font-size: 1.4rem; }
.flux p { color: var(--encre-2); }

/* Services */
.services { list-style: none; display: grid; border-top: 1px solid var(--encre); }
.service { display: grid; gap: .8rem 3rem; padding-block: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); border-bottom: 1px solid var(--filet); scroll-margin-top: 96px; }
@media (min-width: 900px) { .service { grid-template-columns: 1fr 1.25fr; } }
.service h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.service__corps { display: grid; gap: 1rem; color: var(--encre-2); min-width: 0; }
.service__corps ul { list-style: none; display: grid; gap: .5rem; }
.service__corps li { padding-left: 1.2rem; position: relative; }
.service__corps li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem;
  transform: rotate(45deg); border: 1.5px solid var(--corail); border-radius: 1px;
}

.demarche { list-style: none; display: grid; gap: 0; counter-reset: dem; }
@media (min-width: 700px) { .demarche { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; } }
@media (min-width: 1100px) { .demarche { grid-template-columns: repeat(5, 1fr); column-gap: 1.5rem; } }
.demarche li { counter-increment: dem; display: grid; gap: .5rem; align-content: start; padding-block: 1.4rem; border-top: 1px solid var(--filet); min-width: 0; }
.demarche li::before { content: counter(dem); font-family: var(--f-titre); font-size: 2.4rem; line-height: 1; color: var(--corail); font-variant-numeric: lining-nums; }
.demarche h3 { font-family: var(--f-texte); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.demarche p { color: var(--encre-2); font-size: .98rem; }

/* Historique */
.historique { list-style: none; display: grid; border-top: 1px solid var(--encre); }
.historique li { display: grid; gap: .4rem 2.5rem; padding-block: 1.8rem; border-bottom: 1px solid var(--filet); }
@media (min-width: 760px) { .historique li { grid-template-columns: 9rem 1fr; } }
.historique time { font-family: var(--f-titre); font-size: 2.2rem; line-height: 1; color: var(--corail); font-variant-numeric: lining-nums; }
.historique h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.historique p { color: var(--encre-2); max-width: var(--texte); }
.historique.js-progression time { color: var(--encre-2); transition: color .6s var(--ease); }
.historique.js-progression li.is-atteinte time { color: var(--corail); }

.citation { font-family: var(--f-titre); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.3; max-width: 50rem; margin: 0; }
.citation p { text-wrap: pretty; }
.citation footer { font-family: var(--f-texte); font-size: var(--t-petit); color: var(--encre-2); margin-top: 1.2rem; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.25fr; gap: 5rem; } }
.coordonnees { display: grid; gap: 1.8rem; align-content: start; }
.coordonnees dl { margin: 0; display: grid; gap: 1.4rem; }
.coordonnees dt { font-size: var(--t-petit); color: var(--encre-2); margin-bottom: .25rem; }
.coordonnees dd { margin: 0; font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
.copier {
  font: 500 .85rem/1 var(--f-texte); color: var(--encre-2);
  background: none; border: 1px solid var(--filet); border-radius: 999px;
  min-height: 34px; padding: 0 .8rem; cursor: pointer; transition: border-color .2s, color .2s;
}
.copier:hover { border-color: var(--corail); color: var(--corail); }

.formulaire { display: grid; gap: 1.3rem; background: var(--feuille); border: 1px solid var(--filet); border-radius: 12px; padding: clamp(1.3rem, 1rem + 1.8vw, 2.4rem); }
.formulaire__rang { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .formulaire__rang { grid-template-columns: 1fr 1fr; } }
.champ { display: grid; gap: .45rem; min-width: 0; }
.champ label { font-weight: 600; font-size: .95rem; }
.champ .aide { font-size: .85rem; color: var(--encre-2); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--papier); border: 1px solid var(--filet); border-radius: 8px;
  padding: .8rem .9rem; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--corail); box-shadow: 0 0 0 3px color-mix(in srgb, var(--corail) 22%, transparent); }
.champ.is-erreur input, .champ.is-erreur select, .champ.is-erreur textarea { border-color: var(--corail); }
.champ .erreur { font-size: .88rem; color: var(--corail); font-weight: 500; }
.formulaire__pied { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.formulaire__note { font-size: .85rem; color: var(--encre-2); max-width: 26rem; }
.confirmation { display: grid; gap: 1rem; }
.confirmation h3 { font-size: 1.6rem; }
.confirmation p { color: var(--encre-2); }
.confirmation pre {
  margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: .95rem;
  background: var(--papier); border: 1px solid var(--filet); border-radius: 8px; padding: 1rem; color: var(--encre);
}
.confirmation__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--filet); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: .95rem; }
.pied__grille { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied__marque { display: grid; gap: 1rem; align-content: start; max-width: 22rem; color: var(--encre-2); }
.pied__marque img { width: 140px; }
.pied h2 { font-family: var(--f-texte); font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: .8rem; }
.pied ul { list-style: none; display: grid; gap: .45rem; }
.pied a { color: var(--encre-2); text-decoration: none; }
.pied a:hover { color: var(--corail); text-decoration: underline; text-underline-offset: .2em; }
.pied address { font-style: normal; color: var(--encre-2); display: grid; gap: .45rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); color: var(--encre-2); font-size: .85rem; }

/* ---------- Équipe ---------- */
.equipe { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.equipe .entete-section { margin-bottom: 0; }
.equipe__direction { margin: 0; display: grid; gap: 1.4rem 3rem; }
@media (min-width: 900px) { .equipe__direction { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; } }
.equipe img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--papier-2); object-fit: cover; }
.equipe__direction img { aspect-ratio: 3 / 2; }
.equipe__noms { margin: 0; display: grid; gap: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--encre); }
.equipe__noms dt { font-family: var(--f-titre); font-size: 1.45rem; line-height: 1.15; }
.equipe__noms dd { margin: .25rem 0 0; color: var(--encre-2); }
.equipe__note { margin-top: 1.1rem; font-size: .85rem; color: var(--encre-2); }
.equipe__membres { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 1000px) { .equipe__membres { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }
.membre img { aspect-ratio: 4 / 5; }
.membre h3 { margin-top: 1rem; font-size: 1.3rem; }
.membre p { margin-top: .25rem; font-size: .95rem; color: var(--encre-2); }
@media (max-width: 699px) {
  .equipe__membres { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--filet); }
  .membre { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; align-items: center; padding-block: 1rem; border-bottom: 1px solid var(--filet); }
  .membre picture { grid-row: span 2; }
  .membre img { border-radius: 8px; }
  .membre h3 { margin-top: 0; align-self: end; }
  .membre p { align-self: start; }
}

/* ---------- Événements ---------- */
.evenements { list-style: none; border-top: 1px solid var(--encre); }
.evenement { display: grid; gap: .5rem 2.5rem; padding-block: 1.6rem; border-bottom: 1px solid var(--filet); }
@media (min-width: 760px) { .evenement { grid-template-columns: 11rem minmax(0, 1fr) auto; align-items: start; } }
.evenement__date { margin: 0; }
.evenement__date time { display: grid; }
.evenement__jours {
  font-family: var(--f-titre); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); line-height: 1;
  color: var(--corail); font-variant-numeric: lining-nums tabular-nums;
}
.evenement__mois { margin-top: .35rem; font-size: .9rem; color: var(--encre-2); }
@media (max-width: 759px) { .evenement__date time { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .6rem; } .evenement__mois { margin-top: 0; } }
.evenement__corps { display: grid; gap: .3rem; min-width: 0; }
.evenement h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); line-height: 1.25; }
.evenement__lieu { color: var(--encre-2); }
.evenement__edition { font-size: .9rem; color: var(--encre-2); }
.evenement__note { display: flex; gap: .55rem; align-items: baseline; margin-top: .3rem; font-size: .95rem; }
.evenement__note::before { content: ""; flex-shrink: 0; width: .45rem; height: .45rem; transform: rotate(45deg) translateY(-.1rem); border: 1.5px solid var(--corail); border-radius: 1px; }
.evenement__action { padding-top: .25rem; }
@media (min-width: 760px) { .evenement__action { white-space: nowrap; } }
.evenement__puce {
  display: inline-flex; vertical-align: middle; margin-left: .4rem; padding: .25rem .65rem; border-radius: 999px;
  background: color-mix(in srgb, var(--corail) 14%, transparent); color: var(--corail);
  font: 600 .75rem/1.2 var(--f-texte); letter-spacing: .01em;
}
.evenements--passes .evenement { padding-block: 1.2rem; }
.evenements--passes .evenement__jours { color: var(--encre-2); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
.evenements__vide { padding-block: 1.5rem; color: var(--encre-2); }

/* ---------- Partenaires ---------- */
.partenaires { list-style: none; display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .partenaires { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.partenaire { display: grid; gap: .7rem; align-content: start; min-width: 0; }
.partenaire__logo {
  height: 150px; margin-bottom: .4rem; padding: 1.6rem 1.8rem;
  display: grid; place-items: center;
  background: var(--tuile-logo); border: 1px solid var(--filet); border-radius: 10px;
}
.partenaire__logo img { width: auto; height: auto; max-width: 100%; max-height: 74px; object-fit: contain; }
.partenaire h3 { font-size: 1.3rem; }
.partenaire p { color: var(--encre-2); }

/* ---------- Présence internationale ---------- */
.pays { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); column-gap: 1.5rem; border-top: 1px solid var(--encre); min-width: 0; }
.pays li { display: flex; align-items: center; gap: .75rem; padding-block: .8rem; line-height: 1.35; border-bottom: 1px solid var(--filet); min-width: 0; }
.drapeau { flex-shrink: 0; width: 30px; height: 20px; border-radius: 2px; box-shadow: 0 0 0 1px var(--filet); }

/* ---------- Questions fréquentes ---------- */
:root { interpolate-size: allow-keywords; }
.faq { border-top: 1px solid var(--encre); min-width: 0; }
.faq__item { border-bottom: 1px solid var(--filet); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 48px; padding-block: 1.2rem; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.3; transition: color .2s; }
.faq__item summary:hover h3 { color: var(--corail); }
.faq__item summary::after {
  content: ""; flex-shrink: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 1px solid var(--filet);
  background:
    linear-gradient(var(--encre-2), var(--encre-2)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--encre-2), var(--encre-2)) center / 1.5px 10px no-repeat;
  transition: transform .3s var(--ease), border-color .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); border-color: var(--corail); }
.faq__reponse { padding-bottom: 1.4rem; color: var(--encre-2); max-width: 42rem; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
.fiche__lire { font-size: .95rem; color: var(--encre-2); }

/* ---------- Ressources : liste d'articles ---------- */
.filtres { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.filtres__liste { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.filtre {
  min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  border: 1px solid var(--filet); background: var(--feuille); color: var(--encre);
  font: 500 .95rem/1 var(--f-texte); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filtre:hover { border-color: var(--corail); color: var(--corail); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.filtres__compte { font-size: .9rem; color: var(--encre-2); font-variant-numeric: tabular-nums; }
.billets { list-style: none; border-top: 1px solid var(--encre); }
.billet { border-bottom: 1px solid var(--filet); }
.billet__lien { display: grid; gap: .6rem 2.5rem; padding-block: 1.8rem; color: inherit; text-decoration: none; }
@media (min-width: 860px) { .billet__lien { grid-template-columns: 10rem minmax(0, 1fr) 12rem; align-items: start; } }
.billet__date { font-size: .9rem; color: var(--encre-2); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) { .billet__date { padding-top: .45rem; } }
.billet__corps { display: grid; gap: .6rem; min-width: 0; }
.billet__titre {
  font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.15;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .16em;
  transition: text-decoration-color .25s var(--ease);
}
.billet__lien:hover .billet__titre { text-decoration-color: var(--corail); }
.billet__resume { color: var(--encre-2); max-width: 44rem; }
.billet__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .88rem; color: var(--encre-2); }
@media (min-width: 860px) { .billet__meta { flex-direction: column; padding-top: .45rem; } }
.billet__cat { color: var(--corail); font-weight: 600; }
.billet--une .billet__lien { padding-block: 2.4rem; }
.billet--une .billet__titre { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.06; }
.billet--une .billet__resume { font-size: var(--t-lead); line-height: 1.5; }
.billets__vide { padding-block: 2rem; color: var(--encre-2); }
@keyframes billet-entree { from { opacity: 0; transform: translateY(6px); } }
.billet.is-entree { animation: billet-entree .4s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms); }
.suivre { display: grid; gap: .7rem; }
.suivre h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.suivre p { color: var(--encre-2); }

/* ---------- Article ---------- */
.lecture { position: fixed; left: 0; right: 0; top: calc(77px + env(safe-area-inset-top, 0px)); height: 2px; z-index: 49; pointer-events: none; }
.lecture span { display: block; height: 100%; background: linear-gradient(90deg, var(--ambre), var(--corail)); transform-origin: left; transform: scaleX(var(--lu, 0)); }
.article__tete { display: grid; gap: 1.3rem; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.article__tete > * { max-width: 48rem; }
.article__tete h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.8rem); line-height: 1.05; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .5rem; font-size: .9rem; color: var(--encre-2); }
.ariane li + li::before { content: "/"; margin-right: .5rem; color: var(--encre-2); opacity: .5; }
.ariane a { color: inherit; text-underline-offset: .2em; }
.ariane a[aria-current] { color: var(--corail); text-decoration: none; }
.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2.5rem;
  padding-top: 1.3rem; border-top: 1px solid var(--filet); font-size: .92rem; color: var(--encre-2);
}
.auteur { display: inline-flex; align-items: center; gap: .8rem; }
.auteur strong { color: var(--encre); font-weight: 600; }
.auteur__initiales {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--boite); color: var(--boite-encre); font: 600 .95rem/1 var(--f-texte); letter-spacing: .02em;
}
.article__date { font-variant-numeric: tabular-nums; }
.article__grille { display: grid; gap: 2.5rem; padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 1024px) {
  .article__grille { grid-template-columns: minmax(0, 44rem) 1fr; column-gap: 5rem; }
  .article__partage { position: sticky; top: calc(110px + env(safe-area-inset-top, 0px)); align-self: start; }
}
@media (max-width: 1023px) { .article__partage { border-top: 1px solid var(--filet); padding-top: 1.5rem; } }
.article__corps { min-width: 0; font-size: 1.125rem; line-height: 1.7; }
.article__corps > * + * { margin-top: 1.1em; }
.article__corps h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.05rem); line-height: 1.15; margin-top: 2.1em; }
.article__corps h3 { font-size: 1.35rem; margin-top: 1.8em; }
.article__corps h2 + *, .article__corps h3 + * { margin-top: .6em; }
.article__corps a { color: var(--corail); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.article__corps a:hover { text-decoration-thickness: 2px; }
.article__corps ul, .article__corps ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.article__corps li::marker { color: var(--corail); }
.article__corps strong { font-weight: 600; }
.article__corps .a-retenir {
  background: var(--papier-2); border-radius: 10px; padding: 1.3rem 1.5rem;
  font-family: var(--f-titre); font-size: 1.3rem; line-height: 1.45; margin-block: 1.8em;
}
.article__corps .a-retenir strong { display: block; margin-bottom: .4rem; font-family: var(--f-texte); font-size: .9rem; font-weight: 600; color: var(--corail); }
.article__corps blockquote { margin: 1.8em 0; font-family: var(--f-titre); font-size: 1.5rem; line-height: 1.35; }
.article__corps blockquote footer { margin-top: .6rem; font-family: var(--f-texte); font-size: .9rem; color: var(--encre-2); }
.article__corps figure { margin: 2em 0; }
.article__corps figure img { border-radius: 8px; width: 100%; }
.article__corps figcaption { margin-top: .6rem; font-size: .88rem; color: var(--encre-2); }
.article__partage { display: grid; gap: .7rem; justify-items: start; align-content: start; font-size: .92rem; }
.article__partage p { font-weight: 600; }
a.copier { display: inline-flex; align-items: center; text-decoration: none; }
.copier__champ { width: 100%; max-width: 22rem; font: inherit; font-size: .85rem; padding: .5rem .6rem; border: 1px solid var(--filet); border-radius: 6px; background: var(--feuille); color: var(--encre); }

/* Barre d'action fixe sur téléphone */
.barre-action { display: none; }
@media (max-width: 860px) {
  .barre-action {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: .6rem;
    padding: .7rem max(16px, env(safe-area-inset-right, 0px)) calc(.7rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--papier); border-top: 1px solid var(--filet);
    box-shadow: 0 -8px 24px -16px rgb(var(--ombre) / .3);
    transform: translateY(105%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
  }
  .barre-action.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .barre-action .bouton { flex: 1; }
  .barre-action__tel {
    flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid var(--encre); color: var(--encre);
  }
  .pied { padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Logos des solutions ---------- */
.fiche__tete h2.fiche__logo { line-height: 0; }
.fiche__logo img { display: block; width: auto; height: clamp(64px, 3.6rem + 2vw, 92px); max-width: 100%; }
.produit__nom .produit__embleme { display: block; width: 52px; height: 52px; margin-bottom: .8rem; }
.surtitre { font: 600 var(--t-petit)/1.3 var(--f-texte); letter-spacing: .04em; text-transform: uppercase; color: var(--corail); }

/* ---------- SharePoint ---------- */
.sharepoint .entete-section { display: grid; gap: 1rem; align-content: start; }
.sharepoint .entete-section .lien { justify-self: start; }

/* ---------- Partenaires sans logo (sceaux texte) ---------- */
.partenaire__logo--texte { color: #18222c; }
.sceau { display: grid; justify-items: center; gap: .2rem; text-align: center; }
.sceau strong { font: 500 clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem)/1 var(--f-titre); letter-spacing: .01em; }
.sceau span { font: 600 .8rem/1 var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: #4a5966; }

/* ---------- Pied : deux adresses ---------- */
.pied address > span + span { margin-top: .4rem; }
.pied address strong { color: var(--encre); font-weight: 600; }

/* ---------- Page Afrique ---------- */
.afrique__partenariat { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .afrique__partenariat { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; } }
.afrique__photo { margin: 0; display: grid; gap: .8rem; }
.afrique__photo img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--papier-2); }
@media (max-width: 899px) { .afrique__photo img { max-height: 70vh; object-fit: cover; object-position: 50% 15%; } }
.afrique__photo figcaption { font-size: var(--t-petit); color: var(--encre-2); }
.afrique__partenariat h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); line-height: 1.08; color: var(--encre); }
.afrique__logo { height: 110px; width: min(100%, 220px); padding: 1rem 1.4rem; margin-bottom: .2rem; }
.afrique__logo img { max-height: 70px; }
@media (min-width: 900px) { .capacites--cas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
@media (min-width: 1100px) { .capacites--cas { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; } }
.flux--emblemes li::before { display: none; }
.flux__embleme { width: 48px; height: 48px; }
.titre-page .ouverture__actions { margin-top: 1.6rem; }

.partenaire__logo--badge { padding-block: .7rem; }
.partenaire__logo--badge img { max-height: 126px; }

/* ---------- Pages légales ---------- */
.legal__date { margin-top: 1rem; font-size: var(--t-petit); color: var(--encre-2); }
.legal { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .legal:has(.legal__sommaire) { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; align-items: start; } }
.legal__sommaire { border-top: 1px solid var(--encre); padding-top: 1rem; font-size: var(--t-petit); }
@media (min-width: 960px) { .legal__sommaire { position: sticky; top: calc(110px + env(safe-area-inset-top, 0px)); } }
.legal__sommaire ol { list-style: none; display: grid; gap: .5rem; counter-reset: sommaire; }
.legal__sommaire li { counter-increment: sommaire; display: grid; grid-template-columns: 1.6rem 1fr; }
.legal__sommaire li::before { content: counter(sommaire); color: var(--corail); font-weight: 600; }
.legal__sommaire a { color: var(--encre-2); text-decoration: none; }
.legal__sommaire a:hover { color: var(--corail); text-decoration: underline; text-underline-offset: .2em; }
.legal__texte { max-width: 44rem; }
.legal__texte h2 { margin-top: 1.4em; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.2; color: var(--encre); scroll-margin-top: 110px; }
.legal__texte h2:first-child { margin-top: 0; }
.legal__texte h3 { margin-top: .4em; font-family: var(--f-texte); font-size: 1.02rem; font-weight: 600; color: var(--encre); }
.legal__texte ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal__texte a { color: var(--corail); text-underline-offset: .2em; }
.pied__legal a { color: var(--encre-2); }
