/* Le style « journal » commun à toutes les pages éditoriales (bandeau, titres, textes, tableaux) : charte relevée sur
   lemonde.fr le 06/10/2026 (skill /91studio-journaliste). Les pages communes et guides la complètent (commune.css). */
.page-journal {
  --j-serif: "Source Serif 4", Georgia, "Times New Roman", serif; --j-sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; --j-etroit: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --j-1: #2A303C; --j-2: #383F4E; --j-3: #464F5F; --j-4: #565E70; --j-5: #717B8E; --j-filet: #E2E4E9; --j-encart: #F5F6F8; --j-sea: #026B9C;
  --fond: #FFFFFF; --surface: #FFFFFF; --encre: #2A303C; --encre-2: #383F4E; --encre-3: #565E70; --filet: #E2E4E9; --filet-2: #D3D6DC; --survol: #F5F6F8;
  background: #fff; color: var(--j-2); font-family: var(--j-sans); color-scheme: light;
}
/* le bandeau */
.bandeau { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--j-filet, #E2E4E9); font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif; }
.bandeau-l1 { display: flex; align-items: center; gap: 16px; max-width: 1040px; margin: 0 auto; padding: 10px 20px; }
.bandeau-marque { display: inline-flex; align-items: center; gap: 10px; color: #2A303C; text-decoration: none; font: 700 1.3rem/1 "Source Serif 4", Georgia, serif; letter-spacing: -0.01em; white-space: nowrap; }
.bandeau-marque b { font-weight: 400; }
.bandeau-marque img { border-radius: 4px; }
.bandeau-cherche { flex: 1; max-width: 420px; margin: 0 0 0 auto; }
.bandeau-cherche input { width: 100%; height: 36px; padding: 0 14px; border: 1px solid #E2E4E9; border-radius: 18px; background: #F5F6F8; color: #2A303C; font: 400 .875rem "Libre Franklin", Arial, sans-serif; }
.bandeau-cherche input:focus { outline: 2px solid #026B9C; outline-offset: 1px; background: #fff; }
.bandeau-carte { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 3px; background: #2A303C; color: #fff; font: 600 .875rem "Libre Franklin", Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.bandeau-l1 .bandeau-carte:only-of-type { margin-left: auto; }
.bandeau-carte:hover { background: #01364F; text-decoration: none; }
.bandeau-rubriques { display: flex; gap: 22px; max-width: 1040px; margin: 0 auto; padding: 0 20px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid #E2E4E9; }
.bandeau-rubriques::-webkit-scrollbar { display: none; }
.bandeau-rubriques a { padding: 10px 0 9px; border-bottom: 2px solid transparent; color: #464F5F; font: 500 .875rem "Libre Franklin", Arial, sans-serif; text-decoration: none; white-space: nowrap; }
.bandeau-rubriques a:hover { color: #2A303C; }
.bandeau-rubriques a[aria-current="page"] { border-bottom-color: #2A303C; color: #2A303C; font-weight: 600; }
@media (max-width: 720px) {
  .bandeau-l1 { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .bandeau-cherche { order: 3; flex: 1 1 100%; max-width: none; margin: 0; }
  .bandeau-carte { margin-left: auto; height: 34px; padding: 0 12px; }
  .bandeau-rubriques { padding: 0 16px; gap: 18px; }
}
/* L'accueil : le bandeau commence en verre sombre sur l'image, puis devient blanc quand on sort de la première scène
   (Henri, 06/10 : « il faut une transition, il ne peut pas être strictement le même en blanc, ça choque trop ») */
.bandeau-image { position: fixed; left: 0; right: 0; background: rgba(11, 12, 14, .42); border-bottom-color: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); transition: background-color .45s ease, border-color .45s ease; }
.bandeau-image .bandeau-marque, .bandeau-image .bandeau-rubriques a, .bandeau-image .bandeau-rubriques a:not([aria-current]) { color: rgba(255, 255, 255, .86); transition: color .45s ease; }
.bandeau-image .bandeau-rubriques { border-top-color: rgba(255, 255, 255, .1); transition: border-color .45s ease; }
.bandeau-image .bandeau-carte { background: rgba(255, 255, 255, .92); color: #0B0C0E; transition: background-color .45s ease, color .45s ease; }
.bandeau-image .bandeau-marque img { filter: invert(1); transition: filter .45s ease; }
.bandeau-image.clair { background: rgba(255, 255, 255, .97); border-bottom-color: #E2E4E9; }
.bandeau-image.clair .bandeau-marque, .bandeau-image.clair .bandeau-rubriques a { color: #2A303C; }
.bandeau-image.clair .bandeau-rubriques a:not([aria-current]) { color: #464F5F; }
.bandeau-image.clair .bandeau-rubriques { border-top-color: #E2E4E9; }
.bandeau-image.clair .bandeau-carte { background: #2A303C; color: #fff; }
.bandeau-image.clair .bandeau-marque img { filter: none; }
@media (prefers-reduced-motion: reduce) { .bandeau-image, .bandeau-image * { transition: none !important; } }

/* le texte, partout */
.page-journal main { max-width: 1000px; }
.page-journal .entete h1, .page-journal main > section > h1, .page-journal h1 { font-family: var(--j-serif); font-weight: 700; color: var(--j-1); letter-spacing: -0.01em; text-wrap: balance; }
.page-journal .chapo { font-family: var(--j-serif); font-size: clamp(1.05rem, 1.6vw, 1.1875rem); line-height: 1.6; color: var(--j-2); }
.page-journal main h2 { font-family: var(--j-serif); font-weight: 700; color: var(--j-1); letter-spacing: -0.005em; }
.page-journal main p, .page-journal main li { color: var(--j-2); }
.page-journal .note, .page-journal .pied p { font-family: var(--j-sans); color: var(--j-4); }
.page-journal .table-defile { border: 0; border-radius: 0; background: none; }
.page-journal .table thead th { border-top: 0; border-bottom: 2px solid var(--j-1); background: none; color: var(--j-4); font-family: var(--j-sans); }
.page-journal .table :is(td, th) { border-color: var(--j-filet); }
.page-journal .table .num { font-family: var(--j-etroit); }
.page-journal .bouton { border-radius: 3px; font-family: var(--j-sans); }
.page-journal .bouton-primaire { background: var(--j-1); color: #fff; }
.page-journal .tuile { border-radius: 6px; border-color: var(--j-filet); box-shadow: 0 8px 14px rgba(14, 39, 87, .06); }
.page-journal .tuile-valeur { font-family: var(--j-etroit); color: var(--j-1); }
.page-journal main :is(p, li, td, .note) a:not(.bouton) { color: var(--j-sea); }
.bandeau a { text-decoration: none; }
.bandeau .bandeau-marque, .bandeau .bandeau-rubriques a { color: #2A303C; }
.bandeau .bandeau-rubriques a:not([aria-current]) { color: #464F5F; }
.bandeau .bandeau-carte { color: #fff; }

/* l'outil, à la charte journal */
.page-outil-journal .sur-titre { font: 600 .8125rem var(--j-sans); color: var(--j-4); }
.page-outil-journal .svg-carte { display: block; width: 100%; max-width: 820px; height: auto; margin: 24px 0 8px; }
.page-outil-journal .legende-svg { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 0; list-style: none; font: 400 .8125rem var(--j-sans); color: var(--j-3); }
.page-outil-journal .legende-svg i { display: inline-block; width: 14px; height: 10px; margin-right: 6px; vertical-align: baseline; }
.page-outil-journal .legende-svg .nd i { background: #F5F6F8; box-shadow: inset 0 0 0 1px #A4A9B4; }
.page-journal .bouton:not(.bouton-primaire) { background: #fff; color: var(--j-1); box-shadow: inset 0 0 0 1px var(--j-1); }

/* la page Méthode reprend la démarche de l'ancienne page Outil */
.page-journal .vision .grille-vision { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 18px; }
.page-journal .vision :is(p, h3), .page-journal .demarche p { color: var(--j-2); }
.page-journal .vision .num { color: var(--j-sea); font: 600 .875rem var(--j-sans); }
.page-journal .vision h3 { font: 600 1.0625rem var(--j-sans); color: var(--j-1); }
.page-journal .appel-outil { margin-top: 28px; padding-top: 18px; border-top: 2px solid var(--j-1); }
.page-journal :is(.demarche, .vision) { margin-top: 40px; }
