/* ==========================================================
   L'AFRIQUE EN LUTTE — identité visuelle
   Inspiration : affiche militante sérigraphiée, édition
   panafricaine. Blocs de couleurs franches, typographie forte.
   ========================================================== */

:root {
  --ink: #1a1511;
  --gold: #cf9433;
  --gold-deep: #a97722;
  --green: #1e5b3c;
  --green-deep: #14432c;
  --red: #c22b26;
  --paper: #f6efe2;
  --paper-dim: #ede3ce;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
  --font-ui: "Space Grotesk", sans-serif;

  --measure: 62ch;
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Bannière de page ---------- */
.site-banner { background: var(--ink); }
.site-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Bande tricolore (signature) ---------- */
.tricolor {
  height: 10px;
  background: linear-gradient(
    to right,
    var(--red) 0 33.33%,
    var(--gold) 33.33% 66.66%,
    var(--green) 66.66% 100%
  );
}
.tricolor--thin { height: 6px; }

/* ---------- Navigation ---------- */
.nav {
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad-x);
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.nav__logo {
  width: 38px; height: 38px; flex: none;
  object-fit: contain;
}
.nav__fist {
  width: 26px; height: 26px; flex: none;
}
.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  justify-content: flex-end;
}
.nav__links a {
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
}
.nav__links a:hover { border-bottom-color: var(--gold); }
.nav__links a[aria-current="page"] { border-bottom-color: var(--red); }
.nav__toggle {
  display: none;
  background: none;
  border: 2px solid var(--paper);
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--pad-x) 1.25rem;
    border-bottom: 6px solid var(--red);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: 0.75rem 0; }
}

/* ---------- Blocs de section ---------- */
.panel { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad-x); }
.panel--gold  { background: var(--gold);  color: var(--ink); }
.panel--green { background: var(--green); color: var(--paper); }
.panel--ink   { background: var(--ink);   color: var(--paper); }
.panel--red   { background: var(--red);   color: var(--paper); }
.panel--paper { background: var(--paper); color: var(--ink); }
.panel--paper-dim { background: var(--paper-dim); color: var(--ink); }

.panel__inner { max-width: 1120px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem; height: 4px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;          /* répartit les lignes de façon équilibrée */
  hyphens: none;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; }

.mark {
  text-decoration-line: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: auto;   /* le trait contourne les jambages */
}
.mark--red   { text-decoration-color: var(--red); }
.mark--green { text-decoration-color: var(--green); }
.mark--gold  { text-decoration-color: var(--gold); }
.mark--ink   { text-decoration-color: var(--ink); }

.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  max-width: var(--measure);
  text-wrap: pretty;           /* évite les mots orphelins en fin de paragraphe */
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 700; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--red); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--paper:hover { box-shadow: 5px 5px 0 var(--gold); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn--red:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(4rem, 10vw, 7.5rem); padding-bottom: clamp(4rem, 10vw, 7.5rem); }
.hero h1 { max-width: 22ch; margin: 0.6rem 0 1.6rem; }
.hero .lede { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

/* ---------- Cartes univers ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.card {
  text-decoration: none;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 7px 7px 0 var(--ink); }
.card__tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--green);
  align-self: flex-start;
  padding: 0.28rem 0.6rem;
}
.card:nth-child(2) .card__tag { background: var(--red); }
.card:nth-child(3) .card__tag { background: var(--gold-deep); }
.card:nth-child(4) .card__tag { background: var(--ink); }
.card p { font-size: 0.98rem; flex: 1; }
.card__go {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Chiffres ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 3px solid var(--paper);
  margin-top: 2.5rem;
}
.stat {
  padding: 2rem 1.6rem;
  border: 1.5px solid var(--paper);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--gold);
}
.stat__label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* ---------- Citation ---------- */
.quote {
  text-align: center;
  max-width: 34ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.35;
}
.quote__author {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

/* ---------- Deux colonnes ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Liste chroniques ---------- */
.chronique-list { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
.chronique {
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: 1.7rem 1.7rem 1.5rem;
  display: grid;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.chronique:hover { transform: translate(-4px, -4px); box-shadow: 7px 7px 0 var(--green); }
.chronique__meta {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.chronique__meta .rubrique { color: var(--red); }
.chronique h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.chronique p { font-size: 0.98rem; }

/* ---------- Piliers manifeste ---------- */
.piliers { display: grid; gap: 0; margin-top: 2.5rem; border-top: 3px solid currentColor; }
.pilier {
  display: grid;
  grid-template-columns: minmax(70px, 110px) 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 2.2rem 0;
  border-bottom: 3px solid currentColor;
}
.pilier__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
}
.pilier h3 { margin-bottom: 0.7rem; }
.pilier p { max-width: 58ch; }
@media (max-width: 560px) { .pilier { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ---------- Activités communauté ---------- */
.activites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.activite {
  border: 3px solid var(--paper);
  padding: 1.8rem 1.6rem;
}
.activite h3 { color: var(--gold); margin-bottom: 0.8rem; }
.activite p { font-size: 0.98rem; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.1rem; max-width: 560px; margin-top: 2rem; }
.form label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: grid;
  gap: 0.45rem;
}
.form input, .form textarea, .form select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }

/* ---------- Newsletter band ---------- */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  max-width: 620px;
}
.newsletter-form input {
  flex: 1 1 260px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  border: 3px solid var(--ink);
}

/* ---------- Pied de page ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad-x) 2rem;
}
.footer__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}
.footer p { font-size: 0.95rem; max-width: 40ch; }
.footer h4 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; display: grid; gap: 0.55rem; font-family: var(--font-ui); font-size: 0.92rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__bottom {
  max-width: 1120px;
  margin: 2.8rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(246, 239, 226, 0.25);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Illustration d'article ---------- */
.article-figure {
  margin: 0 0 2.4rem;
  border: 3px solid var(--ink);
}
.article-figure svg { display: block; width: 100%; height: auto; }
.article-figure figcaption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Bloc contraste Ils / Nous ---------- */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2rem 0;
  border: 3px solid var(--ink);
}
@media (max-width: 640px) { .versus { grid-template-columns: 1fr; } }
.versus__col { padding: 1.8rem 1.6rem; }
.versus__col--ils { background: var(--green); color: var(--paper); }
.versus__col--nous { background: var(--red); color: var(--paper); }
.versus__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.versus ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.98rem; }
.versus ul li { padding-left: 1.3rem; position: relative; }
.versus ul li::before { content: "—"; position: absolute; left: 0; opacity: 0.7; }

/* ---------- Page article ---------- */
.article-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.article-meta .rubrique { color: var(--gold); }
.article-body { max-width: 68ch; margin: 0 auto; }
.article-body h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  margin: 2.6rem 0 1rem;
}
.article-body p + p { margin-top: 1.1em; }
.article-body .chapo {
  font-size: 1.2rem;
  line-height: 1.65;
  font-style: italic;
  border-left: 4px solid var(--gold);
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}
.check-list, .cross-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 1.4rem 0;
}
.check-list li, .cross-list li {
  position: relative;
  padding-left: 2.2rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.05rem;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--paper);
  background: var(--green);
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  font-size: 0.85rem;
}
.cross-list li::before {
  content: "✕";
  position: absolute;
  left: 0; top: 0.05rem;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--paper);
  background: var(--red);
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  font-size: 0.8rem;
}
.callout {
  background: var(--paper-dim);
  border: 3px solid var(--ink);
  padding: 1.8rem 1.8rem;
  margin: 2.2rem 0;
}
.callout--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.callout h2 { margin-top: 0 !important; }
.callout ul { list-style: none; display: grid; gap: 0.6rem; margin: 1rem 0; }
.callout ul li { padding-left: 1.4rem; position: relative; }
.callout ul li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-family: var(--font-ui); font-weight: 700; }
.article-conclusion {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  border-top: 3px solid var(--ink);
  padding-top: 1.6rem;
  margin-top: 2.4rem;
}
.article-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 21, 17, 0.2);
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

/* ---------- Pensées (affiches typographiques) ---------- */
.pensees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.pensee {
  border: 3px solid var(--ink);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 340px;
}
.pensee--ink   { background: var(--ink);   color: var(--paper); }
.pensee--green { background: var(--green); color: var(--paper); }
.pensee--red   { background: var(--red);   color: var(--paper); }
.pensee--gold  { background: var(--gold);  color: var(--ink); }
.pensee__num {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}
.pensee__texte {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  flex: 1;
}
.pensee__texte em { font-style: italic; }
.pensee__chute {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 2px solid currentColor;
  padding-top: 1rem;
}

/* ---------- Vidéo intégrée ---------- */
.article-video {
  margin: 2.4rem 0;
  border: 3px solid var(--ink);
}
.article-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.article-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-video figcaption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Archive par mois + grille de cartes ---------- */
.mois {
  margin-top: 3.2rem;
}
.mois:first-of-type { margin-top: 2rem; }
.mois__titre {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.6rem;
  margin-bottom: 1.8rem;
}
.mois__titre h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
}
.mois__compte {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-left: auto;
  white-space: nowrap;
}

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.4rem;
}
.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.5rem 1.4rem 1.3rem;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.carte::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: var(--green);
}
.carte--red::before   { background: var(--red); }
.carte--gold::before  { background: var(--gold); }
.carte--ink::before   { background: var(--ink); }
.carte--green::before { background: var(--green); }
.carte:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--ink); }

.carte__img {
  display: block;
  width: calc(100% + 2.8rem);
  margin: -1.5rem -1.4rem 1rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  border-bottom: 2px solid var(--ink);
  background: #e9dfcc;
}

.carte__tag {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.carte__tag--red   { color: var(--red); }
.carte__tag--gold  { color: var(--gold-deep); }
.carte__tag--green { color: var(--green); }
.carte__tag--ink   { color: var(--ink); }

.carte h4 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.carte p {
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}
.carte__go {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.carte__badge {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--green);
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
}
.carte--bientot { opacity: 0.7; }
.carte--bientot .carte__badge { background: var(--gold-deep); }

/* ---------- Manifeste : résumé, sommaire, sections ---------- */
.resume {
  border: 3px solid currentColor;
  padding: 1.9rem 1.7rem;
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}
.resume p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.4;
  padding-left: 1.6rem;
  position: relative;
}
.resume p::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.55;
}

.sommaire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.7rem;
  margin-top: 2.2rem;
  list-style: none;
}
.sommaire a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.75rem 0.9rem;
  border: 2px solid currentColor;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.sommaire a:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 currentColor; }
.sommaire .num { opacity: 0.6; font-size: 0.8rem; }

.section-manifeste { scroll-margin-top: 80px; }

.refus-liste, .vision-liste {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0;
  max-width: 62ch;
}
.refus-liste li, .vision-liste li {
  padding-left: 1.9rem;
  position: relative;
  line-height: 1.55;
}
.refus-liste li::before {
  content: "✕";
  position: absolute; left: 0; top: 0.1rem;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem;
  color: var(--red);
}
.vision-liste li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.1rem;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem;
  color: var(--gold);
}

.pilier-bloc {
  display: grid;
  grid-template-columns: minmax(64px, 92px) 1fr;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding: 2rem 0;
  border-bottom: 2px solid currentColor;
}
.pilier-bloc:first-of-type { border-top: 2px solid currentColor; }
.pilier-bloc__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1;
  color: var(--gold);
}
.pilier-bloc h3 { margin-bottom: 0.7rem; }
.pilier-bloc p { max-width: 60ch; }
.pilier-bloc p + p { margin-top: 0.8em; }
@media (max-width: 560px) { .pilier-bloc { grid-template-columns: 1fr; gap: 0.5rem; } }

.appel-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin: 2rem 0;
  list-style: none;
}
.appel-actions li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 0.9rem 1rem;
  border: 2px solid currentColor;
  text-align: center;
}

/* ---------- Résumé + sommaire (manifeste) ---------- */
.resume {
  border-left: 6px solid var(--gold);
  padding-left: 1.6rem;
  max-width: var(--measure);
}
.resume p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  line-height: 1.45;
}
.resume p + p { margin-top: 0.9rem; }

.sommaire {
  border: 3px solid currentColor;
  padding: 1.8rem 1.7rem;
  margin-top: 2.6rem;
}
.sommaire__titre {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.sommaire ol {
  list-style: none;
  counter-reset: som;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.6rem 1.6rem;
}
.sommaire li { counter-increment: som; }
.sommaire a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  text-decoration: none;
  display: flex;
  gap: 0.6rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.sommaire a::before {
  content: counter(som, decimal-leading-zero);
  font-weight: 700;
  opacity: 0.55;
}
.sommaire a:hover { border-bottom-color: currentColor; }

.section-ancre,
#formulaire { scroll-margin-top: 90px; }

/* ---------- Préambule solennel ---------- */
.preambule { max-width: 72ch; }
.preambule__ouverture {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  line-height: 1.35;
  margin-bottom: 2.2rem;
}
.preambule__nous {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}
.preambule__clauses {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 2.2rem;
}
.preambule__clauses li {
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
  font-size: 1.02rem;
  line-height: 1.6;
}
.preambule__clauses li strong {
  font-weight: 700;
}
.preambule__declare {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  padding: 1.4rem 0;
  margin-bottom: 2.2rem;
}
.preambule__armes {
  display: grid;
  gap: 0.5rem;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.preambule__armes span strong { color: var(--gold); }
.preambule__chute {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.35;
}
.preambule__chute em { font-style: italic; }

/* ---------- Déclaration des principes ---------- */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.3rem;
  margin-top: 2.5rem;
}
.principe {
  border: 2px solid currentColor;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.principe__num {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.principe h4 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1.25;
}
.principe p {
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Charte d'engagement + serment ---------- */
.engagements {
  list-style: none;
  counter-reset: eng;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem 2rem;
  margin-top: 2.2rem;
}
.engagements li {
  counter-increment: eng;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.98rem;
  line-height: 1.55;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(246, 239, 226, 0.25);
}
.engagements li::before {
  content: counter(eng, decimal-leading-zero);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  flex: none;
  padding-top: 0.18rem;
}

.serment {
  border: 3px solid currentColor;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  margin-top: 2.6rem;
  max-width: 70ch;
}
.serment__titre {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.serment p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.45;
}
.serment p + p { margin-top: 0.8rem; }
.serment__final {
  font-style: italic;
  border-top: 2px solid currentColor;
  padding-top: 1.2rem;
  margin-top: 1.6rem !important;
}

/* ---------- Médias & revue de presse ---------- */
.revue { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.revue__item {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 1.4rem;
  align-items: start;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.revue__item:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--gold); }
.revue__source {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 0.15rem;
}
.revue__source span {
  display: block;
  color: var(--ink);
  opacity: 0.55;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  margin-top: 0.3rem;
}
.revue h4 {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.revue p { font-size: 0.95rem; line-height: 1.55; }
.revue__lien {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.7rem;
  display: inline-block;
}
@media (max-width: 640px) {
  .revue__item { grid-template-columns: 1fr; gap: 0.7rem; }
}

.medias {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.3rem;
  margin-top: 2.4rem;
}
.media {
  border: 2px solid currentColor;
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.14s ease;
}
.media:hover { transform: translateY(-4px); }
.media__nom {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
}
.media__lieu {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.media p { font-size: 0.92rem; line-height: 1.5; flex: 1; }
.media__url {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Réseaux sociaux (pied de page) ---------- */
.footer__social li a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer__social svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: currentColor;
  transition: fill 0.14s ease;
}
.footer__social li a:hover svg { fill: var(--gold); }

/* ---------- Boutons de partage ---------- */
.partage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.partage__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.partage__btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.partage__btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.partage__btn--wa { background: #1e5b3c; border-color: #1e5b3c; color: var(--paper); }
.partage__btn--wa:hover { box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Barre de réseaux flottante ---------- */
.rail {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-left: 0;
  box-shadow: 3px 3px 0 rgba(26, 21, 17, 0.3);
  overflow: hidden;
}
.rail a {
  display: flex;
  align-items: center;
  height: 46px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.rail a:last-child { border-bottom: 0; }
.rail__icone {
  width: 46px;
  flex: none;
  display: grid;
  place-items: center;
}
.rail__icone svg { width: 19px; height: 19px; fill: #fff; }
.rail__nom {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  padding-right: 0;
  transition: max-width 0.22s ease, opacity 0.18s ease, padding-right 0.22s ease;
}
.rail a:hover .rail__nom,
.rail a:focus-visible .rail__nom {
  max-width: 200px;
  opacity: 1;
  padding-right: 1rem;
}

.rail__fb { background: #1877f2; }
.rail__wa { background: #25d366; }
.rail__x  { background: #14171a; }
.rail__yt { background: #e62117; }

/* masquée sur les écrans étroits pour ne pas gêner la lecture */
@media (max-width: 1100px) {
  .rail { display: none; }
}

/* ---------- Bibliothèque ---------- */
.rayon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.1rem 2.2rem;
  margin-top: 2rem;
  align-items: start;
}
.livre {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.9rem;
  align-items: start;
  border-left: 4px solid var(--gold);
  padding: 0.7rem 0 0.7rem 1rem;
}
.livre__annee {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.6;
  padding-top: 0.22rem;
}
.livre__titre {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.28;
  text-wrap: balance;
}
.livre__titre em { font-style: italic; }
.livre__auteur {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0.22rem 0 0.35rem;
}
.livre p {
  font-size: 0.9rem;
  line-height: 1.5;
}
.livre a { color: inherit; }

.rayon--clair .livre { border-left-color: var(--gold); }
.rayon--clair .livre__auteur { color: var(--red); }
.panel--ink .livre__auteur,
.panel--green .livre__auteur,
.panel--red .livre__auteur { color: var(--gold); }
.panel--ink .livre,
.panel--green .livre,
.panel--red .livre { border-left-color: var(--gold); }

@media (max-width: 560px) {
  .livre { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ---------- Divers ---------- */
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
