/* Stroza — site public */
:root {
  --rouge: #D7001F;
  --rouge-fonce: #A80018;
  --encre: #15171C;
  --texte: #2A2C31;
  --pierre: #6E6A68;
  --trait: #ECE6E2;
  --fond: #FFFFFF;
  --nude: #F8F3EF;      /* pied de page, zones calmes */
  --gres: #F5EAE5;      /* encadré « ce que l'on sait » : le grès de la cathédrale */
  --ok: #0F7B4F;   --ok-fond: #E3F2EA;
  --verif: #8A5000; --verif-fond: #FBEFD9;
  --maj: #1F5394;  --maj-fond: #E6EEF8;
  --titre: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --lecture: "Newsreader", Georgia, "Times New Roman", serif;
  --large: 1180px;
  color-scheme: light;
}
/* Clair par défaut, quel que soit le réglage de l'ordinateur ; sombre sur demande (bouton). */
:root[data-theme="dark"] {
  --rouge: #FF4458; --rouge-fonce: #FF7484; --encre: #F2EFEB; --texte: #D9D4CF; --pierre: #A39D97;
  --trait: #2F2C2A; --fond: #161514; --nude: #1D1B1A; --gres: #26201E;
  --ok: #5CC58F; --ok-fond: #15301F; --verif: #E6A94A; --verif-fond: #33260F; --maj: #82B1EC; --maj-fond: #172739;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.5 var(--titre); }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--encre); color: var(--fond); padding: 8px 12px; z-index: 10; }

.apercu { background: var(--encre); color: var(--fond); text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }

/* --------------------------------------------------------- en-tête ---- */
.masthead { border-bottom: 1px solid var(--trait); background: var(--fond); }
.masthead-actions { display: flex; align-items: center; gap: 10px; }
.theme {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--trait); background: var(--fond); color: var(--encre);
}
.theme:hover { border-color: var(--pierre); }
.theme svg { width: 18px; height: 18px; }
/* en clair : une lune (passer en sombre) ; en sombre : un soleil (revenir au clair) */
.theme .vers-clair { display: none; }
:root[data-theme="dark"] .theme .vers-sombre { display: none; }
:root[data-theme="dark"] .theme .vers-clair { display: block; }
.masthead-row, .rubriques, main, .pied { max-width: var(--large); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 12px; }
.logo { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--encre); }
/* le mot STROZA, dont le O est l'œil du logo */
.mot { display: inline-flex; align-items: center; font-weight: 900; font-size: 34px; letter-spacing: .01em; line-height: 1; }
.oeil { width: .8em; height: .8em; margin: 0 .03em; flex: none; }
.devise { font-weight: 600; font-size: 13.5px; color: var(--pierre); line-height: 1.2; }
.direct-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px;
  color: var(--rouge); border: 2px solid var(--rouge); border-radius: 999px; padding: 7px 14px; white-space: nowrap;
}
.direct-link:hover { background: var(--rouge); color: #fff; }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.direct-link .pulse, .fil h2 .pulse, .page-tete .pulse { color: var(--rouge); animation: pulse 1.8s ease-out infinite; }
.direct-link:hover .pulse { color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(215 0 31 / .55); } 100% { box-shadow: 0 0 0 9px rgb(215 0 31 / 0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none !important; } }

.rubriques { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 14px; }
.rubriques::-webkit-scrollbar { display: none; }
.rubriques a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--pierre); white-space: nowrap; padding: 4px 0; }
.rubriques a:hover, .rubriques a[aria-current="page"] { color: var(--encre); box-shadow: inset 0 -2px 0 var(--rouge); }

main { padding-top: 40px; padding-bottom: 72px; }

/* --------------------------------------------------------- éléments ---- */
.statut { display: inline-block; font: 700 13px/1 var(--titre); padding: 5px 8px; border-radius: 4px; white-space: nowrap; }
.statut-ok { background: var(--ok-fond); color: var(--ok); }
.statut-verif { background: var(--verif-fond); color: var(--verif); }
.statut-maj { background: var(--maj-fond); color: var(--maj); }
.rubrique-lien { font-weight: 700; font-size: 14px; color: var(--rouge); text-decoration: none; }
.rubrique-lien:hover { text-decoration: underline; }
time { font-variant-numeric: tabular-nums; }
.section-titre { font: 800 24px/1.2 var(--titre); letter-spacing: -.02em; color: var(--encre); margin: 0 0 8px; }

/* --------------------------------------------------------- la une ---- */
.une-grille { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr); gap: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--trait); }
.une-meta, .article-meta, .row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--pierre); font-size: 15px; }
.une-titre {
  font: 800 clamp(36px, 5.4vw, 66px)/1.02 var(--titre); letter-spacing: -.035em; color: var(--encre);
  margin: 16px 0 18px; max-width: 17ch; text-wrap: balance;
}
.une-titre a { text-decoration: none; }
.une-titre a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--rouge); }
.une-chapo { font: 400 22px/1.5 var(--lecture); color: var(--texte); margin: 0 0 24px; max-width: 60ch; }
.lire { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--rouge); text-underline-offset: 4px; }

/* bloc signature : ce que l'on sait / ce que l'on ne sait pas */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--gres); border-left: 5px solid var(--rouge); padding: 20px 24px; margin: 0 0 32px; }
.ledger-compact { grid-template-columns: 1fr; margin: 0; }
.ledger h2 { font: 800 16px/1.2 var(--titre); color: var(--encre); margin: 0 0 10px; }
.ledger ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ledger li { font: 400 17px/1.5 var(--lecture); color: var(--texte); padding-left: 18px; position: relative; }
.ledger li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--rouge); }
.ledger-pas li::before { background: transparent; border: 2px solid var(--pierre); width: 8px; height: 8px; }
.ref { display: inline-block; min-width: 20px; text-align: center; font: 700 11px/18px var(--titre); background: var(--fond); color: var(--encre); border-radius: 3px; margin-left: 3px; text-decoration: none; vertical-align: 1px; }
.ref:hover { background: var(--rouge); color: #fff; }

/* fil en direct (colonne) */
.fil { border-top: 3px solid var(--encre); padding-top: 14px; }
.fil h2 { margin: 0 0 6px; font: 800 20px/1 var(--titre); }
.fil h2 a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.fil-liste { list-style: none; margin: 0; padding: 0; }
.fil-liste li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.fil-liste time { font-weight: 700; color: var(--rouge); font-size: 15px; }
.fil-liste a { text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--encre); }
.fil-liste a:hover { text-decoration: underline; }
.fil-tout { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--rouge); }

/* -------------------------------------------------------- listes ---- */
.dernieres { padding-top: 40px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.row-time { font-weight: 700; font-size: 15px; color: var(--pierre); padding-top: 2px; }
.row-title { font: 700 22px/1.25 var(--titre); letter-spacing: -.015em; color: var(--encre); margin: 6px 0 6px; max-width: 34ch; }
.row-title a { text-decoration: none; }
.row-title a:hover { text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: 4px; }
.row-chapo { margin: 0; font: 400 17px/1.5 var(--lecture); color: var(--texte); max-width: 68ch; }

.rubriques-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 40px; padding-top: 48px; }
.rubrique-bloc h2 { margin: 0 0 8px; font: 800 20px/1.2 var(--titre); }
.rubrique-bloc h2 a { text-decoration: none; color: var(--encre); box-shadow: inset 0 -3px 0 var(--rouge); }
.rubrique-bloc ul { list-style: none; margin: 0; padding: 0; }
.rubrique-bloc li { padding: 10px 0; border-bottom: 1px solid var(--trait); }
.rubrique-bloc li a { display: block; text-decoration: none; font-weight: 600; line-height: 1.3; color: var(--encre); }
.rubrique-bloc li a:hover { text-decoration: underline; }
.rubrique-bloc time { font-size: 13px; color: var(--pierre); }

/* -------------------------------------------------------- article ---- */
.article { max-width: 760px; }
.article-tete h1 { font: 800 clamp(32px, 4.6vw, 52px)/1.06 var(--titre); letter-spacing: -.03em; color: var(--encre); margin: 14px 0 16px; text-wrap: balance; }
.chapo { font: 400 23px/1.5 var(--lecture); color: var(--texte); margin: 0 0 14px; }
.dates { color: var(--pierre); font-size: 15px; margin: 0 0 28px; }
.corps { font: 400 20px/1.7 var(--lecture); color: var(--texte); max-width: 66ch; }
.corps p { margin: 0 0 1.1em; }
.corps h2 { font: 800 24px/1.25 var(--titre); color: var(--encre); letter-spacing: -.02em; margin: 1.6em 0 .5em; }
.corps h3 { font: 700 20px/1.3 var(--titre); color: var(--encre); margin: 1.4em 0 .4em; }
.corps a { color: var(--rouge-fonce); text-underline-offset: 3px; }
.corps ul { padding-left: 1.2em; }
.texte .corps .statut { margin-right: 8px; vertical-align: 2px; }

.sources { margin-top: 40px; padding-top: 20px; border-top: 3px solid var(--encre); }
.sources h2 { font: 800 20px/1.2 var(--titre); margin: 0 0 12px; color: var(--encre); }
.sources ol { margin: 0; padding-left: 1.6em; display: grid; gap: 8px; font-size: 16px; }
.sources li::marker { font-weight: 700; color: var(--rouge); }
.sources li:target { background: var(--gres); }
.source-nom { font-weight: 700; color: var(--encre); }
.sources a { color: var(--texte); }
.note { color: var(--pierre); font-size: 15px; margin: 20px 0 0; }
.autres { max-width: 760px; }

/* ------------------------------------------------------- pages ---- */
.page-tete { padding-bottom: 12px; border-bottom: 3px solid var(--encre); margin-bottom: 8px; }
.page-tete h1 { display: flex; align-items: center; gap: 14px; font: 800 clamp(32px, 4.6vw, 52px)/1.05 var(--titre); letter-spacing: -.03em; color: var(--encre); margin: 0 0 8px; }
.page-tete p { margin: 0; color: var(--pierre); }
.nouveautes { margin-top: 14px; font: 700 15px var(--titre); background: var(--rouge); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }

.tl-jour h2 { font: 800 18px/1 var(--titre); color: var(--encre); margin: 36px 0 4px; }
.tl { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--trait); margin-left: 6px; }
.tl-item { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 18px 0 18px 22px; position: relative; border-bottom: 1px solid var(--trait); }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--fond); border: 2px solid var(--rouge); }
.tl-heure { font-weight: 800; color: var(--rouge); font-size: 17px; padding-top: 3px; }

.vide { padding: 64px 0; }
.vide h1 { font: 800 36px/1.1 var(--titre); color: var(--encre); margin: 0 0 8px; }

/* -------------------------------------------------------- pied ---- */
.pied-bande { background: var(--nude); border-top: 1px solid var(--trait); }
.pied { padding-top: 32px; padding-bottom: 48px; color: var(--pierre); font-size: 15px; }
.pied-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.pied-row p { margin: 0; }
.logo-pied .mot { font-size: 24px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.pied nav a { color: var(--texte); font-weight: 600; text-decoration: none; }
.pied nav a:hover { text-decoration: underline; }

/* ------------------------------------------------------- mobile ---- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .masthead-row, .rubriques, main, .pied { padding-left: 16px; padding-right: 16px; }
  .mot { font-size: 27px; }
  .devise { font-size: 12px; }
  .direct-link { font-size: 0; padding: 9px; border-width: 2px; }
  .direct-link .pulse { width: 10px; height: 10px; }
  main { padding-top: 20px; }
  .une-grille { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .une-chapo { font-size: 19px; }
  .ledger { grid-template-columns: 1fr; gap: 18px; padding: 16px 16px; }
  .row { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .row-title { font-size: 20px; }
  .corps { font-size: 19px; }
  .chapo { font-size: 20px; }
  .tl-item { grid-template-columns: 1fr; gap: 2px; padding-left: 18px; }
}
