/* ============================================================
   FLOSSENBÜRG — REFONTE 2026  (édition « Lumineuse »)
   Design system + sections homepage. Fidèle au prototype Claude
   Design, rendu fluide & responsive.
   ============================================================ */

:root {
  --accent: #d12424;
  --accent-soft: #a51b1b;
  --accent-tint: #fae7e3;
  --ink: #1f1a16;
  --ink-2: #4a4039;
  --paper: #faf6ee;
  --paper-warm: #f1e9d8;
  --paper-card: #fefbf4;
  --cream-border: #e9dfc9;
  --muted: #7a6f65;
  --on-dark: #faf6ee;
  --photo-filter: sepia(.18) grayscale(.25) contrast(1.05) saturate(.9);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0 0.04  0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --maxw: 1440px;
  --content: 1264px;       /* largeur de contenu (1440 - 2*88) */
  --pad: 88px;
  /* padding horizontal : marge mini sur petit écran, contenu centré à --content au-delà */
  --gutter: max(var(--pad), calc((100% - var(--content)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [id="memorial"], [id="president"], [id="camp"], [id="news"], [id="testimonies"], [id="agenda"], [id="soutenir"] { scroll-margin-top: 110px; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper); color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Wrapper ciblé par #id : la classe « page » est aussi ajoutée au <body> par
   WordPress sur les Pages — on évite ainsi que le body hérite de overflow:clip. */
#page {
  position: relative;
  width: 100%;
  background:
    var(--grain) 0 0 / 240px 240px repeat,
    radial-gradient(1200px 600px at 80% 0%, #f6efde 0%, transparent 60%),
    radial-gradient(800px 400px at 0% 40%, #f5ecd6 0%, transparent 60%),
    var(--paper);
  overflow: clip;
}

/* ───────── Reusable bits ───────── */
.eyebrow {
  display: inline-block;
  font-family: 'Inria Serif', serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  position: relative;
  padding-left: 36px;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1.5px; background: var(--accent);
  transform: translateY(-50%);
}
.display {
  font-family: 'Inria Serif', serif; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.05; margin: 18px 0 0;
}
.display em { font-style: italic; color: var(--accent); font-weight: 400; }
.lead {
  font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.6;
  color: var(--ink-2); margin: 0; max-width: 60ch;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em;
  color: #fff; background: var(--accent); border: 0;
  padding: 12px 18px; border-radius: 999px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 20px -8px rgba(209,36,36,.65);
}
.btn:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(209,36,36,.7); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ───────────────────── HEADER ───────────────────── */
.header-wrap {
  position: sticky; top: 0; z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: visible;
}
.header {
  width: 100%; height: 92px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); overflow: visible;
}
.logo-img {
  display: flex; align-items: center; line-height: 0; position: relative; z-index: 5;
  height: 100%; padding: 0 18px; margin-left: -18px; transition: transform .25s ease;
}
.logo-img::before {
  content: ''; position: absolute; inset: 0 0 -34px 0; background: #fff;
  border-radius: 0 0 8px 8px; z-index: -1; box-shadow: 0 14px 28px -18px rgba(31,26,22,.15);
}
.logo-img img {
  display: block; width: 150px; height: auto; transform: translateY(10px);
  filter: drop-shadow(0 4px 10px rgba(31,26,22,.08)); transition: transform .25s ease;
}
.logo-img:hover img { transform: translateY(8px) scale(1.02); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.nav-links a, .nav-links .nav-link {
  font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--ink);
  position: relative; padding: 6px 2px; transition: color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active, .nav-links .nav-link.active { color: var(--accent); }
.nav-links a.active::after, .nav-links .nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* Lien-bouton dans la nav (ex. « Les actualités ») */
.nav-links .nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 8px 14px; font-weight: 600; font-size: 13px; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.nav-links .nav-cta::after { display: none !important; }
.nav-links .nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-1px); }
.nav-links .nav-cta.active { color: var(--ink); }
.nav-links .nav-cta.active:hover { color: var(--paper); }
.nav-links .nav-cta .arr { transition: transform .2s; }
.nav-links .nav-cta:hover .arr { transform: translateX(3px); }

/* dropdown */
.nav-item { position: relative; }
.nav-item::after { content:''; position:absolute; left:-12px; right:-12px; top:100%; height:22px; }
.nav-item .dd-toggle { display:inline-flex; align-items:center; }
.dd-caret { width:9px; height:9px; margin-left:6px; transition:transform .25s; opacity:.55; }
.nav-item:hover .dd-caret, .nav-item:focus-within .dd-caret { transform: rotate(180deg); }
.nav-item.active .dd-toggle { color: var(--accent); }
.dd-menu {
  position:absolute; top:calc(100% + 16px); left:50%;
  transform:translateX(-50%) translateY(8px); min-width:320px;
  background:var(--paper-card); border:1px solid var(--cream-border);
  box-shadow:0 26px 52px -22px rgba(31,26,22,.34); border-radius:10px; padding:9px;
  opacity:0; visibility:hidden; transition:opacity .22s ease, transform .22s ease; z-index:300;
}
.dd-menu::before {
  content:''; position:absolute; top:-7px; left:50%; transform:translateX(-50%) rotate(45deg);
  width:13px; height:13px; background:var(--paper-card);
  border-left:1px solid var(--cream-border); border-top:1px solid var(--cream-border);
}
.nav-item:hover .dd-menu, .nav-item:focus-within .dd-menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.dd-menu a { display:block; padding:13px 16px 14px; border-radius:7px; font-family:'Inter',sans-serif; font-weight:600; font-size:14px; color:var(--ink); }
.dd-menu a::after { display:none !important; }
.dd-menu a span { display:block; font-family:'Montserrat',sans-serif; font-weight:400; font-size:11px; color:var(--muted); margin-top:4px; }
.dd-menu a:hover { background:var(--accent-tint); color:var(--accent); }
.dd-menu a:hover span { color:var(--accent-soft); }
.dd-menu a.current { background:var(--paper-warm); }

/* burger (mobile) */
.nav-burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px;
}
.nav-burger span { display:block; height:2px; width:26px; background: var(--ink); border-radius:2px; transition: transform .25s, opacity .2s; }
body.nav-open { overflow: hidden; }
/* Panneau mobile masqué par défaut (desktop) — affiché en média query ≤1024px */
.mobile-nav { display: none; }

/* ───────────────────── HERO ───────────────────── */
.hero {
  width: 100%; padding: 50px var(--gutter) 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; position: relative;
}
.hero-text { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Inria Serif', serif; font-weight: 700; font-size: 72px; line-height: 1.05;
  color: var(--ink); margin: 18px 0 30px; letter-spacing: -0.02em; text-wrap: balance;
}
.hero h1 .red { color: var(--accent); font-style: italic; font-weight: 400; }
.hero-quote {
  font-family: 'Inria Serif', serif; font-style: italic; font-size: 19px; line-height: 1.6;
  color: var(--ink-2); margin: 0 0 36px; border-left: 3px solid var(--accent); padding-left: 22px; max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 18px; margin-top: 50px; flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif; font-size: 12.5px; color: var(--muted); letter-spacing: 0.05em;
}
.hero-meta .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; align-self: center; }

/* Hero photo stack */
.hero-photo-stack { position: relative; z-index: 1; width: 100%; height: 560px; touch-action: none; }
.hero-photo {
  position: absolute; background-color: var(--paper-card);
  box-shadow:
    0 7px 16px -7px rgba(31,26,22,.32),
    0 2px 6px -2px rgba(31,26,22,.2);
  filter: sepia(.28) contrast(1) brightness(1.06) saturate(.82) hue-rotate(-4deg);
  border-radius: 1px; cursor: grab; user-select: none; -webkit-user-drag: none;
  will-change: transform; transition: box-shadow .25s ease; isolation: isolate;
}
.hero-photo-img {
  display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none;
}
.hero-photo::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 60%, rgba(28,14,4,.26) 100%),
    radial-gradient(circle at 6% 4%, rgba(120,72,28,.32) 0%, transparent 22%),
    radial-gradient(circle at 96% 8%, rgba(140,88,40,.26) 0%, transparent 20%),
    radial-gradient(circle at 4% 96%, rgba(110,64,22,.3) 0%, transparent 24%),
    radial-gradient(circle at 98% 94%, rgba(130,80,32,.3) 0%, transparent 22%),
    linear-gradient(140deg, rgba(80,44,16,.1) 0%, transparent 28%, transparent 72%, rgba(80,44,16,.12) 100%);
  mix-blend-mode: multiply; z-index: 1;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 72%, rgba(60,30,8,.18) 0%, transparent 8%),
    radial-gradient(circle at 78% 22%, rgba(60,30,8,.14) 0%, transparent 6%),
    var(--grain);
  background-size: auto, auto, 240px 240px; opacity: .38; mix-blend-mode: multiply; z-index: 2;
}
.hero-photo:active { cursor: grabbing; }
.hero-photo.dragging { transition: none; cursor: grabbing; }
.hero-photo.is-front {
  box-shadow:
    0 11px 24px -9px rgba(31,26,22,.4),
    0 3px 9px -3px rgba(31,26,22,.24);
}
.hero-photo.p1 { width: 360px; height: auto; top: 24px; right: 0; z-index: 3;
  animation: slideIn1 1.4s cubic-bezier(.18,.7,.25,1) .1s both, float1 8s ease-in-out infinite 1.6s; }
.hero-photo.p2 { width: 240px; height: auto; top: 96px; left: 10px; z-index: 2;
  animation: slideIn2 1.5s cubic-bezier(.18,.7,.25,1) .35s both, float2 9s ease-in-out infinite 1.95s; }
.hero-photo.p3 { width: 260px; height: auto; bottom: 24px; right: 40px; z-index: 1;
  animation: slideIn3 1.5s cubic-bezier(.18,.7,.25,1) .55s both, float3 10s ease-in-out infinite 2.1s; }
.hero-photo.p4 { width: 215px; height: auto; bottom: 34px; left: 50px; z-index: 4;
  animation: slideIn4 1.5s cubic-bezier(.18,.7,.25,1) .75s both, float4 11s ease-in-out infinite 2.3s; }
.hero-photo.has-drag { animation: none !important; }

@keyframes slideIn1 { 0%{opacity:0;transform:rotate(14deg) translate(560px,-180px) scale(.92);}55%{opacity:1;}80%{transform:rotate(1deg) translate(0,0) scale(1.015);}100%{opacity:1;transform:rotate(3deg) translate(0,0) scale(1);} }
@keyframes slideIn2 { 0%{opacity:0;transform:rotate(-18deg) translate(-580px,200px) scale(.92);}55%{opacity:1;}80%{transform:rotate(-9deg) translate(0,0) scale(1.015);}100%{opacity:1;transform:rotate(-7deg) translate(0,0) scale(1);} }
@keyframes slideIn3 { 0%{opacity:0;transform:rotate(22deg) translate(620px,240px) scale(.92);}55%{opacity:1;}80%{transform:rotate(6deg) translate(0,0) scale(1.015);}100%{opacity:1;transform:rotate(8deg) translate(0,0) scale(1);} }
@keyframes slideIn4 { 0%{opacity:0;transform:rotate(-22deg) translate(-540px,-220px) scale(.92);}55%{opacity:1;}80%{transform:rotate(-7deg) translate(0,0) scale(1.015);}100%{opacity:1;transform:rotate(-5deg) translate(0,0) scale(1);} }
@keyframes float1 { 0%,100%{transform:rotate(3deg) translateY(0);}50%{transform:rotate(3.6deg) translateY(-7px);} }
@keyframes float2 { 0%,100%{transform:rotate(-7deg) translateY(0);}50%{transform:rotate(-6.4deg) translateY(-9px);} }
@keyframes float3 { 0%,100%{transform:rotate(8deg) translateY(0);}50%{transform:rotate(8.6deg) translateY(-5px);} }
@keyframes float4 { 0%,100%{transform:rotate(-5deg) translateY(0);}50%{transform:rotate(-4.4deg) translateY(-6px);} }

.hero-photo .stamp {
  position: absolute; top: 14px; left: 14px; z-index: 3; color: rgba(236,233,227,.92);
  border: 1.5px solid rgba(236,233,227,.65); padding: 4px 9px 3px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; background: transparent; pointer-events: none; transform: rotate(-4deg);
  opacity: .92;
}
.hero-photo.p2 .stamp { transform: rotate(3deg); top: auto; bottom: 14px; left: 12px; }
.hero-photo.p3 .stamp { transform: rotate(-2deg); top: 12px; left: auto; right: 14px; }
.hero-photo.p4 .stamp { transform: rotate(5deg); }
.hero-photo .caption {
  position: absolute; left: 6px; right: 6px; bottom: -28px; text-align: left;
  font-family: 'Inria Serif', serif; font-style: italic; font-size: 13px; color: #5a3a20;
  pointer-events: none; letter-spacing: 0.01em; opacity: .82; transform: rotate(-1.2deg);
}
.hero-photo .caption::before { content: '— '; color: rgba(168,28,28,.55); font-style: normal; }
.hero-photo.p2 .caption { text-align: right; transform: rotate(1.4deg); }
.hero-photo.p3 .caption { transform: rotate(.8deg); }
.hero-photo.p4 .caption { text-align: right; transform: rotate(-.6deg); }
.drag-hint {
  position: absolute; left: 0; bottom: -10px; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em;
  pointer-events: none; opacity: 0; animation: hintFade 1s ease 1.6s forwards;
}
.drag-hint svg { width: 14px; height: 14px; }
@keyframes hintFade { from{opacity:0;transform:translateY(6px);} to{opacity:.9;transform:translateY(0);} }
.drag-hint.gone { opacity: 0; transition: opacity .4s ease; }

/* ───────────────────── STATS ───────────────────── */
.stats {
  width: min(var(--content), calc(100% - 2 * var(--pad))); margin: 0 auto -40px; background: #fff; border-radius: 20px;
  padding: 38px 60px; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  box-shadow: 0 30px 60px -30px rgba(31,26,22,.18), 0 6px 16px -8px rgba(31,26,22,.08);
  position: relative; z-index: 5; transform: translateY(-80px);
}
.stats .sep { background: var(--cream-border); height: 60px; width: 1px; flex: 0 0 1px; }
.stat { text-align: center; position: relative; flex: 1; }
.stat .stat-num { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 64px; line-height: 1; color: var(--accent); display: block; letter-spacing: -0.02em; }
.stat .stat-label { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--ink-2); margin-top: 10px; display: block; letter-spacing: 0.04em; }
.stat .stat-sub { font-family: 'Inria Serif', serif; font-style: italic; font-size: 11.5px; color: var(--muted); margin-top: 4px; display: block; }

/* ───────────────────── PRESIDENT ───────────────────── */
.president { width: 100%; padding: 50px var(--gutter) 110px; display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center; }
.pres-photo-card { position: relative; width: 380px; }
.pres-photo-card .photo { width: 320px; height: 400px; background-size: cover; background-position: center; filter: var(--photo-filter); border-radius: 6px; }
.pres-photo-card .caption { position: absolute; bottom: -34px; left: 180px; background: var(--paper-card); padding: 20px 26px; box-shadow: 0 12px 32px -12px rgba(31,26,22,.18); border-radius: 6px; max-width: 280px; }
.pres-photo-card .caption .nm { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.pres-photo-card .caption .rl { font-family: 'Montserrat', sans-serif; font-size: 11.5px; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }
.pres-photo-card .stamp { position: absolute; top: -16px; left: -16px; background: var(--accent); color: #fff; width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Inria Serif', serif; font-style: italic; font-weight: 700; font-size: 14px; line-height: 1.1; text-align: center; transform: rotate(-12deg); box-shadow: 0 8px 18px -8px rgba(209,36,36,.5); }
.pres-quote { font-family: 'Inria Serif', serif; font-style: italic; font-size: 28px; line-height: 1.45; color: var(--ink); margin: 22px 0 24px; position: relative; text-wrap: pretty; }
.pres-quote::before { content: '"'; font-family: 'Inria Serif', serif; font-style: normal; font-weight: 700; color: var(--accent); font-size: 100px; line-height: 1; position: absolute; top: -32px; left: -42px; opacity: 0.18; }
.pres-link { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; }
.pres-link:hover { gap: 12px; }

/* ───────────────────── MÉMORIAL ───────────────────── */
.memorial {
  width: 100%; padding: 80px var(--gutter) 100px;
  background: var(--grain) 0 0 / 240px 240px repeat, radial-gradient(800px 400px at 100% 100%, rgba(209,36,36,.04), transparent 60%), var(--paper-warm);
  position: relative;
}
.memorial-grid { display: grid; grid-template-columns: 1fr 460px; gap: 80px; align-items: center; }
.memorial h2 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 56px; line-height: 1.05; margin: 18px 0 22px; color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
.memorial h2 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.memorial p.lead { font-size: 17px; margin-bottom: 36px; max-width: 520px; }
.search-card { background: #fff; border-radius: 16px; padding: 8px; display: flex; gap: 8px; box-shadow: 0 22px 50px -18px rgba(31,26,22,.18), 0 4px 12px -6px rgba(31,26,22,.06); max-width: 600px; position: relative; }
.search-wrap { position: relative; flex: 1; }
.search-input {
  width: 100%; height: 56px; background: transparent; border: 0; padding: 0 24px 0 56px;
  font-family: 'Montserrat', sans-serif; font-size: 15px; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d12424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 24px center; outline: none;
}
.search-input::placeholder { color: var(--muted); }
.search-card .btn { flex-shrink: 0; border-radius: 12px; padding: 0 24px; height: 56px; }
.search-results { position: absolute; top: 64px; left: 0; right: 0; max-height: 320px; background: #fff; border-radius: 12px; box-shadow: 0 22px 50px -10px rgba(31,26,22,.25); overflow-y: auto; z-index: 50; display: none; border: 1px solid var(--cream-border); }
.search-results.open { display: block; }
.search-results .item { padding: 14px 22px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: var(--ink); border-bottom: 1px solid #f4ecd9; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .15s; }
.search-results .item:last-child { border-bottom: 0; }
.search-results .item:hover { background: var(--paper-warm); }
.search-results .item .mat { font-family: 'Inria Serif', serif; color: var(--accent); font-size: 12px; letter-spacing: 0.08em; white-space: nowrap; }
.search-results .empty { padding: 22px; color: var(--muted); font-size: 13.5px; font-family: 'Montserrat',sans-serif; }
.memorial-meta { margin-top: 30px; display: flex; gap: 24px; flex-wrap: wrap; font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--muted); }
.memorial-meta .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border-radius: 999px; font-size: 12.5px; box-shadow: 0 2px 8px -4px rgba(31,26,22,.1); }
.memorial-meta .chip .ring { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fiche-stack { position: relative; height: 480px; }
.fiche-stack .fiche { position: absolute; width: 320px; height: 440px; background: #fff; box-shadow: 0 30px 60px -20px rgba(31,26,22,.32), 0 8px 24px -10px rgba(31,26,22,.16); border-radius: 6px; overflow: hidden; }
.fiche-stack .fiche.bg1 { transform: rotate(-6deg) translate(-30px, 20px); background: #fdf4d8; z-index: 1; }
.fiche-stack .fiche.bg2 { transform: rotate(3deg) translate(40px, -10px); background: var(--paper-card); z-index: 2; }
.fiche-stack .fiche.main { transform: rotate(-2deg) translate(60px, 30px); z-index: 3; background-size: cover; background-position: center; filter: var(--photo-filter); }
/* Mentions informatives (non cliquables) — même style que le cartouche du « mot du président » */
.fiche-stack .fiche-tag { position: absolute; z-index: 10; background: var(--paper-card); padding: 16px 22px; border-radius: 6px; box-shadow: 0 12px 32px -12px rgba(31,26,22,.18); cursor: default; }
.fiche-stack .fiche-tag .t { display: inline-flex; align-items: center; gap: 9px; font-family: 'Inria Serif', serif; font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.fiche-stack .fiche-tag .t svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.fiche-stack .fiche-tag .s { display: block; font-family: 'Montserrat', sans-serif; font-size: 11.5px; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }
.fiche-stack .fiche-tag.t-left { left: -14px; bottom: 168px; }
.fiche-stack .fiche-tag.t-right { right: -18px; bottom: 44px; }

/* ───────────────────── NEWS ───────────────────── */
.news { width: 100%; padding: 100px var(--gutter); position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 40px; }
.section-head h2 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 48px; line-height: 1.05; color: var(--ink); margin: 12px 0 0; letter-spacing: -0.015em; max-width: 620px; }
.section-head h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
.see-all { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; color: var(--accent); border-bottom: 1.5px solid transparent; padding-bottom: 4px; transition: gap .2s, border-color .2s; white-space: nowrap; }
.see-all:hover { gap: 12px; border-color: var(--accent); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { cursor: pointer; display: flex; flex-direction: column; transition: transform .3s ease; }
.news-card:hover { transform: translateY(-6px); }
.news-card .img-wrap { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 40px -22px rgba(31,26,22,.3); }
.news-card .img { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .6s ease; filter: var(--photo-filter); }
.news-card:hover .img { transform: scale(1.05); }
.news-card .cat { position: absolute; top: 16px; left: 16px; background: var(--paper); color: var(--accent); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.news-card .meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-family: 'Montserrat', sans-serif; font-size: 12px; color: var(--muted); }
.news-card .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.news-card .title { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); margin: 10px 0 0; transition: color .2s; }
.news-card:hover .title { color: var(--accent); }

/* ───────────────────── MAP / KOMMANDOS ───────────────────── */
.map-section {
  width: 100%; padding: 100px var(--gutter);
  background: var(--grain) 0 0 / 240px 240px repeat, radial-gradient(600px 300px at 0% 0%, rgba(209,36,36,.06), transparent 60%), var(--paper);
  border-top: 1px solid var(--cream-border); border-bottom: 1px solid var(--cream-border);
}
.map-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.map { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(31,26,22,.2), 0 4px 12px -6px rgba(31,26,22,.06); filter: contrast(1.04) brightness(1.02) saturate(.95); }
.map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(250,246,238,.0) 60%, rgba(250,246,238,.4)); pointer-events: none; }
.map iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.map-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); cursor: pointer; transition: transform .15s; box-shadow: 0 0 0 4px rgba(209,36,36,.18), 0 2px 6px rgba(0,0,0,.2); z-index: 5; }
.map-dot.primary { width: 18px; height: 18px; box-shadow: 0 0 0 6px rgba(209,36,36,.28), 0 2px 8px rgba(0,0,0,.3); }
.map-dot:hover { transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 0 10px rgba(209,36,36,.22), 0 4px 12px rgba(0,0,0,.25); }
.map-dot.is-active { outline: 3px solid #fff; outline-offset: 2px; }
.map-dot::after { content: attr(data-name); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11.5px; padding: 6px 12px; white-space: nowrap; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.map-dot:hover::after { opacity: 1; }
.map-info h2 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--ink); margin: 18px 0 16px; letter-spacing: -0.015em; }
.map-info h2 em { color: var(--accent); font-style: italic; font-weight: 400; }
.kommandos-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 28px; }
.kommandos-chips .chip { background: #fff; border: 1px solid var(--cream-border); color: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-size: 12.5px; cursor: pointer; transition: all .15s; }
.kommandos-chips .chip:hover, .kommandos-chips .chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.kommandos-chips .chip.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.selected-info { background: #fff; border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; box-shadow: 0 10px 24px -12px rgba(31,26,22,.15); display: none; }
.selected-info.show { display: block; }
.selected-info .lbl { font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.selected-info .name { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.selected-info .stat-row { display: flex; gap: 20px; font-family: 'Montserrat', sans-serif; font-size: 12.5px; color: var(--ink-2); }
.selected-info .stat-row b { color: var(--accent); font-weight: 700; }
/* Recherche d'un Kommando (autocomplétion) */
.kommando-search { position: relative; margin: 0 0 18px; }
.kommando-search .kk-search-ico { position: absolute; left: 18px; top: 25px; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.kk-search-input { width: 100%; height: 50px; border: 1px solid var(--cream-border); background: #fff; border-radius: 999px; padding: 0 20px 0 46px; font-family: 'Montserrat', sans-serif; font-size: 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.kk-search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,36,36,.12); }
.kk-search-input::placeholder { color: var(--muted); }
.kommando-search .search-results { top: 56px; text-align: left; }
.search-results button.item { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }

/* ───────────────────── AGENDA ───────────────────── */
.agenda { width: 100%; padding: 100px var(--gutter); background: var(--grain) 0 0 / 240px 240px repeat, linear-gradient(180deg, var(--paper-warm), var(--paper)); position: relative; }
.agenda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card { background: var(--paper-card); border-radius: 16px; overflow: hidden; padding: 0; display: grid; grid-template-columns: 110px 1fr; transition: transform .3s, box-shadow .3s; cursor: pointer; box-shadow: 0 6px 20px -12px rgba(31,26,22,.15); border: 1px solid var(--cream-border); }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(31,26,22,.22); }
.event-date-box { background: var(--accent); color: #fff; padding: 22px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.event-date-box .day { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 48px; line-height: 1; }
.event-date-box .month { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; }
.event-date-box .year { font-family: 'Inria Serif', serif; font-style: italic; font-size: 12px; margin-top: 8px; opacity: 0.85; }
.event-date-box.is-range .day { font-size: 40px; }
.event-date-box .to { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 10px; letter-spacing: 0.04em; margin-top: 8px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.3); opacity: .92; }
.event-body { padding: 22px 22px 24px; }
.event-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--paper-warm); color: var(--accent); padding: 5px 10px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.event-card .title { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--ink); margin: 12px 0 8px; }
.event-card .desc { font-family: 'Montserrat', sans-serif; font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.event-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px; color: var(--accent); }

/* ───────────────────── TÉMOIGNAGES ───────────────────── */
.testimonies { width: 100%; padding: 100px var(--gutter); background: var(--grain) 0 0 / 240px 240px repeat, var(--paper); }
.testimonies-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; margin-top: 50px; }
.testimony-card { border-radius: 18px; overflow: hidden; cursor: pointer; transition: transform .3s, box-shadow .3s; position: relative; box-shadow: 0 14px 30px -18px rgba(31,26,22,.2); }
.testimony-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -22px rgba(31,26,22,.28); }
.testimony-card.feature { background: var(--ink); color: var(--paper); padding: 32px 32px 28px; display: flex; flex-direction: column; }
.testimony-card.feature .img-side { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; filter: var(--photo-filter); }
.testimony-card.feature > * { position: relative; z-index: 2; }
.testimony-card.feature .badge { background: var(--accent); color: #fff; }
.testimony-card.feature h3 { color: var(--paper); }
.testimony-card.feature .source { color: rgba(250,246,238,0.65); }
.testimony-card.feature .more { color: var(--paper); border-bottom-color: var(--accent); }
.testimony-card.media { background-size: cover; background-position: center; color: #fff; padding: 0; aspect-ratio: 4 / 5.2; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.testimony-card.media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31,26,22,.85) 10%, rgba(31,26,22,0) 60%); z-index: 1; }
.testimony-card.media.no-img { background-color: #6f6a63; background-image: linear-gradient(155deg, #837c73, #585249); }
.testimony-card.media > * { position: relative; z-index: 2; }
.testimony-card.media .body { padding: 24px; }
.testimony-card.media .badge { position: absolute; top: 18px; left: 18px; z-index: 3; background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); }
.testimony-card.media h3, .testimony-card.media .source, .testimony-card.media .more { color: #fff; }
.testimony-card.media .more { border-bottom-color: rgba(255,255,255,.5); }
.testimony-card.media .play { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(209,36,36,.9); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 32px -8px rgba(0,0,0,.4); z-index: 3; }
.testimony-card.media .play svg { width: 26px; height: 26px; margin-left: 4px; }
.testimony-card .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--paper-warm); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.testimony-card .badge svg { width: 13px; height: 13px; }
.testimony-card h3 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); margin: 0 0 8px; }
.testimony-card .source { font-family: 'Montserrat', sans-serif; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.testimony-card .more { display: inline-flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px; color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 3px; align-self: flex-start; }
.testimony-card.feature .excerpt { font-family: 'Inria Serif', serif; font-style: italic; font-size: 16px; line-height: 1.55; color: rgba(250,246,238,.85); margin: 14px 0 22px; border-left: 2px solid var(--accent); padding-left: 16px; }

/* ───────────────────── CTA ───────────────────── */
.cta { width: 100%; padding: 80px var(--gutter); }
.cta-band { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(31,26,22,.3); }
.cta-left { background-color: var(--accent); background-size: cover; background-position: center; color: #fff; padding: 60px 56px; position: relative; overflow: hidden; }
.cta-left::before { content: ''; position: absolute; width: 360px; height: 360px; background: rgba(255,255,255,.06); border-radius: 50%; top: -180px; right: -120px; }
.cta-left::after { content: ''; position: absolute; width: 220px; height: 220px; background: rgba(255,255,255,.05); border-radius: 50%; bottom: -110px; left: -60px; }
.cta-left h2 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 42px; line-height: 1.1; margin: 18px 0 22px; max-width: 440px; letter-spacing: -0.01em; color: #fff; position: relative; }
.cta-left p { font-family: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0 0 30px; max-width: 440px; position: relative; }
.cta-left .btn-cta { background: #fff; color: var(--accent); border: 0; padding: 16px 28px; border-radius: 999px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 10px; transition: transform .15s, box-shadow .2s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.3); position: relative; }
.cta-left .btn-cta:hover { transform: translateY(-2px); }
.cta-left .pill-row { display: flex; gap: 10px; margin-top: 30px; position: relative; flex-wrap: wrap; }
.cta-left .pill { background: rgba(255,255,255,.14); color: #fff; padding: 6px 14px; border-radius: 999px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; backdrop-filter: blur(8px); }
.cta-right { background: var(--ink); color: var(--paper); padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-right .eyebrow { color: var(--paper); }
.cta-right .eyebrow::before { background: var(--paper); }
.cta-left .eyebrow::before { background: #fff; }
.cta-right h2 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 32px; line-height: 1.15; margin: 16px 0 14px; color: #fff; }
.cta-right p { font-family: 'Montserrat', sans-serif; font-size: 14.5px; line-height: 1.55; color: rgba(250,246,238,.7); margin: 0 0 24px; }
/* Canaux « En numérique » / « Par courrier » */
.cta-right .nl-channel { margin-top: 26px; }
.cta-right .nl-channel:first-of-type { margin-top: 4px; }
.nl-channel-title { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px; color: #fff; margin: 0 0 14px; display: flex; align-items: baseline; gap: 8px; }
.nl-channel-title .arr { color: #fff; font-weight: 600; }
.nl-channel-title .nl-note { font-weight: 400; font-size: 14px; color: rgba(250,246,238,.55); }
.nl-channel-desc { font-family: 'Montserrat', sans-serif; font-size: 14.5px; line-height: 1.55; color: rgba(250,246,238,.7); margin: 0 0 18px; }
.nl-mail-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--accent); color: #fff; border-radius: 999px; padding: 15px 26px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(209,36,36,.6); transition: background .2s, transform .15s; }
.nl-mail-btn:hover { background: var(--accent-soft); transform: translateY(-2px); }
.nl-mail-btn .arr { transition: transform .2s; }
.nl-mail-btn:hover .arr { transform: translateX(3px); }

.newsletter-form { display: flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 6px; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.1); }
.newsletter-form input { flex: 1; background: transparent; border: 0; padding: 0 22px; height: 48px; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 14px; outline: none; min-width: 0; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form button { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 0 22px; height: 48px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.newsletter-form button:hover { background: var(--accent-soft); }
.newsletter-ok { display: none; align-items: center; gap: 10px; color: var(--paper); margin-top: 10px; font-family: 'Montserrat', sans-serif; font-size: 14px; }
.newsletter-ok::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.newsletter-form.sent { display: none; }
.newsletter-form.sent + .newsletter-ok { display: inline-flex; }

/* ───────────────────── FOOTER ───────────────────── */
footer.site-footer { width: 100%; background: var(--ink); color: var(--paper); }
.footer-main { padding: 70px var(--gutter) 50px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 60px; }
.footer-brand h3 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 22px; color: #fff; margin: 16px 0 12px; line-height: 1.2; }
.footer-brand p { font-family: 'Montserrat', sans-serif; font-size: 13px; line-height: 1.6; color: rgba(250,246,238,.6); margin: 0; }
.footer-brand .logo-footer-img { display: inline-block; line-height: 0; }
.footer-brand .logo-footer-img img { width: 165px; height: auto; transition: transform .25s ease; }
.footer-brand .logo-footer-img:hover img { transform: scale(1.02); }
.footer-col h4 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--accent); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col li a { font-family: 'Montserrat', sans-serif; font-size: 13.5px; color: rgba(250,246,238,.7); transition: color .15s; }
.footer-col li a:hover { color: var(--accent); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding: 22px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: 'Montserrat', sans-serif; font-size: 12px; color: rgba(250,246,238,.55); }
.footer-bar .footer-credit { color: inherit; text-decoration: none; transition: color .2s; }
.footer-bar .footer-credit:hover { color: var(--accent); text-decoration: underline; }
.footer-bar .socials { display: flex; gap: 10px; }
.footer-bar .socials a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.06); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-bar .socials a:hover { background: var(--accent); }
.footer-bar .socials svg { width: 14px; height: 14px; }

/* ───────────────────── MODAL ───────────────────── */
.modal { position: fixed; inset: 0; background: rgba(31,26,22,.65); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 40px; }
.modal.open { display: flex; }
.modal .card { background: var(--paper-card); max-width: 720px; width: 100%; max-height: 84vh; overflow-y: auto; padding: 56px; border-radius: 18px; position: relative; box-shadow: 0 40px 80px -20px rgba(0,0,0,.4);
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.modal .card::-webkit-scrollbar { width: 10px; }
.modal .card::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
.modal .card::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 999px; border: 3px solid var(--paper-card); background-clip: padding-box; }
.modal .card::-webkit-scrollbar-thumb:hover { background: var(--accent-soft); border: 2px solid var(--paper-card); background-clip: padding-box; }
.modal .close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; background: transparent; border: 1px solid var(--cream-border); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink); transition: background .15s; }
.modal .close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.modal h2 { font-family: 'Inria Serif', serif; font-weight: 700; font-size: 30px; line-height: 1.2; margin: 8px 0 16px; color: var(--ink); letter-spacing: -0.01em; }
.modal .meta { font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--muted); margin-bottom: 28px; }

/* Formulaire « Recevoir par courrier » */
.courrier-form { display: flex; flex-direction: column; gap: 16px; }
.courrier-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.courrier-form .cf-field { display: flex; flex-direction: column; gap: 6px; }
.courrier-form .cf-field > span { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 13px; color: var(--ink); }
.courrier-form input, .courrier-form textarea {
  width: 100%; border: 1px solid var(--cream-border); border-radius: 10px;
  padding: 12px 14px; font-family: 'Montserrat', sans-serif; font-size: 14px;
  color: var(--ink); background: var(--paper); outline: none; transition: border-color .15s, box-shadow .15s;
}
.courrier-form input:focus, .courrier-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(209,36,36,.12); }
.courrier-form textarea { resize: vertical; min-height: 72px; }
.courrier-form .cf-consent { display: flex; align-items: flex-start; gap: 10px; font-family: 'Montserrat', sans-serif; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin-top: 2px; }
.courrier-form .cf-consent input { width: auto; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.courrier-form .cf-feedback { display: none; font-family: 'Montserrat', sans-serif; font-size: 13.5px; }
.courrier-form .cf-feedback.error { display: block; color: var(--accent); font-weight: 600; }
.courrier-form .btn { align-self: flex-start; margin-top: 4px; cursor: pointer; }
.courrier-form .btn:disabled { opacity: .6; cursor: default; }
.cf-success { display: flex; align-items: flex-start; gap: 14px; font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.6; color: var(--ink); padding: 8px 0; }
.cf-success .cf-check { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.cf-success p { margin: 4px 0 0; }
@media (max-width: 560px) { .courrier-form .cf-row { grid-template-columns: 1fr; } }
.modal .body { font-family: 'Montserrat', sans-serif; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.modal .body p { margin: 0 0 16px; }
.modal .body strong { color: var(--ink); font-weight: 700; }
.modal .body sup { font-size: .7em; }
.modal .body ol, .modal .body ul { margin: 0 0 20px; padding-left: 0; list-style: none; counter-reset: flo-li; }
.modal .body ul { list-style: disc; padding-left: 22px; }
.modal .body ol > li {
  position: relative; counter-increment: flo-li;
  padding: 0 0 14px 46px; margin: 0 0 14px;
  border-bottom: 1px solid var(--cream-border);
}
.modal .body ol > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.modal .body ol > li::before {
  content: counter(flo-li); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  font-family: 'Inria Serif', serif; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.modal .body ul > li { margin: 0 0 8px; }
.modal .body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.modal .body h3 {
  font-family: 'Inria Serif', serif; font-weight: 700; font-size: 21px; line-height: 1.3;
  color: var(--ink); margin: 32px 0 12px;
}
.modal .body h4 {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
  margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--cream-border);
}
.modal .body > h3:first-child, .modal .body > h4:first-child { margin-top: 0; }
.modal .body > h4:first-child { padding-top: 0; border-top: 0; }

/* ───────────────────── REVEAL ───────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  :root { --pad: 56px; }
  .hero h1 { font-size: 60px; }
  .memorial h2 { font-size: 46px; }
  .section-head h2, .map-info h2 { font-size: 40px; }
}

@media (max-width: 1024px) {
  :root { --pad: 40px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* Mobile nav panel */
  .header-wrap .nav { gap: 16px; }
  .mobile-nav {
    position: fixed; inset: 92px 0 0 0; background: var(--paper); z-index: 190;
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
    padding: 24px var(--pad) 60px; display: flex; flex-direction: column; gap: 4px;
  }
  body.nav-open .mobile-nav { transform: translateX(0); }
  .mobile-nav a { font-family: 'Inria Serif', serif; font-size: 22px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--cream-border); }
  .mobile-nav a.sub { font-size: 16px; padding-left: 16px; color: var(--muted); }
  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-photo-stack { height: 460px; max-width: 520px; }
  .stats { padding: 32px 40px; gap: 16px; }
  .president { grid-template-columns: 1fr; gap: 70px; }
  .pres-photo-card { width: 100%; max-width: 380px; }
  .memorial-grid { grid-template-columns: 1fr; gap: 60px; }
  .fiche-stack { max-width: 420px; }
  .map-grid { grid-template-columns: 1fr; gap: 40px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .agenda-grid { grid-template-columns: 1fr 1fr; }
  .testimonies-grid { grid-template-columns: 1fr 1fr; }
  .testimony-card.feature { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --pad: 22px; }
  .hero h1 { font-size: 44px; }
  .hero-quote { font-size: 17px; }
  .hero-photo-stack { height: 380px; transform: scale(.82); transform-origin: top center; }
  .stats { flex-direction: column; padding: 28px 30px; transform: translateY(-50px); }
  .stats .sep { display: none; }
  .stat { width: 100%; }
  .stat + .stat { border-top: 1px solid var(--cream-border); padding-top: 16px; }
  .stat .stat-num { font-size: 52px; }
  .memorial h2 { font-size: 34px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head h2, .map-info h2 { font-size: 32px; }
  .news-grid, .agenda-grid, .testimonies-grid { grid-template-columns: 1fr; }
  .pres-photo-card .caption { position: static; margin-top: 20px; max-width: none; }
  .pres-quote { font-size: 22px; }
  .search-card { flex-direction: column; }
  .search-card .btn { width: 100%; justify-content: center; }
  .cta-left, .cta-right { padding: 40px 28px; }
  .cta-left h2 { font-size: 32px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .modal .card { padding: 36px 24px; }
}

@media (max-width: 460px) {
  .footer-main { grid-template-columns: 1fr; }
  .hero-meta { font-size: 11px; }
}
