/* Changement de quai — le sport à Paris lu comme une ligne, station par station (maquette A choisie le 19/10/2026) */
@font-face { font-family: "Albert Sans"; src: url("polices/albertsans-normal-400-800.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-normal-400-600.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --pos4: #f3f4f1; --pos2: #e6e8e3; --pos3: #1b1d2a; --pos5: #5b5f6b;
  --pos6: #6a3fb5; --pos7: #4b2a87; --pos8: #e2a400; --pos9: #1f8a70; --pos1: #fff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--pos3); font: 400 1.0625rem/1.65 "Newsreader", Georgia, serif;
  background-color: var(--pos4);
  background-image: linear-gradient(var(--pos2) 1px, transparent 1px), linear-gradient(90deg, var(--pos2) 1px, transparent 1px);
  background-size: 28px 14px;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pos7); }
h1, h2, h3, .sans { font-family: "Albert Sans", system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
.saut { position: absolute; left: -999px; top: 8px; background: var(--pos3); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; font: 600 .9rem "Albert Sans", sans-serif; }
.saut:focus { left: 16px; }

/* en-tête : une plaque de ligne, pas de photo */
.plaque { max-width: 1180px; margin: 0 auto; padding: 22px 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.badge { display: inline-flex; align-items: center; gap: 12px; background: var(--pos1); border: 3px solid var(--pos3); border-radius: 999px; padding: 6px 18px 6px 6px; text-decoration: none; color: var(--pos3); }
.badge b { width: 42px; height: 42px; border-radius: 50%; background: var(--pos6); color: #fff; display: grid; place-items: center; font: 800 1.15rem "Albert Sans", sans-serif; }
.badge span { font: 800 1.25rem "Albert Sans", sans-serif; letter-spacing: -.01em; }
.plaque nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.plaque nav a { font: 600 .9rem "Albert Sans", sans-serif; text-decoration: none; color: var(--pos3); padding: 6px 12px; border-radius: 999px; background: var(--pos2); }
.plaque nav a:hover, .plaque nav a[aria-current] { background: var(--pos8); }

/* plan de ligne horizontal */
.plan { max-width: 1180px; margin: 26px auto 0; padding: 0 16px; }
.plan-cadre { background: var(--pos1); border: 2px solid var(--pos3); border-radius: 14px; padding: 20px 18px 16px; overflow-x: auto; }
.plan-cadre p.dir { margin: 0 0 10px; font: 700 .8rem "Albert Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pos5); }
.trace { position: relative; display: flex; justify-content: space-between; min-width: 760px; padding-top: 6px; }
.trace::before { content: ""; position: absolute; left: 10px; right: 10px; top: 14px; height: 8px; border-radius: 4px; background: var(--pos6); }
.trace a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 92px; text-decoration: none; color: var(--pos3); font: 600 .78rem/1.2 "Albert Sans", sans-serif; text-align: center; }
.trace a i { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--pos6); margin-bottom: 8px; }
.trace a.corresp i { border-color: var(--pos3); box-shadow: 0 0 0 4px var(--pos8); }
.trace a:hover span { text-decoration: underline; }

/* accroche */
.accroche { max-width: 1180px; margin: 0 auto; padding: 44px 16px 10px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 48px; align-items: end; }
.accroche h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
.accroche h1 em { font-style: normal; color: var(--pos6); }
.accroche p { margin: 0 0 .7em; font-size: 1.12rem; }
.accroche .petit { font-size: .95rem; color: var(--pos5); }

/* la ligne verticale : les stations */
.ligne-v { max-width: 1180px; margin: 0 auto; padding: 20px 16px 40px; }
.station { position: relative; display: grid; grid-template-columns: 64px 150px 1fr; gap: 0 26px; padding: 26px 0; }
.station::before { content: ""; position: absolute; left: 28px; top: 0; bottom: 0; width: 8px; background: var(--pos6); }
.station:first-child::before { top: 40px; border-radius: 4px 4px 0 0; }
.station.fin::before { bottom: calc(100% - 52px); }
.pastille { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 7px solid var(--pos6); display: grid; place-items: center; font: 800 1.05rem "Albert Sans", sans-serif; margin-top: 4px; }
.station.corresp .pastille { border-color: var(--pos3); box-shadow: 0 0 0 5px var(--pos8); }
.vignette { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 2px 0 var(--pos2), 0 6px 18px rgba(27,29,42,.15); }
.vignette img { width: 100%; height: 100%; object-fit: cover; }
.texte h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; }
.texte h2 a { color: var(--pos3); text-decoration: none; }
.texte h2 a:hover { color: var(--pos7); text-decoration: underline; }
.texte h2 small { display: block; font: 700 .78rem "Albert Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pos6); margin-bottom: 6px; }
.texte p { margin: 0 0 .7em; max-width: 64ch; }
.corr { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.corr a { font: 600 .85rem "Albert Sans", sans-serif; text-decoration: none; color: var(--pos3); border: 2px solid var(--pos3); border-radius: 999px; padding: 4px 12px 4px 6px; display: inline-flex; gap: 8px; align-items: center; background: #fff; }
.corr a::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--pos8); }
.corr a.descendre { background: var(--pos3); color: #fff; }
.corr a.descendre::before { background: var(--pos6); box-shadow: 0 0 0 2px #fff; }
.corr a:hover { background: var(--pos8); color: var(--pos3); }

/* plan de poche : tableau sombre */
.poche { max-width: 1180px; margin: 0 auto; padding: 10px 16px 40px; }
.poche-cadre { background: var(--pos3); color: #f3f4f1; border-radius: 14px; padding: 26px 22px; }
.poche h2 { font-size: 1.6rem; color: #fff; }
.poche p { margin: 0 0 1em; max-width: 70ch; color: #d8dae2; }
.poche a { color: var(--pos8); font-family: "Albert Sans", sans-serif; font-weight: 700; }
.tableau { width: 100%; border-collapse: collapse; font: 500 .95rem/1.4 "Albert Sans", sans-serif; }
.tableau th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--pos8); padding: 8px 10px; border-bottom: 2px solid #3a3d52; }
.tableau td { padding: 10px; border-bottom: 1px solid #3a3d52; vertical-align: top; }
.tableau td:first-child { font-weight: 700; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--pos9); color: #fff; white-space: nowrap; }
.tag.p { background: #3a3d52; }
.art .tag.p { background: var(--pos5); }

/* terminus (pied) */
.terminus { border-top: 8px solid var(--pos6); background: #fff; }
.terminus-in { max-width: 1180px; margin: 0 auto; padding: 28px 16px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; font-size: .95rem; }
.terminus h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--pos5); }
.terminus p { margin: 0 0 .6em; }
.terminus a { color: var(--pos3); }
.terminus ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.terminus li { margin: 0 0 .35em; break-inside: avoid; font: 500 .88rem/1.3 "Albert Sans", sans-serif; }
.terminus .bas { grid-column: 1 / -1; border-top: 1px solid var(--pos2); padding-top: 14px; margin: 0; font: 500 .85rem "Albert Sans", sans-serif; color: var(--pos5); }

/* page station / article */
.mini-ligne { max-width: 760px; margin: 30px auto 0; padding: 0 16px; }
.mini-ligne ol { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.mini-ligne ol::before { content: ""; position: absolute; left: 6px; right: 6px; top: 9px; height: 6px; border-radius: 3px; background: var(--pos6); }
.mini-ligne li { position: relative; z-index: 1; }
.mini-ligne a { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--pos6); }
.mini-ligne a.corresp { border-color: var(--pos3); box-shadow: 0 0 0 3px var(--pos8); }
.mini-ligne a[aria-current] { background: var(--pos8); border-color: var(--pos3); transform: scale(1.25); }
.mini-ligne a:hover { background: var(--pos2); }
.mini-ligne .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.art { max-width: 760px; margin: 0 auto; padding: 26px 16px 30px; }
.art .fil { font: 600 .85rem "Albert Sans", sans-serif; color: var(--pos5); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; }
.art .fil i { width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--pos6); background: #fff; flex: none; }
.art .fil a { color: var(--pos5); }
.art h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; }
.art .chapo { font-size: 1.2rem; font-style: italic; color: #33364a; }
.art h2 { font-size: 1.45rem; font-weight: 800; margin-top: 1.6em; padding-left: 16px; border-left: 8px solid var(--pos6); clear: both; }
.art h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.3em; }
.art ul, .art ol { padding-left: 1.3em; }
.art li { margin-bottom: .35em; }
.art figure { margin: 6px 0 16px 24px; float: right; width: 230px; }
.art figure.g { float: left; margin: 6px 24px 16px 0; }
.art figure img { width: 230px; height: 230px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 6px 18px rgba(27,29,42,.15); }
.art figcaption { font: 500 .8rem/1.35 "Albert Sans", sans-serif; color: var(--pos5); text-align: center; margin-top: 8px; padding: 0 6px; }
.art blockquote { margin: 1.4em 0; background: #fff; border: 2px solid var(--pos3); border-radius: 12px; padding: 14px 18px; clear: both; }
.art blockquote p { margin: 0 0 .5em; }
.art blockquote p:last-child { margin: 0; }
.art .tab { overflow-x: auto; margin: 1.4em 0; clear: both; }
.art table { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--pos3); border-radius: 12px; font: 500 .92rem/1.4 "Albert Sans", sans-serif; }
.art th { text-align: left; background: var(--pos3); color: #fff; padding: 9px 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.art td { padding: 9px 10px; border-top: 1px solid var(--pos2); vertical-align: top; }
.art .voir { clear: both; font: 600 .95rem "Albert Sans", sans-serif; background: var(--pos2); border-radius: 999px; padding: 8px 16px; display: inline-block; }
.art .sources { clear: both; font-size: .9rem; color: var(--pos5); border-top: 1px dashed #b9bcc4; padding-top: 12px; margin-top: 2em; }
.art .sources p { margin: 0 0 .3em; font: 700 .78rem "Albert Sans", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.art .sources ul { margin: 0; padding-left: 1.1em; }
.art .sources a { color: var(--pos5); }
.art .prudence { clear: both; font-size: .95rem; color: #33364a; border-left: 4px solid var(--pos8); padding: 2px 0 2px 14px; margin-top: 1.6em; }
.art .liste-404 { columns: 2; column-gap: 28px; }

/* station suivante / précédente : panneaux de direction */
.direction { max-width: 760px; margin: 0 auto 44px; padding: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.direction a { display: flex; flex-direction: column; gap: 2px; background: var(--pos3); color: #fff; border-radius: 12px; padding: 12px 16px; text-decoration: none; font: 700 1rem/1.25 "Albert Sans", sans-serif; }
.direction a small { font: 600 .72rem "Albert Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--pos8); }
.direction a.d { text-align: right; grid-column: 2; }
.direction a:hover { background: var(--pos7); }

@media (max-width: 760px) {
  .accroche { grid-template-columns: 1fr; padding-top: 30px; }
  .station { grid-template-columns: 44px 1fr; gap: 12px 16px; }
  .station::before { left: 18px; width: 6px; }
  .pastille { width: 44px; height: 44px; border-width: 5px; font-size: .85rem; }
  .vignette { grid-column: 2; width: 110px; height: 110px; }
  .texte { grid-column: 2; }
  .plaque nav { margin-left: 0; }
  .terminus-in { grid-template-columns: 1fr; }
  .tableau thead { display: none; }
  .tableau tr { display: block; border-bottom: 1px solid #3a3d52; padding: 8px 0; }
  .tableau td { display: block; border: 0; padding: 2px 0; }
  .art figure, .art figure.g { float: none; width: auto; margin: 18px auto; }
  .art figure img { width: 190px; height: 190px; margin: 0 auto; }
  .art .liste-404 { columns: 1; }
  .direction { grid-template-columns: 1fr; }
  .direction a.d { grid-column: 1; }
  .mini-ligne a { width: 20px; height: 20px; border-width: 4px; }
  .mini-ligne ol::before { top: 7px; }
}
