/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4
 * genre: editorial · macrostructure: existing (preserved) · design-system: design.md · designed-as-app
 * theme: custom · vibe: "medieval heraldry, restrained, refined" · paper: oklch(92.6% 0.031 88.4) · accent: oklch(36.5% 0.117 16.6)
 * display: IM Fell English · body: EB Garamond · axes: light / roman-serif / warm
 * studied: no · context: user-provided (redesign: maintain medieval style, add refinement) · v1.1.0
 */
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=IM+Fell+English:ital@0;1&family=UnifrakturMaguntia&display=swap");

/* ==========================================================================
   Devoir Savoies Léman : feuille de style partagée
   Charte héraldique : parchemin, émaux (sinople, gueules, sable), ornements d'or.
   Jetons repris du design system « Devoir Savoies Léman » (thème Jour).
   Règles : angles vifs, filets plutôt qu'ombres, aucun dégradé, aucun zoom au survol.
   ========================================================================== */
:root{
  --parchemin:#efe6d0;
  --velin:#f8f2e4;
  --velin-2:#e4d6b5;
  --sable:#1e1913;
  --sable-doux:#5a4b37;
  --gueules:#6f1b28;
  --gueules-fonce:#52111c;
  --on-gueules:#f8f2e4;
  --sinople:#1d4a2f;
  --sinople-fonce:#143621;
  --on-sinople:#f8f2e4;
  --or:#8a6519;
  --or-clair:#c9a650;
  --filet:#a88c5a;
  --nuit:#1e1913;
  --on-nuit:#f8f2e4;
  --espace-1:4px;
  --espace-2:8px;
  --espace-3:12px;
  --espace-4:16px;
  --espace-5:24px;
  --espace-6:32px;
  --espace-7:48px;
  --espace-8:72px;
  --angle-vif:0;
  --angle-doux:2px;
  --angle-rond:50%;
  --trait-fin:1px solid;
  --trait-fort:2px solid;
  --trait-double:4px double;
  --largeur-page:1120px;
  --largeur-texte:66ch;
  --font-titre:"IM Fell English", "EB Garamond", Georgia, serif;
  --font-capitales:"EB Garamond", Garamond, Georgia, serif;
  --font-texte:"EB Garamond", Garamond, Georgia, serif;
  --font-gothique:"UnifrakturMaguntia", "IM Fell English", serif;
  --z-nav-sub:20;
  --z-nav-mobile:60;
  --z-lightbox:100;
  /* alias des anciens noms, pour d'éventuels styles en ligne restants */
  --bg:var(--parchemin);
  --surface:var(--velin);
  --surface-2:var(--velin-2);
  --ink:var(--sable);
  --ink-soft:var(--sable-doux);
  --wine:var(--gueules);
  --wine-hover:var(--gueules-fonce);
  --wine-ink:var(--on-gueules);
  --vine:var(--sinople);
  --gold:var(--or);
  --border:var(--filet);
  --content-w:var(--largeur-page);
  --shadow:none;
}


*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--parchemin);
  color: var(--sable);
  font-family: var(--font-texte);
  font-size: clamp(19px, 1.05rem + .35vw, 22px);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gueules); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gueules-fonce); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 400;
  color: var(--sable);
  margin: 0 0 .35em;
  text-wrap: balance;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 2.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 1.9rem); line-height: 1.2; }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { max-width: var(--largeur-page); margin: 0 auto; padding: 0 var(--espace-5); }

/* ---------- Rubrique (ex-eyebrow) : texte rubriqué, en rouge ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-capitales); font-variant-caps: small-caps;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: lowercase;
  color: var(--gueules);
  margin-bottom: var(--espace-2);
}
.eyebrow::before { content: "\2766\00a0"; color: var(--or); letter-spacing: 0; }
.eyebrow a { color: inherit; }

.lede {
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.45rem);
  line-height: 1.5;
  color: var(--sable-doux);
}

/* ---------- Lettrine : capitale gothique rouge dans un carré d'or ---------- */
.lettrine::first-letter {
  float: left;
  font-family: var(--font-gothique);
  font-size: 3.9em;
  line-height: .82;
  color: var(--gueules);
  padding: .1em .12em .02em;
  margin: .08em .16em 0 0;
  border: 3px double var(--or);
  background: var(--velin);
}

/* ---------- Bandeau d'ordre + en-tête ---------- */
.ordre-bandeau {
  background: var(--sinople);
  color: var(--on-sinople);
  font-family: var(--font-capitales); font-variant-caps: small-caps;
  font-size: .84rem;
  letter-spacing: .18em;
  text-transform: lowercase;
  text-align: center;
  padding: 8px var(--espace-5);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-lightbox);
  background: var(--velin);
  color: var(--sable);
  border: var(--trait-fin) var(--or);
  padding: var(--espace-2) var(--espace-4);
}
.skip-link:focus {
  left: var(--espace-3);
  top: var(--espace-3);
}
.site-header {
  background: var(--velin);
  border-bottom: var(--trait-double) var(--or);
  position: relative;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--espace-5);
  padding: var(--espace-3) var(--espace-5);
  max-width: var(--largeur-page);
  margin: 0 auto;
}
.brand { display: flex; flex: none; align-items: center; text-decoration: none; }
.brand img { height: 84px; width: auto; border: var(--trait-fin) var(--or); padding: 3px; background: var(--velin); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  font-family: var(--font-capitales); font-variant-caps: small-caps;
  font-size: 1.4rem;
  letter-spacing: .04em;
}
nav.main-nav a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--sable);
  padding: 6px 0;
  border-bottom: var(--trait-fort) transparent;
}
nav.main-nav a:hover { color: var(--gueules); }
nav.main-nav a[aria-current="page"] { color: var(--sinople); border-bottom-color: var(--sinople); }
nav.main-nav li.has-sub { position: relative; }
nav.main-nav .sub {
  list-style: none;
  position: absolute;
  top: 100%;
  margin-top: 10px;
  left: -16px;
  background: var(--velin);
  border: var(--trait-fin) var(--or);
  padding: var(--espace-3) 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: var(--z-nav-sub);
  font-size: 1rem;
}
nav.main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
nav.main-nav li.has-sub > a::after { content: ""; display: inline-block; margin-left: 9px; vertical-align: .18em; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--or); transition: transform .15s ease; }
nav.main-nav li.has-sub:hover > a::after, nav.main-nav li.has-sub:focus-within > a::after { transform: rotate(180deg); }
nav.main-nav li.has-sub:hover .sub,
nav.main-nav li.has-sub:focus-within .sub { display: flex; }
@media (prefers-reduced-motion: reduce) {
  nav.main-nav li.has-sub > a::after { transition: none; }
}
nav.main-nav .sub a { display: block; padding: 8px var(--espace-5); border-bottom: none; font-size: 1.1rem; }
nav.main-nav .sub a:hover { background: var(--velin-2); }

.nav-toggle {
  display: none;
  background: none;
  border: var(--trait-fin) var(--sable);
  border-radius: 0;
  width: 44px; height: 40px;
  cursor: pointer;
  color: var(--sable);
  font-family: system-ui, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
}

/* ---------- Divider : filet, losange, filet ---------- */
.divider {
  display: flex; align-items: center; justify-content: center; gap: var(--espace-3);
  max-width: 320px;
  margin: 0 auto;
  padding: var(--espace-7) 0 var(--espace-5);
  color: var(--or);
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 0;
  border-top: var(--trait-fin) currentColor;
  border-bottom: var(--trait-fin) currentColor;
  padding-top: 3px;
}
.divider svg { display: none; }
.divider .losange {
  width: 11px; height: 11px; transform: rotate(45deg);
  background: var(--gueules);
  outline: var(--trait-fin) var(--or);
  outline-offset: 3px;
  flex: none;
}

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--font-capitales); font-variant-caps: small-caps;
  font-size: 1.12rem;
  letter-spacing: .07em;
  text-transform: lowercase;
  line-height: 1.2;
  padding: 11px 22px 12px;
  border-radius: 0;
  border: var(--trait-fin) transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--gueules);
  color: var(--on-gueules);
  border: 3px double var(--on-gueules);
  box-shadow: 0 0 0 1px var(--gueules);
}
.btn-primary:hover { background: var(--gueules-fonce); color: var(--on-gueules); box-shadow: 0 0 0 1px var(--gueules-fonce); }
.btn-secondary { background: transparent; border-color: var(--sinople); color: var(--sinople); }
.btn-secondary:hover { background: var(--sinople); color: var(--on-sinople); }
.btn.disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Cadre d'honneur (double filet or) : réservé aux pièces honorifiques ---------- */
.cadre, .cotisation-card {
  border: var(--trait-double) var(--or);
  outline: var(--trait-fin) var(--or);
  outline-offset: -10px;
}

/* ---------- Hero : cartouche sur photo ---------- */
.hero { background: var(--velin-2); border-bottom: var(--trait-double) var(--or); padding: 0; }
.hero .container {
  padding: var(--espace-8) var(--espace-5) var(--espace-7);
  display: grid; gap: var(--espace-6);
  grid-template-columns: 1.3fr 1fr; align-items: center;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--espace-3); margin-top: var(--espace-4); }
.hero-visual { position: relative; }
.hero-banner { display: block; width: 100%; height: min(50vh, 480px); object-fit: cover; }
.hero-visual.compact .hero-banner { height: min(32vh, 280px); }
.infos-pratiques { text-align: left; }
.infos-pratiques p { color: var(--sable); font-size: 1.05rem; margin: 0 0 var(--espace-3); }
.infos-pratiques .when { font-style: italic; color: var(--sable-doux); margin-bottom: var(--espace-4); }
.hero-recap { padding: 0; background: var(--nuit); border-bottom: var(--trait-double) var(--or); }
.hero-slider { position: relative; width: 100%; overflow: hidden; }
.hero-slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-slider-track::-webkit-scrollbar { display: none; }
.hero-slider-track img {
  flex: 0 0 100%; width: 100%;
  height: min(68vh, 540px);
  object-fit: cover; scroll-snap-align: start;
}
.hero-overlay {
  position: absolute;
  left: max(var(--espace-5), calc((100% - var(--largeur-page)) / 2 + var(--espace-5)));
  bottom: var(--espace-6);
  width: min(460px, calc(100% - 2 * var(--espace-5)));
  z-index: 2;
  background: var(--velin);
  color: var(--sable);
  border-top: var(--trait-fin) var(--or);
  padding: var(--espace-6) var(--espace-6) var(--espace-5);
}
.hero-overlay h1, .hero-overlay h2 { color: var(--sable); font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.02; }
.hero-overlay .lede { font-size: 1.25rem; margin-bottom: var(--espace-4); }

/* ---------- Sections ---------- */
section { padding: 0 0 var(--espace-8); }
section > .container > .eyebrow { display: block; }
/* respiration après le bandeau de page : filet d'or, losange, puis le contenu */
.hero:not(.hero-recap) + section { position: relative; padding-top: calc(var(--espace-8) + var(--espace-5)); }
.hero:not(.hero-recap) + section::before {
  content: ""; position: absolute; top: var(--espace-6); left: 50%;
  width: 11px; height: 11px; transform: translateX(-50%) rotate(45deg);
  background: var(--gueules); outline: var(--trait-fin) var(--or); outline-offset: 3px;
}
section + section { padding-top: var(--espace-5); }
section .lede { margin-bottom: var(--espace-6); }

/* ---------- Cartes d'évènement : les quatre rendez-vous ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--espace-5); counter-reset: rdv; }
.event-card {
  position: relative;
  counter-increment: rdv;
  background: var(--velin);
  border: var(--trait-fin) var(--filet);
  text-decoration: none;
  color: var(--sable);
  display: flex; flex-direction: column;
  transition: background-color .15s ease, border-color .15s ease;
}
.event-card::after {
  transition: color .15s ease;
  content: counter(rdv, upper-roman);
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-titre);
  font-size: 2rem; line-height: 1;
  color: var(--or);
}
.event-card .body { padding: var(--espace-6) var(--espace-5) var(--espace-5); }
.event-card .season {
  font-family: var(--font-capitales); font-variant-caps: small-caps;
  font-size: .95rem; letter-spacing: .12em; text-transform: lowercase;
  color: var(--gueules);
}
.event-card h3 { margin: 4px 0 var(--espace-2); }
.event-card p { font-size: 1.15rem; line-height: 1.5; color: var(--sable-doux); margin: 0; }
.event-card:hover, .event-card:focus-visible { background: var(--velin-2); border-color: var(--gueules); }
.event-card:hover::after, .event-card:focus-visible::after { color: var(--gueules); }
.event-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* ---------- Cotisation : charte scellée ---------- */
.mission-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--espace-6); align-items: start; }
.cotisation-card {
  position: relative;
  background: var(--velin);
  padding: var(--espace-6) var(--espace-6) var(--espace-6);
  text-align: center;
}
.cotisation-card h3 { margin: 2px 0 var(--espace-2); }
.cotisation-card p { color: var(--sable-doux); font-size: 1.15rem; }
.cotisation-card .prix { font-family: var(--font-titre); font-size: 3rem; line-height: 1; color: var(--gueules); margin: var(--espace-2) 0 var(--espace-3); }
.cotisation-card .eyebrow::before { content: none; }

/* ---------- Millésimes (archives) ---------- */
.archive-links, .year-list { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.archive-links a, .year-list a, .year-list .soon {
  font-family: var(--font-titre);
  font-variant-numeric: lining-nums;
  font-size: 1.15rem;
  min-width: 72px; text-align: center;
  text-decoration: none;
  color: var(--sable);
  background: var(--velin);
  border: var(--trait-fin) var(--filet);
  padding: 6px 12px 7px;
}
.archive-links a:hover, .year-list a:hover { border-color: var(--gueules); color: var(--on-gueules); background: var(--gueules); }
.year-list .soon { color: var(--sable-doux); background: transparent; border-style: dashed; }

/* ---------- Page d'année : navigation et chapitres ---------- */
.year-nav { display: flex; justify-content: center; align-items: center; gap: var(--espace-5); margin: var(--espace-7) 0 0; }
.year-nav .current { margin: 0; font-size: clamp(2.4rem, 6vw, 3.6rem); font-variant-numeric: lining-nums; }
.year-nav-btn { white-space: nowrap; font-size: 1rem; padding: 8px 14px 9px; }
.chapter { margin-bottom: var(--espace-7); padding-bottom: var(--espace-6); border-bottom: var(--trait-fin) var(--filet); }
.chapter .when { font-style: italic; color: var(--sable-doux); font-size: 1.15rem; margin-bottom: var(--espace-3); }
.chapter .names { color: var(--sable); padding-left: 0; list-style: none; columns: 2 16ch; column-gap: var(--espace-6); }
.chapter .names li::before { content: "\2666\00a0"; color: var(--or); font-size: .7em; vertical-align: .15em; }
.chapter .figs { display: flex; flex-wrap: wrap; gap: var(--espace-3); margin: var(--espace-4) 0 0; }
.chapter .figs img, .chapter img {
  height: 200px; width: auto;
  border: var(--trait-fin) var(--or); padding: var(--espace-1); background: var(--velin);
  cursor: pointer;
}
.chapter img:hover, .chapter img:focus-visible { border-color: var(--gueules); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: var(--trait-fin) var(--filet); }
.contact-card { padding: var(--espace-5) var(--espace-5) var(--espace-5) 0; border-bottom: var(--trait-fin) var(--filet); }
.contact-card + .contact-card { padding-left: var(--espace-5); border-left: var(--trait-fin) var(--filet); }
.contact-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-card p { font-size: 1.15rem; color: var(--sable-doux); margin-bottom: var(--espace-2); }
.contact-card a { font-weight: 500; }

/* ---------- Frise chronologique (galerie) ---------- */
.timeline { position: relative; max-width: var(--largeur-page); margin: 0 auto; padding: var(--espace-6) var(--espace-5) var(--espace-5); }
.timeline-item { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: var(--espace-5); padding-bottom: var(--espace-7); }
.timeline-item::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 0; width: 0; border-left: var(--trait-fin) var(--filet); }
.timeline-item.is-last::before { height: 22px; bottom: auto; }
.timeline-dot {
  position: absolute; left: 14px; top: 6px;
  width: 11px; height: 11px; transform: rotate(45deg);
  background: var(--gueules); outline: var(--trait-fin) var(--or); outline-offset: 3px;
  z-index: 2;
}
.timeline-year-label { grid-column: 2; display: flex; align-items: baseline; gap: var(--espace-3); flex-wrap: wrap; margin-bottom: var(--espace-4); }
.timeline-year-label h2 { margin: 0; font-variant-numeric: lining-nums; }
.timeline-year-label .count { font-style: italic; font-size: 1.15rem; color: var(--sable-doux); }
.timeline-grid { grid-column: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--espace-2); min-height: 4px; }
.timeline-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border: var(--trait-fin) var(--filet); padding: 3px; background: var(--velin);
  cursor: pointer; content-visibility: auto; contain-intrinsic-size: 140px 140px;
}
.timeline-grid img:hover, .timeline-grid img:focus-visible { border-color: var(--gueules); outline: var(--trait-fin) var(--gueules); outline-offset: 0; }
.timeline-grid:not(.is-loaded) { border: var(--trait-fin) dashed var(--filet); min-height: 60px; }

/* ---------- Carrousel (accueil) ---------- */
.slider { position: relative; max-width: var(--largeur-page); margin: var(--espace-5) auto 0; padding: 0 60px; }
.slider-track { display: flex; gap: var(--espace-3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track img {
  flex: 0 0 auto; width: 260px; height: 190px; object-fit: cover;
  border: var(--trait-fin) var(--or); padding: var(--espace-1); background: var(--velin);
  scroll-snap-align: start; cursor: pointer;
}
.slider-track img:hover { border-color: var(--gueules); }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 0;
  border: var(--trait-fin) var(--sable); background: var(--velin); color: var(--sable);
  font-family: var(--font-titre); font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
}
.slider-btn:hover { background: var(--gueules); color: var(--on-gueules); border-color: var(--gueules); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* ---------- Éditions précédentes ---------- */
.editions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--espace-4); margin-top: var(--espace-4); }
.edition-card { display: block; text-decoration: none; color: var(--sable); background: var(--velin); border: var(--trait-fin) var(--or); padding: var(--espace-1); }
.edition-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--velin-2); }
.edition-card .info { padding: var(--espace-2) var(--espace-2) var(--espace-2); text-align: center; }
.edition-card .edition-year { display: block; font-family: var(--font-titre); font-size: 1.35rem; font-variant-numeric: lining-nums; color: var(--gueules); }
.edition-card .edition-when { display: block; font-style: italic; font-size: 1.05rem; color: var(--sable-doux); }
.edition-card:hover, .edition-card:focus-visible { border-color: var(--gueules); background: var(--velin-2); outline: var(--trait-fin) var(--gueules); outline-offset: 0; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; background: var(--nuit); display: flex; align-items: center; justify-content: center; z-index: var(--z-lightbox); }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border: var(--trait-fin) var(--or-clair); padding: var(--espace-1); }
.lightbox-caption {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--on-nuit); font-style: italic; font-size: 1.1rem; white-space: nowrap;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: transparent; border: var(--trait-fin) var(--or-clair); color: var(--on-nuit);
  border-radius: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre); line-height: 1;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--or-clair); color: var(--nuit); }
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.2rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.9rem; padding-bottom: 4px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nuit); color: var(--on-nuit); padding: var(--espace-7) 0 var(--espace-5); border-top: var(--trait-double) var(--or-clair); }
.site-footer a { color: var(--on-nuit); text-decoration: none; }
.site-footer a:hover { color: var(--or-clair); text-decoration: underline; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--espace-6); margin-bottom: var(--espace-6); }
.site-footer h4 { color: var(--or-clair); font-family: var(--font-capitales); font-variant-caps: small-caps; font-size: .95rem; letter-spacing: .14em; text-transform: lowercase; margin-bottom: var(--espace-3); }
.site-footer p, .site-footer li { font-size: 1.12rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { height: 140px; width: auto; border: var(--trait-fin) var(--or-clair); padding: var(--espace-1); margin-bottom: var(--espace-3); }
.site-footer .bottom {
  border-top: var(--trait-fin) var(--or-clair);
  padding-top: var(--espace-4);
  font-family: var(--font-capitales); font-variant-caps: small-caps; font-size: .92rem; letter-spacing: .1em; text-transform: lowercase;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--espace-2);
}
.site-footer .devise { font-family: var(--font-titre); font-style: italic; color: var(--or-clair); }

/* ---------- Sceau (proposition de monogramme) ---------- */
.sceau { display: inline-block; width: 132px; height: 132px; color: var(--gueules); }
.sceau svg { width: 100%; height: 100%; display: block; overflow: visible; }
.sceau .cire { fill: var(--gueules); }
.sceau .relief { fill: none; stroke: var(--on-gueules); }
.sceau .inscription { fill: var(--on-gueules); font-family: var(--font-capitales); font-variant-caps: small-caps; font-size: 9px; letter-spacing: .6px; }
.sceau .monogramme { fill: var(--on-gueules); font-family: var(--font-gothique); font-size: 40px; }
.sceau .millesime { fill: var(--on-gueules); font-family: var(--font-capitales); font-variant-caps: small-caps; font-size: 10px; letter-spacing: 2px; }

/* ---------- Pages de contenu ---------- */
main > section:first-child:not(.hero) { padding-top: var(--espace-8); }
.liste { color: var(--sable); padding-left: 0; list-style: none; }
.liste li { margin-bottom: var(--espace-2); padding-left: 1.2em; text-indent: -1.2em; }
.liste li::before { content: "\2666\00a0\00a0"; color: var(--or); font-size: .7em; vertical-align: .15em; }
.passe-partout { border: var(--trait-fin) var(--or); padding: var(--espace-1); background: var(--velin); margin-top: var(--espace-2); }
.legal dt { font-family: var(--font-titre); font-size: 1.3rem; color: var(--sable); margin-top: var(--espace-5); }
.legal dd { margin: 4px 0 0; color: var(--sable-doux); font-size: 1.05em; }
.chapter.tribute { background: var(--velin); border: var(--trait-double) var(--or); outline: var(--trait-fin) var(--or); outline-offset: -10px; padding: var(--espace-6); }
.chapter figure { margin: var(--espace-4) 0 0; }
.chapter figure img { height: auto; width: 100%; max-width: 420px; }
.video-wrap { position: relative; max-width: 480px; aspect-ratio: 16 / 9; margin: var(--espace-4) 0 0; border: var(--trait-fin) var(--or); padding: var(--espace-1); background: var(--velin); }
.video-wrap iframe { position: absolute; inset: var(--espace-1); width: calc(100% - 2 * var(--espace-1)); height: calc(100% - 2 * var(--espace-1)); border: 0; }

/* ---------- Deux colonnes texte + illustration ---------- */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: var(--espace-7); align-items: center; }
.deux-colonnes > div > :last-child { margin-bottom: 0; }
.illustration { margin: 0; }
.illustration img { width: 100%; height: auto; margin-top: 0; }
.illustration figcaption { margin-top: var(--espace-2); font-style: italic; font-size: 1.1rem; line-height: 1.4; color: var(--sable-doux); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .deux-colonnes { grid-template-columns: 1fr; gap: var(--espace-6); }
  .illustration { max-width: 360px; margin: 0 auto; }
  .hero .container, .mission-grid { grid-template-columns: 1fr; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .contact-card + .contact-card { padding-left: 0; border-left: none; }
}
@media (max-width: 1100px) {
  nav.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--velin); border-bottom: var(--trait-double) var(--or); display: none; z-index: var(--z-nav-mobile); }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; padding: var(--espace-2) var(--espace-5) var(--espace-4); }
  nav.main-nav li.has-sub .sub { position: static; outline: none; border: none; display: flex; padding: 0 0 0 var(--espace-4); background: transparent; }
  nav.main-nav a { display: block; padding: 10px 0; border-bottom: var(--trait-fin) var(--filet); }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  section { padding-bottom: var(--espace-7); }
  .hero .container { padding: var(--espace-7) var(--espace-5) var(--espace-6); }
  .hero:not(.hero-recap) + section { padding-top: calc(var(--espace-7) + var(--espace-4)); }
  .hero:not(.hero-recap) + section::before { top: var(--espace-5); }
  .brand img { height: 56px; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .hero-overlay { left: var(--espace-4); right: var(--espace-4); width: auto; max-height: 50vh; overflow-y: auto; }
  .hero-slider-track img { height: 52vh; }
  .timeline-item { grid-template-columns: 28px 1fr; column-gap: var(--espace-3); }
  .timeline-item::before { left: 13px; }
  .timeline-dot { left: 8px; }
  .slider { padding: 0 48px; }
  .slider-track img { width: 200px; height: 146px; }
  .year-nav { gap: var(--espace-3); }
  .chapter .figs img { height: 150px; }
}
