/* Association YIIKRI : feuille de style du site public.
   Palette tirée du logo : vert (champs), orange (action principale), bleu (liens), rouge (accent rare). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-latin-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Couleurs */
  --field: #17562a;        /* vert profond : grandes surfaces (blanc dessus : 8,6:1) */
  --field-deep: #0f3b1c;   /* pied de page */
  --green: #62c234;        /* vert du logo : traits et repères sur fond profond */
  --green-ink: #2a7a1c;    /* vert lisible sur blanc (5,3:1) */
  --orange: #f08010;       /* action principale, texte encre dessus (7:1) */
  --orange-hover: #ff9a33;
  --blue: #0067a3;         /* liens (6,2:1 sur blanc) */
  --red: #d0261c;          /* accent rare */
  --ink: #14201a;
  --ink-soft: #46544b;
  --on-field: #ffffff;
  --on-field-soft: #d3e8cf;
  --tint: #eef6ea;
  --line: #d3e1cf;
  --white: #ffffff;

  /* Typographie */
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --text: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(0.88rem, 0.85rem + 0.1vw, 0.94rem);
  --step-0: clamp(1.06rem, 1rem + 0.25vw, 1.19rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.15rem);
  --step-3: clamp(2.05rem, 1.7rem + 1.6vw, 3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem);

  /* Espaces */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --max: 80rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.section-field :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-hover); }
html { scrollbar-color: var(--green-ink) var(--tint); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--orange); color: var(--ink); padding: 0.7rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons et liens d'action ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  font-family: var(--display); font-stretch: 105%; font-weight: 750; font-size: 1.02rem;
  text-decoration: none; letter-spacing: 0.005em;
  border: 2px solid transparent; border-radius: 0.2rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: currentColor; color: var(--on-field); }
.btn-ghost:hover { background: var(--on-field); color: var(--field); border-color: var(--on-field); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--blue); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { transition: transform 0.3s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4.75rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 3.25rem; height: 3.25rem; }
.brand span { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.15rem; line-height: 1.05; }
.brand small { display: block; font-family: var(--text); font-weight: 600; font-stretch: 100%; font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav-list a {
  display: block; padding: 0.55rem 0.7rem; color: var(--ink); text-decoration: none;
  font-weight: 650; font-size: 1rem; white-space: nowrap; border-radius: 0.2rem;
}
.nav-list a:hover { background: var(--tint); }
.nav-list a[aria-current="page"] { color: var(--green-ink); box-shadow: inset 0 -3px 0 var(--green); }
.header-cta { white-space: nowrap; }
.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.5rem 0.9rem; border: 2px solid var(--ink); border-radius: 0.2rem; font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--white); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 3px solid var(--green);
  padding: 0.75rem var(--gutter) 1.25rem;
}
.menu-panel .nav-list { flex-direction: column; }
.menu-panel .nav-list a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; }
.menu-panel .btn { margin-top: 1rem; width: 100%; justify-content: center; }
@media (max-width: 64rem) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .header-bar { gap: 0.75rem; }
}
@media (max-width: 30rem) {
  .header-cta { display: none; }
  .brand small { display: none; }
}

/* ---------- Champs de couleur ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-field { background: var(--field); color: var(--on-field); }
.section-field h2, .section-field h3 { color: var(--on-field); }
.section-field a:not(.btn) { color: var(--on-field); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.section-field .lead { color: var(--on-field-soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--ink-soft); }

/* ---------- Accueil : premier écran ---------- */
.hero { background: var(--field); color: var(--on-field); overflow: hidden; display: flex; flex-direction: column; min-height: calc(100svh - 4.75rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  flex: 1;
}
.hero-copy {
  align-self: center;
  padding: clamp(2rem, 1rem + 3vh, 4rem) clamp(1.5rem, 1rem + 3vw, 4rem) clamp(2rem, 1rem + 3vh, 3.5rem) 0;
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.hero h1 { font-size: clamp(2rem, 0.8rem + 3.2vw, 3.75rem); font-stretch: 100%; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 0.45em; }
.hero h1 .accent { color: var(--green); }
.hero-copy p { font-size: var(--step-1); line-height: 1.45; color: var(--on-field-soft); max-width: 32ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-media { position: relative; min-height: 22rem; margin: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-media figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--field-deep); color: var(--on-field-soft);
  font-size: var(--step--1); padding: 0.45rem 0.8rem;
}

/* Repères chronologiques (2008 → 2025) */
.milestones { border-top: 1px solid rgba(255, 255, 255, 0.18); background: var(--field-deep); }
.milestones ol {
  list-style: none; margin: 0 auto; padding: 1.15rem 0 1.25rem;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 2rem;
  position: relative;
}
.milestones li { position: relative; padding-top: 1.35rem; }
.milestones li::before {
  content: ""; position: absolute; left: 0; top: 0.2rem; width: 0.7rem; height: 0.7rem;
  border-radius: 50%; background: var(--green);
}
.milestones li::after {
  content: ""; position: absolute; left: 1rem; right: -2rem; top: 0.52rem; height: 1px; background: rgba(98, 194, 52, 0.45);
}
.milestones li:last-child::after { display: none; }
.milestones strong { display: block; font-family: var(--display); font-stretch: 112%; font-size: var(--step-1); line-height: 1; color: var(--white); margin-bottom: 0.3rem; }
.milestones span { color: var(--on-field-soft); font-size: 0.98rem; line-height: 1.4; display: block; }
@media (max-width: 56rem) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.75rem var(--gutter) 2.25rem; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 10; order: -1; }
  .milestones ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones li:nth-child(2n)::after { display: none; }
}

/* ---------- Domaines d'action ---------- */
.domains { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.domains-media { position: sticky; top: 6.5rem; margin: 0; }
.domains-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.domains-media figcaption, .photo-caption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.6rem; }
.domain-list { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 2px solid var(--ink); }
.domain-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.domain-list .dot { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--green-ink); }
.domain-list .dot .icon { width: 1.35rem; height: 1.35rem; }
.domain-list h3 { margin: 0.35rem 0 0.3rem; font-size: 1.28rem; }
.domain-list p { margin: 0; color: var(--ink-soft); }
.domain-list-lg h2 { font-size: var(--step-1); margin: 0.35rem 0 0.4rem; }
.domain-list-lg li { padding: 1.6rem 0; }
.photo-stack { display: grid; gap: 1.25rem; }
.photo-stack figure { margin: 0; }
.photo-stack img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-stack figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.5rem; }
@media (max-width: 56rem) {
  .domains { grid-template-columns: 1fr; }
  .domains-media { position: static; }
  .domains-media img { aspect-ratio: 16 / 10; }
}

/* ---------- Registre des projets (signature) ---------- */
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger caption { text-align: left; }
.ledger thead th {
  text-align: left; font-family: var(--display); font-stretch: 105%; font-size: 0.86rem; font-weight: 750;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft);
  padding: 0 1rem 0.8rem 0; border-bottom: 2px solid var(--ink);
}
.ledger td { padding: 1.15rem 1rem 1.15rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger .year { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; color: var(--green-ink); white-space: nowrap; width: 7.5rem; }
.ledger .title { font-weight: 650; font-size: 1.1rem; line-height: 1.35; }
.ledger .title small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.2rem; }
.ledger .funder { color: var(--ink); width: 24%; }
.ledger .title.is-pending { color: var(--ink-soft); font-style: italic; font-weight: 500; }
.ledger .amount { text-align: right; white-space: nowrap; font-weight: 650; width: 11rem; padding-right: 0; }
.ledger thead .amount { text-align: right; }
.ledger tbody tr { transition: background-color 0.2s var(--ease); }
.ledger tbody tr:hover { background: rgba(98, 194, 52, 0.08); }
.ledger-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 1.75rem; }
.ledger-foot p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); max-width: 60ch; }
@media (max-width: 48rem) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: auto; }
  .ledger tr { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; }
  .ledger td { border: 0; padding: 0; }
  .ledger .year { grid-row: span 3; font-size: 1.15rem; width: auto; }
  .ledger .amount { text-align: left; font-weight: 700; }
  .ledger .funder, .ledger .amount, .ledger .year { width: auto; }
  .ledger .funder::before { content: "Bailleur : "; color: var(--ink-soft); }
}

/* ---------- Partenaires ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partners li { display: grid; place-items: center; padding: 1.4rem 1.25rem; min-height: 7.5rem; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners img { width: auto; max-width: 100%; object-fit: contain; }
.partners .logo-large { height: 2.6rem; }
.partners .logo-moyen { height: 3.6rem; }
.partners .logo-carre { height: 4.6rem; }

/* ---------- Bande photo ---------- */
.photo-band { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.5rem; }
.photo-band figure { margin: 0; position: relative; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo-band figure:first-child img { aspect-ratio: auto; }
.photo-band figcaption { position: absolute; left: 0; bottom: 0; background: rgba(15, 59, 28, 0.88); color: var(--white); font-size: var(--step--1); padding: 0.35rem 0.7rem; }
@media (max-width: 40rem) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partners li { min-height: 6rem; padding: 1rem; } }
@media (max-width: 48rem) { .photo-band { grid-template-columns: 1fr 1fr; } .photo-band figure:first-child { grid-column: 1 / -1; } }

/* ---------- Actualités ---------- */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.news-link { display: flex; flex-direction: column; gap: 0.9rem; color: var(--ink); text-decoration: none; }
.news-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-link .meta { font-size: var(--step--1); color: var(--green-ink); font-weight: 700; }
.news-title { font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.news-link:hover .news-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.news-excerpt { color: var(--ink-soft); }
.empty-note { padding: 2rem; background: var(--tint); max-width: 46rem; }
.empty-note p:last-child { margin: 0; }

/* ---------- S'impliquer (bande d'appel) ---------- */
.ways { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.ways li { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.ways li + li { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.ways a { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.5rem 1.4rem 1.6rem; color: var(--on-field); text-decoration: none; transition: background-color 0.25s var(--ease); }
.ways a:hover { background: rgba(255, 255, 255, 0.07); }
.ways strong { font-family: var(--display); font-stretch: 108%; font-size: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.ways strong .icon { color: var(--orange); transition: transform 0.3s var(--ease); }
.ways a:hover strong .icon { transform: translateX(4px); }
.ways span { color: var(--on-field-soft); }
@media (max-width: 60rem) { .ways { grid-template-columns: 1fr 1fr; } .ways li:nth-child(3) { border-left: 0; } }
@media (max-width: 34rem) { .ways { grid-template-columns: 1fr; } .ways li + li { border-left: 0; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-row h2 { margin: 0; max-width: 16ch; }
.cta-row p { margin: 0; max-width: 44ch; }

/* ---------- Pages intérieures ---------- */
.page-head { background: var(--tint); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.page-head-copy { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.page-head h1 { font-size: var(--step-4); margin-bottom: 0.35em; }
.page-head-copy p { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 42ch; margin: 0; }
.page-head-media { align-self: stretch; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); }
.page-head-media img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.page-head.no-photo .page-head-grid { grid-template-columns: 1fr; }
@media (max-width: 52rem) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-media { margin: 0 calc(-1 * var(--gutter)); order: -1; }
  .page-head-media img { aspect-ratio: 16 / 9; min-height: 0; }
  .page-head-copy { padding-block: 2rem 2.5rem; }
}

/* ---------- Texte éditorial ---------- */
.prose { max-width: 44rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: var(--step-2); margin: 2.75rem 0 0.8rem; }
.prose h3 { margin: 2rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--green-ink); }
.prose figure { margin: 2.25rem 0; }
.prose figure img { width: 100%; }
.prose figcaption, .prose .wp-element-caption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.6rem; }
.prose blockquote { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.4rem; border-left: 1px solid var(--green-ink); font-size: var(--step-1); line-height: 1.45; }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote cite { display: block; margin-top: 0.6rem; font-size: var(--step-0); font-style: normal; color: var(--ink-soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose ul.is-style-chronologie { list-style: none; padding: 0; background: linear-gradient(var(--line), var(--line)) 0 0 / 2px 100% no-repeat; margin-left: 0.4rem; }
.prose ul.is-style-chronologie > li { position: relative; padding: 0 0 1.4rem 1.5rem; color: var(--ink-soft); margin: 0; }
.prose ul.is-style-chronologie > li::before { content: ""; position: absolute; left: -0.3rem; top: 0.42rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--green); }
.prose ul.is-style-chronologie > li strong { display: block; color: var(--ink); font-family: var(--display); font-stretch: 108%; font-size: 1.15rem; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.aside-box { background: var(--tint); padding: 1.6rem; position: sticky; top: 6.5rem; }
.aside-box h2 { font-size: 1.3rem; }
.aside-box p { color: var(--ink-soft); font-size: 1rem; }
@media (min-width: 64rem) {
  .prose.page-body:has(> .is-style-chronologie) { max-width: none; display: grid; grid-template-columns: minmax(0, 44rem) minmax(0, 1fr); column-gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: start; }
  .prose.page-body:has(> .is-style-chronologie) > * { grid-column: 1; }
  .prose.page-body:has(> .is-style-chronologie) > .is-style-chronologie { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 7rem; margin-top: 0.6rem; padding-top: 0.25rem; }
}
@media (max-width: 60rem) { .page-layout { grid-template-columns: 1fr; } .aside-box { position: static; } }

/* ---------- Article ---------- */
.article-head { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) 1.75rem; }
.article-head h1 { font-size: var(--step-3); max-width: 22ch; }
.article-head .meta { color: var(--green-ink); font-weight: 700; }
.article-back { margin-bottom: 1.25rem; }
.article-back .icon { transform: rotate(180deg); }
.article-figure { margin: 0 auto 2.5rem; }
.article-figure img { width: 100%; max-height: 38rem; object-fit: cover; }
.article-figure figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.6rem; }
.article-lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink); }
.article-body { padding-bottom: var(--section); }

/* ---------- Formulaire ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.yk-form fieldset { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.yk-form legend { font-family: var(--display); font-stretch: 108%; font-weight: 800; font-size: var(--step-1); margin-bottom: 1rem; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label {
  display: flex; flex-direction: column; gap: 0.15rem; height: 100%;
  padding: 0.95rem 1rem 1rem 2.9rem; border: 2px solid var(--line); border-radius: 0.2rem; cursor: pointer;
  position: relative; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice label::before {
  content: ""; position: absolute; left: 1rem; top: 1.1rem; width: 1.15rem; height: 1.15rem;
  border: 2px solid var(--ink-soft); border-radius: 50%; background: var(--white);
}
.choice label strong { font-size: 1.05rem; }
.choice label span { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.35; }
.choice input:checked + label { border-color: var(--green-ink); background: var(--tint); }
.choice input:checked + label::before { border-color: var(--green-ink); background: radial-gradient(circle, var(--green-ink) 0 45%, var(--white) 50%); }
.choice input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: end; }
.yk-form fieldset.reach { margin: 0; }
.yk-form fieldset.reach legend { font-family: var(--text); font-stretch: 100%; font-weight: 700; font-size: 1rem; margin-bottom: 0.6rem; }
.yk-form fieldset.reach legend .hint { font-weight: 400; margin-left: 0.35rem; }
.yk-form > fieldset:last-of-type { margin-bottom: 0.5rem; }
.yk-form fieldset.reach + .field-row { margin-top: 0; }
@media (max-width: 40rem) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid #8fa391; border-radius: 0.2rem; padding: 0.7rem 0.85rem; min-height: 3rem;
  caret-color: var(--green-ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green-ink); outline: 3px solid rgba(98, 194, 52, 0.45); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder { color: #66746b; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field .error, .choice-error { color: #a51d15; font-weight: 700; font-size: 0.95rem; margin-top: 0.35rem; display: block; }
.req { color: #a51d15; }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.5rem; }
.consent input { width: 1.35rem; height: 1.35rem; margin-top: 0.2rem; accent-color: var(--green-ink); flex-shrink: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1.25rem 1.4rem; margin-bottom: 2rem; border: 2px solid; }
.notice-ok { border-color: var(--green-ink); background: var(--tint); }
.notice-error { border-color: var(--red); background: #fdf0ef; }
.notice h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.contact-list a { font-weight: 650; }
@media (max-width: 60rem) { .form-wrap { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--field-deep); color: var(--on-field-soft); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 1.5rem; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-brand .lockup { display: flex; align-items: center; gap: 0.8rem; color: var(--white); font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.2rem; }
.footer-brand img { width: 3.5rem; height: 3.5rem; background: var(--white); border-radius: 50%; }
.footer-brand p { max-width: 34ch; margin: 0; }
.site-footer h2 { font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1.5rem; font-size: 0.92rem; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.not-found { padding-block: var(--section); }
.not-found h1 { font-size: var(--step-4); max-width: 14ch; }

/* ---------- Mouvement : apparition au défilement, CSS seul ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: yk-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .ledger tbody tr {
      animation: yk-ink linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 70%;
    }
  }
}
@keyframes yk-rise { from { opacity: 0; transform: translateY(1.75rem); } to { opacity: 1; transform: none; } }
@keyframes yk-ink { from { opacity: 0.15; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- Accueil : bande défilante des 3 dernières actualités ---------- */
.section-news { padding-top: 0; }
.news-marquee {
  overflow: hidden;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}
.news-track { display: flex; width: max-content; animation: yk-defile 48s linear infinite; }
.news-strip { list-style: none; margin: 0; padding: 0; display: flex; }
.news-strip > li { width: clamp(17rem, 15rem + 10vw, 24rem); margin-right: clamp(1.25rem, 1rem + 1vw, 2rem); }
.news-marquee:hover .news-track, .news-marquee:focus-within .news-track { animation-play-state: paused; }
@keyframes yk-defile { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) {
  .news-marquee { overflow-x: auto; mask-image: none; scroll-snap-type: x mandatory; }
  .news-track { animation: none; }
  .news-strip[aria-hidden="true"] { display: none; }
  .news-strip > li { scroll-snap-align: start; }
}
