/* montagneur.com — single stylesheet.
   THÈME CLAIR depuis le 26/07/2026. Le site vitrine (www) est en clair pour le
   confort de lecture longue ; l'app (tracker.montagneur.com) reste en sombre.
   La marque tient par le logo, la typo et le bleu, pas par le fond.
   L'accent du tracker (#4a9eff) ne fait que 2,4:1 sur blanc — il est remplacé
   ici par #1d6fd8 (4,9:1), qui sert aussi de fond de bouton avec du blanc.
   Ne pas réintroduire de hex brut hors de :root : tout passe par les variables. */

:root {
  color-scheme: light;
  --bg: #ffffff;                      /* fond de page */
  --bg-raised: #f5f7fa;               /* cartes, sections relevées */
  --bg-card: #eceff4;                 /* blocs internes : code, citations */
  --text: #232b36;                    /* corps de texte */
  --text-bright: #0d1219;             /* titres */
  --text-soft: #39424f;
  --text-2: #4d5766;                  /* secondaire */
  --text-3: #6b7280;                  /* indications */
  --muted: #c3cad4;                   /* bordures neutres, pointillés */
  --border: #e3e7ed;
  --border-soft: #eef1f5;
  --accent: #1d6fd8;                  /* liens, focus, primaire */
  --accent-hover: #1a5fbb;
  --on-accent: #ffffff;
  --accent-soft: rgba(29, 111, 216, 0.13);
  --shadow: rgba(13, 18, 25, 0.28);   /* ombre portée de la capture d'accueil */
  --radius: 8px;
  --radius-lg: 12px;
  --max: 46rem;                       /* colonne de lecture */
  --max-wide: 64rem;                  /* bandes en-tête / pied, accueil */

  /* Les deux bandes ont leur propre fond pour se détacher du corps blanc ;
     le reste de leurs couleurs vient des tokens ci-dessus. */
  --hdr-bg: #ffffff;
  --ftr-bg: #f4f6f9;
  --hdr-text: var(--text-bright);
  --hdr-text-2: var(--text-2);
  --hdr-text-3: var(--text-3);
  --hdr-border: var(--border);
  --hdr-hover-bg: #f2f4f8;
  --hdr-current-bg: #eaf1fc;
  --hdr-accent: var(--accent);
  --hdr-accent-hover: var(--accent-hover);
  --hdr-on-accent: var(--on-accent);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
        Roboto, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Un seul mot plus large que la colonne pousse TOUTE la page : sur /weather/
   une URL Wikipédia collée depuis Notion faisait scroller le téléphone de
   73 px. On casse les mots interminables plutôt que la mise en page. */
main, .crumbs, .foot-brand p, .hero-lead { overflow-wrap: break-word; }
main a, code, .attachment { overflow-wrap: anywhere; }

/* --- Bandeau ------------------------------------------------------------ */
/* Pleine largeur, séparé du corps par un simple filet. */
.site-header {
  background: var(--hdr-bg);
  color: var(--hdr-text);
  border-bottom: 1px solid var(--hdr-border);
}
.site-nav {
  max-width: var(--max-wide); margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 1.6rem;
}

/* Marque : logo agrandi + mot-marque */
.brand {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 700; font-size: 1.24rem; letter-spacing: -0.005em;
  color: var(--hdr-text);
}
.brand:hover { color: var(--hdr-text); text-decoration: none; }
.brand img { display: block; width: 44px; height: 44px; border-radius: 9px; }

/* Les trois sections, groupées à côté de la marque */
.nav-sections {
  list-style: none; display: flex; align-items: center;
  gap: 0.25rem; margin: 0; padding: 0;
}
.nav-sections a {
  display: block; padding: 0.44rem 0.8rem; border-radius: 7px;
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--hdr-text); white-space: nowrap;
}
.nav-sections a:hover {
  color: var(--hdr-text); background: var(--hdr-hover-bg); text-decoration: none;
}
.nav-sections a[aria-current] {
  color: var(--hdr-accent); background: var(--hdr-current-bg);
}

/* Connexion + appel à l'action, poussés à l'extrême droite */
.nav-actions {
  display: flex; align-items: center; gap: 0.55rem; margin-left: auto;
}
.nav-actions .login {
  padding: 0.42rem 0.6rem; border-radius: 7px;
  font-size: 0.95rem; font-weight: 600; white-space: nowrap;
  color: var(--hdr-text-2);
}
.nav-actions .login:hover {
  color: var(--hdr-text); background: var(--hdr-hover-bg); text-decoration: none;
}
/* Lien vers l'autre langue (« FR » / « EN »), rendu par build.py seulement
   quand le site français est servi (FR_LIVE). Même boîte que « Log in ». */
.nav-actions .lang {
  padding: 0.42rem 0.5rem; border-radius: 7px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--hdr-text-2); border: 1px solid var(--hdr-border);
}
.nav-actions .lang:hover {
  color: var(--hdr-text); background: var(--hdr-hover-bg); text-decoration: none;
}
.nav-actions .cta {
  padding: 0.46rem 1rem; border-radius: 7px;
  font-size: 0.95rem; font-weight: 650; white-space: nowrap;
  background: var(--hdr-accent); color: var(--hdr-on-accent);
}
.nav-actions .cta:hover {
  background: var(--hdr-accent-hover); color: var(--hdr-on-accent);
  text-decoration: none;
}
.site-header a:focus-visible {
  outline: 2px solid var(--hdr-accent); outline-offset: 2px;
}

/* Sous 860 px les sections passent sur une deuxième ligne, sous la marque. */
@media (max-width: 860px) {
  .site-nav { gap: 0.5rem 1rem; padding: 0.55rem 1.2rem 0; }
  .nav-sections {
    order: 3; width: 100%; justify-content: center;
    gap: 0.15rem; padding: 0;
    border-top: 1px solid var(--hdr-border);
  }
  /* 44 px de haut : la cible tactile de référence. Le lien remplit toute la
     hauteur de la rangée, pas seulement la boîte du texte. */
  .nav-sections a {
    display: flex; align-items: center; min-height: 44px;
    padding: 0 0.75rem; font-size: 0.98rem; border-radius: 0;
  }
  .nav-actions .login, .nav-actions .cta {
    display: inline-flex; align-items: center; min-height: 40px;
  }
}

/* Sous 620 px la rangée des sections devient un segment plein cadre : trois
   cibles de largeur égale, sans trou où le doigt tombe dans le vide. */
@media (max-width: 620px) {
  .site-nav { padding-left: 0.9rem; padding-right: 0.9rem; }
  .nav-sections { justify-content: stretch; }
  .nav-sections li { flex: 1 1 0; }
  .nav-sections a { justify-content: center; padding: 0 0.4rem; }
  .brand { font-size: 1.12rem; gap: 0.55rem; }
  .brand img { width: 38px; height: 38px; }
}

@media (max-width: 420px) {
  .brand span { position: absolute; width: 1px; height: 1px;
                overflow: hidden; clip-path: inset(50%); }
  .brand img { width: 36px; height: 36px; }
  .nav-actions { gap: 0.4rem; }
  .nav-actions .login { padding: 0.42rem 0.45rem; }
  .nav-actions .cta { padding: 0.44rem 0.75rem; }
  .nav-sections a { font-size: 0.92rem; }
}

/* --- Structure ---------------------------------------------------------- */
main { max-width: var(--max); margin: 0 auto; padding: 1.4rem 1.2rem 3rem; }
/* L'accueil est une vitrine : il respire sur toute la largeur des bandes. */
main.home { max-width: var(--max-wide); padding-bottom: 0; }
.chapter { scroll-margin-top: 1.2rem; }
.crumbs {
  max-width: var(--max); margin: 0 auto; padding: 0.75rem 1.2rem 0;
  font-size: 0.84rem; color: var(--text-3);
}
.crumbs a { color: var(--text-2); }
.crumbs span { color: var(--text-soft); }

/* Hero : carte relevée à liseré accent, comme le header du tracker */
.hero {
  background: var(--bg-raised);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  margin: 1.4rem 0 1.8rem;
}
.hero h1 {
  font-size: clamp(1.6rem, 6.4vw, 2.1rem); margin: 0 0 0.5rem; letter-spacing: -0.02em;
  color: var(--text-bright);
}
.hero p { margin: 0.5rem 0 0; color: var(--text-soft); font-size: 1.02rem; }

/* --- Accueil : hero de vitrine ------------------------------------------- */
.hero-home {
  border-left: 0;
  border: 1px solid var(--border);
  padding: 3rem 2.4rem 2.6rem;
  margin: 1.8rem 0 2.2rem;
  text-align: center;
}
/* Depuis le 01/10/2026 le h1 porte la promesse, plus le nom de marque (déjà
   dans le logo) : une phrase, donc un corps un peu plus petit et un interligne
   serré, sur deux lignes au plus en bureau. */
.hero-home h1 {
  font-size: clamp(1.75rem, 7vw, 2.7rem); line-height: 1.14;
  letter-spacing: -0.03em; margin: 0 auto; max-width: 38rem;
  text-wrap: balance;
}
.hero-home .hero-lead {
  margin: 0.9rem auto 0; max-width: 36rem;
  font-size: 1.18rem; line-height: 1.55; color: var(--text-2);
}
/* Capture du tracker sous les boutons, sur toute la largeur du hero. */
.hero-shot { margin: 2.4rem 0 0; }
.hero-shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 22px 44px -26px var(--shadow);
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.7rem; margin-top: 1.8rem;
}
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.62rem 1.3rem; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent);
                     text-decoration: none; }
.btn-ghost {
  background: var(--bg); border-color: var(--border); color: var(--text-bright);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent);
                   text-decoration: none; }

/* --- Accueil : les trois portes d'entrée --------------------------------- */
.entries {
  display: grid; gap: 1rem; margin: 0 0 2.8rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
/* La carte est un <div> depuis le 03/10/2026 : elle peut porter deux liens.
   Le lien principal couvre toute la carte par son ::after, elle reste
   cliquable partout ; le second lien (.entry-more) passe au-dessus. */
.entry {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem 1.4rem 1.3rem;
  color: var(--text);
  transition: border-color 0.14s, background 0.14s, transform 0.14s;
}
.entry:hover {
  border-color: var(--accent); background: var(--bg-raised);
  text-decoration: none; transform: translateY(-2px);
}
.entry-icon { display: flex; color: var(--accent); }
.entry-icon svg { width: 30px; height: 30px; }
.entry h2 {
  margin: 0.85rem 0 0.5rem; font-size: 1.32rem;
  border: 0; padding: 0; color: var(--text-bright);
}
.entry p {
  margin: 0 0 1.2rem; font-size: 0.96rem; line-height: 1.6;
  color: var(--text-2);
}
.entry-links {
  margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.2rem 1.4rem; font-size: 0.94rem; font-weight: 600;
}
.entry-cta { color: var(--accent); }
.entry-cta::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
}
.entry-cta:hover { text-decoration: none; }
.entry-cta:focus-visible { outline: none; }
.entry-cta:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Zone de toucher de 44 px sans épaissir la carte : le padding est repris
   par une marge négative. */
.entry-more {
  position: relative; z-index: 1; color: var(--text-2);
  padding: 0.7rem 0; margin: -0.7rem 0;
}
.entry-more:hover { color: var(--accent); }
.entry-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Accueil : ligne Coaching et bande d'indépendance ---------------------- */
.home-coaching {
  margin: -1.6rem 0 2.6rem; text-align: center;
  font-size: 0.98rem; color: var(--text-2);
}
.home-coaching a { font-weight: 600; white-space: nowrap; }
.home-trust {
  margin: 0 0 2.8rem; padding: 1.5rem 1.2rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center;
}
.home-trust p {
  margin: 0 auto; max-width: 40rem;
  font-size: 1.05rem; line-height: 1.6; color: var(--text-soft);
}
.home-trust a { font-weight: 600; white-space: nowrap; }

/* --- Accueil : articles mis en avant ------------------------------------- */
.featured { margin-bottom: 1rem; }
.featured h2 {
  margin: 0 0 0.4rem; font-size: 1.5rem;
  border-bottom: 1px solid var(--border); padding-bottom: 0.5rem;
}
.featured > p { margin: 0.7rem 0 0; color: var(--text-2); max-width: 46rem; }
.featured .cards { margin-top: 1.1rem; }
.featured-more { margin-top: 1.1rem; font-weight: 600; }

h1 { font-size: clamp(1.45rem, 5.6vw, 1.85rem); line-height: 1.25; margin: 1.1rem 0 0.8rem;
     letter-spacing: -0.015em; color: var(--text-bright); }
h2 { font-size: 1.4rem; margin: 2.1rem 0 0.6rem; letter-spacing: -0.01em;
     color: var(--text-bright); }
h3 { font-size: 1.14rem; margin: 1.6rem 0 0.45rem; color: var(--text-bright); }
h4 { font-size: 1rem; margin: 1.3rem 0 0.4rem; color: var(--text-bright); }
p { margin: 0.75rem 0; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
ul, ol { padding-left: 1.4rem; }
li { margin: 0.32rem 0; }
li::marker { color: var(--accent); }
strong { color: var(--text-bright); }
blockquote {
  margin: 1rem 0; padding: 0.2rem 1.1rem;
  border-left: 3px solid var(--accent); background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-soft);
}
code {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 5px; padding: 0.08em 0.35em; font-size: 0.88em;
}
pre { background: var(--bg-card); border: 1px solid var(--border);
      border-radius: var(--radius); padding: 0.9rem 1.1rem; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }

.badge {
  display: inline-block; vertical-align: 0.22em; margin-right: 0.2rem;
  font-size: 0.6em; font-weight: 700; letter-spacing: 0.05em;
  color: var(--accent); background: var(--accent-soft);
  border-radius: 6px; padding: 0.16em 0.55em;
}

/* --- Home: chapters ------------------------------------------------------ */
.chapter { margin-top: 1.7rem; }
.chapter h2 { border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.chapter > p { color: var(--text-2); }
.cards {
  display: grid; gap: 0.6rem; margin-top: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}
.card {
  display: flex; align-items: center; gap: 0.65rem;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 0.95rem;
  color: var(--text); font-weight: 550;
  transition: border-color 0.12s, background 0.12s;
}
.card:hover { border-color: var(--accent); background: var(--bg-card);
              color: var(--text-bright); text-decoration: none; }
.card-icon { font-size: 1.15rem; width: 1.5rem; text-align: center; flex: none; }

/* --- Article ------------------------------------------------------------- */
.article-link {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 0.7rem 1rem;
}
.article-link a { font-weight: 600; }
.soon { color: var(--text-3); }
.soon small { font-size: 0.82em; }
.attachment { color: var(--text-3); font-style: italic; }

details {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.55rem 1rem; margin: 0.8rem 0;
}
details summary { cursor: pointer; font-weight: 600; color: var(--text-bright); }
details summary:hover { color: var(--accent); }
details[open] summary { margin-bottom: 0.4rem; }

figure { margin: 1.4rem 0; }
figure img { max-width: 100%; height: auto; border-radius: var(--radius);
             border: 1px solid var(--border); }
figure figcaption { font-size: 0.85rem; color: var(--text-2); margin-top: 0.4rem; }
/* Captures du tracker dans une page rédigée (/features/). Elles débordent de
   la colonne de lecture jusqu'à la largeur de l'accueil : à 46rem, une capture
   de bureau est réduite d'un tiers et ses textes deviennent illisibles. Le
   texte, lui, garde sa colonne. Sous 760 px la capture suit la colonne. */
figure.shot { margin: 1.8rem 0 2.2rem; }
figure.shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 44px -26px var(--shadow);
}
@media (min-width: 761px) {
  figure.shot {
    --shot-w: min(calc(100vw - 2.4rem), calc(var(--max-wide) - 2.4rem));
    width: var(--shot-w); margin-left: calc(50% - var(--shot-w) / 2);
  }
}
figure.placeholder {
  border: 1px dashed var(--muted); border-radius: var(--radius);
  padding: 1.6rem 1rem; text-align: center; background: var(--bg-card);
}
figure.placeholder figcaption { margin: 0; color: var(--text-3); }

.toc {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 1rem 0 1.6rem; padding: 0.9rem;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc a {
  font-size: 0.83rem; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-soft);
}
.toc a:hover { border-color: var(--accent); color: var(--accent);
               text-decoration: none; }

.pager { display: flex; justify-content: space-between; gap: 1rem;
         margin-top: 2.4rem; padding-top: 1.2rem;
         border-top: 1px solid var(--border); }
.pager a { font-weight: 600; font-size: 0.94rem; }
.pager .next { margin-left: auto; text-align: right; }

/* --- Pied de page -------------------------------------------------------- */
/* Gris très léger, pour se détacher du corps blanc et du bandeau blanc. */
.site-footer {
  background: var(--ftr-bg);
  color: var(--hdr-text-2);
  border-top: 1px solid var(--hdr-border);
  margin-top: 3rem;
  font-size: 0.94rem;
}
.foot-inner {
  max-width: var(--max-wide); margin: 0 auto;
  padding: 2.4rem 1.2rem 1.9rem;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 1.6rem 2.4rem;
}
.foot-brand .brand { font-size: 1.12rem; margin-bottom: 0.7rem; }
.foot-brand .brand img { width: 36px; height: 36px; border-radius: 8px; }
.foot-brand p {
  margin: 0; max-width: 38ch;
  font-size: 0.92rem; line-height: 1.65; color: var(--hdr-text-3);
}
.foot-col h2 {
  margin: 0.35rem 0 0.7rem;
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--hdr-text-3);
  border: 0; padding: 0;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 0.42rem; }
.foot-col a { color: var(--hdr-text-2); font-weight: 500; }
.foot-col a:hover { color: var(--hdr-accent); text-decoration: none; }

.foot-legal {
  max-width: var(--max-wide); margin: 0 auto;
  padding: 1rem 1.2rem 1.6rem;
  border-top: 1px solid var(--hdr-border);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.3rem 1.2rem;
}
.foot-legal p { margin: 0; font-size: 0.85rem; color: var(--hdr-text-3); }
.foot-legal a { color: var(--hdr-text-3); }
.foot-legal a:hover { color: var(--hdr-accent); text-decoration: none; }
.site-footer a:focus-visible {
  outline: 2px solid var(--hdr-accent); outline-offset: 2px;
}

@media (max-width: 720px) {
  .foot-inner {
    grid-template-columns: 1fr 1fr; gap: 1.8rem 1.5rem;
    padding: 2rem 1.2rem 1.5rem;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: none; }
  /* Les liens du pied faisaient 18 px de haut : impossibles à viser au pouce.
     Ils deviennent des rangées pleine largeur, séparées par un filet. */
  .foot-col li { margin: 0; }
  .foot-col a {
    display: flex; align-items: center; min-height: 44px;
    border-bottom: 1px solid var(--hdr-border);
  }
  .foot-col li:last-child a { border-bottom: 0; }
  .foot-legal { padding: 0.9rem 1.2rem 1.4rem; }
  .foot-legal a { display: inline-flex; align-items: center; min-height: 32px; }
}

@media (max-width: 520px) {
  .foot-inner { grid-template-columns: 1fr; gap: 1.2rem; }
}

@media (max-width: 600px) {
  /* 16,5 px : la lecture longue au téléphone ne gagne rien à descendre à 16. */
  body { font-size: 16.5px; line-height: 1.65; }
  main { padding: 1rem 1.1rem 2.4rem; }
  .crumbs { padding: 0.7rem 1.1rem 0; font-size: 0.86rem; }
  .crumbs a { display: inline-block; padding: 0.3rem 0; }
  .hero { padding: 1.2rem 1.1rem; }
  .cards { grid-template-columns: 1fr; }
  .entries { gap: 0.8rem; margin-bottom: 2rem; }
  .entry { padding: 1.25rem 1.15rem 1.15rem; }
  .hero-home { padding: 2.2rem 1.2rem 1.4rem; }
  .hero-home .hero-lead { font-size: 1.06rem; }
  .hero-shot { margin-top: 1.8rem; }
  .home-coaching { margin: -1rem 0 2rem; }
  .home-trust { margin-bottom: 2.2rem; padding: 1.2rem 0.4rem; }
  .home-trust p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .btn-primary, .btn-ghost { white-space: normal; }
  h2 { font-size: 1.28rem; margin-top: 1.8rem; }
  h3 { font-size: 1.08rem; }
  ul, ol { padding-left: 1.15rem; }
  blockquote { padding: 0.2rem 0.85rem; }
  /* Pastilles du sommaire : même règle des 44 px que le reste. */
  .toc { padding: 0.75rem; gap: 0.35rem; }
  .toc a { font-size: 0.88rem; padding: 0.5rem 0.8rem; }
  /* Précédent / suivant côte à côte, ça donne deux colonnes de trois lignes
     à 320 px. En pile, chacun devient un vrai bloc cliquable. */
  .pager { flex-direction: column; gap: 0.6rem; margin-top: 2rem; }
  .pager a {
    display: block; padding: 0.75rem 0.9rem;
    background: var(--bg-raised); border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  .pager .next { margin-left: 0; text-align: left; }
  .article-link { padding: 0.8rem 0.9rem; }
  figure.placeholder { padding: 1.2rem 0.8rem; }
}

@media (max-width: 380px) {
  main { padding-left: 0.9rem; padding-right: 0.9rem; }
  .crumbs { padding-left: 0.9rem; padding-right: 0.9rem; }
  .hero-home { padding: 1.8rem 1rem 1.7rem; }
}
