/* ==========================================================================
   AJTD — système visuel « planche-contact »
   --------------------------------------------------------------------------
   Direction : l'AJTD forme ses participants à la photographie, à la
   vidéographie et au code. Le site reprend donc l'artefact de travail du
   photographe — la planche-contact : vues numérotées, bord perforé, et un
   trait de crayon gras autour de la vue retenue.

   Charte : les deux couleurs proviennent du logo de l'association
   (bleu marine #25456b, or #ffc019). Les boutons reprennent la construction
   du logo — un bloc bleu posé dans un cadre or.
   ========================================================================== */

:root {
  /* Palette — relevée sur le logo AJTD (logo-AJTD.jpg)
     Bleu marine  #25456b  rgb(37, 69, 107)   H 213° S 49% L 28%
     Or           #ffc019  rgb(255, 192, 25)  H 44°  S 100% L 55%
     Les deux couleurs de marque, mesurées sur le fichier fourni. */
  --bleu:     #25456b;   /* bleu du sigle — couleur institutionnelle */
  --bleu-2:   #162c47;   /* bleu assombri : survol, surfaces profondes */
  --or:       #ffc019;   /* jaune du cadre et du pictogramme */
  --or-2:     #dda400;   /* or assombri, lisible sur fond clair */

  --papier:   #f2f4f7;   /* papier photographique, légèrement bleuté */
  --papier-2: #e7eaef;
  --papier-3: #d5dae2;
  --encre:    #101a2a;   /* noir à dominante bleue, jamais #000 */
  --encre-2:  #47546b;
  --sable:    #f6e7bd;   /* or pâli : surfaces chaudes */
  --gris:     #8d97a8;

  /* Typographie — Archivo reprend la grotesque néutre du logo (sigle et
     baseline) ; Space Mono porte les numéros de vue et les codes. */
  --f-titre: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-vue:   "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Échelle */
  --t-xs:  0.7188rem;
  --t-sm:  0.8125rem;
  --t-base: 1rem;
  --t-md:  clamp(1.05rem, 0.97rem + 0.34vw, 1.2rem);
  --t-lg:  clamp(1.28rem, 1.08rem + 0.8vw, 1.6rem);
  --t-xl:  clamp(1.65rem, 1.3rem + 1.5vw, 2.35rem);
  --t-2xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem);
  --t-3xl: clamp(2.6rem, 1.55rem + 4.6vw, 5.4rem);

  /* Rythme */
  --gap: 1.5rem;
  --shell: 84rem;
  --pad-x: clamp(1.1rem, 4vw, 3.25rem);
  --section: clamp(3.6rem, 7vw, 6.75rem);

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --- 2. Réinitialisation ------------------------------------------------ */

*, *::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;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-titre); font-weight: 800;
  line-height: 1.02; letter-spacing: -0.025em; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

/* Anneau de focus : mesuré sur la palette réelle.
   L'or ne contraste qu'à 1,53:1 sur le papier — inutilisable en clair.
   On prend donc l'encre par défaut, et l'or sur les fonds bleus et sombres. */
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
.section--bleu :focus-visible,
.footer :focus-visible,
.planche :focus-visible { outline-color: var(--or); }

.skip {
  position: absolute; left: 0; top: -100%; z-index: 999;
  padding: 0.85rem 1.4rem; background: var(--bleu); color: var(--papier);
  font-family: var(--f-vue); font-size: var(--t-sm);
}
.skip:focus { top: 0; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Utilitaires ----------------------------------------------------- */

.shell { width: min(100% - (var(--pad-x) * 2), var(--shell)); margin-inline: auto; }
.shell--tight { --shell: 55rem; }

.eyebrow {
  font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--encre-2); margin: 0 0 1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: var(--or); flex: none; }
.eyebrow--light { color: rgba(233, 237, 236, 0.72); }

.ref { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.05em; color: var(--encre-2); }

.lede { font-size: var(--t-md); color: var(--encre-2); max-width: 58ch; }

.section { padding-block: var(--section); }
.section--bleu { background: var(--bleu); color: var(--papier); }
.section--bleu .lede, .section--bleu .eyebrow { color: rgba(233, 237, 236, 0.75); }
.section--sunk { background: var(--papier-2); }
.section--sable { background: var(--sable); }

.section__head {
  display: flex; flex-wrap: wrap; align-items: end;
  justify-content: space-between; gap: var(--gap); margin-bottom: 2.6rem;
}
.section__title { font-size: var(--t-xl); max-width: 20ch; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); }
                             .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Bord perforé — la bande d'un film 35 mm. Sépare les grandes sections. */
.perfo {
  height: 16px;
  background-image: radial-gradient(circle at 8px 8px,
                    var(--papier) 0 3.5px, transparent 3.6px);
  background-size: 16px 16px;
  background-color: var(--encre);
}

/* --- 4. Boutons --------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.45rem;
  font-family: var(--f-vue); font-size: var(--t-sm);
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--encre); background: var(--encre); color: var(--papier);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--or);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--or); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--or); }
/* Or plein : le texte passe en bleu marine (5,98:1), jamais en blanc —
   blanc sur or ne contraste qu'à 1,6:1. */
.btn--or { background: var(--or); border-color: var(--encre); color: var(--bleu);
  box-shadow: 4px 4px 0 var(--encre); }
.btn--or:hover { box-shadow: 6px 6px 0 var(--encre); }
.btn--ghost { background: transparent; color: var(--encre); box-shadow: 4px 4px 0 var(--papier-3); }
.btn--ghost:hover { box-shadow: 6px 6px 0 var(--papier-3); }
.btn--clair { background: var(--papier); border-color: var(--papier); color: var(--bleu);
  box-shadow: 4px 4px 0 var(--sable); }
.btn--clair:hover { box-shadow: 6px 6px 0 var(--sable); }
.btn--sm { padding: 0.5rem 0.95rem; font-size: var(--t-xs); box-shadow: 3px 3px 0 var(--or); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--or); }
.btn--ghost.btn--sm { box-shadow: 3px 3px 0 var(--papier-3); }
.btn--ghost.btn--sm:hover { box-shadow: 5px 5px 0 var(--papier-3); }

.lien {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--f-vue); font-size: var(--t-sm);
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  border-bottom: 2px solid var(--or); padding-bottom: 2px;
}
.lien::after { content: "→"; transition: transform 0.18s var(--ease); }
.lien:hover::after { transform: translateX(5px); }
.section--bleu .lien { border-bottom-color: var(--sable); }

/* --- 5. En-tête --------------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--papier) 93%, transparent);
  backdrop-filter: blur(9px);
  border-bottom: 2px solid var(--encre);
}
.masthead__bar { display: flex; align-items: center; gap: var(--gap); min-height: 4.5rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 2.7rem; height: 2.7rem; flex: none;
  background: var(--bleu); color: var(--papier);
  display: grid; place-items: center;
  font-family: var(--f-titre); font-weight: 800; font-size: 0.86rem;
  letter-spacing: -0.02em;
  box-shadow: 3px 3px 0 var(--or);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-family: var(--f-titre); font-weight: 800; font-size: 1.02rem; }
.brand__sub { font-family: var(--f-vue); font-size: 0.64rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-2); }

.nav { display: none; }
.nav__list { display: flex; gap: 0.1rem; list-style: none; }
.nav__link {
  display: block; padding: 0.48rem 0.7rem; font-size: var(--t-sm);
  text-decoration: none; border-bottom: 3px solid transparent;
}
.nav__link:hover { border-bottom-color: var(--papier-3); }
.nav__link.is-current { border-bottom-color: var(--or); font-weight: 700; }

.masthead__tools { display: flex; align-items: center; gap: 0.45rem; }

.langs { display: flex; border: 2px solid var(--encre); }
.langs__item {
  padding: 0.28rem 0.55rem; text-decoration: none;
  font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-2);
}
.langs__item[aria-current="true"] { background: var(--encre); color: var(--papier); }

.icon-btn {
  display: grid; place-items: center; width: 2.35rem; height: 2.35rem;
  background: none; border: 2px solid var(--encre); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--encre); color: var(--papier); }

.burger { display: grid; }
.burger__bars, .burger__bars::before, .burger__bars::after {
  content: ""; display: block; width: 16px; height: 2px; background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.15s;
}
.burger__bars::before { transform: translateY(-5px); }
.burger__bars::after  { transform: translateY(3px); }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after  { transform: rotate(-45deg) translateY(-2px); }

.drawer { display: none; border-top: 2px solid var(--encre); padding-block: 1rem 1.5rem; }
.drawer.is-open { display: block; }
.drawer__list { list-style: none; }
.drawer__link {
  display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--papier-3);
  text-decoration: none; font-size: var(--t-md);
  font-family: var(--f-titre); font-weight: 700;
}

@media (min-width: 1080px) {
  .nav { display: block; }
  .burger { display: none; }
  .drawer { display: none !important; }
}

/* --- 6. Héros et planche-contact (élément signature) -------------------- */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero__motto {
  font-family: var(--f-vue); font-size: var(--t-sm);
  letter-spacing: 0.04em; color: var(--or); margin: 0 0 1.1rem;
}
.hero__title {
  font-size: var(--t-3xl); font-weight: 800;
  letter-spacing: -0.04em; text-wrap: balance; max-width: 14ch;
}
.hero__title em { font-style: normal; color: var(--bleu); }
.hero__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: end; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.hero__lede { font-size: var(--t-md); color: var(--encre-2); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero__stat { border-top: 3px solid var(--encre); padding-top: 0.8rem; margin-bottom: 1.4rem; }
.hero__stat:last-child { margin-bottom: 0; }
.hero__stat-val { font-family: var(--f-titre); font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1;
  color: var(--bleu); letter-spacing: -0.04em; }
.hero__stat-lab { font-size: var(--t-sm); color: var(--encre-2); margin-top: 0.25rem; }
.hero__stat-src { font-family: var(--f-vue); font-size: 0.66rem; color: var(--gris); }

/* La planche : vues numérotées sur fond d'encre */
.planche { margin-top: clamp(2.2rem, 5vw, 3.5rem); background: var(--encre); }
.planche__grille {
  display: grid; gap: 6px; padding: 6px;
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 700px)  { .planche__grille { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .planche__grille { grid-template-columns: repeat(6, 1fr); } }

.vue {
  position: relative; display: block; aspect-ratio: 3 / 2;
  background: #1d2426; overflow: hidden; text-decoration: none;
}
.vue img { width: 100%; height: 100%; object-fit: cover; }
.vue__num {
  position: absolute; left: 5px; top: 4px; z-index: 2;
  font-family: var(--f-vue); font-size: 0.62rem;
  color: var(--sable); letter-spacing: 0.06em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}
.vue__legende {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 1.4rem 0.5rem 0.4rem;
  font-size: 0.68rem; line-height: 1.3; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0; transition: opacity 0.22s var(--ease);
}
.vue:hover .vue__legende, .vue:focus-visible .vue__legende { opacity: 1; }

/* Vue non exposée : ce qui s'affiche tant qu'aucune image n'est téléversée */
.vue--vierge {
  background-image: repeating-linear-gradient(45deg, #1b2224 0 7px, #222a2c 7px 14px);
}
.vue--vierge::after {
  content: ""; position: absolute; inset: 38% 42%;
  border: 1px solid rgba(227, 215, 186, 0.28);
}

/* La vue retenue : un seul trait de crayon gras sur toute la page */
.vue--select { outline: 3px solid var(--or); outline-offset: -3px; }
.vue--select::before {
  content: ""; position: absolute; inset: 7%; z-index: 3;
  border: 3px solid var(--or); border-radius: 50%;
  transform: rotate(-5deg); opacity: 0.92;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 90% 100%, 0 100%);
  pointer-events: none;
}

.planche__pied {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  justify-content: space-between; align-items: center;
  padding: 0.7rem 0.85rem; color: var(--sable);
  font-family: var(--f-vue); font-size: var(--t-xs); letter-spacing: 0.05em;
}
.planche__pied a { color: var(--sable); }

/* --- 7. Le 3C — la méthode propre à l'association ----------------------- */

.trois-c { display: grid; gap: 3px; background: var(--encre); }
@media (min-width: 820px) { .trois-c { grid-template-columns: repeat(3, 1fr); } }

.c-bloc { position: relative; background: var(--papier);
  padding: 2.1rem 1.6rem 1.9rem; overflow: hidden; }
.c-bloc:nth-child(2) { background: var(--sable); }
.c-bloc:nth-child(3) { background: var(--bleu); color: var(--papier); }
.c-bloc__lettre {
  position: absolute; right: -0.06em; top: -0.3em;
  font-family: var(--f-titre); font-weight: 800; font-size: 11rem;
  line-height: 1; color: currentColor; opacity: 0.1;
  pointer-events: none; user-select: none;
}
.c-bloc__nom { font-family: var(--f-titre); font-weight: 800;
  font-size: var(--t-lg); margin-bottom: 0.55rem; position: relative; }
.c-bloc__texte { font-size: var(--t-sm); position: relative; margin: 0; opacity: 0.87; }
.c-bloc__rn { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.08em; opacity: 0.72; display: block; margin-top: 0.5rem; }

/* --- 8. Cartes ---------------------------------------------------------- */

.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--papier); border: 2px solid var(--encre); text-decoration: none;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--or); }
.card__media { aspect-ratio: 16 / 10; background: var(--papier-3); overflow: hidden;
  border-bottom: 2px solid var(--encre); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, var(--papier-2) 0 8px, var(--papier-3) 8px 16px); }
.card__body { padding: 1.25rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.75rem; }
.card__title { font-size: var(--t-lg); margin-bottom: 0.5rem; text-wrap: balance; }
.card__text { font-size: var(--t-sm); color: var(--encre-2); margin-bottom: 1rem; }
.card__foot {
  margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--papier-3);
  display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: space-between;
  font-family: var(--f-vue); font-size: var(--t-xs); color: var(--encre-2);
}
.section--bleu .card { background: var(--bleu-2); border-color: var(--sable); color: var(--papier); }
.section--bleu .card__text { color: rgba(233, 237, 236, 0.75); }
.section--bleu .card__foot { border-top-color: rgba(233, 237, 236, 0.2);
  color: rgba(233, 237, 236, 0.7); }
.section--bleu .card:hover { box-shadow: 7px 7px 0 var(--sable); }

.tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.55rem; font-family: var(--f-vue); font-size: 0.64rem;
  letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid currentColor;
}
.tag--or { color: var(--or-2); }
.tag--bleu { color: var(--bleu); }

/* Couleurs d'accent des domaines d'intervention.
   Ces classes sont générées par « tag--{{ program.band_color }} » ; elles
   étaient absentes du CSS depuis la refonte, les étiquettes s'affichaient
   donc sans couleur. */
.tag--navy  { color: var(--bleu); }
.tag--gold  { color: var(--or-2); }
.tag--ink   { color: var(--encre); }
.tag--slate { color: #4d6b8f; }
.tag--brick { color: #a2582f; }
.tag--solid { background: var(--encre); border-color: var(--encre); color: var(--papier); }
.tag--muted { color: var(--encre-2); border-color: var(--papier-3); }
.section--bleu .tag { color: var(--sable); }

/* --- 9. Éditions -------------------------------------------------------- */

.edition { display: grid; gap: 0; border: 2px solid var(--encre);
  background: var(--papier); margin-bottom: var(--gap); }
@media (min-width: 860px) { .edition { grid-template-columns: 13rem minmax(0, 1fr); } }

.edition__annee { background: var(--encre); color: var(--sable);
  padding: 1.5rem 1.3rem; display: flex; flex-direction: column; justify-content: space-between; }
.edition__chiffre { font-family: var(--f-titre); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 0.92;
  letter-spacing: -0.05em; color: var(--papier); }
.edition__code { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.1em; margin-top: 0.6rem; }
.edition__corps { padding: 1.5rem 1.5rem 1.7rem; }
.edition__titre { font-size: var(--t-lg); margin-bottom: 0.55rem; }
.edition__titre a { text-decoration: none; }
.edition__titre a:hover { text-decoration: underline; text-decoration-color: var(--or);
  text-decoration-thickness: 3px; text-underline-offset: 4px; }
.edition__disciplines { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.9rem 0 1.1rem; }
.edition__bilan { display: flex; flex-wrap: wrap; gap: 1.6rem;
  padding-top: 0.9rem; border-top: 1px solid var(--papier-3); }
.edition__stat-val { font-family: var(--f-titre); font-weight: 800;
  font-size: var(--t-lg); color: var(--bleu); line-height: 1; }
.edition__stat-lab { font-family: var(--f-vue); font-size: var(--t-xs); color: var(--encre-2); }

/* Témoignage — la parole d'un participant, rapportée telle quelle */
.temoignage { border-left: 5px solid var(--or);
  padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.8rem 0; max-width: 46ch; }
.temoignage__texte { font-family: var(--f-titre); font-weight: 600;
  font-size: var(--t-lg); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 0.55rem; }
.temoignage__qui { font-family: var(--f-vue); font-size: var(--t-xs); color: var(--encre-2); }

/* --- 10. Pages internes ------------------------------------------------- */

.pagehead { padding-block: clamp(2.4rem, 6vw, 4rem) 0; }
.pagehead__title { font-size: var(--t-2xl); max-width: 20ch; text-wrap: balance; }
.pagehead__lede { margin-top: 1.1rem; }
.crumbs { font-family: var(--f-vue); font-size: var(--t-xs); color: var(--encre-2);
  margin-bottom: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--gris); }

.split { display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 940px) { .split { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } }

.sidecard { border: 2px solid var(--encre); background: var(--papier-2); padding: 1.3rem; }
.sidecard + .sidecard { margin-top: var(--gap); }
.sidecard__title { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-2); margin-bottom: 0.9rem; }

.datalist { list-style: none; font-size: var(--t-sm); }
.datalist__row { display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.52rem 0; border-bottom: 1px solid var(--papier-3); }
.datalist__row:last-child { border-bottom: 0; }
.datalist__key { color: var(--encre-2); }
.datalist__val { text-align: right; font-weight: 600; }

.prose { max-width: 66ch; font-size: var(--t-md); }
.prose h2 { font-size: var(--t-xl); margin: 2.3rem 0 0.85rem; }
.prose h3 { font-size: var(--t-lg); margin: 1.9rem 0 0.65rem; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--bleu); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.7rem 0; padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 4px solid var(--or); color: var(--encre-2); }
.prose code { font-family: var(--f-vue); font-size: 0.86em;
  background: var(--papier-2); padding: 0.1em 0.34em; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin: 1.4rem 0; }
.prose th, .prose td { text-align: left; padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--papier-3); }
.prose th { font-family: var(--f-vue); font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: 0.07em; }

.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; font-size: var(--t-md); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.52em;
  width: 0.85rem; height: 3px; background: var(--or); }

.timeline { list-style: none; position: relative; margin-top: 1rem; }
.timeline::before { content: ""; position: absolute; left: 5.2rem; top: 0.6rem; bottom: 0.6rem;
  width: 2px; background: var(--papier-3); }
@media (max-width: 640px) { .timeline::before { left: 0.35rem; } }
.timeline__item { position: relative; display: grid; gap: 0.28rem 1.5rem;
  grid-template-columns: 4.4rem 1fr; padding: 0.85rem 0 1.3rem 2.4rem; }
@media (max-width: 640px) { .timeline__item { grid-template-columns: 1fr; padding-left: 1.9rem; } }
.timeline__year { font-family: var(--f-vue); font-size: var(--t-sm);
  color: var(--bleu); font-weight: 700; grid-row: span 2; }
@media (max-width: 640px) { .timeline__year { grid-row: auto; } }
.timeline__item::before { content: ""; position: absolute; left: 4.85rem; top: 1.3rem;
  width: 11px; height: 11px; background: var(--papier); border: 2px solid var(--gris); }
@media (max-width: 640px) { .timeline__item::before { left: 0; } }
.timeline__item--major::before { background: var(--or); border-color: var(--or); }
.timeline__title { font-family: var(--f-titre); font-weight: 700; font-size: var(--t-md); }
.timeline__text { font-size: var(--t-sm); color: var(--encre-2); grid-column: 2; }
@media (max-width: 640px) { .timeline__text { grid-column: 1; } }

/* Équipe — fiches au format planche */
.person { border: 2px solid var(--encre); background: var(--papier); }
.person__photo { aspect-ratio: 1; background: var(--papier-2); overflow: hidden;
  border-bottom: 2px solid var(--encre); position: relative; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initials { width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--f-titre); font-weight: 800; font-size: 2.4rem; color: var(--gris);
  background: repeating-linear-gradient(45deg, var(--papier-2) 0 8px, var(--papier-3) 8px 16px); }
.person__num { position: absolute; left: 6px; top: 5px;
  font-family: var(--f-vue); font-size: 0.62rem; color: var(--encre-2); z-index: 2; }
.person__body { padding: 1rem 1.1rem 1.3rem; }
.person__name { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-md); }
.person__role { font-size: var(--t-sm); color: var(--or); margin-top: 0.15rem; font-weight: 600; }
.person__note { font-size: var(--t-sm); color: var(--encre-2); margin: 0.6rem 0 0; }
.person__tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.75rem; }
.person__tag { font-family: var(--f-vue); font-size: 0.62rem;
  padding: 0.14rem 0.42rem; background: var(--papier-2); color: var(--encre-2); }

/* --- 11. Filtres, pagination, formulaires ------------------------------- */

.filters { border: 2px solid var(--encre); background: var(--papier-2);
  padding: 1.1rem 1.2rem; margin-bottom: 2.1rem; }
.filters__row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: end; }
.filters__field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 10rem; flex: 1; }
.filters__label { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-2); }
.filters select, .filters input[type="search"] {
  font: inherit; font-size: var(--t-sm); padding: 0.55rem 0.65rem;
  background: var(--papier); border: 2px solid var(--encre); color: var(--encre);
}
.filters__count { font-family: var(--f-vue); font-size: var(--t-xs);
  color: var(--encre-2); margin-top: 0.85rem; }

.pager { display: flex; gap: 0.35rem; align-items: center; justify-content: center;
  margin-top: 2.8rem; font-family: var(--f-vue); font-size: var(--t-sm); }
.pager__link { padding: 0.48rem 0.8rem; text-decoration: none; border: 2px solid var(--encre); }
.pager__link:hover { background: var(--papier-2); }
.pager__link.is-current { background: var(--encre); color: var(--papier); }
.pager__gap { color: var(--gris); padding-inline: 0.3rem; }

.form { display: grid; gap: 1.1rem; }
.form--2col { grid-template-columns: 1fr; }
@media (min-width: 700px) { .form--2col { grid-template-columns: 1fr 1fr; }
                            .form__wide { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: 0.32rem; }
.field__label { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--encre-2); }
.field__label .req { color: var(--or); }
.field__control { font: inherit; width: 100%; padding: 0.7rem 0.8rem;
  background: var(--papier); border: 2px solid var(--encre); color: var(--encre); }
.field__control:focus { border-color: var(--or); }
.field__control--area { resize: vertical; min-height: 8rem; }
.field__help { font-size: var(--t-xs); color: var(--encre-2); }
.field__error { font-size: var(--t-sm); color: var(--or); font-weight: 700; }
.field--invalid .field__control { border-color: var(--or); }
.field__choices { display: grid; gap: 0.4rem; }
.field__choice { display: flex; gap: 0.55rem; align-items: start; font-size: var(--t-sm); }
.field__check { margin-top: 0.28rem; accent-color: var(--bleu); }

.tabs { display: flex; gap: 0.25rem; border-bottom: 3px solid var(--encre); margin-bottom: 1.9rem; }
.tabs__btn { padding: 0.65rem 1rem; background: none; border: 0; cursor: pointer;
  font-family: var(--f-vue); font-size: var(--t-sm); letter-spacing: 0.05em;
  text-transform: uppercase; border-bottom: 4px solid transparent;
  margin-bottom: -3px; color: var(--encre-2); text-decoration: none; }
.tabs__btn[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--or); font-weight: 700; }
.tabpanel[hidden] { display: none; }

.flash { display: grid; gap: 0.55rem; margin-bottom: 1.7rem; }
.flash__item { padding: 0.85rem 1.1rem; border-left: 5px solid var(--bleu);
  background: var(--papier-2); font-size: var(--t-sm); }
.flash__item--error { border-left-color: var(--or); }

.empty { border: 2px dashed var(--gris); padding: 2.4rem 1.5rem; text-align: center; color: var(--encre-2); }
.empty__title { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-lg);
  color: var(--encre); margin-bottom: 0.5rem; }

/* --- 12. Pied de page --------------------------------------------------- */

.footer { background: var(--encre); color: var(--papier); padding-block: 3.2rem 1.8rem; }
.footer a { color: inherit; }
.footer__grid { display: grid; gap: 2.2rem; }
@media (min-width: 780px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer__title { font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--or); margin-bottom: 1rem; }
.footer__list { list-style: none; display: grid; gap: 0.5rem; font-size: var(--t-sm); }
.footer__list a { text-decoration: none; opacity: 0.85; }
.footer__list a:hover { opacity: 1; text-decoration: underline; }
.footer__note { font-size: var(--t-sm); opacity: 0.8; max-width: 34ch; }
.footer__social { display: flex; gap: 0.45rem; margin-top: 1.1rem; }
.footer__social a { width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border: 1.5px solid rgba(233, 237, 236, 0.3); text-decoration: none;
  font-family: var(--f-vue); font-size: var(--t-xs); }
.footer__social a:hover { background: var(--or); border-color: var(--or); }
.footer__bottom { margin-top: 2.6rem; padding-top: 1.3rem;
  border-top: 1px solid rgba(233, 237, 236, 0.2);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--f-vue); font-size: var(--t-xs); opacity: 0.75; }

.subscribe { display: flex; gap: 0; margin-top: 0.9rem; }
.subscribe input { font: inherit; font-size: var(--t-sm); flex: 1; min-width: 0;
  padding: 0.65rem 0.75rem; border: 1.5px solid rgba(233, 237, 236, 0.35);
  background: transparent; color: var(--papier); }
.subscribe input::placeholder { color: rgba(233, 237, 236, 0.5); }
.subscribe button { padding: 0.65rem 0.95rem; border: 1.5px solid var(--or);
  background: var(--or); color: #fff; font-family: var(--f-vue); font-size: var(--t-xs);
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.subscribe button:hover { background: var(--papier); border-color: var(--papier); color: var(--encre); }

/* --- 13. Partenaires ---------------------------------------------------- */

.partners { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; align-items: center; }
.partners__item { display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--f-vue); font-size: var(--t-sm); color: var(--encre-2); text-decoration: none; }
.partners__item img { max-height: 2.8rem; width: auto; filter: grayscale(1); opacity: 0.7; }
.partners__item:hover img { filter: none; opacity: 1; }

/* --- 14. Mouvement ------------------------------------------------------ */

[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-visible { opacity: 1; transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

.vue { animation: vue-apparait 0.5s var(--ease) backwards; }
@keyframes vue-apparait { from { opacity: 0; transform: scale(0.94); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --- 15. Impression ----------------------------------------------------- */

@media print {
  .masthead, .footer, .planche, .btn, .filters, .pager, .perfo { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .shell { width: 100%; }
  .card, .sidecard, .edition { border: 1px solid #000; box-shadow: none; }
}
