/* =========================================================================
   TACT — Feuille de style
   Identité : bleu marine + rouge « veines » du logo (carte de France),
   fond chaud repris du site d'origine (#f2edeb).
   ========================================================================= */
:root {
  --navy-950: #0b1630;
  --navy-900: #12234a;
  --navy-800: #1a3166;
  --navy-700: #24438a;   /* bleu du logo */
  --navy-100: #e6ecf8;
  --red-700: #a8172a;
  --red-600: #c81e33;
  --red-500: #e2363f;    /* rouge des veines du logo */
  --red-100: #fde8ea;
  --cream: #faf6f3;
  --cream-2: #f2edeb;
  --ink: #18203a;
  --muted: #5a6378;
  --line: #e6dfda;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 35, 74, .06), 0 8px 24px rgba(18, 35, 74, .08);
  --shadow-lg: 0 20px 50px rgba(18, 35, 74, .18);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-900); }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red-500); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy-900); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.section-head p { margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: 0 6px 18px rgba(200, 30, 51, .35); }
.btn-primary:hover { background: var(--red-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { color: var(--red-600); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 243, .86);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(18,35,74,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-900); }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .04em; }
.brand-text span { font-size: .7rem; color: var(--muted); max-width: 180px; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: .25rem; align-items: center; }
.nav a, .nav button.nav-top {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; background: none; border: 0;
  font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav button.nav-top:hover { background: var(--navy-100); color: var(--navy-800); }
.nav a[aria-current="page"], .nav .has-sub.active > .nav-top { color: var(--red-600); }
.nav .cta a { background: var(--navy-800); color: #fff; margin-left: .4rem; }
.nav .cta a:hover { background: var(--red-600); color: #fff; }
.has-sub { position: relative; }
.has-sub .chev { width: 14px; height: 14px; transition: transform .2s; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s; border: 1px solid var(--line);
}
.submenu a { display: flex; width: 100%; border-radius: 9px; padding: .6rem .8rem; font-weight: 500; }
.has-sub:hover .submenu, .has-sub.open .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .chev { transform: rotate(180deg); }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--navy-900); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--cream); padding: 1rem 1.25rem 2rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease;
  }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a, .nav button.nav-top { width: 100%; justify-content: space-between; padding: .85rem 1rem; font-size: 1.05rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; display: none; }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .submenu { display: none; }
  .has-sub.open:hover .submenu { display: block; }
  .nav .cta a { margin: .6rem 0 0; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--navy-950);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/hero.jpg") center/cover no-repeat; transform: scale(1.05); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(226, 54, 63, .45), transparent 60%),
    linear-gradient(105deg, rgba(11, 22, 48, .97) 0%, rgba(18, 35, 74, .92) 45%, rgba(26, 49, 102, .55) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .95fr; gap: 3rem; align-items: center; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(5rem, 11vw, 8rem); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: #ffb3b8; }
.hero .lead { color: rgba(255,255,255,.82); }
.hero .eyebrow { color: #ff9ea5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-map { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-map img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; color: var(--cream); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-map { width: 70%; order: -1; }
}

/* Petit hero des pages internes */
.page-hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 300px at 90% 0%, rgba(226,54,63,.5), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy-800));
}
.page-hero .veins { position: absolute; right: -40px; top: -20px; width: 520px; height: 100%; opacity: .35; z-index: -1; }
.page-hero-inner { padding: clamp(3rem, 7vw, 4.8rem) 0 clamp(3.4rem, 7vw, 5rem); }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 65ch; margin: 0; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: .4rem; font-size: .85rem; margin-bottom: 1rem; flex-wrap: wrap; color: rgba(255,255,255,.65); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Carte événement ---------- */
.event-card {
  position: relative; margin-top: -4.5rem; z-index: 2; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 300px 1fr auto; overflow: hidden;
}
.event-card .ev-img { background-size: cover; background-position: center; min-height: 220px; position: relative; }
.event-card .ev-badge {
  position: absolute; top: 1rem; left: 1rem; background: var(--red-600); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .35rem .75rem; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase;
}
.event-card .ev-badge.past { background: var(--navy-800); }
.event-card .ev-body { padding: 1.8rem 2rem; }
.event-card h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.ev-meta { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; color: var(--muted); font-size: .97rem; }
.ev-meta li { display: flex; gap: .6rem; align-items: flex-start; }
.ev-meta svg { width: 20px; height: 20px; color: var(--red-600); flex: none; margin-top: 3px; }
.event-card .ev-actions { padding: 1.8rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: .7rem; border-left: 1px solid var(--line); background: var(--cream); }
.ev-next { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; padding-top: .9rem; border-top: 1px dashed var(--line); }
@media (max-width: 980px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card .ev-actions { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border-top: 4px solid var(--red-500); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.6rem; color: var(--navy-800); line-height: 1; margin-bottom: .4rem; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Grilles / cartes ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s; border: 1px solid rgba(230,223,218,.6);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card-img { aspect-ratio: 16/10; background: var(--cream-2) center/cover no-repeat; position: relative; }
.card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; font-size: .96rem; }
.card-meta { display: flex; gap: .6rem; align-items: center; font-size: .82rem; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; background: var(--navy-100); color: var(--navy-800); letter-spacing: .03em; text-transform: uppercase; }
.tag.red { background: var(--red-100); color: var(--red-700); }
.more { margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--red-600); font-size: .92rem; }

/* Feature / mission */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.features { display: grid; gap: 1rem; }
.feature { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.feature .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red-100); color: var(--red-600); }
.feature .ico.blue { background: var(--navy-100); color: var(--navy-700); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.media-frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(11,22,48,.75); color: #fff; padding: .45rem .8rem; border-radius: 10px; font-size: .85rem; backdrop-filter: blur(6px); }

/* Déroulé */
.schedule { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.schedule::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red-500), var(--navy-700)); }
.schedule li { position: relative; padding: 0 0 1.2rem 2.4rem; }
.schedule li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red-500); }
.schedule strong { display: block; color: var(--navy-900); }
.schedule span { color: var(--muted); }

/* Timeline historique */
.timeline { position: relative; margin: 2rem 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline li { position: relative; width: 50%; padding: 0 2.5rem 2rem 0; }
.timeline li:nth-child(even) { margin-left: 50%; padding: 0 0 2rem 2.5rem; }
.timeline li::after { content: ""; position: absolute; top: 1.2rem; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 5px var(--red-100); }
.timeline li:nth-child(even)::after { left: -9px; right: auto; }
.timeline .tl-card { background: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.timeline .tl-year { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--red-600); line-height: 1; margin-bottom: .3rem; }
.timeline .tl-card p { margin: 0; color: var(--muted); }
.timeline .tl-card ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
@media (max-width: 760px) {
  .timeline::before { left: 9px; }
  .timeline li, .timeline li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 1.6rem 2.4rem; }
  .timeline li::after, .timeline li:nth-child(even)::after { left: 0; right: auto; }
}

/* ---------- Présentations ---------- */
.toolbar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search input {
  width: 100%; padding: .85rem 1rem .85rem 2.8rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-size: .98rem; color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px var(--navy-100); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.chips { display: flex; gap: .45rem; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: #fff; padding: .45rem .9rem; border-radius: 999px; font: inherit; font-size: .88rem;
  font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--navy-700); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.toggle { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.toggle input { accent-color: var(--red-600); width: 18px; height: 18px; }

.edition { margin-bottom: 3rem; scroll-margin-top: 100px; }
.edition-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--line); }
.edition-head h2 { margin: 0; font-size: 1.7rem; }
.edition-head .sub { color: var(--muted); font-size: .95rem; }
.edition .note { background: var(--cream-2); border-left: 4px solid var(--navy-700); padding: .8rem 1rem; border-radius: 8px; font-size: .93rem; color: var(--muted); margin-bottom: 1rem; }
.talks { display: grid; gap: .8rem; }
.talk {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: #fff; border-radius: 14px;
  padding: 1rem 1.2rem; box-shadow: var(--shadow); border: 1px solid rgba(230,223,218,.6);
}
.talk-num { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-800); font-weight: 800; font-size: .9rem; }
.talk h3 { font-size: 1rem; margin: 0 0 .15rem; font-weight: 700; }
.talk .author { color: var(--muted); font-size: .9rem; }
.talk-actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.icon-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700;
  text-decoration: none; border: 1.5px solid var(--line); color: var(--navy-800); background: #fff; cursor: pointer; font-family: inherit;
}
.icon-btn:hover { border-color: var(--navy-700); color: var(--navy-700); }
.icon-btn.audio { color: var(--red-600); }
.icon-btn.audio:hover, .icon-btn.audio[aria-pressed="true"] { border-color: var(--red-600); background: var(--red-100); color: var(--red-700); }
.icon-btn svg { width: 16px; height: 16px; }
.talk audio { grid-column: 1 / -1; width: 100%; height: 40px; }
.talk .extras { grid-column: 2 / -1; display: flex; gap: .8rem; flex-wrap: wrap; font-size: .88rem; }
/* Mots-clés des présentations */
.kws { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.kw {
  font: inherit; font-size: .76rem; font-weight: 600; line-height: 1.2; padding: .22rem .6rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--navy-100); background: var(--navy-100); color: var(--navy-800); transition: all .15s;
}
.kw:hover { border-color: var(--navy-700); background: #fff; }
.kw[aria-pressed="true"], .kw.on { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.kw-active { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.kw-active[hidden] { display: none; }
.kw-active .kw { font-size: .85rem; padding: .3rem .75rem; }
@media (max-width: 680px) {
  .talk { grid-template-columns: auto 1fr; }
  .talk-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .talk .extras { grid-column: 1 / -1; }
}
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- Galerie ---------- */
.album-card .card-img { aspect-ratio: 4/3; }
.album-card .count { position: absolute; right: .8rem; bottom: .8rem; background: rgba(11,22,48,.78); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; }
.gallery { columns: 4 240px; column-gap: 12px; }
.gallery button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--cream-2); break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 28, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; } .lb-close { top: 1.2rem; right: 1.2rem; }
.lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .9rem; }

.notice { display: flex; gap: .9rem; background: #fff; border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--shadow); border-left: 4px solid var(--red-500); margin-bottom: 2rem; font-size: .93rem; color: var(--muted); }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--red-600); margin-top: 2px; }

/* ---------- Article ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose .callout { background: var(--red-100); border-left: 4px solid var(--red-600); padding: 1rem 1.2rem; border-radius: 10px; color: var(--red-700); }
.prose .credit { font-size: .85rem; color: var(--muted); font-style: italic; }
.prose .figs { display: grid; gap: 1rem; margin: 1.2rem 0 1.6rem; }
.prose .figs img { border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.article-cover { border-radius: 20px; overflow: hidden; margin: -3rem auto 2rem; max-width: 900px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; aspect-ratio: 16/8; background: var(--cream-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; max-width: 760px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-nav a { text-decoration: none; max-width: 48%; }
.article-nav small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.article-nav .next { text-align: right; margin-left: auto; }

/* ---------- Bureau ---------- */
.person { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--red-500)); font-size: 1.05rem; letter-spacing: .03em; }
.person h3 { margin: 0; font-size: 1.05rem; }
.person .role { color: var(--red-600); font-weight: 700; font-size: .88rem; }
.person .site { color: var(--muted); font-size: .88rem; margin: .1rem 0 0; }

/* Documents (PV) */
.doc-list { display: grid; gap: .8rem; }
.doc { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 14px; padding: 1rem 1.2rem; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s; }
.doc:hover { transform: translateX(4px); color: inherit; }
.doc .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-100); color: var(--red-600); display: grid; place-items: center; }
.doc .ico svg { width: 24px; height: 24px; }
.doc h3 { font-size: 1rem; margin: 0; }
.doc p { margin: 0; font-size: .86rem; color: var(--muted); }
.doc .dl { margin-left: auto; color: var(--navy-700); font-weight: 700; font-size: .88rem; white-space: nowrap; }

/* Infos pratiques */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.info-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem; }
.map { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream-2); }
.map-placeholder { display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--muted); }

/* Éditions (archives) */
.edition-card .card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(11,22,48,.75)); }
.edition-card .card-img .ville { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.edition-card .links { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2.2rem, 5vw, 3.5rem); color: #fff; background: linear-gradient(120deg, var(--red-700), var(--red-500)); isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; box-shadow: -140px 160px 0 40px rgba(255,255,255,.05); }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 55ch; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); padding: 4rem 0 0; margin-top: 0; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .94rem; }
.footer-brand img { height: 70px; margin-bottom: 1rem; }
.footer-brand p { font-size: .93rem; max-width: 36ch; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); padding: .6rem 1rem; border-radius: 999px; margin-top: .4rem; }
.footer-mail svg { width: 18px; height: 18px; color: var(--red-500); }
.footer-bottom { margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* Animation d'apparition */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Impression */
@media print {
  .site-header, .site-footer, .hero-wave, .menu-toggle, .toolbar { display: none !important; }
  body { background: #fff; }
  .page-hero { background: none; color: #000; }
  .page-hero h1, .page-hero p { color: #000; }
}
