/* La Une : feuille commune du site margothaddad.com
   Grammaire de quotidien : filets, colonnes, hiérarchie typographique.
   Rouge et bleu nuit repris du drapeau de la couverture du livre, en accent seulement */

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

:root {
  --paper: #f4f0e6;
  --paper-deep: #ebe5d7;
  --ink: #1b1916;
  --ink-2: #3b3732;
  --ink-3: #5a544c;
  --rule: #1b1916;
  --rule-soft: #c9c1b1;
  --red: #a3212b;
  --navy: #1e2b5e;
  --display: "Playfair Display", "Times New Roman", serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --measure: 1240px;
  --gutter: 16px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 760px) { body { font-size: 18px; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:not(.btn):not(.skip):hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
strong { font-weight: 600; }
em { font-style: italic; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
}
.skip:focus { left: 16px; z-index: 10; }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 760px) { :root { --gutter: 32px; } }

/* ============ Rubriques en petites capitales ============ */
.rubrique {
  font-family: var(--text);
  font-variant-caps: all-small-caps;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--red);
}
.rubrique--ink { color: var(--ink); }
.meta {
  font-variant-caps: all-small-caps;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* ============ Bandeau de titre ============ */
.masthead { padding-top: 14px; }
.masthead__ears {
  display: none;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 10px;
}
.ear {
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 230px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ear a { text-decoration: none; }
.ear a:hover { text-decoration: underline; }
.ear--right { justify-self: end; text-align: right; }
.ear b { display: block; font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-weight: 600; color: var(--red); }

.masthead__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-align: center;
  padding: 6px 0 12px;
}
.masthead__title a { text-decoration: none; color: inherit; }
.masthead__title a:hover { color: inherit; }

.masthead__line {
  border-top: 3px double var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 18px;
  padding: 6px 0;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  font-size: 16px;
  color: var(--ink-2);
}
.masthead__line .place { color: var(--ink); font-weight: 600; }
.masthead__line .today:empty { display: none; }

.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch button {
  font: inherit;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  background: none;
  border: 0;
  color: var(--ink-3);
  padding: 4px 8px;
  min-height: 32px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* bandeau compact des pages intérieures */
.masthead--compact .masthead__title { padding: 4px 0 10px; }

@media (min-width: 900px) {
  .masthead--full .masthead__ears { display: grid; }
}

/* ============ Rubriques de navigation ============ */
.sections {
  border-bottom: 1px solid var(--rule);
}
.sections ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 4px;
  padding: 4px 0;
}
.sections a {
  display: inline-block;
  padding: 8px 9px;
  min-height: 40px;
  text-decoration: none;
  font-variant-caps: all-small-caps;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.sections a:hover { color: var(--red); }
.sections a.is-active, .sections a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (max-width: 520px) {
  .sections ul { gap: 0; }
  .sections a { padding: 8px 7px; font-size: 16px; letter-spacing: 0.04em; }
}

/* ============ Titres ============ */
.kicker { margin-bottom: 8px; }
.headline {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-size: 38px;
}
.headline--m { font-size: 30px; font-weight: 700; line-height: 1.1; }
.headline--s { font-size: 24px; font-weight: 700; line-height: 1.15; }
.deck {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.3;
  color: var(--ink-2);
  margin-top: 10px;
}
.chapeau {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 16px;
}
@media (min-width: 760px) { .chapeau { font-size: 21px; } }
.byline { margin-top: 14px; }

/* ============ Colonnes de texte ============ */
.cols p + p, .prose p + p { margin-top: 0.9em; }
.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin: 1.6em 0 0.5em;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  break-after: avoid;
}
.prose h3 {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 18px;
  color: var(--red);
  margin: 1.4em 0 0.4em;
  break-after: avoid;
}
.prose ul { margin: 0.6em 0 0.9em; padding-left: 1.1em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--red); }
.prose > :first-child { margin-top: 0; }

@media (min-width: 900px) {
  .cols-2 { column-count: 2; column-gap: 40px; column-rule: 1px solid var(--rule-soft); }
  .cols-3 { column-count: 3; column-gap: 36px; column-rule: 1px solid var(--rule-soft); }
  .cols-2 h2:first-child, .cols-3 h2:first-child { margin-top: 0; }
}
.dropcap::first-letter {
  font-family: var(--display);
  font-weight: 800;
  float: left;
  font-size: 4.1em;
  line-height: 0.82;
  padding: 6px 8px 0 0;
  color: var(--ink);
}

/* ============ Boutons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-variant-caps: all-small-caps;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.btn--line { background: var(--paper); color: var(--ink); }
.btn--line:hover { background: var(--paper); color: var(--navy); border-color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 22px; }
.more { font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-weight: 600; font-size: 16px; color: var(--red); }
.more:hover { color: var(--navy); }

/* ============ Photo de presse ============ */
.photo figcaption {
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink-2);
  padding-top: 8px;
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 8px;
}
.photo .credit {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  white-space: nowrap;
}
.photo img { width: 100%; background: var(--paper-deep); }

/* ============ La Une (accueil) ============ */
.une { padding-top: 22px; padding-bottom: 8px; }
.une__top { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .une__top { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 0; }
  .une__top > * + * { border-left: 1px solid var(--rule); padding-left: 32px; }
  .une__top > :first-child { padding-right: 32px; }
}
.manchette__body { display: grid; gap: 22px; margin-top: 22px; }
@media (min-width: 640px) {
  .manchette__body { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
}
.manchette__cover img { width: 100%; border: 1px solid var(--rule-soft); }
@media (max-width: 639px) { .manchette__cover { max-width: 230px; } }
.manchette__cover figcaption { font-size: 16px; color: var(--ink-3); padding-top: 6px; }
.manchette__text { font-size: 18px; }
@media (min-width: 1100px) {
  .manchette__text { column-count: 2; column-gap: 28px; column-rule: 1px solid var(--rule-soft); }
}
.manchette__text .actions { break-inside: avoid; }
.facts-line { margin-top: 12px; }

.une__side .intro { margin-top: 14px; font-size: 18px; }

.une__band {
  margin-top: 30px;
  border-top: 3px double var(--rule);
  display: grid;
  gap: 0;
}
.une__band > section { padding: 18px 0 22px; border-bottom: 1px solid var(--rule-soft); }
@media (min-width: 760px) {
  .une__band { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1100px) {
  .une__band { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .une__band > section { border-bottom: 0; padding: 18px 22px 8px; }
  .une__band > section + section { border-left: 1px solid var(--rule-soft); }
  .une__band > section:first-child { padding-left: 0; }
  .une__band > section:last-child { padding-right: 0; }
}
.une__band h2 { margin: 6px 0 10px; }
.brief { list-style: none; }
.brief li { padding: 9px 0; border-bottom: 1px solid var(--rule-soft); font-size: 16px; line-height: 1.45; }
.brief li:last-child { border-bottom: 0; }
.brief .src { display: block; font-variant-caps: all-small-caps; letter-spacing: 0.04em; color: var(--ink-3); font-size: 16px; }
.brief a { text-decoration: none; }
.brief a:hover { text-decoration: underline; }
.brief strong { font-family: var(--display); font-weight: 700; font-size: 18px; }

.slot {
  font-family: var(--display);
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.slot small { font-size: 24px; font-weight: 700; }

.medias-line {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin: 20px 0 8px;
  text-align: center;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
  font-size: 16px;
  color: var(--ink-2);
}
.medias-line span { color: var(--red); font-weight: 600; margin-right: 8px; }

/* ============ Pages intérieures ============ */
.page-head { padding: 26px 0 22px; border-bottom: 1px solid var(--rule); }
.page-head .chapeau { max-width: 820px; }
.page-body { padding: 26px 0 40px; }
.split { display: grid; gap: 30px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; }
  .split > :first-child { padding-right: 36px; }
  .split > * + * { border-left: 1px solid var(--rule); padding-left: 32px; }
}

/* encadré : filets haut et bas, sans fond */
.encadre { border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0 16px; margin: 24px 0; }
.encadre h2, .encadre h3 { margin-top: 0; border-top: 0; padding-top: 0; }

.citation {
  font-family: var(--display);
  font-style: italic;
  font-size: 23px;
  line-height: 1.4;
  padding: 16px 0;
  margin: 22px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.citation cite, .citation footer {
  display: block;
  margin-top: 10px;
  font-family: var(--text);
  font-style: normal;
  font-variant-caps: all-small-caps;
  letter-spacing: 0.6px;
  font-size: 16px;
  color: var(--ink-3);
}

/* fiche : liste de définitions en lignes filetées */
.fiche { display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--rule); }
.fiche dt, .fiche dd { padding: 8px 0; border-bottom: 1px solid var(--rule-soft); }
.fiche dt { font-variant-caps: all-small-caps; letter-spacing: 0.04em; color: var(--ink-3); padding-right: 18px; font-size: 16px; }
.fiche dd { font-weight: 600; }

/* tables en grille de programmes et archives */
.grille { width: 100%; border-collapse: collapse; margin: 8px 0 6px; }
.grille caption { text-align: left; padding-bottom: 8px; }
.grille th, .grille td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule-soft); }
.grille thead th { border-bottom: 1px solid var(--rule); font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-weight: 600; color: var(--ink-3); font-size: 16px; }
.grille tbody tr:first-child td, .grille tbody tr:first-child th { border-top: 3px double var(--rule); }
.grille .day { font-family: var(--display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.grille .hour { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--navy); white-space: nowrap; }
.grille .what strong { font-family: var(--display); font-size: 21px; }
@media (max-width: 640px) {
  .grille--stack thead { display: none; }
  .grille--stack tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
  .grille--stack tbody tr:first-child { border-top: 3px double var(--rule); }
  .grille--stack td, .grille--stack th { border: 0 !important; padding: 2px 0; }
  .grille--stack .what, .grille--stack .wide { grid-column: 1 / -1; }
}

/* archives d'interviews */
.archive { margin-top: 30px; }
.archive:first-child { margin-top: 0; }
.archive h3 { padding-bottom: 6px; border-bottom: 3px double var(--rule); }
.archive ol { list-style: none; }
.archive li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}
@media (min-width: 760px) {
  .archive li { grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 7em 9.5em; align-items: baseline; }
}
.archive .who { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; }
.archive .role { color: var(--ink-2); }
.archive .src { font-variant-caps: all-small-caps; letter-spacing: 0.04em; color: var(--ink-3); font-size: 16px; }
.archive .go { font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-weight: 600; color: var(--red); }
.archive .go:hover { color: var(--navy); }

/* revue de presse */
.revue { list-style: none; display: grid; border-top: 3px double var(--rule); }
@media (min-width: 900px) {
  .revue { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0; }
  .revue li:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--rule-soft); }
  .revue li:nth-child(even) { padding-left: 28px; }
}
.revue li { padding: 16px 0 18px; border-bottom: 1px solid var(--rule-soft); }
.revue .outlet { display: block; font-variant-caps: all-small-caps; letter-spacing: 0.04em; font-weight: 700; color: var(--red); font-size: 16px; }
.revue .date { font-weight: 400; color: var(--ink-3); }
.revue a { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.3; text-decoration: none; margin-top: 4px; }
.revue a:hover { text-decoration: underline; color: var(--navy); }

.bios { display: grid; gap: 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .bios { grid-template-columns: 1fr 1fr; }
  .bios > :first-child { padding-right: 28px; border-right: 1px solid var(--rule-soft); }
  .bios > * + * { padding-left: 28px; }
}
.bios > div { padding-top: 12px; padding-bottom: 16px; }

/* double page de critique */
.double { display: grid; gap: 30px; }
@media (min-width: 960px) {
  .double { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; }
  .double > :first-child { padding-right: 36px; }
  .double > * + * { border-left: 1px solid var(--rule); padding-left: 36px; }
}
.cover-big img { width: 100%; max-width: 420px; border: 1px solid var(--rule-soft); }
.cover-big { margin-bottom: 22px; }
.names { list-style: none; columns: 2; column-gap: 24px; margin-top: 6px; }
.names li { padding: 6px 0; border-bottom: 1px solid var(--rule-soft); break-inside: avoid; }

/* questions */
.faq details { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-family: var(--text); color: var(--red); font-size: 21px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 16px; }

/* lire aussi */
.lire-aussi { list-style: none; display: grid; border-top: 3px double var(--rule); }
@media (min-width: 760px) {
  .lire-aussi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lire-aussi li + li { border-left: 1px solid var(--rule-soft); padding-left: 22px; }
  .lire-aussi li { padding-right: 22px; }
}
.lire-aussi li { padding-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-soft); }
.lire-aussi a { text-decoration: none; display: block; }
.lire-aussi a:hover .t { text-decoration: underline; color: var(--navy); }
.lire-aussi .t { display: block; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; margin: 2px 0 4px; }
.lire-aussi .d { color: var(--ink-2); font-size: 16px; }

/* numérotation des thèmes de conférence */
.themes { list-style: none; counter-reset: t; border-top: 1px solid var(--rule); }
.themes li { counter-increment: t; display: grid; grid-template-columns: 2.4em 1fr; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.themes li::before { content: counter(t, decimal-leading-zero); font-family: var(--display); font-weight: 800; color: var(--red); }

.contact-mail {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.contact-mail:hover { text-decoration: underline; }

.empty { font-style: italic; color: var(--ink-2); padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* fil d'Ariane */
.ariane { padding-top: 14px; font-size: 16px; color: var(--ink-3); }
.ariane a { color: var(--ink-2); }

/* ============ Onglets de l'application d'accueil ============ */
.page { display: none; }
.page.is-active { display: block; }

/* ============ Pied de page ============ */
.colophon { margin-top: 30px; border-top: 3px double var(--rule); padding: 14px 0 34px; font-size: 16px; color: var(--ink-2); }
.colophon .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.colophon .loc { font-variant-caps: all-small-caps; letter-spacing: 0.04em; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print {
  .sections, .lang-switch, .actions { display: none; }
  body { background: #fff; }
}

/* sur les onglets intérieurs de l'application, le bandeau se réduit */
body:not([data-tab="accueil"]) .masthead--full .masthead__ears { display: none; }
body:not([data-tab="accueil"]) .masthead--full .masthead__title { padding: 4px 0 10px; }

@media (max-width: 599px) {
  .masthead__line { justify-content: center; text-align: center; gap: 0 14px; }
  .masthead__line .role { display: none; }
}
.prose .names { padding-left: 0; }
.prose .names li { margin: 0; }
.prose h2 + .citation { border-top: 0; padding-top: 4px; }
.prose .citation + h2 { border-top: 0; padding-top: 0; }
/* Playfair a des chiffres elzéviriens par défaut : « 20H » doit rester lisible */
body, .headline, .headline--m, .headline--s, .slot, .grille, .brief strong, .revue a, .lire-aussi .t, .themes li::before, .masthead__title { font-variant-numeric: lining-nums; }
@media (max-width: 959px) {
  /* en une colonne, le titre de la critique passe avant la couverture */
  .double > article { order: -1; }
  .page-head .photo { max-width: 300px; }
  .cover-big img { max-width: 300px; }
}

@media (min-width: 420px) { .masthead__title { font-size: 52px; } }
@media (min-width: 760px) { .masthead__title { font-size: 96px; } .headline { font-size: 56px; } .headline--m { font-size: 38px; } }
@media (min-width: 1100px) { .masthead__title { font-size: 132px; } .headline { font-size: 72px; } .headline--m { font-size: 44px; } }
.masthead--compact .masthead__title, body:not([data-tab="accueil"]) .masthead--full .masthead__title { font-size: 40px; }
@media (min-width: 760px) { .masthead--compact .masthead__title, body:not([data-tab="accueil"]) .masthead--full .masthead__title { font-size: 64px; } }
@media (min-width: 760px) { .deck { font-size: 28px; } .contact-mail { font-size: 44px; } }
