@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/polices/dm-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/polices/dm-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/polices/newsreader-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/polices/newsreader-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/polices/newsreader-italique-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/polices/newsreader-italique-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #05070c;
  --fg: #e8ecf5;
  --muted: #9aa3b8;
  --line: rgba(190, 208, 255, .2);
  --accent: #a9c2ff;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --largeur: 72rem;
  --lecture: 45rem;
  --gouttiere: clamp(1.25rem, 5vw, 4rem);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0 var(--gouttiere);
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 22px;
  font-optical-sizing: auto;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--bg); background: var(--accent); }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .18s ease; }
a:hover { color: var(--fg); }
a:focus-visible, summary:focus-visible, .tableau:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
button, summary { font: inherit; }
bdi { unicode-bidi: isolate; }
sup { line-height: 0; }
strong { font-weight: 600; }
.fleche { display: inline-block; width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; color: var(--muted); transition: transform .18s ease, color .18s ease; }
a:hover .fleche { color: var(--fg); transform: translate(2px, -2px); }
[id] { scroll-margin-top: 40px; }
.pluie { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body > :not(.pluie) { position: relative; z-index: 1; }
body > .lien-evitement { position: fixed; top: 12px; left: var(--gouttiere); z-index: 5; padding: 10px 16px; background: var(--bg); font: 15px var(--sans); transform: translateY(-180%); }
.lien-evitement:focus { transform: translateY(0); }

/* Un cadre commun, une navigation calme. */
.barre, .pied-site { max-width: var(--largeur); margin-inline: auto; display: flex; align-items: center; gap: 32px; }
.barre { min-height: 106px; }
.marque { font-family: var(--serif); font-size: 27px; letter-spacing: .04em; text-decoration: none; color: var(--fg); line-height: 1; }
.barre nav, .pied-site nav { margin-left: auto; display: flex; gap: 34px; }
.barre nav a, .pied-site nav a { padding-block: 12px; font: 14px/1.4 var(--sans); text-decoration: none; color: var(--muted); }
.barre nav a:hover, .barre nav a[aria-current], .pied-site nav a:hover { color: var(--fg); }
.barre nav a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.pied-site { margin-top: 112px; padding: 30px 0 42px; border-top: 1px solid var(--line); }
.pied-site .marque { font-size: 23px; }
.haut-page { display: flex; align-items: center; gap: 10px; margin-left: 16px; font: 13px var(--sans); color: var(--muted); text-decoration: none; }
.haut-page .fleche { width: 15px; height: 15px; transform: rotate(-45deg); }

/* Accueil : on arrive sur un trou noir calculé qui nous avale (trou-noir.js) ; dedans, le titre
   et les articles rangés par thème. */
.ciel { display: none; }
.vivant .ciel { display: block; position: fixed; inset: 0; z-index: 50; background: #000; transition: opacity 1.4s ease; }
.vivant.dedans .ciel { opacity: 0; pointer-events: none; }
.ciel canvas { display: block; width: 100%; height: 100%; }
.ciel-legende { position: absolute; bottom: 32px; right: var(--gouttiere); margin: 0; font: 11px/1.5 var(--sans); color: var(--muted); }
.vivant:not(.dedans), .vivant:not(.dedans) body { overflow: hidden; }
.barre-accueil { align-items: flex-end; padding: 40px 0 30px; border-bottom: 1px solid var(--line); }
.barre-accueil h1 { margin: 0; font: 400 clamp(3.4rem, 9.2vw, 8.6rem)/.94 var(--serif); letter-spacing: -.01em; text-shadow: 0 0 48px rgba(140, 175, 255, .22); }
.barre-accueil nav { padding-bottom: 6px; }
.themes-accueil { max-width: var(--largeur); margin: 0 auto; padding-top: 76px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 72px 56px; }
.theme-accueil h2 { margin: 0 0 20px; font: 400 clamp(1.7rem, 2.2vw, 2.1rem)/1.15 var(--serif); letter-spacing: -.02em; }
.theme-accueil h2 a { color: var(--fg); text-decoration: none; }
.theme-accueil h2 a:hover { color: var(--accent); }
.theme-accueil ul { list-style: none; padding: 0; margin: 0; }
.theme-accueil li { border-top: 1px solid var(--line); }
.theme-accueil li a { display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 16px; align-items: start; padding: 14px 0; font: 15px/1.55 var(--sans); color: var(--muted); text-decoration: none; }
.theme-accueil li a:hover { color: var(--fg); }
.theme-accueil li .fleche { width: 16px; height: 16px; margin-top: 3px; }
@media (max-width: 1100px) { .themes-accueil { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px 44px; } }
@media (max-width: 760px) {
  .barre-accueil { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 28px; }
  .barre-accueil nav { margin-left: 0; }
  .themes-accueil { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
}

/* Titres et lecture : le titre respire, le texte garde une mesure lisible. */
.article main { max-width: var(--largeur); margin: 0 auto; }
.article main > header { padding: 60px 0 64px; margin: 0; }
.article h1 { max-width: 66rem; margin: 0; font-size: clamp(2.65rem, 5.1vw, 4.7rem); font-weight: 400; letter-spacing: -.042em; line-height: 1.08; text-wrap: balance; }
.article h2 { margin: 64px 0 24px; font-size: clamp(1.85rem, 3.1vw, 2.6rem); font-weight: 400; letter-spacing: -.028em; line-height: 1.15; text-wrap: balance; }
.article h3 { margin: 40px 0 16px; font-size: 1.6rem; font-weight: 500; letter-spacing: -.016em; line-height: 1.25; text-wrap: pretty; }
.article h4 { font-weight: 500; }
.article p, .article ul, .article ol { margin: 0 0 24px; }
.article p { text-wrap: pretty; }
.article ul, .article ol { padding-inline-start: 1.15em; }
.article li { margin-bottom: 10px; padding-inline-start: .15em; }
.article li::marker { color: var(--muted); }
.mise-en-lecture { display: grid; grid-template-columns: 15rem minmax(0, var(--lecture)); gap: 4rem; align-items: start; }
.corps-article { min-width: 0; }
.corps-article > h2:first-child, .corps-article > section:first-child > h2:first-child { margin-top: 0; }
.reperes-lecture { position: sticky; top: 42px; padding-top: 6px; }
.reperes-lecture ol { list-style: none; padding: 0; margin: 0; }
.reperes-lecture li { padding: 0; margin: 0 0 18px; }
.reperes-lecture a { display: block; font: 14px/1.55 var(--sans); color: var(--muted); text-decoration: none; }
.reperes-lecture a:hover, .reperes-lecture a[aria-current] { color: var(--fg); }
.reperes-lecture a[aria-current] { font-weight: 500; }
.sommaire-bureau { max-height: calc(100dvh - 84px); overflow-y: auto; scrollbar-width: thin; padding: 6px 14px 6px 6px; margin-left: -6px; }
.sommaire-mobile { display: none; }
.resume, .verdict-net { margin: 0 0 8px; }
.resume h2, .verdict-net h2 { margin-top: 0 !important; }
.resume ul { padding-inline-start: 1.15em; }
.suite-article { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); }
.suite-article h2 { margin-top: 0; font-size: 2rem; }
.suite-article p { font: 15px/1.9 var(--sans); }
.sources, .sources-courtes { font-family: var(--sans); font-size: .9rem; }

/* Index : une grille ouverte, jamais de cartes. */
.blog .hero-blog { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; align-items: center; gap: 48px; padding: 42px 0 58px; }
.article.blog h1 { max-width: none; font-size: clamp(5.5rem, 12.5vw, 11rem); letter-spacing: -.067em; line-height: 1; text-wrap: nowrap; }
.blog .intro-blog { margin: 18px 0 0; font: 17px/1.65 var(--sans); max-width: 21rem; color: var(--fg); }
.index-sujets { margin: 8px 0 80px; }
.index-sujets ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 44px; padding: 0; margin: 0; list-style: none; }
.index-sujets li { padding: 0; margin: 0; }
.index-sujets a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: var(--fg); text-decoration: none; font-size: 23px; line-height: 1.2; }
.index-sujets a:hover { color: var(--accent); }
.index-sujets .fleche { width: 17px; height: 17px; transform: rotate(90deg); }
.index-sujets a:hover .fleche { transform: rotate(90deg) translate(2px, -2px); }
.theme-recherche { display: grid; grid-template-columns: 20rem minmax(0, 1fr); gap: 7rem; align-items: start; margin: 0 0 92px; }
.entete-theme h2 { margin: 0 0 20px; font-size: 2.45rem; letter-spacing: -.03em; text-wrap: pretty; }
.entete-theme h2 a { color: var(--fg); text-decoration: none; }
.entete-theme h2 a:hover { color: var(--accent); }
.article .description-theme { font: 16px/1.7 var(--sans); color: var(--muted); margin: 0; }
.article .liste-sujets, .article .liste-articles { list-style: none; padding: 0; margin: 0; }
.article .liste-articles > li { padding: 24px 0; margin: 0; border-bottom: 1px solid var(--line); }
.article .liste-articles > li:first-child { padding-top: 0; }
.article .liste-articles > li:last-child { border-bottom: 0; padding-bottom: 0; }
.article .liste-articles :is(h2, h3) { margin: 0; font-size: 1.8rem; font-weight: 400; letter-spacing: -.018em; line-height: 1.25; }
.lien-article { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: start; gap: 22px; text-decoration: none; color: var(--fg); }
.lien-article .fleche { margin-top: 7px; }
.lien-article:hover { color: var(--accent); }
.article .liste-articles p { font: 15px/1.7 var(--sans); color: var(--muted); margin: 13px 38px 0 0; }
.article .liste-articles .sujets-article { margin-top: 12px; font-size: 13px; }
.sujets-article a { color: var(--muted); }
.article .liste-sujets > li { display: grid; grid-template-columns: 20rem minmax(0, 1fr); gap: 7rem; margin: 0; padding: 38px 0; border-bottom: 1px solid var(--line); }
.article .liste-sujets > li:last-child { border-bottom: 0; }
.article .liste-sujets :is(h2, h3) { font-size: 2.35rem; margin: 0; }
.article .liste-sujets p { font: 17px/1.7 var(--sans); color: var(--muted); margin: 0; max-width: 36rem; }
.index-blog main > p { max-width: var(--lecture); }
.index-blog .index-sujets { margin-top: 42px; }
.page-sujet main > section { max-width: var(--lecture); margin-left: 19rem; }
.page-sujet main > p { margin-left: 19rem; }
.page-sujet .retour-sujets { margin-top: 70px; font: 15px/1.8 var(--sans); }
.page-propos main > :not(header) { max-width: var(--lecture); margin-left: 19rem; }
.lectures { padding-left: 1.15em; }
.article .lectures li { margin-bottom: 16px; }
.lien-index { margin-top: 20px !important; font-size: 1.5rem; }
.lien-index a { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.article .methode-blog { margin: 70px 0 0 auto; max-width: 45rem; color: var(--muted); font: 15px/1.8 var(--sans); }

/* Chaque thème a sa scène, sans cadre ; celle de la relativité est le trou noir calculé. */
.page-sujet main > header.entete-sujet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); align-items: center; gap: 4rem; padding: 28px 0 44px; }
.article .scene-sujet { display: none; position: relative; margin: 0; aspect-ratio: 4 / 3; }
.scene-js .article .scene-sujet { display: block; }
.scene-sujet canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(closest-side, #000 60%, transparent 100%); }
.article .scene-sujet figcaption { position: absolute; right: 0; bottom: 0; margin: 0; font: 11px/1.5 var(--sans); color: var(--muted); }
.suite-article .article-suivant { margin: 0 0 30px; }
.suite-article .article-suivant .lien-article { font: 400 1.65rem/1.25 var(--serif); letter-spacing: -.015em; }

/* Données et mathématiques : défilement local, mesures intactes. */
.tableau { max-width: 100%; overflow-x: auto; margin: 32px 0; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font: 14px/1.6 var(--sans); font-variant-numeric: tabular-nums; }
th, td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: end; white-space: nowrap; vertical-align: top; }
th:first-child, td:first-child { text-align: start; padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
td:last-child:not(:first-child) { white-space: normal; min-width: 10rem; }
th { color: var(--muted); font-weight: 500; }
.phrases th, .phrases td { white-space: normal; text-align: start; }
/* Le calque MathML absolu reste ancré à sa formule, même dans un tableau défilant. */
.katex { position: relative; display: inline-block; max-width: 100%; overflow-x: auto; overflow-y: hidden; font-size: 1.02em; direction: ltr; unicode-bidi: isolate; }
.katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 12px 0; margin: 28px 0; }
.katex-display > .katex { width: max-content; min-width: 100%; max-width: none; overflow: visible; }
.katex .hide-tail { display: inline-block; max-width: 100%; overflow: hidden; }
pre { max-width: 100%; margin: 24px 0; padding: 0; overflow-x: auto; font-size: .86rem; direction: ltr; text-align: left; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.article figure { max-width: 100%; margin: 40px 0; }
.article figure svg, .article figure img { display: block; width: 100%; height: auto; }
.article figcaption { margin-top: 16px; font: 14px/1.65 var(--sans); color: var(--muted); }
.article figure.bci-resultats { max-width: 480px; margin-inline: auto; }
.article figure.mc-resultats { max-width: 520px; margin-inline: auto; }
.travail { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 10px 0; color: var(--fg); text-decoration: none; }
.travail .date { font-size: .9rem; color: var(--muted); }
.accueil main { max-width: 45rem; margin: 18vh auto; text-align: center; }
.accueil h1 { font-size: clamp(4rem, 12vw, 8rem); font-weight: 400; letter-spacing: -.01em; line-height: 1; }
.devise { color: var(--muted); }

@media (max-width: 1150px) {
  .blog .hero-blog { grid-template-columns: minmax(0, 1fr) 18rem; gap: 32px; }
  .blog .intro-blog { font-size: 16px; }
  .theme-recherche, .article .liste-sujets > li { grid-template-columns: 17rem minmax(0, 1fr); gap: 4rem; }
  .mise-en-lecture { grid-template-columns: 12rem minmax(0, 1fr); gap: 3rem; }
  .page-sujet main > section, .page-sujet main > p, .page-propos main > :not(header) { margin-left: 15rem; }
  .index-sujets ul { gap: 16px 32px; }
  .index-sujets a { font-size: 21px; }
}
@media (max-width: 900px) {
  .barre { min-height: 88px; }
  .page-sujet main > header.entete-sujet { grid-template-columns: 1fr; gap: 8px; padding-bottom: 28px; }
  .article .scene-sujet { width: min(100%, 26rem); margin-inline: auto; }
  .blog .hero-blog { grid-template-columns: 1fr; gap: 12px; padding: 40px 0 40px; }
  .article.blog h1 { font-size: clamp(5.5rem, 19vw, 10rem); }
  .blog .intro-blog { max-width: 36rem; margin-top: 0; }
  .index-sujets ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-sujets { margin-bottom: 64px; }
  .theme-recherche { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 72px; }
  .entete-theme { max-width: 38rem; }
  .entete-theme h2 { font-size: 2.35rem; margin-bottom: 12px; }
  .article .liste-articles :is(h2, h3) { font-size: 1.7rem; }
  .article .liste-sujets > li { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mise-en-lecture { display: block; }
  .corps-article { max-width: var(--lecture); margin-inline: auto; }
  .reperes-lecture { position: static; max-width: var(--lecture); margin: 0 auto 36px; padding: 0; }
  .sommaire-bureau { display: none; }
  .sommaire-mobile { display: block; font: 14px/1.6 var(--sans); }
  .sommaire-mobile summary { cursor: pointer; padding: 12px 0; color: var(--accent); width: fit-content; }
  .sommaire-mobile nav { padding: 16px 0 0; }
  .sommaire-mobile a { padding: 4px 0; }
  .sommaire-mobile li { margin-bottom: 8px; }
  .page-sujet main > section, .page-sujet main > p, .page-propos main > :not(header) { margin-left: 0; }
  .article main > header { padding: 36px 0 40px; }
  .pied-site { margin-top: 80px; }
}
@media (max-width: 560px) {
  body { font-size: 20px; line-height: 1.65; }
  .barre { gap: 18px; min-height: 80px; }
  .marque { font-size: 23px; }
  .barre nav { gap: 19px; }
  .barre nav a { font-size: 12px; }
  .blog .hero-blog { padding: 24px 0 36px; gap: 18px; }
  .article.blog h1 { font-size: clamp(4.8rem, 20vw, 7rem); letter-spacing: -.065em; }
  .blog .intro-blog { font-size: 15px; line-height: 1.75; }
  .index-sujets ul { grid-template-columns: 1fr; gap: 6px; }
  .index-sujets a { font-size: 21px; min-height: 42px; }
  .index-sujets { margin: 0 0 56px; }
  .theme-recherche { gap: 22px; margin-bottom: 62px; }
  .entete-theme h2 { font-size: 2.05rem; }
  .article .description-theme { font-size: 14px; line-height: 1.75; }
  .article .liste-articles > li { padding: 20px 0; }
  .article .liste-articles :is(h2, h3) { font-size: 1.5rem; line-height: 1.3; }
  .lien-article { gap: 16px; }
  .article .liste-articles p { font-size: 14px; margin-right: 0; }
  .article .liste-sujets > li { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .article .liste-sujets :is(h2, h3) { font-size: 2rem; }
  .article .liste-sujets p { font-size: 15px; }
  .article h1 { font-size: 2.7rem; line-height: 1.09; letter-spacing: -.035em; }
  .article h2 { margin-top: 48px; font-size: 2rem; }
  .article h3 { font-size: 1.45rem; }
  .article main > header { padding-top: 28px; padding-bottom: 28px; }
  .article p, .article ul, .article ol { margin-bottom: 22px; }
  .reperes-lecture { margin-bottom: 26px; }
  .sommaire-mobile summary { min-height: 44px; }
  .article .methode-blog { margin-top: 48px; font-size: 14px; }
  .pied-site { flex-wrap: wrap; gap: 24px 20px; margin-top: 70px; padding-bottom: 32px; }
  .pied-site nav { gap: 20px; }
  .pied-site nav a { font-size: 12px; }
  .haut-page { margin-left: 0; }
  table { font-size: 13px; }
  th, td { padding: 12px; }
}
@media (max-width: 350px) {
  .barre nav { gap: 12px; }
  .barre .marque { font-size: 21px; }
  .article h1 { font-size: 2.35rem; }
  .article.blog h1 { font-size: 20vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Visuels (SVG générés par site/visuels.py) */
.carte .grille { fill: none; stroke: var(--line); stroke-width: 1; }
.carte .contour { fill: none; stroke: rgba(225, 233, 255, 0.32); stroke-width: 1; }
.carte .hors-vue { fill: rgba(225, 233, 255, 0.07); }
.carte .limite { fill: none; stroke: var(--muted); stroke-width: 1; }
.carte .repere { fill: var(--muted); font-family: var(--serif); font-size: 15px; }
.carte .point { fill: var(--accent); stroke: var(--bg); stroke-width: 2; paint-order: stroke; }
.carte .cible { fill: transparent; }
.carte .evt:hover .point { fill: var(--fg); }
.bits rect { fill: var(--fg); opacity: 0.82; }
.reseau .maille { stroke: var(--line); stroke-width: 1; }
.reseau .noeud { fill: var(--muted); }
.reseau .axe { stroke: var(--accent); stroke-width: 3; }
.reseau .diagonale { stroke: var(--fg); stroke-width: 3; }
.reseau .axe-pointe { fill: var(--accent); }
.reseau .diagonale-pointe { fill: var(--fg); }
.reseau .lib { fill: var(--fg); font-family: var(--serif); font-size: 19px; }
@media print { .pluie { display: none; } .landing .hero { min-height: 0; } }
@media (max-width: 600px) {
  .landing .hero { min-height: 78vh; }
  .reseau .lib { font-size: 32px; }
  .carte .repere { font-size: 26px; }
  .carte .point { stroke-width: 1.5; }
}

.sources-courtes { color: var(--muted); font-size: 0.85rem; }
.facteurs .grille { stroke: var(--line); stroke-width: 1; }
.facteurs .unite { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 4; }
.facteurs .axe, .facteurs .val { fill: var(--muted); font-family: var(--serif); font-size: 15px; }
.facteurs .lib { fill: var(--fg); font-family: var(--serif); font-size: 16px; }
.facteurs .besoin rect { fill: var(--accent); }
.facteurs .mesure rect { fill: var(--muted); }
@media (max-width: 600px) { .facteurs .lib { font-size: 20px; } .facteurs .axe, .facteurs .val { font-size: 19px; } }
.landing .projet { margin-top: 24vh; }

/* Le programme : liens et figures de données, sans panneaux. */
.parcours { margin: 42px 0 48px; }
.axes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  list-style: none; padding: 0; margin: 0; }
.axes::before { content: ""; position: absolute; top: 16px; left: 11%; right: 11%;
  height: 1px; background: var(--line); }
.axes li { position: relative; text-align: center; }
.axes a { display: flex; align-items: center; flex-direction: column; gap: 8px;
  text-decoration: none; padding: 0 0 12px; }
.noeud-axe { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--muted);
  border-radius: 50%; background: var(--bg); color: var(--accent); font-size: 16px; }
.nom-axe { font-size: 1.15rem; color: var(--fg); }
.detail-axe { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.axe-calcul { display: flex; gap: 15px; justify-content: center; align-items: baseline;
  margin: 35px auto 0; padding: 12px; text-decoration: none; }
.axe-calcul > span:first-child { color: var(--muted); font-style: italic; }
.axe-calcul small { display: block; color: var(--muted); font-size: .83rem; }
.axes a:hover .noeud-axe, .axes a:focus-visible .noeud-axe { border-color: var(--accent); color: var(--fg); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.figure-recherche { margin: 48px 0 36px !important; }
.figure-recherche h4 { font-size: 1.4rem; font-weight: 400; line-height: 1.3; margin: 0 0 16px; }
.figure-recherche .contexte-figure { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.legende-points { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .9rem; }
.legende-points span { display: flex; gap: 9px; align-items: center; }
.legende-points i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.legende-points .plein { background: var(--accent); }
.legende-points .creux { border: 1px solid var(--muted); }
.viz .renseigne { fill: var(--accent); }
.viz .manquant { fill: none; stroke: var(--muted); stroke-width: 1; }
.viz .principal { fill: var(--accent); }
.viz .comparaison { fill: var(--muted); }
.viz .label { fill: var(--fg); font-family: var(--serif); font-size: 17px; }
.viz .valeur { fill: var(--fg); font-family: var(--serif); font-size: 20px; }
.viz .repere { fill: var(--muted); font-family: var(--serif); font-size: 14px; }
.viz .incertitude { fill: none; stroke: var(--fg); stroke-width: 1.5; }
.viz .seuil { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 5; }
.figure-recherche svg.compact { display: none; }
.detail-donnees { margin: -8px 0 40px; font-size: .9rem; }
.detail-donnees summary { cursor: pointer; color: var(--accent); min-height: 44px; padding-block: 10px; }
.article .travaux h2 { color: var(--fg); font-size: 1.6rem; text-transform: none; letter-spacing: normal; }
.article .travaux { border: 0; margin-top: 50px; }
@media (max-width: 600px) {
  .axes { display: flex; flex-direction: column; gap: 8px; }
  .axes::before { left: 16px; right: auto; top: 15px; bottom: 28px; width: 1px; height: auto; }
  .axes li { text-align: left; }
  .axes a { display: grid; grid-template-columns: 34px 1fr; gap: 0 18px; padding: 8px 0; }
  .noeud-axe { grid-row: span 2; align-self: start; }
  .nom-axe { font-size: 1.25rem; }
  .detail-axe { font-size: .95rem; }
  .axe-calcul { justify-content: start; padding-left: 11px; gap: 28px; margin-top: 20px; }
  .figure-recherche svg.large { display: none; }
  .figure-recherche svg.compact { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Une impression lisible, sans fond animé ni navigation. */
@media print {
  :root { color-scheme: light; --bg: #fff; --fg: #111; --muted: #555; --line: #ccc; --accent: #111; }
  body { padding: 0; font-size: 11pt; background: #fff; }
  .ciel, .pluie, .barre, .pied-site, .lien-evitement, .reperes-lecture { display: none !important; }
  .article main { max-width: none; }
  .article main > header { padding: 0 0 24px; }
  .article h1 { font-size: 28pt; }
  .article h2 { font-size: 18pt; }
  .article h3 { font-size: 14pt; }
  .mise-en-lecture, .theme-recherche, .blog .hero-blog { display: block; }
  .corps-article, .page-propos main > :not(header), .page-sujet main > section, .page-sujet main > p { max-width: none; margin-left: 0; }
  a { text-decoration: none; }
  h2, h3 { break-after: avoid; }
  table, .katex-display, figure { break-inside: avoid; }
  .tableau { overflow: visible; }
  @page { margin: 16mm 15mm; }
}
