/* ==========================================================================
   UPEEPT RELP — feuille de style principale
   Couleurs et polices centralisées dans :root (cahier des charges §6).
   ========================================================================== */

/* ---------- Polices auto-hébergées (couverture complète du français et de l'éwé) ---------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
  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: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "EB Garamond";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-wght-italic.woff2") format("woff2");
  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: "EB Garamond";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-standard-normal.woff2") format("woff2");
  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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Charte ---------- */
:root {
  /* Palette officielle UPEEPT RELP */
  --beige: #EFECE1;        /* dominante : beige de la veste des presbytres */
  --bleu: #0096C8;         /* primaire : bleu du macaron */
  --ivoire: #FDFBF7;       /* fond des cartes */
  --brun: #3D3428;         /* texte principal, jamais de noir pur */
  --or: #C9A24A;           /* accent ponctuel : séparateurs, icônes */

  /* Déclinaisons calculées pour l'accessibilité (contraste AA) */
  --bleu-fonce: #006E93;   /* liens et boutons : 5,5:1 sur ivoire */
  --bleu-nuit: #0C3142;    /* pied de page */
  --bleu-pale: #E3F1F6;
  --or-fonce: #86661C;     /* texte doré lisible */
  --or-pale: #F3EBD6;
  --brun-doux: #6B5F4F;    /* texte secondaire : 5,3:1 sur beige */
  --beige-fonce: #E4DFCF;
  --ligne: rgba(61, 52, 40, .14);
  --ligne-forte: rgba(61, 52, 40, .24);

  --f-titre: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --ombre: 0 1px 2px rgba(61, 52, 40, .06), 0 8px 24px -12px rgba(61, 52, 40, .18);
  --ombre-l: 0 2px 4px rgba(61, 52, 40, .05), 0 24px 48px -24px rgba(61, 52, 40, .32);

  --max: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --header-h: 84px;

  /* Anneaux concentriques fins, en écho aux cercles du logo */
  --rings: radial-gradient(circle, transparent 0 34.6%, rgba(201, 162, 74, .45) 34.7% 34.9%, transparent 35% 42.6%, rgba(201, 162, 74, .28) 42.7% 42.9%, transparent 43% 49.6%, rgba(0, 150, 200, .22) 49.7% 49.9%, transparent 50%);
  --rings-dark: radial-gradient(circle, transparent 0 34.6%, rgba(230, 200, 119, .32) 34.7% 34.9%, transparent 35% 42.6%, rgba(230, 200, 119, .18) 42.7% 42.9%, transparent 43% 49.6%, rgba(0, 150, 200, .35) 49.7% 49.9%, transparent 50%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--brun);
  background: var(--beige);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* grain de lin, discret (rappel du tissu de la veste) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .2 0 0 0 0 .16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-fonce); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brun); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--or-pale); color: var(--brun); }

h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--brun); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bleu-fonce); color: #fff; padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 780px; }
.section { padding-block: var(--sec); }
.section-tight { padding-block: calc(var(--sec) * .6); }
.section-ivory { background: var(--ivoire); border-block: 1px solid var(--ligne); }
.center { text-align: center; }

.ic { width: 1.15em; height: 1.15em; flex: none; }

/* Sur-titre */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 600 .74rem/1.2 var(--f-texte);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--or); }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--or); }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.65; color: var(--brun-doux); max-width: 62ch; }
.muted { color: var(--brun-doux); }
.small { font-size: .875rem; }

/* Filet doré avec ornement (rappel des anneaux du logo) */
.ornament { display: flex; align-items: center; gap: 14px; color: var(--or); margin: 0 auto; max-width: 220px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }
.ornament svg { width: 22px; height: 22px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .lead { margin: .8rem 0 0; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--bleu-fonce); --fg: #fff; --bd: var(--bleu-fonce);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4em;
  font: 600 .95rem/1 var(--f-texte); letter-spacing: .01em;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { --bg: #005875; --bd: #005875; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0, 110, 147, .6); }
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--brun); --bd: var(--ligne-forte); }
.btn-ghost:hover { --bg: var(--ivoire); --fg: var(--brun); --bd: var(--brun); color: var(--brun); box-shadow: none; }
.btn-light { --bg: #fff; --fg: var(--bleu-nuit); --bd: #fff; }
.btn-light:hover { --bg: var(--or-pale); --bd: var(--or-pale); color: var(--bleu-nuit); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; }
.btn-sm { min-height: 38px; padding: 0 1em; font-size: .85rem; }
.btn-wa { --bg: #1F7A4D; --bd: #1F7A4D; }
.btn-wa:hover { --bg: #17613C; --bd: #17613C; box-shadow: 0 8px 20px -10px rgba(31, 122, 77, .6); }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; font-size: .95rem; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Bandeau utilitaire ---------- */
.topbar { background: var(--bleu-fonce); color: #EAF5F9; font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar-org { opacity: .88; letter-spacing: .02em; }
@media (max-width: 860px) { .topbar-org { display: none; } .topbar .wrap { justify-content: center; } .topbar-list { gap: 16px; } .topbar-list .hide-s { display: none; } }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--ligne);
  transition: box-shadow .3s;
}
/* le flou est porté par un pseudo-élément pour ne pas capturer le menu mobile (position fixe) */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(253, 251, 247, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
html, body { overflow-x: clip; }
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(61, 52, 40, .45); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--brun); }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-titre); font-size: 1.62rem; font-weight: 600; letter-spacing: .01em; }
.brand-name span { color: var(--bleu-fonce); font-weight: 500; }
.brand-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brun-doux); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: 10px 14px; border-radius: 999px;
  font: 500 .93rem/1 var(--f-texte); color: var(--brun);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-link .ic { width: 14px; height: 14px; transition: transform .25s; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--beige); color: var(--brun); }
.nav-item.is-open > .nav-link .ic { transform: rotate(180deg); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--bleu-fonce); }
.nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--or); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 340px; padding: 10px;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m);
  box-shadow: var(--ombre-l);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--brun); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--beige); }
.dropdown a strong { display: block; font-weight: 600; font-size: .95rem; }
.dropdown a[aria-current="page"] strong { color: var(--bleu-fonce); }
.dropdown a span { display: block; font-size: .82rem; color: var(--brun-doux); margin-top: 2px; }

.nav-cta { margin-left: 10px; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.4rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px; border-radius: 999px;
    border: 1px solid var(--ligne-forte); background: var(--ivoire); color: var(--brun);
    font: 600 .9rem/1 var(--f-texte); cursor: pointer;
  }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivoire); padding: 88px 24px 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s;
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .3); z-index: 60;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--ligne); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; font-size: 1.05rem; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: none; }
  .nav-link.is-active::after { display: none; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; background: none; display: none; }
  .nav-item.is-open > .dropdown { display: block; transform: none; }
  .dropdown a { padding: 10px 12px; }
  .nav-cta { margin: 24px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-close { position: absolute; top: 18px; right: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(12, 49, 66, .45); z-index: 55; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (min-width: 1081px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 520px) { .brand-sub { display: none; } .menu-toggle span { display: none; } .menu-toggle { padding: 0 12px; } }

/* ---------- En-tête de page intérieure ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; margin-bottom: .35em; }
.page-head .lead { margin: 0; }
.page-head::after {
  content: ""; position: absolute; right: -180px; top: -220px; width: 640px; height: 640px;
  background: var(--rings);
  pointer-events: none; z-index: -1;
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .82rem; color: var(--brun-doux); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--or); }
.crumbs a { color: var(--brun-doux); text-decoration: none; }
.crumbs a:hover { color: var(--bleu-fonce); text-decoration: underline; }

/* ---------- Accueil : héros ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: .4em; }
.hero h1 .l1 { white-space: nowrap; }
@media (max-width: 520px) { .hero h1 { font-size: 2.6rem; } .hero h1 .l1 { white-space: normal; } .hero-actions .btn { flex: 1 1 auto; } }
.hero h1 em { font-style: italic; color: var(--bleu-fonce); font-weight: 400; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--ligne); }
.stat-num { font-family: var(--f-titre); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; color: var(--brun); font-weight: 500; }
.stat-label { font-size: .8rem; color: var(--brun-doux); margin-top: 6px; line-height: 1.35; max-width: 14ch; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 460px); }
.arch { position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #F7F4EC, var(--beige)); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-visual .arch { box-shadow: var(--ombre-l); }
.hero-visual .arch img { mix-blend-mode: multiply; }
.hero-visual::before {
  content: ""; position: absolute; inset: -18px -18px 40px 18px;
  border: 1px solid var(--or); border-radius: 999px 999px 18px 18px; opacity: .8;
}
.hero-visual::after {
  content: ""; position: absolute; right: -24px; top: 14%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bleu); box-shadow: 0 0 0 6px var(--beige), 0 0 0 7px var(--or);
}
.quote-card {
  position: relative; margin: -110px -28px 0 auto; max-width: 400px; z-index: 2;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m);
  padding: 26px 28px 22px; box-shadow: var(--ombre-l);
}
.quote-card blockquote { margin: 0; font-family: var(--f-titre); font-style: italic; font-size: 1.32rem; line-height: 1.38; color: var(--brun); }
.quote-card blockquote::before { content: "«\00a0"; color: var(--or); }
.quote-card blockquote::after { content: "\00a0»"; color: var(--or); }
.quote-card figcaption { margin-top: 14px; font-size: .82rem; color: var(--brun-doux); line-height: 1.45; }
.quote-card figcaption strong { display: block; color: var(--brun); font-size: .9rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 24px; width: min(92%, 420px); }
  .quote-card { margin: -90px auto 0; max-width: 92%; }
  .hero-visual::after { display: none; }
  .hero-visual::before { inset: -12px -12px 40px 12px; }
  .stats { grid-template-columns: repeat(2, auto); }
}

/* ---------- Piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ligne-forte); }
.pillar { padding: 36px 32px 8px 0; border-right: 1px solid var(--ligne); }
.pillar + .pillar { padding-left: 32px; }
.pillar:last-child { border-right: 0; }
.pillar-num { font-family: var(--f-titre); font-style: italic; color: var(--or-fonce); font-size: 1.1rem; margin-bottom: 18px; display: block; }
.pillar h3 { margin-bottom: .45em; }
.pillar p { color: var(--brun-doux); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--ligne); } }

/* ---------- Cartes ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--ligne-forte); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--beige-fonce); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8rem; color: var(--brun-doux); }
.card h3 { font-size: 1.38rem; margin: 0; line-height: 1.2; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card p { margin: 0; color: var(--brun-doux); font-size: .95rem; }
.card .card-foot { margin-top: auto; padding-top: 8px; }
.card:focus-within { box-shadow: 0 0 0 3px var(--bleu); }
.card a:focus-visible { outline: none; }

/* Visuel de substitution typographique (pas d'image) */
.placeholder {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center;
  background:
    radial-gradient(circle at 78% 30%, transparent 0 58px, rgba(201, 162, 74, .5) 59px 60px, transparent 61px 86px, rgba(201, 162, 74, .3) 87px 88px, transparent 89px),
    linear-gradient(135deg, #E9E3D2, var(--beige));
  color: var(--or-fonce);
}
.placeholder span { font-family: var(--f-titre); font-style: italic; font-size: 1.25rem; color: var(--brun-doux); padding: 0 24px; text-align: center; }
.placeholder.blue { background: radial-gradient(circle at 78% 30%, transparent 0 58px, rgba(255, 255, 255, .35) 59px 60px, transparent 61px 86px, rgba(255, 255, 255, .2) 87px 88px, transparent 89px), linear-gradient(135deg, var(--bleu-fonce), var(--bleu-nuit)); }
.placeholder.blue span { color: #DDEFF6; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font: 600 .72rem/1.3 var(--f-texte); letter-spacing: .04em;
  background: var(--bleu-pale); color: #00516D;
}
.tag-or { background: var(--or-pale); color: var(--or-fonce); }
.tag-brun { background: var(--beige-fonce); color: var(--brun); }
.tag-vert { background: #E2F0E6; color: #22603C; }
.tag-gris { background: #ECEAE4; color: var(--brun-doux); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Actualités + agenda (accueil) ---------- */
.news-agenda { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.news-agenda .grid { grid-template-columns: repeat(2, 1fr); }
.news-agenda .card.is-lead { grid-column: 1 / -1; flex-direction: row; }
.news-agenda .card.is-lead .card-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 280px; }
.news-agenda .card.is-lead h3 { font-size: 1.75rem; }
@media (max-width: 1080px) { .news-agenda { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .news-agenda .grid { grid-template-columns: 1fr; } .news-agenda .card.is-lead { flex-direction: column; } .news-agenda .card.is-lead .card-media { min-height: 0; aspect-ratio: 16/10; } }

.aside-panel { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 28px; }
.aside-panel h3 { font-size: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.events { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--ligne); }
.event:first-child { border-top: 0; padding-top: 6px; }
.datebox { text-align: center; border: 1px solid var(--ligne-forte); border-radius: 10px; padding: 8px 4px 9px; background: var(--beige); align-self: start; }
.datebox .d { display: block; font-family: var(--f-titre); font-size: 1.85rem; line-height: 1; color: var(--brun); }
.datebox .m { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bleu-fonce); font-weight: 600; margin-top: 4px; }
.datebox .y { display: block; font-size: .68rem; color: var(--brun-doux); margin-top: 1px; }
.datebox.tbc .d { font-size: 1.5rem; padding-top: 4px; }
.datebox.tbc { border-style: dashed; }
.event h4 { font-family: var(--f-texte); font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 0 0 4px; }
.event h4 a { color: var(--brun); text-decoration: none; }
.event h4 a:hover { color: var(--bleu-fonce); text-decoration: underline; }
.event p { margin: 0; font-size: .85rem; color: var(--brun-doux); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.event p span { display: inline-flex; align-items: center; gap: 5px; }
.event .ic { width: 14px; height: 14px; color: var(--or-fonce); }

/* ---------- Accueil : la vie de l'Union (mise en page éditoriale) ---------- */
.news-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr;
  gap: clamp(24px, 3vw, 40px) clamp(28px, 3.5vw, 48px); align-items: start;
}
.lead-story {
  position: relative; grid-column: 1; grid-row: 1;
  display: grid; grid-template-columns: minmax(240px, 46%) 1fr;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-l); overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.lead-story:hover { box-shadow: var(--ombre-l); border-color: var(--ligne-forte); }
.lead-media { position: relative; min-height: 360px; background: var(--bleu-nuit); overflow: hidden; }
.lead-backdrop { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) saturate(1.1) brightness(.75); }
.lead-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.lead-media .placeholder { position: absolute; inset: 0; }
.lead-story:hover .lead-img { transform: scale(1.025); }
.lead-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.lead-body h3 { font-size: clamp(1.6rem, 2.2vw, 2.15rem); line-height: 1.15; margin: 0; }
.lead-body h3 a { color: var(--brun); text-decoration: none; }
.lead-body h3 a::after { content: ""; position: absolute; inset: 0; }
.lead-body h3 a:focus-visible { outline: none; }
.lead-story:focus-within { box-shadow: 0 0 0 3px var(--bleu); }
.lead-body p { margin: 0; color: var(--brun-doux); }
.lead-body .link-arrow { color: var(--bleu-fonce); margin-top: 4px; }

.news-more { grid-column: 1; grid-row: 2; }
.news-more-title { font-family: var(--f-texte); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brun-doux); margin: 0 0 4px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-row {
  position: relative; display: grid; grid-template-columns: 92px 1fr 24px; gap: 24px; align-items: center;
  padding: 22px 8px 22px 0; border-top: 1px solid var(--ligne);
}
.news-row:last-child { border-bottom: 1px solid var(--ligne); }
.news-row time { display: flex; flex-direction: column; line-height: 1; }
.news-row time strong { font-family: var(--f-titre); font-weight: 500; font-size: 2.3rem; color: var(--brun); }
.news-row time span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brun-doux); margin-top: 6px; }
.news-cat { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--or-fonce); }
.news-row h4 { font-family: var(--f-titre); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin: 4px 0 0; }
.news-row h4 a { color: var(--brun); text-decoration: none; }
.news-row h4 a::after { content: ""; position: absolute; inset: 0; }
.news-row > .ic { color: var(--bleu-fonce); opacity: .45; transition: transform .25s, opacity .25s; }
.news-row:hover h4 a { color: var(--bleu-fonce); }
.news-row:hover > .ic { opacity: 1; transform: translateX(4px); }
.news-row:focus-within { outline: 3px solid var(--bleu); outline-offset: 4px; border-radius: 6px; }
.news-row h4 a:focus-visible { outline: none; }

.bulletin {
  grid-column: 2; grid-row: 1 / span 2; align-self: stretch;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  background: var(--bleu-nuit); color: #C9DCE4; border-radius: var(--r-l);
  padding: clamp(28px, 3vw, 40px);
}
.bulletin::after { content: ""; position: absolute; right: -230px; bottom: -260px; width: 560px; height: 560px; background: var(--rings-dark); z-index: -1; pointer-events: none; }
.bulletin .eyebrow { color: #E6C877; }
.bulletin .eyebrow::before { background: #E6C877; }
.bulletin h3 { color: #fff; font-size: 1.9rem; margin-bottom: 18px; }
.bulletin .event { border-top-color: rgba(255, 255, 255, .12); grid-template-columns: 68px 1fr; }
.bulletin .event:first-child { border-top: 0; }
.bulletin .datebox { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); }
.bulletin .datebox .d { color: #fff; }
.bulletin .datebox .m { color: #7FD0EC; }
.bulletin .datebox .y { color: #9FB9C4; }
.bulletin .event h4, .bulletin .event h4 a { color: #fff; font-size: 1.05rem; }
.bulletin .event h4 a:hover { color: #E6C877; }
.bulletin .event p { color: #A9C2CC; }
.bulletin .event .ic { color: #E6C877; }
.pill-tbc { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #E6C877; border: 1px solid rgba(230, 200, 119, .45); border-radius: 999px; padding: 3px 9px; margin-bottom: 8px; }
.bulletin-empty { color: #A9C2CC; }
.bulletin-sub { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8FAAB6; margin: 22px 0 6px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.recent { list-style: none; margin: 0 0 28px; padding: 0; }
.recent li { padding: 10px 0; display: flex; flex-direction: column; gap: 2px; }
.recent span { font-size: .78rem; color: #8FAAB6; }
.recent a, .recent strong { color: #DCE8ED; font-weight: 500; text-decoration: none; font-size: .95rem; line-height: 1.35; }
.recent a:hover { color: #fff; text-decoration: underline; }
.bulletin > .btn { margin-top: auto; width: 100%; }

@media (max-width: 1100px) {
  .news-layout { grid-template-columns: 1fr; grid-template-rows: none; }
  .lead-story, .news-more, .bulletin { grid-column: 1; grid-row: auto; }
}
@media (max-width: 700px) {
  .lead-story { grid-template-columns: 1fr; }
  .lead-media { min-height: 0; aspect-ratio: 1; }
  .news-row { grid-template-columns: 64px 1fr; gap: 16px; }
  .news-row time strong { font-size: 1.9rem; }
  .news-row > .ic { display: none; }
}

/* ---------- Bandeau camp ---------- */
.feature { background: var(--bleu-nuit); color: #DDE9EE; position: relative; overflow: hidden; }
.feature::before {
  content: ""; position: absolute; left: -260px; bottom: -320px; width: 760px; height: 760px;
  background: var(--rings-dark);
}
.feature .wrap { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature h2 { color: #fff; }
.feature .eyebrow { color: #E6C877; }
.feature .eyebrow::before { background: #E6C877; }
.feature-poster { border-radius: var(--r-m); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transform: rotate(-2deg); border: 6px solid rgba(255, 255, 255, .06); }
.feature-theme { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; color: #fff; margin: 0 0 1.6rem; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 40px; margin: 0 0 2rem; padding: 22px 0; border-block: 1px solid rgba(255, 255, 255, .14); }
.facts dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9FC0CD; margin-bottom: 4px; }
.facts dd { margin: 0; color: #fff; font-weight: 500; }
@media (max-width: 860px) { .feature .wrap { grid-template-columns: 1fr; } .feature-poster { max-width: 420px; } .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- Accès rapides ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r-m); overflow: hidden; }
.quick a { background: var(--ivoire); padding: 30px 26px 28px; text-decoration: none; color: var(--brun); display: flex; flex-direction: column; gap: 10px; transition: background .2s; min-height: 210px; }
.quick a:hover { background: #fff; }
.quick .ic { width: 30px; height: 30px; color: var(--or-fonce); stroke-width: 1.3; margin-bottom: 8px; }
.quick strong { font-family: var(--f-titre); font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.quick span { font-size: .9rem; color: var(--brun-doux); }
.quick .link-arrow { margin-top: auto; color: var(--bleu-fonce); font-size: .88rem; }
@media (max-width: 960px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .quick { grid-template-columns: 1fr; } .quick a { min-height: 0; } }

/* ---------- Appel à l'action ---------- */
.cta {
  position: relative; overflow: hidden;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-l);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta::after { content: ""; position: absolute; right: -160px; bottom: -220px; width: 480px; height: 480px; background: var(--rings); pointer-events: none; }
.cta h2 { margin-bottom: .3em; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--bleu-nuit); color: #B9CDD6; font-size: .92rem; margin-top: var(--sec); }
.footer a { color: #E4EEF2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 72px 56px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 92px; height: auto; flex: none; background: var(--ivoire); border-radius: 50%; padding: 4px; }
.footer-brand strong { display: block; font-family: var(--f-titre); font-size: 1.55rem; color: #fff; font-weight: 500; line-height: 1.1; margin-bottom: 8px; }
.footer-brand p { margin: 0; line-height: 1.55; font-size: .85rem; }
.footer h2 { font-family: var(--f-texte); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #E6C877; font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { margin-top: 3px; color: #E6C877; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom ul { display: flex; gap: 20px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Contenu éditorial ---------- */
.prose { font-size: 1.06rem; line-height: 1.75; max-width: 68ch; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--or-fonce); }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--or); font-family: var(--f-titre); font-style: italic; font-size: 1.45rem; line-height: 1.45; color: var(--brun); }
.prose blockquote p { margin: 0; }
.prose a { font-weight: 500; }

.article-head { max-width: 860px; }
.article-cover { border-radius: var(--r-m); overflow: hidden; margin: 0 0 48px; box-shadow: var(--ombre); max-height: 560px; }
.article-cover img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: center 20%; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* Fiche de faits (camps, études) */
.factsheet { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 8px 24px; }
.factsheet dl { margin: 0; }
.factsheet div { padding: 16px 0; border-top: 1px solid var(--ligne); }
.factsheet div:first-child { border-top: 0; }
.factsheet dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or-fonce); font-weight: 600; margin-bottom: 4px; }
.factsheet dd { margin: 0; font-weight: 500; }

/* ---------- Téléchargements ---------- */
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.file {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 18px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.file:hover { border-color: var(--ligne-forte); box-shadow: var(--ombre); }
.file-icon { width: 46px; height: 54px; border-radius: 6px; background: var(--or-pale); color: var(--or-fonce); display: grid; place-items: center; position: relative; }
.file-icon::after { content: "PDF"; position: absolute; bottom: 5px; font: 700 .58rem/1 var(--f-texte); letter-spacing: .06em; }
.file-icon .ic { width: 22px; height: 22px; margin-top: -10px; }
.file h3 { font-family: var(--f-texte); font-size: 1rem; font-weight: 600; margin: 0 0 3px; line-height: 1.35; }
.file p { margin: 0; font-size: .85rem; color: var(--brun-doux); }
.file-meta { font-size: .78rem; color: var(--brun-doux); margin-top: 4px !important; }
@media (max-width: 600px) { .file { grid-template-columns: auto 1fr; } .file .btn { grid-column: 1 / -1; } }

.empty {
  text-align: center; padding: clamp(36px, 6vw, 64px) 24px;
  border: 1px dashed var(--ligne-forte); border-radius: var(--r-m); background: rgba(253, 251, 247, .6);
  color: var(--brun-doux);
}
.empty .ic { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--or); stroke-width: 1.2; }
.empty h3 { font-size: 1.4rem; color: var(--brun); }
.empty p { max-width: 52ch; margin: 0 auto; font-size: .95rem; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--ligne-forte); background: transparent; color: var(--brun);
  font: 500 .88rem/1 var(--f-texte); text-decoration: none; cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--brun); color: var(--brun); background: var(--ivoire); }
.chip[aria-current="true"], .chip.is-active { background: var(--brun); border-color: var(--brun); color: var(--ivoire); }
.search {
  display: flex; align-items: center; gap: 10px; max-width: 460px;
  background: var(--ivoire); border: 1px solid var(--ligne-forte); border-radius: 999px; padding: 0 18px; min-height: 52px;
}
.search:focus-within { border-color: var(--bleu-fonce); box-shadow: 0 0 0 3px rgba(0, 150, 200, .2); }
.search .ic { color: var(--brun-doux); }
.search input { flex: 1; border: 0; background: none; font: inherit; color: var(--brun); min-height: 50px; outline: none; }

/* ---------- Qui sommes-nous ---------- */
.mission-list { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.mission-list li { counter-increment: m; padding: 24px 0 24px 64px; position: relative; border-top: 1px solid var(--ligne); font-size: 1.05rem; }
.mission-list li::before { content: counter(m, upper-roman); position: absolute; left: 0; top: 20px; font-family: var(--f-titre); font-size: 1.6rem; color: var(--or-fonce); font-style: italic; width: 44px; }
@media (max-width: 760px) { .mission-list { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--or), rgba(201, 162, 74, .2)); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 46px; padding: 0 0 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 127px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--beige); border: 2px solid var(--or); }
.timeline li.is-key::before { background: var(--bleu); border-color: var(--bleu); box-shadow: 0 0 0 5px rgba(0, 150, 200, .15); }
.timeline time { font-family: var(--f-titre); font-size: 1.5rem; line-height: 1.1; text-align: right; color: var(--brun); }
.timeline time small { display: block; font-family: var(--f-texte); font-size: .74rem; color: var(--brun-doux); letter-spacing: .04em; margin-top: 4px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: .25em; }
.timeline p { margin: 0; color: var(--brun-doux); }
@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .timeline li::before { left: 1px; }
  .timeline time { text-align: left; }
}

.levels { display: grid; gap: 10px; }
.level { display: grid; grid-template-columns: 200px repeat(3, 1fr); gap: 10px; align-items: stretch; }
.level-name {
  display: flex; flex-direction: column; justify-content: center; padding: 16px 20px; border-radius: 10px;
  background: var(--bleu-fonce); color: #fff; font-family: var(--f-titre); font-size: 1.3rem; line-height: 1.1;
}
.level-name small { font-family: var(--f-texte); font-size: .72rem; opacity: .8; letter-spacing: .06em; margin-top: 4px; }
.level:nth-child(2) .level-name { background: #0A7FA6; }
.level:nth-child(3) .level-name { background: #2D8DAF; }
.level:nth-child(4) .level-name { background: #5AA4BF; }
.level-organ { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: 10px; padding: 14px 16px; font-size: .9rem; display: flex; align-items: center; }
.levels-head { display: grid; grid-template-columns: 200px repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.levels-head div { padding: 0 16px; }
.levels-head strong { display: block; font-family: var(--f-titre); font-size: 1.3rem; font-weight: 500; }
.levels-head span { font-size: .82rem; color: var(--brun-doux); }
@media (max-width: 860px) {
  .levels-head { display: none; }
  .level { grid-template-columns: 1fr; }
  .level-organ::before { content: attr(data-organ) "\00a0: "; font-weight: 600; margin-right: 4px; }
}

.organs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.organ { padding: 28px; background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); }
.organ .organ-k { font-family: var(--f-titre); font-style: italic; color: var(--or-fonce); font-size: 1.05rem; }
.organ h3 { margin: 8px 0 10px; }
.organ p { margin: 0; color: var(--brun-doux); font-size: .95rem; }
@media (max-width: 860px) { .organs { grid-template-columns: 1fr; } }

.commissions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }

/* ---------- CDR ---------- */
.president {
  display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--ligne);
}
.president .arch { max-width: 420px; box-shadow: var(--ombre-l); }
.president .arch img { mix-blend-mode: multiply; }
.president-role { font: 600 .78rem/1 var(--f-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--bleu-fonce); margin-bottom: 14px; display: block; }
.president h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: .3em; }
.president blockquote { margin: 28px 0 0; padding-left: 24px; border-left: 2px solid var(--or); font-family: var(--f-titre); font-style: italic; font-size: 1.4rem; line-height: 1.45; }
@media (max-width: 860px) { .president { grid-template-columns: 1fr; } .president .arch { max-width: 340px; } }

.members { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.member { text-align: center; }
.member .arch { aspect-ratio: 4 / 5; margin-bottom: 18px; border: 1px solid var(--ligne); background: linear-gradient(180deg, var(--ivoire), var(--beige-fonce)); }
.member .arch img.silhouette { object-fit: contain; object-position: bottom; padding: 18% 14% 0; opacity: .9; }
.member-role { display: block; font: 600 .7rem/1.4 var(--f-texte); letter-spacing: .12em; text-transform: uppercase; color: var(--or-fonce); margin-bottom: 6px; min-height: 2.8em; }
.member h3 { font-size: 1.28rem; margin: 0; }
.member .civ { font-size: .85rem; color: var(--brun-doux); }
.member-note { font-size: .78rem; color: var(--brun-doux); margin-top: 6px; font-style: italic; }
@media (max-width: 1000px) { .members { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .members { grid-template-columns: repeat(2, 1fr); } .member-role { min-height: 0; } }

/* ---------- Districts ---------- */
.district-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.district-count { font-size: .9rem; color: var(--brun-doux); }
.districts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.district {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 20px 20px 18px; border-radius: var(--r-m);
  background: var(--ivoire); border: 1px solid var(--ligne); text-decoration: none; color: var(--brun);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.district:hover { border-color: var(--bleu-fonce); transform: translateY(-2px); box-shadow: var(--ombre); color: var(--brun); }
.district-name { font-family: var(--f-titre); font-size: 1.35rem; line-height: 1.15; }
.district-eff { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; color: var(--brun-doux); }
.district-eff strong { font-family: var(--f-titre); font-size: 1.3rem; color: var(--brun); font-weight: 500; }
.district > span:last-child, .district-eff { display: flex; }
.district > span:last-child { flex-direction: column; gap: 8px; }
.bar { display: block; height: 3px; background: var(--beige-fonce); border-radius: 3px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--or), var(--bleu)); border-radius: 3px; }
.district .ic { position: absolute; top: 20px; right: 18px; width: 16px; color: var(--bleu-fonce); opacity: 0; transition: opacity .2s, transform .2s; }
.district:hover .ic { opacity: 1; transform: translateX(2px); }
.letter-sep { grid-column: 1 / -1; font-family: var(--f-titre); font-style: italic; font-size: 1.5rem; color: var(--or-fonce); padding: 18px 0 2px; border-bottom: 1px solid var(--ligne); margin-bottom: 4px; }
@media (max-width: 1000px) { .districts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .districts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .districts { grid-template-columns: 1fr; } }

.district-hero { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.big-num { text-align: right; }
.big-num strong { display: block; font-family: var(--f-titre); font-size: clamp(4rem, 9vw, 7rem); line-height: .9; font-weight: 400; color: var(--bleu-fonce); }
.big-num span { font-size: .85rem; color: var(--brun-doux); }
@media (max-width: 640px) { .district-hero { grid-template-columns: 1fr; } .big-num { text-align: left; } }

.cdd { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cdd-card { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 20px 18px; text-align: center; }
.cdd-card .avatar { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(180deg, var(--beige), var(--beige-fonce)); overflow: hidden; border: 1px solid var(--ligne); }
.cdd-card .avatar img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; padding: 14px 12px 0; }
.cdd-card .member-role { min-height: 0; font-size: .66rem; }
.cdd-card strong { display: block; font-weight: 600; font-size: .95rem; }
.cdd-card .tbd { color: var(--brun-doux); font-style: italic; font-weight: 400; font-size: .88rem; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--ligne); }
.pager a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--brun); max-width: 45%; }
.pager a span { font-size: .78rem; color: var(--brun-doux); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.pager a strong { font-family: var(--f-titre); font-size: 1.4rem; font-weight: 500; }
.pager a:hover strong { color: var(--bleu-fonce); }
.pager a.next { text-align: right; margin-left: auto; align-items: flex-end; }

/* ---------- Agenda ---------- */
.agenda-list { list-style: none; margin: 0; padding: 0; }
.agenda-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--ligne); }
.agenda-item:last-child { border-bottom: 1px solid var(--ligne); }
.agenda-item .datebox { padding: 14px 6px; }
.agenda-item .datebox .d { font-size: 2.6rem; }
.agenda-item h3 { font-size: 1.55rem; margin: 6px 0 6px; }
.agenda-item h3 a { color: inherit; text-decoration: none; }
.agenda-item h3 a:hover { color: var(--bleu-fonce); text-decoration: underline; }
.agenda-item .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--brun-doux); margin-bottom: 6px; }
.agenda-item .meta span { display: inline-flex; gap: 6px; align-items: center; }
.agenda-item .meta .ic { color: var(--or-fonce); width: 15px; }
.agenda-item p { margin: 0; color: var(--brun-doux); max-width: 70ch; }
.agenda-thumb { width: 120px; border-radius: 8px; overflow: hidden; box-shadow: var(--ombre); }
.agenda-past .agenda-item { opacity: .82; padding: 20px 0; }
.agenda-past .agenda-item h3 { font-size: 1.25rem; }
.agenda-past .datebox { background: transparent; }
@media (max-width: 760px) { .agenda-item { grid-template-columns: 80px 1fr; gap: 18px; } .agenda-thumb { display: none; } .agenda-item .datebox .d { font-size: 2rem; } }

.year-title { font-family: var(--f-titre); font-size: 2rem; font-weight: 500; display: flex; align-items: center; gap: 16px; margin: 48px 0 8px; }
.year-title::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }

/* ---------- Camps ---------- */
.camp-row { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ligne); }
.camp-row:first-child { border-top: 0; padding-top: 0; }
.camp-row:nth-child(even) { grid-template-columns: 1fr 420px; }
.camp-row:nth-child(even) .camp-poster { order: 2; }
.camp-poster { border-radius: var(--r-m); overflow: hidden; box-shadow: var(--ombre-l); aspect-ratio: 1; background: var(--beige-fonce); display: block; }
.camp-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.camp-poster:hover img { transform: scale(1.03); }
.camp-year { font-family: var(--f-titre); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .9; color: var(--bleu-fonce); font-weight: 400; }
.camp-row h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 14px; }
.camp-row .theme { font-family: var(--f-titre); font-style: italic; font-size: 1.35rem; line-height: 1.4; margin-bottom: 18px; }
.camp-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .92rem; color: var(--brun-doux); margin-bottom: 24px; }
.camp-facts span { display: inline-flex; align-items: center; gap: 7px; }
.camp-facts .ic { color: var(--or-fonce); }
@media (max-width: 900px) { .camp-row, .camp-row:nth-child(even) { grid-template-columns: 1fr; } .camp-row:nth-child(even) .camp-poster { order: 0; } .camp-poster { max-width: 440px; } }

.camp-detail { display: grid; grid-template-columns: 440px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.camp-detail .camp-poster { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .camp-detail { grid-template-columns: 1fr; } .camp-detail .camp-poster { position: static; max-width: 460px; } }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--beige-fonce); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { font-size: .8rem; padding: 8px 10px; color: var(--brun-doux); background: var(--ivoire); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Études ---------- */
.studies { display: grid; gap: 14px; }
.study {
  position: relative; display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 24px 28px;
  transition: border-color .2s, box-shadow .2s;
}
.study:hover { border-color: var(--ligne-forte); box-shadow: var(--ombre); }
.study-date { font-family: var(--f-titre); line-height: 1.05; }
.study-date strong { display: block; font-size: 2.2rem; font-weight: 500; }
.study-date span { font-size: .78rem; font-family: var(--f-texte); color: var(--brun-doux); letter-spacing: .06em; text-transform: uppercase; }
.study h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.study h3 a { color: inherit; text-decoration: none; }
.study h3 a::after { content: ""; position: absolute; inset: 0; }
.study .meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .88rem; color: var(--brun-doux); }
.study .meta span { display: inline-flex; gap: 6px; align-items: center; }
.study .meta .ic { color: var(--or-fonce); width: 15px; }
.study-count { text-align: right; }
.study-count strong { display: block; font-family: var(--f-titre); font-size: 2rem; line-height: 1; color: var(--bleu-fonce); font-weight: 500; }
.study-count span { font-size: .75rem; color: var(--brun-doux); }
@media (max-width: 760px) { .study { grid-template-columns: 1fr; gap: 10px; } .study-count { text-align: left; display: flex; gap: 8px; align-items: baseline; } }

/* ---------- Mémoire ---------- */
.is-memorial { background: #F2EFE6; }
.memorial-head { background: #2E271E; color: #D9CFBE; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); text-align: center; position: relative; overflow: hidden; }
.memorial-head::after { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, transparent 0 39.7%, rgba(201, 162, 74, .22) 39.8% 40%, transparent 40.1% 49.7%, rgba(201, 162, 74, .12) 49.8% 50%, transparent 50.1%); pointer-events: none; }
.memorial-head .crumbs { justify-content: center; }
.memorial-head .crumbs a, .memorial-head .crumbs { color: #B8AC97; }
.memorial-head h1 { color: #F4EEE2; font-weight: 400; max-width: none; }
.memorial-head .flame { width: 40px; height: 40px; margin: 0 auto 22px; color: var(--or); stroke-width: 1.2; }
.memorial-verse { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); max-width: 40ch; margin: 18px auto 0; color: #E9E0CF; line-height: 1.45; }
.memorial-verse cite { display: block; font-style: normal; font-family: var(--f-texte); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--or); margin-top: 14px; }
.year-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.memorial-year { margin-bottom: clamp(48px, 6vw, 80px); }
.memorial-year header { text-align: center; margin-bottom: 32px; }
.memorial-year h2 { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 400; margin: 0; }
.memorial-year header p { color: var(--brun-doux); margin: 4px 0 0; font-size: .92rem; }
.names { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 48px; }
.names li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--ligne); display: flex; flex-direction: column; }
.names .n { font-family: var(--f-titre); font-size: 1.2rem; line-height: 1.25; }
.names .d { font-size: .8rem; color: var(--brun-doux); letter-spacing: .02em; }
.memorial-note { max-width: 62ch; margin: 0 auto; text-align: center; font-size: .9rem; color: var(--brun-doux); }

/* ---------- PAA / archives ---------- */
.paa-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
.paa-summary div { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 18px 20px; }
.paa-summary strong { display: block; font-family: var(--f-titre); font-size: 2.2rem; line-height: 1; font-weight: 500; }
.paa-summary span { font-size: .82rem; color: var(--brun-doux); }
@media (max-width: 760px) { .paa-summary { grid-template-columns: 1fr 1fr; } }
.progress { height: 8px; border-radius: 8px; background: var(--beige-fonce); display: flex; overflow: hidden; margin-bottom: 40px; }
.progress span { display: block; height: 100%; }
.st-realise { background: #2E8B57; }
.st-en_cours { background: var(--bleu); }
.st-a_venir { background: var(--or); }
.st-a_renseigner { background: #C9C2B2; }

.paa-domain { margin-bottom: 32px; }
.paa-domain h3 { font-size: 1.35rem; padding-bottom: 12px; border-bottom: 1px solid var(--ligne-forte); margin-bottom: 0; }
.paa-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.paa-table th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brun-doux); font-weight: 600; padding: 12px 12px 10px 0; }
.paa-table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--ligne); vertical-align: top; }
.paa-table td:last-child, .paa-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.paa-table .periode { color: var(--brun-doux); white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--beige); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.status.realise { background: #E2F0E6; color: #22603C; } .status.realise::before { background: #2E8B57; }
.status.en_cours { background: var(--bleu-pale); color: #00516D; } .status.en_cours::before { background: var(--bleu); }
.status.a_venir { background: var(--or-pale); color: var(--or-fonce); } .status.a_venir::before { background: var(--or); }
.status.a_renseigner { background: #ECEAE4; color: var(--brun-doux); } .status.a_renseigner::before { background: #ADA593; }
@media (max-width: 640px) { .paa-table thead { display: none; } .paa-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-top: 1px solid var(--ligne); } .paa-table td { border: 0; padding: 2px 0; } .paa-table td.periode { grid-column: 1; font-size: .85rem; } .paa-table td:last-child { grid-row: 1 / span 2; grid-column: 2; align-self: center; } }

.editions { display: grid; gap: 16px; }
.edition {
  position: relative; display: grid; grid-template-columns: 140px 1fr auto; gap: 32px; align-items: center;
  background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-m); padding: 28px 32px;
  transition: border-color .2s, box-shadow .2s;
}
.edition:hover { border-color: var(--ligne-forte); box-shadow: var(--ombre); }
.edition-year { font-family: var(--f-titre); font-size: 3.6rem; line-height: .9; color: var(--bleu-fonce); }
.edition h3 { font-size: 1.5rem; margin: 0 0 6px; }
.edition h3 a { color: inherit; text-decoration: none; }
.edition h3 a::after { content: ""; position: absolute; inset: 0; }
.edition p { margin: 0; color: var(--brun-doux); font-size: .92rem; }
.edition .btn { position: relative; z-index: 2; }
@media (max-width: 760px) { .edition { grid-template-columns: 1fr; gap: 10px; } .edition-year { font-size: 2.8rem; } }
.contents { list-style: none; margin: 0; padding: 0; counter-reset: c; }
.contents li { counter-increment: c; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-top: 1px solid var(--ligne); }
.contents li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-titre); font-style: italic; color: var(--or-fonce); }

/* ---------- Formation ---------- */
.res-card .card-media { aspect-ratio: 16 / 9; position: relative; }
.res-card .play { position: absolute; inset: 0; display: grid; place-items: center; }
.res-card .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(253, 251, 247, .92); display: grid; place-items: center; color: var(--bleu-fonce); box-shadow: var(--ombre); }
.res-card .play .ic { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.lang-ewe { background: #FBEBDD; color: #8A4B14; }

/* ---------- Documents ---------- */
.doc-group { margin-bottom: 48px; }
.doc-group h2 { font-size: 1.7rem; display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.doc-group h2 small { font-family: var(--f-texte); font-size: .8rem; color: var(--brun-doux); font-weight: 400; }
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.doc-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--brun); font-size: .92rem; }
.doc-nav a:hover { background: var(--ivoire); }
.doc-nav a span { color: var(--brun-doux); font-size: .8rem; }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .doc-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .doc-nav a { border: 1px solid var(--ligne); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--brun-doux); font-size: .82rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--brun);
  background: #fff; border: 1px solid var(--ligne-forte); border-radius: 10px; padding: 13px 15px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--bleu-fonce); box-shadow: 0 0 0 3px rgba(0, 150, 200, .2); }
.field.has-error input, .field.has-error textarea { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .85rem; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.alert-ok { background: #E2F0E6; color: #1E5434; border: 1px solid #BFDCC8; }
.alert-err { background: #FBE9E7; color: #8C1D18; border: 1px solid #F1C4BF; }
.alert .ic { margin-top: 2px; }
.form-legal { font-size: .8rem; color: var(--brun-doux); margin: 16px 0 0; }

.contact-card { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 32px; }
.contact-card .seal { width: 128px; margin: 0 auto 20px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--ligne); }
.contact-list li:first-child { border-top: 0; }
.contact-list .ic-wrap { width: 40px; height: 40px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; color: var(--or-fonce); }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brun-doux); font-weight: 600; }
.contact-list a { color: var(--brun); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--bleu-fonce); text-decoration: underline; }
.be-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.be-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--ligne); }
.be-list span { color: var(--brun-doux); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound .code { font-family: var(--f-titre); font-size: clamp(6rem, 16vw, 11rem); line-height: .9; color: var(--bleu-fonce); font-weight: 400; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Impression ---------- */
@media print {
  .topbar, .header, .footer, .btn, .filters, .search, body::before { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
