:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --surface: #1a1a1a;
  --ink: #f5f5f0;
  --muted: #a8a8a0;
  --line: #2e2e2e;
  --line-soft: #3a3a3a;
  --accent: #00a99b;
  --accent-dark: #00857b;
  --accent-hot: #00c4b4;
  --secondary: #7a77ac;
  --warn-bg: #7a77ac;
  --warn-line: #7a77ac;
  --warn-ink: #ffffff;
  --danger: #ff646c;
  --ok: #3ddc84;
  --radius: 0;
  --max: 1100px;
  --font: "Arial Black", "Arial Bold", "Helvetica Neue", Impact, system-ui, sans-serif;
  --font-body: "Arial", "Helvetica Neue", Helvetica, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(0, 169, 155, 0.03) 40px,
      rgba(0, 169, 155, 0.03) 80px
    ),
    var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-hot);
}

a:hover,
a:focus {
  color: var(--accent);
}

::selection {
  background-color: var(--accent);
  color: #fff;
}

mark {
  background-color: var(--accent);
  color: #fff;
}

code {
  background: #222;
  color: var(--accent-hot);
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== HEADER ===== */
/* Le wrapper d'injection ne doit pas créer de boîte : sinon le header
   ne peut plus rester collé en haut lors du défilement. */
[data-site-header] {
  display: contents;
}

.site-header {
  background: #000;
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 0 rgba(0, 169, 155, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand:hover {
  color: #fff;
}

.brand .brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: block;
}

.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-hot);
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  border: 2px solid #000;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #ddd;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
  border: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #000;
  background: var(--accent);
  border-color: #000;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 169, 155, 0.16) 0%, transparent 50%),
    linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border-bottom: 4px solid var(--accent);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "TRANSPARENCE · DÉMOCRATIE · CONTRÔLE ·";
  position: absolute;
  top: 1.2rem;
  right: -2rem;
  font-family: var(--font);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: rgba(0, 169, 155, 0.12);
  transform: rotate(-8deg);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.85rem;
  margin: 0 0 1.25rem;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 var(--secondary);
}

.hero h1 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  color: #fff;
  text-shadow: 4px 4px 0 var(--accent);
}

.hero h1 .hl {
  background: var(--accent);
  color: #fff;
  padding: 0 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.lead {
  font-size: 1.15rem;
  color: #ccc;
  max-width: 58ch;
  margin: 0 0 2rem;
  border-left: 6px solid var(--accent);
  padding-left: 1rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  font-family: var(--font);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  border: 3px solid #000;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: none !important;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 5px 5px 0 var(--secondary);
}

.btn-primary:hover {
  background: var(--accent-hot);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: var(--secondary);
  color: #fff;
  box-shadow: 5px 5px 0 var(--accent);
}

.btn-ghost:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

/* ===== SECTIONS ===== */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--bg-2);
  border-block: 4px solid var(--accent);
}

.section h2,
.page-content h1,
.article h1 {
  font-family: var(--font);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section h2::before {
  content: "";
  width: 14px;
  height: 28px;
  background: var(--accent);
  border: 2px solid var(--secondary);
  flex-shrink: 0;
}

.section-alt h2::before {
  background: var(--secondary);
  border-color: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.check-list,
.cross-list {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 2.75rem;
  background: var(--surface);
  border: 3px solid var(--line);
  list-style: none;
}

.check-list {
  border-left: 8px solid var(--ok);
}

.cross-list {
  border-left: 8px solid var(--secondary);
}

.check-list li,
.cross-list li {
  margin-bottom: 0.75rem;
  position: relative;
}

.check-list li::before {
  content: "▸";
  position: absolute;
  left: -1.5rem;
  color: var(--ok);
  font-weight: 900;
}

.cross-list li::before {
  content: "✕";
  position: absolute;
  left: -1.5rem;
  color: var(--secondary);
  font-weight: 900;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 3px solid var(--line);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent),
    var(--accent) 8px,
    #000 8px,
    #000 16px
  );
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  line-height: 1.3;
}

.card h3 a {
  text-decoration: none;
  color: #fff;
}

.card h3 a:hover {
  color: var(--accent-hot);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-meta {
  font-family: var(--font);
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hot) !important;
}

.card-tag {
  margin-top: auto !important;
  align-self: flex-start;
  font-family: var(--font);
  font-size: 0.72rem !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000 !important;
  background: var(--accent);
  padding: 0.25rem 0.55rem;
  border: 2px solid #000;
}

/* ===== CALLOUT ===== */
.callout {
  background: var(--secondary);
  color: #fff;
  border: 4px solid #000;
  padding: 1.75rem;
  position: relative;
  box-shadow: 8px 8px 0 var(--accent);
}

.callout h2 {
  margin-top: 0;
  font-size: 1.35rem;
  color: #fff;
}

.callout h2::before {
  background: var(--accent);
  border-color: #000;
}

.callout a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #000;
  color: #aaa;
  padding: 2.25rem 0;
  margin-top: 3rem;
  border-top: 4px solid var(--accent);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer strong {
  color: var(--accent-hot);
  font-family: var(--font);
  text-transform: uppercase;
}

.site-footer a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  font-family: var(--font);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--accent-hot);
}

/* ===== PAGES / ARTICLES ===== */
.page-content {
  padding: 2.75rem 0 3.5rem;
}

.page-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  color: #fff;
  text-shadow: 3px 3px 0 var(--accent);
}

.page-content .subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-left: 5px solid var(--secondary);
  padding-left: 0.85rem;
}

.article-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.article-list li {
  background: var(--surface);
  border: 3px solid var(--line);
  border-left: 8px solid var(--accent);
  padding: 1.2rem 1.35rem;
  transition: border-color 0.15s;
}

.article-list li:hover {
  border-color: var(--accent);
  border-left-color: var(--secondary);
}

.article-list h2 {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  font-family: var(--font);
}

.article-list h2 a {
  text-decoration: none;
  color: #fff;
}

.article-list h2 a:hover {
  color: var(--accent-hot);
}

.article-list p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.meta-line {
  font-family: var(--font);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-hot);
  margin: 0;
}

.article {
  max-width: 760px;
}

.article .sources {
  background: var(--surface);
  border: 3px solid var(--accent);
  padding: 1.25rem 1.4rem;
  margin-top: 2rem;
  box-shadow: 6px 6px 0 rgba(0, 169, 155, 0.35);
}

.article .sources h2 {
  font-size: 1.05rem;
  margin-top: 0;
  color: var(--accent-hot);
}

.article .sources h2::before {
  background: var(--accent);
  border-color: var(--secondary);
}

.article .sources ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.article .sources li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.disclaimer {
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a,
    #1a1a1a 12px,
    #14201f 12px,
    #14201f 24px
  );
  border: 3px solid var(--accent);
  border-left: 8px solid var(--secondary);
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  margin: 1.5rem 0;
  color: #eee;
}

.disclaimer strong {
  color: var(--accent-hot);
  font-family: var(--font);
  text-transform: uppercase;
}

/* ===== TIMELINE ===== */
.timeline {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  border-left: 5px solid var(--accent);
}

.timeline li {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--line);
  margin-bottom: 0.75rem;
  padding: 1rem 1rem 1rem 1.75rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 1.2rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 3px solid var(--secondary);
  transform: rotate(45deg);
}

.timeline time {
  display: inline-block;
  font-family: var(--font);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #000;
  background: var(--accent);
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.4rem;
}

.timeline h3 {
  margin: 0.35rem 0;
  font-family: var(--font);
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #fff;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

/* ===== FAC SELECT (compte rendu fac) ===== */
.fac-select {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.15rem;
  margin: 1.75rem 0 2rem;
}

.fac-choice {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-align: left;
  background: var(--surface);
  border: 3px solid var(--line);
  padding: 1.4rem 1.35rem 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
  font: inherit;
  color: inherit;
}

.fac-choice::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--secondary),
    var(--secondary) 8px,
    #000 8px,
    #000 16px
  );
}

.fac-choice:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.fac-choice:focus-visible {
  outline: 3px solid var(--accent-hot);
  outline-offset: 2px;
}

.fac-choice.is-selected {
  border-color: var(--accent);
  box-shadow: 5px 5px 0 var(--secondary);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}

.fac-choice.is-selected::before {
  background: repeating-linear-gradient(
    -45deg,
    var(--accent),
    var(--accent) 8px,
    #000 8px,
    #000 16px
  );
}

.fac-choice-name {
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.fac-choice.is-selected .fac-choice-name {
  color: var(--accent-hot);
}

.fac-choice-hint {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}

.fac-panel {
  margin-top: 0.5rem;
}

/* ===== BANDEROLE DE SIGNALEMENT D'ERREUR ===== */
.error-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0.9rem 1.1rem;
  border: 2px solid var(--danger);
  border-left-width: 8px;
  background: rgba(255, 100, 108, 0.1);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.error-banner[hidden] {
  display: none;
}

.error-banner-icon {
  flex: none;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--danger);
}

.error-banner-text a,
.error-banner-text strong {
  color: var(--danger);
  font-weight: 700;
}

.error-banner-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== INFO BOXES / FORM ===== */
.info-box {
  background: var(--surface);
  border: 3px solid var(--line);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
}

.info-box h2 {
  margin-top: 0.5rem;
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--accent-hot);
}

.info-box h2::before {
  content: "■ ";
  color: var(--secondary);
}

.warning {
  border-color: var(--secondary);
  background: #16141f;
  box-shadow: 6px 6px 0 rgba(122, 119, 172, 0.35);
}

.warning::before {
  background: repeating-linear-gradient(
    -45deg,
    var(--accent),
    var(--accent) 8px,
    var(--secondary) 8px,
    var(--secondary) 16px
  );
  height: 8px;
}

.warning h2 {
  color: var(--accent-hot);
}

.warning h2::before {
  color: var(--secondary);
}

ul.tight li {
  margin-bottom: 0.45rem;
}

ul.tight {
  padding-left: 1.2rem;
}

/* ===== MOBILE ===== */
@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #000;
    border-bottom: 4px solid var(--accent);
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem;
    border: 2px solid var(--line);
  }

  .site-nav a:hover,
  .site-nav a.active {
    border-color: var(--accent);
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero::before {
    display: none;
  }

  .callout {
    box-shadow: 4px 4px 0 var(--accent);
  }
}

/* Détail compte rendu (blocs) */
.cr-back {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.55rem 0.9rem;
  background: var(--bg-2);
  border: 3px solid var(--line);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.cr-back:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}
.cr-article .meta-line {
  margin-bottom: 0.35rem;
}
.cr-article h2 {
  margin: 0 0 1rem;
  font-family: var(--font);
  text-transform: uppercase;
  color: var(--accent-hot);
  font-size: 1.35rem;
  line-height: 1.25;
}
.cr-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.65;
}
.cr-body p:last-child {
  margin-bottom: 0;
}
.cr-body h3 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font);
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.03em;
}
.cr-body h1,
.cr-body h2 {
  margin: 1.6rem 0 0.8rem;
  font-family: var(--font);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--ink);
}
.cr-body ul.revendications {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0;
  padding: 1.1rem;
  background: var(--bg-2);
  border: 3px solid var(--line);
  border-left: 8px solid var(--accent);
}
.cr-body ul.revendications li {
  position: relative;
  min-width: 0;
  padding: 0.4rem 0.4rem 0.4rem 1.6rem;
  border-bottom: 1px dotted var(--line);
  color: var(--ink);
}
.cr-body ul.revendications li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent);
}
.cr-body ul.actions-blocus {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.cr-body ul.actions-blocus li {
  position: relative;
  padding: 0.6rem 0.8rem 0.6rem 2.2rem;
  margin-bottom: 0.5rem;
  background: var(--bg-2);
  border-left: 4px solid var(--secondary);
  box-shadow: 2px 2px 0 var(--line);
  color: var(--ink);
}
.cr-body ul.actions-blocus li::before {
  content: "▸";
  position: absolute;
  left: 0.7rem;
  top: 0.6rem;
  color: var(--secondary);
}
.cr-body .cr-list-block {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1.1rem 0.9rem 2rem;
  background: var(--surface);
  border: 3px solid var(--line);
  border-left: 5px solid var(--accent);
  list-style: square;
}
.cr-body .cr-list-block li {
  margin: 0.35rem 0;
  color: var(--ink);
  line-height: 1.55;
}
.cr-body .cr-quote {
  margin: 0 0 1.15rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 3px solid var(--line);
  border-left: 5px solid var(--secondary);
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.cr-body .cr-note {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
}
.cr-body strong {
  color: var(--accent-hot);
}

/* Tableaux (comptes rendus et pages éditables) */
.cr-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.cr-table-wrap table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cr-table-wrap th,
.cr-table-wrap td {
  border: 2px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.cr-table-wrap thead th {
  background: var(--surface);
  color: var(--accent-hot);
  font-weight: 800;
}
.cr-table-wrap tbody tr:nth-child(even) { background: var(--surface); }

/* Médias (revendications + comptes rendus) */
.media {
  margin: 1.35rem 0;
}
.media img,
.media video {
  display: block;
  max-width: 100%;
  height: auto;
  border: 3px solid var(--line);
  background: var(--surface);
}
.media iframe {
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--line);
  background: #000;
}
.media figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.rev-page .media,
.cr-body .media {
  margin: 1.35rem 0;
}

/* Couleur de texte / surlignage (spans édités) */
.rev-page span[style*="color"],
.cr-body span[style*="color"] {
  /* la couleur inline prime déjà */
}
.rev-page span[style*="background-color"],
.cr-body span[style*="background-color"] {
  padding: 0.05em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Longues URL dans les listes : évite les débordements / chevauchements */
.cr-body,
.cr-body li,
.cr-body a,
.cr-body .cr-list-block,
.article .sources li,
.article .sources a,
.doc-sheet li,
.doc-sheet a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Pages personnalisées (admin) */
.custom-page {
  margin-top: 0.5rem;
}
.custom-page > p:first-child {
  margin-top: 0;
}

/* ===== STYLE MODERNE ===== */

:root {
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg: #0b0b10;
  --bg-2: #141419;
  --surface: #1b1b24;
  --ink: #f8fafc;
  --muted: #a9abb8;
  --line: #2a2a35;
  --line-soft: #383844;
  --accent: #14b8a6;
  --accent-dark: #0d9488;
  --accent-hot: #2dd4bf;
  --secondary: #8b5cf6;
}

body {
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

code {
  border-radius: 6px;
}

/* Header translucide */
.site-header {
  background: rgba(11, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand .brand-mark {
  border-radius: 10px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(20, 184, 166, 0.35);
  color: var(--accent-hot);
}

.nav-toggle {
  border-radius: var(--radius-sm);
  border-color: var(--line);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
}

/* Hero épuré : fond uni, sans dégradé */
.hero {
  padding: 5.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
  background: #0e0e14;
}

.hero::before {
  color: rgba(20, 184, 166, 0.06);
  font-size: clamp(2rem, 6vw, 4rem);
}

.hero::after {
  content: none;
}

.hero h1 {
  text-shadow: none;
  letter-spacing: -0.04em;
}

.hero h1 .hl {
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 6px;
}

.eyebrow {
  border: 1px solid rgba(20, 184, 166, 0.4);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  box-shadow: none;
  color: var(--accent-hot);
}

.lead {
  border-left-width: 3px;
  color: var(--muted);
  font-weight: 500;
}

/* Boutons modernes */
.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.4);
  color: #e9d5ff;
}

/* Pages intérieures */
.page-content h1 {
  text-shadow: none;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-content h1::after {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.page-content .subtitle {
  border-left-width: 3px;
  background: transparent;
  padding-block: 0;
}

/* Cartes et encadrés */
.info-box,
.warning,
.disclaimer,
.check-list,
.cross-list,
.article-list li,
.timeline li,
.article .sources,
.cr-body .cr-list-block,
.cr-body .cr-quote,
.cr-body .cr-note,
.fac-choice {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.info-box::before,
.fac-choice::before {
  border-radius: var(--radius) var(--radius) 0 0;
}

.article-list li,
.timeline li,
.fac-choice {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.article-list li:hover,
.timeline li:hover,
.fac-choice:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38);
}

.fac-choice.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.3), 0 16px 34px rgba(0, 0, 0, 0.38);
}

.site-footer {
  background: #08080c;
  border-top: 1px solid var(--line);
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .hero {
    padding: 3.5rem 0 3.25rem;
  }

  .site-nav a {
    border-color: var(--line);
    border-radius: var(--radius-sm);
  }
}

/* Navbar : design d'origine (carré, noir et turquoise) */
.site-header {
  background: #000;
  border-bottom: 4px solid #00a99b;
  box-shadow: 0 4px 0 rgba(0, 169, 155, 0.25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand {
  font-family: "Arial Black", "Arial Bold", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand .brand-mark {
  border-radius: 0;
}

.brand .brand-sub {
  color: #00c4b4;
}

.site-nav a {
  border: 2px solid transparent;
  border-radius: 0;
  color: #ddd;
  font-family: "Arial Black", "Arial Bold", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active {
  background: #00a99b;
  border-color: #000;
  color: #000;
}

.nav-toggle {
  border: 2px solid #000;
  border-radius: 0;
  font-family: "Arial Black", "Arial Bold", "Helvetica Neue", Impact, system-ui, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-nav a {
    border-color: var(--line);
    border-radius: 0;
  }

  .site-nav a:hover,
  .site-nav a.active {
    border-color: #000;
  }
}

/* Retour aux codes carrés pour l'accroche de l'accueil et ses boutons */
.eyebrow {
  border: 3px solid #000;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  box-shadow: 5px 5px 0 var(--secondary);
}

.hero-actions .btn {
  border: 3px solid #000;
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--secondary);
}

.hero-actions .btn:hover {
  transform: none;
}

/* Ombre portée bleue sur les titres de pages (style ancien) */
.page-content h1 {
  text-shadow: 3px 3px 0 var(--accent);
}

@media print {
  a, h1, h2, button {
    color: var(--accent);
  }
}

