/* ==========================================================================
   Lever l'Encre — feuille de style
   Fidèle à la maquette Claude Design « Lever l'encre ».
   ========================================================================== */

:root {
  --ink: #141312;
  --paper: #FAF9F6;
  --red: #B8262B;          /* rouge principal */
  --red-hover: #A11F25;    /* rouge survol */
  --red-mid: #D2453F;      /* guillemets / focus sur fond noir */
  --red-light: #E8726A;    /* rouge clair sur fond noir */
  --red-soft: #EC8279;     /* survols du pied de page */
  --text2: #3b3833;
  --meta: #5a5650;
  --rule: #d9d5cd;
  --field: #EEEBE5;
  --ph1: #ebe8e2;
  --ph2: #e2ded6;
  --dk1: #2b2927;
  --dk2: #252321;
  --on-dark: #cfcac2;
  --on-dark-meta: #a8a39b;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --stripes: repeating-linear-gradient(135deg, var(--ph1) 0 8px, var(--ph2) 8px 16px);
  --stripes-sm: repeating-linear-gradient(135deg, var(--ph1) 0 6px, var(--ph2) 6px 12px);
  --stripes-dark: repeating-linear-gradient(135deg, var(--dk1) 0 8px, var(--dk2) 8px 16px);
  --fade: linear-gradient(to top, rgba(10, 9, 8, .92), rgba(10, 9, 8, 0));
}

@supports (color: oklch(0 0 0)) {
  :root {
    --red: oklch(0.52 0.2 27);
    --red-hover: oklch(0.46 0.19 27);
    --red-mid: oklch(0.62 0.2 27);
    --red-light: oklch(0.72 0.16 27);
    --red-soft: oklch(0.75 0.15 27);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--red); color: #fff; }
input::placeholder, textarea::placeholder { color: #8a857e; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--meta); }
.kicker-red { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--red); }
.small-meta { font-size: 12px; color: var(--meta); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip:focus { left: 16px; color: var(--paper); }

/* ---------- Pastilles & boutons ---------- */
.pill-outline {
  display: inline-block; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  padding: 8px 16px; font: 600 13px var(--sans);
}
.pill-outline:hover, .pill-outline[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.pill-outline--sm { padding: 7px 14px; }
.pill-red {
  background: var(--red); color: #fff; border-radius: 999px; padding: 8px 16px;
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pill-red:hover { background: var(--ink); color: #fff; }
.pill-white { border: 1px solid var(--paper); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.pill-redfill { background: var(--red); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.pill-sub { background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.pill-ink { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 10px; font-weight: 600; }
.pill-tab { white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.pill-tab.is-active { background: var(--ink); color: var(--paper); }
.pill-tab.is-active:hover { color: var(--paper); }

.btn-ink {
  display: block; margin-top: 22px; background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 13px; text-align: center; font-size: 14px; font-weight: 600;
}
.btn-ink:hover { background: var(--red); color: #fff; }
.btn-inline { display: inline-block; margin-top: 8px; padding: 13px 26px; }
.btn-red, .btn-ink-pill {
  align-self: flex-start; border: 0; border-radius: 999px; padding: 14px 28px;
  font: 700 14px var(--sans); cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ink-pill { background: var(--ink); color: var(--paper); }
.btn-ink-pill:hover { background: var(--red); }
.btn-red:disabled, .btn-ink-pill:disabled { opacity: .7; cursor: wait; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--ink); color: var(--paper); font-size: 12px; }
.topbar__inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 24px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
}
.topbar__date { font-weight: 600; min-height: 1.2em; }
.topbar__links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar a { color: var(--paper); }
.topbar a:hover { color: var(--red-light); }
.topbar__sep { width: 1px; height: 12px; background: #4a4743; }

/* ---------- En-tête ---------- */
.masthead__rule { height: 10px; margin-top: 18px; background: #000; }
.masthead__grid {
  display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center;
  gap: 18px; padding: 22px 0 20px; position: relative;
}
.masthead__left, .masthead__right { display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; }
.masthead__logo { order: -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; color: var(--ink); }
.masthead__logo:hover { color: var(--ink); }
.logo {
  font-family: var(--serif); font-weight: 900; font-size: clamp(52px, 7vw, 84px);
  line-height: .84; letter-spacing: -.03em; display: flex; flex-direction: column; align-items: center;
}
.masthead__tagline { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--meta); }

.slogan {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.2;
  color: var(--ink); border-left: 3px solid var(--red); padding-left: 12px; text-align: left;
}
.slogan span { color: var(--red); }

@media (min-width: 900px) {
  .masthead__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: stretch; text-align: left;
    gap: 20px; padding: 26px 0 22px;
  }
  .masthead__logo { order: 0; }
  .masthead__left { align-items: flex-start; }
  .masthead__right { align-items: flex-end; }
  .slogan { font-size: 22px; }
}

/* Recherche */
.search {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--field); border-radius: 8px; padding: 11px 14px; width: 100%; max-width: 280px;
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0;
  font: 14px var(--sans); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none;
}
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__btn {
  cursor: pointer; flex: none; width: 12px; height: 12px; padding: 0;
  border: 2px solid var(--ink); border-radius: 50%; background: transparent; position: relative;
}
.search__btn::after {
  content: ""; position: absolute; width: 5px; height: 2px; background: var(--ink);
  right: -5px; bottom: -3px; transform: rotate(45deg); border-radius: 1px;
}
.search__btn:hover { border-color: var(--red); }
.search__btn:hover::after { background: var(--red); }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 10px; padding: 6px;
  display: flex; flex-direction: column; text-align: left; box-shadow: 0 8px 24px rgba(20, 19, 18, .12);
}
.suggest a { padding: 9px 10px; border-radius: 6px; display: flex; flex-direction: column; gap: 2px; }
.suggest a:hover, .suggest a:focus { background: var(--field); color: var(--ink); }
.suggest__kicker { font-size: 11px; font-weight: 600; color: var(--red); }
.suggest__title { font-size: 13px; font-weight: 600; line-height: 1.3; }
.suggest__empty { padding: 9px 10px; font-size: 13px; color: var(--meta); }
.suggest a.suggest__all { border-top: 1px solid var(--rule); border-radius: 0 0 6px 6px; margin-top: 4px; font-size: 12px; font-weight: 600; }
.suggest a.suggest__all:hover { color: var(--red); }

/* Menu « Rejoindre la rédaction » */
.join { position: relative; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 900px) { .join { align-items: flex-end; } }
.join__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 230px; text-align: left;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 10px; padding: 6px;
  display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(20, 19, 18, .12);
}
.join__menu a { padding: 10px 12px; border-radius: 6px; display: flex; flex-direction: column; gap: 2px; }
.join__menu a:hover { background: var(--field); color: var(--ink); }
.join__menu strong { font-size: 14px; font-weight: 600; }
.join__menu span { font-size: 12px; color: var(--meta); }

/* Navigation des rubriques */
.mainnav { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; }
.mainnav a {
  display: block; padding: 15px 14px 12px; font-size: 14px; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.mainnav a.is-active { color: var(--red); border-bottom-color: var(--red); }
.mainnav__toggle { display: none; }

@media (max-width: 767px) {
  .js .mainnav__toggle {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    background: none; border: 0; padding: 14px 0; font: 600 14px var(--sans); color: var(--ink); cursor: pointer;
  }
  .burger { display: inline-flex; flex-direction: column; gap: 4px; }
  .burger i { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .mainnav.is-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mainnav.is-open .burger i:nth-child(2) { opacity: 0; }
  .mainnav.is-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .js .mainnav ul { display: none; flex-direction: column; gap: 0; padding-bottom: 6px; }
  .js .mainnav.is-open ul { display: flex; }
  .js .mainnav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .js .mainnav li:last-child a { border-bottom: 0; }
  .js .mainnav a.is-active { border-bottom-color: var(--rule); box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
}

/* Sous-navigation en pastilles */
.subnav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}

/* ---------- Éléments d'articles ---------- */
.card { position: relative; }
.stretch { color: inherit; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title, .card:hover .card__title a { color: var(--red); }
.card:has(.stretch:focus-visible), .dcard:has(.stretch:focus-visible), .edito-main:has(.stretch:focus-visible) {
  outline: 2px solid var(--red); outline-offset: 4px;
}
.stretch:focus-visible { outline: none; }

.media { position: relative; overflow: hidden; border-radius: 8px; background: var(--stripes); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--43 { aspect-ratio: 4 / 3; border-radius: 10px; }
.media--1610 { aspect-ratio: 16 / 10; }
.media--169 { aspect-ratio: 16 / 9; border-radius: 10px; }
.media--thumb { flex: none; width: 96px; height: 72px; border-radius: 6px; background: var(--stripes-sm); }

.meta-line { font-size: 11px; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-line--12 { font-size: 12px; padding-top: 4px; }
.meta-line .k { color: var(--red); font-weight: 600; }
.meta-line .d { color: var(--meta); }

.chapo { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.45; color: var(--text2); text-wrap: pretty; max-width: 680px; }

.avatar {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--rule); color: var(--text2);
  font-family: var(--sans); font-weight: 700; letter-spacing: .02em; line-height: 1;
}
.avatar--dark { background: var(--meta); color: var(--paper); }
.avatar--44 { width: 44px; height: 44px; background: var(--ph2); font-size: 15px; }
.avatar--52 { width: 52px; height: 52px; background: var(--ph2); font-size: 17px; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; }
.byline strong { font-weight: 600; }
.byline--14 { font-size: 14px; }
.byline--14 strong { font-weight: 700; }
.author { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }

/* Cartes sombres (photo + titre en surimpression) */
.dcard {
  position: relative; border-radius: 10px; overflow: hidden; color: var(--paper);
  background: var(--stripes-dark); background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.dcard[style] { background-color: var(--dk2); }
/* Sur une vraie photo, le dégradé démarre plus haut pour garder le titre lisible. */
.dcard[style] .dcard__body {
  padding-top: 72px !important;
  background: linear-gradient(to top, rgba(10, 9, 8, .94) 0%, rgba(10, 9, 8, .82) 55%, rgba(10, 9, 8, 0) 100%);
}
.dcard a, .dcard a:hover { color: inherit; }
.dcard__body { background: var(--fade); display: flex; flex-direction: column; color: var(--paper); }
.dcard__chapo { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.45; color: #d6d1c9; max-width: 620px; }

/* ---------- Accueil ---------- */
.home-intro {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px;
  padding: 34px 0 16px; border-bottom: 1px solid var(--rule);
}
.home-intro__tabs { display: flex; gap: 14px; font-size: 14px; font-weight: 500; }
.home-intro__tabs .is-red { color: var(--red); }
.vsep { width: 1px; background: var(--rule); }
.home-intro__spacer { display: block; height: clamp(36px, 4.5vw, 56px); }

.lead { display: flex; flex-wrap: wrap; gap: 28px; padding: 28px 0 52px; }
.hero { flex: 2 1 560px; min-width: 0; min-height: 480px; }
.hero .dcard__body { padding: clamp(22px, 3vw, 36px); gap: 14px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; text-wrap: balance; }
.hero__chapo { margin: 0; font-family: var(--text); font-size: 19px; line-height: 1.45; color: #d6d1c9; max-width: 640px; text-wrap: pretty; }
.byline__soft { color: var(--on-dark-meta); }

.mostread { flex: 1 1 300px; min-width: 0; }
.mostread ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mostread li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: flex-start; }
.mostread__num {
  flex: none; width: 92px; height: 66px; border-radius: 6px; background: var(--stripes-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--red);
}
.mostread__body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mostread__title { font-size: 15px; line-height: 1.32; font-weight: 600; text-wrap: pretty; }

.block { padding-bottom: 56px; }
.block--60 { padding-bottom: 60px; }
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.sec-head--tight { margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.sec-head__title { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 700; white-space: nowrap; line-height: 1.2; }
.sec-head__line { flex: 1; min-width: 12px; height: 1px; background: var(--red); }

.split { display: flex; flex-wrap: wrap; gap: 32px; }
.split--28 { gap: 28px; }
.split--stretch { align-items: stretch; }
.feature { flex: 1.1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.feature__title { margin: 0; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.12; font-weight: 700; text-wrap: pretty; }
.stack { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; }
.row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row__title { font-size: 17px; line-height: 1.3; font-weight: 600; text-wrap: pretty; }

.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 40px; padding-bottom: 60px; }
.pair__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pair__head { display: flex; align-items: center; gap: 16px; }
.pair__title { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 700; white-space: nowrap; line-height: 1.2; }
.more { font-size: 13px; font-weight: 600; white-space: nowrap; }
.ocard { aspect-ratio: 16 / 10; }
.ocard .dcard__body { padding: 22px; gap: 8px; }
.ocard__meta { font-size: 12px; color: #c9c4bc; }
.ocard__title { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.15; font-weight: 700; text-wrap: pretty; }
.badge-sub {
  position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; border-radius: 4px;
  padding: 4px 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.line-item { display: flex; flex-direction: column; gap: 5px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.line-item__title { font-size: 17px; line-height: 1.3; font-weight: 600; }

.sec-top { border-top: 1px solid var(--ink); padding: 22px 0 60px; }
.sec-top__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.sec-top__title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(38px, 4.5vw, 54px); line-height: 1.1; }

.edito-main {
  position: relative; flex: 2 1 520px; min-width: 0; background: var(--ink); color: var(--paper);
  border-radius: 10px; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px;
}
.edito-main a, .edito-main a:hover { color: inherit; }
.edito-main__q { font-family: var(--serif); font-size: 110px; line-height: .6; color: var(--red-mid); height: 48px; }
.edito-main__title { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 700; text-wrap: balance; }
.edito-main p { margin: 0; font-family: var(--text); font-size: 19px; line-height: 1.5; color: var(--on-dark); max-width: 680px; }
.edito-main__sig { font-size: 13px; font-weight: 600; color: var(--red-light); }
.edito-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--red); padding-top: 18px; }
.edito-side__title { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.15; font-weight: 700; }
.edito-side__sig { font-size: 13px; font-weight: 600; color: var(--red); }

.inv-main { flex: 2 1 520px; min-width: 0; min-height: 460px; justify-content: space-between; }
.inv-main__top { padding: 22px 26px; font-size: 12px; display: flex; gap: 10px; background: linear-gradient(to bottom, rgba(10, 9, 8, .45), rgba(10, 9, 8, 0)); }
.inv-main__top strong { font-weight: 700; }
.inv-main .dcard__body { padding: clamp(22px, 3vw, 32px); gap: 12px; }
.inv-main__title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; text-wrap: balance; }
.inv-main__author { font-size: 13px; font-weight: 600; }
.inv-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.inv-side__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 28px 22px; }
.grid-cards--260 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.ccard { display: flex; flex-direction: column; gap: 10px; }
.ccard__title { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 700; text-wrap: pretty; }
.ccard__title--20 { font-size: 20px; }

/* États vides */
.empty { padding: 72px 0 96px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.empty h1, .empty h2 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; text-wrap: balance; }
.empty p { margin: 0; max-width: 560px; font-family: var(--text); font-size: 19px; line-height: 1.5; color: var(--text2); }
.empty p a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.list-empty { margin: 28px 0; font-family: var(--text); font-size: 20px; line-height: 1.5; color: var(--text2); }
.list-empty a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages rubrique, listes, recherche ---------- */
.rub-head {
  padding: 44px 0 26px; border-bottom: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.rub-head h1 { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(48px, 7vw, 88px); line-height: .95; font-weight: 600; }
.list { padding: 12px 0 64px; display: flex; flex-direction: column; }
.list--flush { padding: 0; }
.litem { display: flex; flex-wrap: wrap; gap: 20px 32px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.litem__media { flex: 0 1 300px; }
.litem__body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.litem__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; }
.litem__meta .k { color: var(--red); font-weight: 600; }
.litem__meta .d { color: var(--meta); }
.litem__title { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 700; text-wrap: pretty; }
.litem__title--sm { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.litem__media--sm { flex-basis: 260px; }
.litem .byline { font-size: 13px; }
.taglist { display: flex; flex-wrap: wrap; gap: 6px; }
.taglist span { font-size: 11px; color: var(--meta); background: var(--field); border-radius: 999px; padding: 3px 9px; }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 0 0 64px; }
.pager__info { font-size: 13px; color: var(--meta); }

.search-head { padding: 44px 0 26px; border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.search-head h1 { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 6vw, 72px); line-height: 1; font-weight: 600; overflow-wrap: anywhere; }
.search-head__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.taglinks { display: contents; }
.taglinks a { border: 1px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 500; }
.taglinks a:hover { border-color: var(--red); color: var(--red); }
.taglinks a.is-active { background: var(--ink); color: var(--paper); }

/* ---------- Article ---------- */
.art__head { max-width: 820px; margin: 0 auto; padding: 44px 0 32px; display: flex; flex-direction: column; gap: 20px; }
.art__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-rub { border: 1px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; }
.pill-rub:hover { background: var(--ink); color: var(--paper); }
.pill-subred { background: var(--red); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
.pill-subred:hover { background: var(--red-hover); color: #fff; }
.art__title { margin: 0; font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); line-height: 1.06; font-weight: 700; text-wrap: balance; }
.art__chapo { margin: 0; font-family: var(--text); font-size: 23px; line-height: 1.42; color: var(--text2); font-style: italic; text-wrap: pretty; }
.art__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 18px; font-size: 14px; padding-top: 6px; }
.art__figure { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.art__figure figcaption { font-size: 12px; color: var(--meta); }

.prose { max-width: 680px; margin: 0 auto; padding: 40px 0 56px; font-family: var(--text); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 22px; }
.prose p, .prose li { font-size: 20px; line-height: 1.65; text-wrap: pretty; }
.prose h2 { margin-top: 44px; font-family: var(--serif); font-size: 30px; line-height: 1.15; font-weight: 700; }
.prose h3 { margin-top: 36px; font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 700; }
.prose h4 { margin-top: 30px; font-family: var(--sans); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-hover); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { font-weight: 600; }
.prose img { width: 100%; height: auto; border-radius: 10px; }
.prose blockquote { margin: 36px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.prose blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 80px; line-height: .5; height: 34px; color: var(--red); }
.prose blockquote p { font-family: var(--serif); font-size: 30px; line-height: 1.2; font-weight: 600; }
.prose blockquote p + p { margin-top: 10px; font-family: var(--sans); font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--meta); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.prose figure { margin: 30px 0 0; }
.prose figcaption { font-family: var(--sans); font-size: 12px; color: var(--meta); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.prose .art__bio {
  margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--ink);
  font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--text2);
}
.prose .art__bio strong { font-weight: 700; color: var(--ink); }

.related { border-top: 1px solid var(--ink); padding: 22px 0 60px; }
.related h2 { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 36px; }

.simple-page { max-width: 680px; margin: 0 auto; padding: 52px 0 24px; }
.simple-page h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; font-weight: 700; }
.prose--page { padding-top: 28px; }
.prose--page p, .prose--page li { font-size: 18px; }
.prose--page h2 { font-size: 26px; }

/* ---------- Le journal ---------- */
.about { padding: 52px 0 72px; display: flex; flex-direction: column; align-items: center; }
.about__col { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 22px; font-family: var(--text); font-size: 20px; line-height: 1.65; }
.about__col p { margin: 0; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.about__head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 12px; }
.about__head h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5.5vw, 64px); line-height: 1.02; font-weight: 700; text-wrap: balance; }
.quote { margin: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.quote__mark { font-family: var(--serif); font-size: 80px; line-height: .5; height: 34px; color: var(--red); }
.quote__text { font-family: var(--serif); font-size: 32px; line-height: 1.2; font-weight: 600; font-style: italic; }
.quote__src { font-family: var(--sans); font-size: 13px; color: var(--meta); }
.signed { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--rule); padding-top: 28px; }
.signed--end { gap: 22px; border-top: 3px solid var(--ink); }
.signed__who { display: flex; align-items: center; gap: 14px; }
.signed__id { display: flex; flex-direction: column; gap: 2px; font-family: var(--sans); }
.signed__name { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.3; }
.signed__role { font-size: 13px; font-weight: 600; color: var(--red); line-height: 1.3; }

.news { padding: 44px 0 64px; display: flex; flex-direction: column; gap: 22px; }
.news .sec-head { margin-bottom: 0; }
.news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 32px; }
.news__item { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rule); padding-top: 16px; }
.news__meta { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.news__title { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.18; font-weight: 700; text-wrap: pretty; }
.news__text { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.5; color: var(--text2); text-wrap: pretty; white-space: pre-line; }

.team { padding: 44px 0 64px; display: flex; flex-direction: column; gap: 18px; }
.team__title { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 36px; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px 32px; }
.team__member { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--rule); padding-top: 14px; }
.team__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.team__id { display: flex; flex-direction: column; gap: 3px; }
.team__name { font-size: 17px; font-weight: 600; }
.team__role { font-size: 13px; font-weight: 600; color: var(--red); }
.team__univ { font-size: 13px; color: var(--meta); }
.team__cta { margin: 18px 0 0; font-family: var(--text); font-size: 19px; color: var(--text2); }
.team__cta a { color: var(--red); font-family: var(--sans); font-size: 15px; font-weight: 600; }

/* Contact */
.contact { padding: 44px 0 72px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.contact__info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact__info h1 { margin: 0; font-family: var(--serif); font-size: 48px; line-height: 1; font-weight: 700; }
.contact__item { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--rule); padding-top: 12px; }
.contact__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--meta); line-height: 1.5; }
.contact__mail { font-family: var(--text); font-size: 21px; overflow-wrap: anywhere; }
.contact__social { display: flex; gap: 20px; font-size: 14px; font-weight: 600; padding-top: 6px; }
.darkcard {
  flex: 1.3 1 420px; min-width: 0; background: var(--ink); color: var(--paper); border-radius: 12px;
  padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 20px;
}
.darkcard h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 700; }
.darkcard > p { margin: 0; font-size: 14px; line-height: 1.55; color: #bdb8b0; }

/* Formulaires */
.form { display: flex; flex-direction: column; gap: 14px; }
.darkcard .form { gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.form-grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.field-dark {
  width: 100%; background: #26241f; border: 1px solid #3a3733; border-radius: 8px; color: var(--paper);
  padding: 13px 14px; font: 15px var(--sans); outline: none;
}
.field-dark:focus { border-color: var(--red-mid); }
textarea.field-dark, textarea.field { resize: vertical; }
.label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text2); }
.field {
  width: 100%; background: #fff; border: 1px solid var(--rule); border-radius: 8px; color: var(--ink);
  padding: 12px 14px; font: 400 15px var(--sans); outline: none;
}
.field:focus { border-color: var(--red); }
.field--select {
  -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141312' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-msg { margin: 0; font-size: 14px; color: var(--red); }
.form-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-alt { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--meta); }
.form-alt a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.darkcard .form-alt { color: var(--on-dark-meta); }
.darkcard .form-alt a { color: var(--paper); }
.darkcard .form-alt a:hover { color: var(--red-light); }
.form-msg--dark { color: var(--red-soft); }
.form-ok { padding: 24px 0; font-family: var(--serif); font-size: 24px; line-height: 1.35; outline: none; }

/* Courrier des lecteurs */
.courrier { padding: 44px 0 72px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.courrier__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.courrier__intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.5vw, 48px); line-height: 1.02; font-weight: 700; }
.courrier__intro p { margin: 0; font-family: var(--text); font-size: 19px; line-height: 1.5; color: var(--text2); text-wrap: pretty; }
.courrier__form { flex: 1.5 1 460px; min-width: 0; border-top: 3px solid var(--red); padding-top: 22px; }
.letters { border-top: 1px solid var(--ink); padding: 28px 0 72px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Pied de page ---------- */
.footer-wrap { padding-bottom: 24px; }
.footer { background: var(--ink); color: var(--paper); border-radius: 16px; padding: clamp(26px, 4vw, 44px); }
.footer__top { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-bottom: 32px; }
.footer__brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer a { color: var(--on-dark); }
.footer a:hover { color: var(--red-soft); }
.footer .footer__logo { font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: .9; letter-spacing: -.02em; color: var(--paper); }
.slogan--dark { font-size: 20px; line-height: 1.25; color: var(--paper); border-left-color: var(--red-mid); }
.slogan--dark span { color: var(--red-soft); }
.footer__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--on-dark-meta); max-width: 300px; }
.footer .footer__mail { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--paper); text-decoration: underline; text-decoration-color: var(--red-mid); text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer .footer__mail:hover { color: var(--red-soft); }
.footer__col { flex: 0 1 auto; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h2 { margin: 0 0 4px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__sub { margin-top: -2px; }
.footer .footer__sub a { color: var(--on-dark-meta); padding-left: 14px; font-size: 13px; }
.footer .footer__sub a:hover { color: var(--red-soft); }
.footer__bottom {
  padding-top: 18px; border-top: 1px solid #3a3733; font-size: 12px; color: #8a857e;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
.footer .footer__bottom a { color: #8a857e; }
.footer .footer__bottom a:hover { color: var(--red-soft); }

/* ---------- Petits écrans ---------- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar__inner { padding: 10px 16px; }
  .home-intro { padding-top: 24px; }
  .home-intro__spacer { display: none; }
  .lead { padding: 22px 0 44px; gap: 22px; }
  .hero { min-height: 420px; }
  .sec-head { gap: 12px; }
  .sec-head__title { font-size: 26px; }
  .pair { gap: 40px; }
  .pair__head { gap: 12px; }
  .pair__title { font-size: 24px; }
  .ocard__title { font-size: 21px; }
  .mostread__num { width: 72px; height: 56px; font-size: 22px; }
  .litem { padding: 22px 0; }
  .litem__media { flex-basis: 100%; }
  .inv-main { min-height: 400px; }
  .inv-main__top { padding: 18px 20px; }
  .edito-main__q { font-size: 90px; height: 40px; }
  .art__head { padding-top: 32px; }
  .art__chapo { font-size: 20px; }
  .prose p, .prose li { font-size: 19px; }
  .prose blockquote p { font-size: 26px; }
  .about__col { font-size: 18px; }
  .about__col p { text-align: left; }
  .quote__text { font-size: 27px; }
  .contact__info h1 { font-size: 40px; }
  .footer-wrap { padding-bottom: 16px; }
  .footer .footer__logo { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
