/* =========================================================
   Années de plomb — Belgique 1979-1985
   Direction : « salle de lecture » — dossier scellé, ton zen
   Palette : vert tendre / lilas sur encre vert-noir
   ========================================================= */

:root {
  /* couleurs */
  --ink:        #0c1210;
  --ink-2:      #101a16;
  --surface:    #14201b;
  --surface-2:  #1a2823;
  --line:       #223029;
  --line-soft:  #1a2621;
  --text:       #e0eae3;
  --text-2:     #b6c5bc;
  --muted:      #85968c;
  --vert:       #9fd9b4;
  --vert-deep:  #6fbf90;
  --lilas:      #c3b2e8;
  --lilas-deep: #a68fd8;
  --warn:       #d8c48f;

  /* typo */
  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* mesures */
  --measure: 40rem;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --radius: 3px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 48px -32px rgba(0, 0, 0, .9);
}

:root[data-theme="light"] {
  --ink:        #f2f5f1;
  --ink-2:      #eaefe9;
  --surface:    #ffffff;
  --surface-2:  #f4f7f2;
  --line:       #d9e2da;
  --line-soft:  #e6ece6;
  --text:       #16211c;
  --text-2:     #3c4b43;
  --muted:      #5d6d64;
  --vert:       #2f7d52;
  --vert-deep:  #1f6440;
  --lilas:      #6b52a8;
  --lilas-deep: #543f8c;
  --warn:       #8a6d16;
  --shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 14px 34px -30px rgba(0, 0, 0, .5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.72;
  font-weight: 350;
  letter-spacing: .001em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* fond : très légère trame, comme un papier d'archive */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 60% at 82% -10%, rgba(195, 178, 232, .07), transparent 60%),
    radial-gradient(90% 50% at 8% 0%, rgba(159, 217, 180, .06), transparent 55%);
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--vert);
  text-decoration-color: color-mix(in srgb, var(--vert) 38%, transparent);
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
  transition: color .18s ease, text-decoration-color .18s ease;
}
a:hover { color: var(--lilas); text-decoration-color: var(--lilas); }

:focus-visible {
  outline: 2px solid var(--lilas);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: color-mix(in srgb, var(--lilas) 35%, transparent); color: var(--text); }

/* ---------- typographie ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.014em;
  color: var(--text);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.1vw, 3.65rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); margin-top: 2.6em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-top: 2.1em; font-weight: 500; }
h4 { font-size: 1.02rem; margin-top: 1.8em; font-weight: 600; font-family: var(--body); letter-spacing: .005em; }
h2 + h3, h3 + h4 { margin-top: 1.1em; }

p { margin: 0 0 1.15em; }
strong { font-weight: 600; color: var(--text); }
em { font-style: italic; }
small { font-size: .84rem; color: var(--muted); }

.lede {
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.05rem + .7vw, 1.5rem);
  line-height: 1.5;
  color: var(--text-2);
  font-weight: 300;
  margin-bottom: 1.6em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .715rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

ul, ol { margin: 0 0 1.3em; padding-left: 1.15rem; }
li { margin-bottom: .5em; }
li::marker { color: color-mix(in srgb, var(--vert) 70%, transparent); font-size: .9em; }
ol li::marker { font-family: var(--mono); font-size: .8em; }

blockquote {
  margin: 2rem 0;
  padding: .1rem 0 .1rem 1.35rem;
  border-left: 2px solid var(--lilas-deep);
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text-2);
  font-style: italic;
}
blockquote cite {
  display: block;
  margin-top: .7rem;
  font-family: var(--mono);
  font-size: .74rem;
  font-style: normal;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 3.2rem 0;
}

code, kbd { font-family: var(--mono); font-size: .87em; color: var(--vert); }

/* ---------- squelette ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface-2);
  color: var(--text);
  padding: .7rem 1rem;
  z-index: 200;
}
.skip:focus { left: .5rem; top: .5rem; }

.wrap {
  width: min(100% - (var(--gutter) * 2), 74rem);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.prose { max-width: var(--measure); }

/* ---------- en-tête ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.06rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand__mark {
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--vert);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--vert) 14%, transparent);
  flex: none;
  align-self: center;
}
.brand__sub {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: .45rem .62rem;
  font-size: .845rem;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] {
  color: var(--vert);
  background: color-mix(in srgb, var(--vert) 9%, transparent);
}

.tools { display: flex; gap: .3rem; align-items: center; }

.iconbtn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-2);
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}
.iconbtn:hover { color: var(--vert); border-color: var(--vert-deep); background: var(--surface); }
.iconbtn svg { width: 1.05rem; height: 1.05rem; stroke: currentColor; fill: none; stroke-width: 1.5; }

.navtoggle { display: none; }

.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--vert), var(--lilas));
  transition: width .1s linear;
}

@media (max-width: 900px) {
  .navtoggle { display: grid; }
  .nav {
    position: fixed;
    inset: 4rem 0 auto;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: .6rem var(--gutter) 1.1rem;
    display: none;
    max-height: calc(100dvh - 4rem);
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: .7rem .4rem; font-size: .98rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
}

/* ---------- hero : la colonne des dates ---------- */

.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--vert); font-style: italic; }
.hero__meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

/* index des dates, façon cote d'archive */
.index-dates {
  font-family: var(--mono);
  font-size: .7rem;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
  list-style: none;
  margin: .5rem 0 0;
}
.index-dates li {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  opacity: 0;
  animation: fadeup .7s cubic-bezier(.22, .8, .3, 1) forwards;
}
.index-dates b {
  font-weight: 400;
  color: var(--text-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.index-dates li[data-fatal] b { color: var(--lilas); }
@keyframes fadeup {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .index-dates { font-size: .68rem; line-height: 1.9; }
}

/* ---------- marqueurs épistémiques (signature) ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  font-family: var(--mono);
  font-size: .655rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .24rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
  vertical-align: middle;
}
.tag::before {
  content: "";
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.tag--etabli   { color: var(--vert);  border-color: color-mix(in srgb, var(--vert) 32%, transparent); }
.tag--conteste { color: var(--lilas); border-color: color-mix(in srgb, var(--lilas) 32%, transparent); }
.tag--ouvert   { color: var(--warn);  border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.tag--ouvert::before { border-radius: 1px; }
.tag--conteste::before { transform: rotate(45deg); border-radius: 1px; }

.claim {
  border-left: 2px solid var(--line);
  padding: .1rem 0 .1rem 1.15rem;
  margin: 1.6rem 0;
}
.claim--etabli   { border-left-color: var(--vert-deep); }
.claim--conteste { border-left-color: var(--lilas-deep); }
.claim--ouvert   { border-left-color: var(--warn); }
.claim > .tag { margin-bottom: .55rem; }
.claim p:last-child { margin-bottom: 0; }

/* ---------- cartes & grilles ---------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 2rem 0;
}
.card {
  background: var(--ink);
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}
a.card:hover { background: var(--surface); }
a.card:hover h3 { color: var(--vert); }
.card h3 { margin: 0; font-size: 1.16rem; }
.card p { margin: 0; font-size: .92rem; color: var(--text-2); line-height: 1.6; }
.card__num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--muted);
}
.card__more {
  margin-top: auto;
  padding-top: .9rem;
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--vert);
}

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border-block: 1px solid var(--line-soft);
  margin: 2.2rem 0;
}
.figure {
  background: var(--ink);
  padding: 1.25rem 1.1rem;
}
.figure b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--vert);
  font-variant-numeric: tabular-nums;
  margin-bottom: .4rem;
}
.figure span {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}
.figure--lilas b { color: var(--lilas); }

/* encadré */
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.35rem;
  margin: 2rem 0;
  font-size: .95rem;
}
.note > :last-child { margin-bottom: 0; }
.note__title {
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--lilas);
  margin: 0 0 .6rem;
}
.note--vert .note__title { color: var(--vert); }

/* tableau */
.tablewrap { overflow-x: auto; margin: 2rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
caption {
  caption-side: top;
  text-align: left;
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: .7rem;
}
th, td {
  text-align: left;
  padding: .68rem .85rem .68rem 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
th {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom-color: var(--line);
}
td time, td .num { font-family: var(--mono); font-size: .84rem; white-space: nowrap; color: var(--text-2); }

/* ---------- chronologie ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1.6rem 0 2.4rem;
}
.chip {
  appearance: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .42rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  transition: all .18s ease;
}
.chip:hover { color: var(--text); border-color: var(--text-2); }
.chip[aria-pressed="true"] {
  color: var(--ink);
  background: var(--vert);
  border-color: var(--vert);
  font-weight: 600;
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6.6rem;
  top: .4rem;
  bottom: .4rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 6%, var(--line) 94%, transparent);
}
.tl {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: 0 1.9rem;
  padding: 0 0 2rem;
  position: relative;
  margin: 0;
}
.tl[hidden] { display: none; }
.tl__date {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--muted);
  padding-top: .28rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tl__body { position: relative; }
.tl__body::before {
  content: "";
  position: absolute;
  left: -2.31rem;
  top: .62rem;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--vert-deep);
}
.tl--fatal .tl__body::before { background: var(--lilas); border-color: var(--lilas); }
.tl--inst .tl__body::before { border-color: var(--muted); }
.tl h3 { margin: 0 0 .35rem; font-size: 1.06rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.tl p { margin: 0; font-size: .93rem; color: var(--text-2); }
.tl__cat {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: .5rem;
}

@media (max-width: 640px) {
  .timeline::before { left: .23rem; }
  .tl { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.6rem; }
  .tl__date { text-align: left; padding-top: 0; }
  .tl__body::before { left: -1.6rem; top: .5rem; }
}

/* ---------- sommaire latéral ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: 2.5rem 0 5rem;
}
.toc {
  position: sticky;
  top: 5.5rem;
  font-size: .84rem;
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.toc__title {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .8rem;
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block;
  padding: .3rem 0;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  border-left: 2px solid transparent;
  margin-left: -1.16rem;
  padding-left: 1.16rem;
}
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--vert); border-left-color: var(--vert); }

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; order: -1; margin-bottom: 1rem; }
  .toc ul { columns: 2; column-gap: 1.5rem; }
  .toc a { margin-left: 0; padding-left: 0; border-left: 0; }
  .toc a.is-active { border-left: 0; }
}

/* ---------- pied de page ---------- */

.pagenav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 3.5rem 0 0;
}
.pagenav a {
  background: var(--ink);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.pagenav a:hover { background: var(--surface); color: var(--vert); }
.pagenav span {
  display: block;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}

.colophon {
  border-top: 1px solid var(--line);
  padding: 3rem 0 4rem;
  font-size: .87rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.colophon__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
}
.colophon h2 {
  font-family: var(--mono);
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 .9rem;
  font-weight: 400;
}
.colophon ul { list-style: none; padding: 0; margin: 0; }
.colophon li { margin-bottom: .35rem; }
.colophon a { color: var(--text-2); text-decoration: none; }
.colophon a:hover { color: var(--vert); }
.colophon__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: .8rem; }

/* ---------- recherche ---------- */

dialog.search {
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0;
  width: min(100% - 2rem, 38rem);
  margin-top: 12vh;
  box-shadow: var(--shadow);
}
dialog.search::backdrop { background: rgba(4, 8, 6, .72); backdrop-filter: blur(3px); }
.search__field {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.search__field input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.05rem;
  padding: .2rem 0;
}
.search__field input:focus { outline: none; }
.search__results { list-style: none; margin: 0; padding: .4rem; max-height: 52vh; overflow-y: auto; }
.search__results li { margin: 0; }
.search__results a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}
.search__results a:hover, .search__results a:focus-visible { background: var(--surface-2); }
.search__results b { display: block; font-weight: 500; font-size: .96rem; }
.search__results span { font-size: .82rem; color: var(--muted); }
.search__empty { padding: 1.4rem 1.2rem; color: var(--muted); font-size: .9rem; }

/* ---------- divers ---------- */

.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1); }

.backtop {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  background: var(--surface-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.backtop.is-visible { opacity: 1; pointer-events: auto; }

.breadcrumb {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 1.8rem;
}
.breadcrumb ol { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/ "; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--vert); }

.entete { padding: 1.2rem 0 1rem; }
.entete__meta {
  font-family: var(--mono);
  font-size: .69rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.2rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  margin: 1.6rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line-soft);
}

details {
  border-top: 1px solid var(--line-soft);
  padding: .9rem 0;
}
details summary {
  cursor: pointer;
  font-family: var(--body);
  font-weight: 500;
  list-style: none;
  display: flex;
  gap: .7rem;
  align-items: baseline;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "+";
  font-family: var(--mono);
  color: var(--vert);
  flex: none;
}
details[open] summary::before { content: "–"; color: var(--lilas); }
details[open] summary { margin-bottom: .8rem; }
details > :last-child { margin-bottom: 0; }

.footnotes { font-size: .87rem; color: var(--muted); }
.footnotes ol { padding-left: 1.3rem; }

@media print {
  .masthead, .toc, .backtop, .pagenav, .filters, .iconbtn { display: none !important; }
  body { background: #fff; color: #111; }
  a { color: #111; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .index-dates li { opacity: 1; }
}

/* ---------- listes de définitions (lexique) ---------- */
dl { margin: 1.6rem 0; }
dt { margin-top: 1rem; color: var(--text); }
dd {
  margin: .2rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--text-2);
  font-size: .95rem;
}
sup { font-size: .7em; line-height: 0; }

/* séparateurs discrets dans les métadonnées */
.entete__meta span + span::before,
.hero__meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--line);
  vertical-align: middle;
  margin-right: .75rem;
  margin-left: -.5rem;
}

/* la barre de progression doit couvrir toute la largeur de l'en-tête */
.masthead .wrap { position: static; }

.search__field > span > svg {
  width: 1.1rem; height: 1.1rem;
  stroke: currentColor; fill: none; stroke-width: 1.5;
}
