/* carbu.fr — feuille de style unique */
:root {
  /* Charte sobre, thème clair uniquement (voir « Charte graphique » en fin de fichier). */
  --brand: #0000ff; --brand-2: #0000c4; --brand-soft: #ebebff; --accent: #0000ff;
  --ink: #161b26; --text: #1f2430; --muted: #5a6272; --line: #dde1e7; --line-strong: #aab2bf; --tint: #f5f7fa;
  --bg: #fff; --card: #fff;
  --lo: #18753c; --lo-bg: #e6f4ea; --hi: #b3261e; --hi-bg: #fbeaea; --mid: #4b5563; --old: #8a94a3;
  --radius: 6px; --shadow: 0 0 0 1px var(--line);
  --font-display: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: .2em 0 .3em; }
h1 span { color: var(--muted); font-weight: 600; }
h2 { font-size: 1.3rem; margin: 1.8em 0 .6em; }
h3 { font-size: 1.05rem; margin: 0 0 .6em; }
small, .small { font-size: .85em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------------------------------------------------------------- en-tête */
/* Plus de 1000 px : une ligne (logo, recherche, accès directs, bouton « Rubriques ») ; de 761 à 1000 px : logo et
   recherche, puis accès directs et bouton ; mobile : logo et « Menu », puis la recherche (accès directs dans le panneau).
   Seuils en em (62.5em = 1000 px, 47.5em = 760 px avec la police par défaut) et marge des ancres en rem : avec une police
   agrandie dans le navigateur, la mise en page compacte prend le relais au lieu d'un en-tête qui passe à la ligne.
   Sur mobile, le focus suit le DOM (logo, recherche, « Menu ») et non l'affichage (logo et « Menu », puis la recherche) :
   écart accepté, le panneau s'ouvrant sous la recherche.
   Le panneau est un <details> : il s'ouvre sans JavaScript, app.js n'ajoute que le confort (Échap, clic extérieur). */
.top { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.top-in { display: flex; align-items: center; gap: 8px 14px; min-height: 58px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
/* Ancres et focus clavier : la cible s'arrête sous l'en-tête collant (environ 104 px sur deux lignes, 58 px sur une,
   avec la police par défaut ; en rem pour suivre une police agrandie). Sur grand écran, au-delà d'environ 21 px de police,
   la ligne unique ne tient plus dans les 1140 px de .wrap et passe sur deux : le second terme du max() prend le relais
   (70 px à 16 px, 127 px à 22 px, 146 px à 24 px). */
html { scroll-padding-top: 7.25rem; }
@media (min-width: 65em) { html { scroll-padding-top: max(4.4rem, 9.5rem - 82px); } } /* marge pleine jusqu’à 1040 px : la barre peut y passer sur deux lignes selon la police */
.logo { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo b { color: var(--accent); }
.logo-ico { width: 28px; height: 28px; color: #fff; }
.logo.small { color: var(--ink); font-size: 1.1rem; margin: 0 0 .5em; }
.logo.small .logo-ico { color: var(--brand); width: 22px; height: 22px; }
.search { position: relative; flex: 1 1 220px; max-width: 360px; display: flex; }
.search input { width: 100%; min-width: 0; border: 0; border-radius: 10px 0 0 10px; padding: 9px 12px; font: inherit; font-size: .95rem; background: #fff; color: #111; }
.search button { border: 0; background: var(--accent); color: #111; border-radius: 0 10px 10px 0; padding: 0 12px; cursor: pointer; }
.search button svg { width: 18px; height: 18px; display: block; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .menu > summary { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 8px; white-space: nowrap; font-size: .93rem; font-weight: 600; }
.nav > a:hover, .nav > a.on, .nav > a[aria-current], .menu > summary:hover, .menu[open] > summary { background: rgba(255, 255, 255, .14); color: #fff; }
.nav > a.on, .nav > a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.menu > summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary span + span { display: none; }
.menu > summary::after { content: ""; width: 6px; height: 6px; margin: -4px 1px 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.menu[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.top a:focus-visible, .menu > summary:focus-visible, .search :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Panneau : sous l'en-tête, aligné sur la colonne du site ; il défile s'il dépasse la hauteur de l'écran (100 % : celle de l'en-tête). */
.menu-p { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 24px; padding: 18px max(16px, 50% - 554px) 22px; background: var(--card); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid transparent; box-shadow: 0 18px 36px rgba(16, 24, 40, .2); max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain; font-size: .93rem; }
.menu-p p { margin: 0; }
.menu-p > div > p:first-child { margin-bottom: 6px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.menu-p > .on > p:first-child { color: var(--brand); }
.menu-p ul { list-style: none; margin: 0; padding: 0; }
.menu-p li a { display: block; padding: 4px 0; color: var(--text); text-decoration: none; line-height: 1.3; }
.menu-p li a:hover { color: var(--brand); text-decoration: underline; }
.menu-p li a[aria-current], .menu-p li a.on { color: var(--brand); font-weight: 700; }
.menu-p a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.menu-q { display: none; }
/* Prix du jour par carburant : pastilles (dans le panneau et dans le pied de page). */
.fu { color: var(--muted); font-size: .85rem; }
.menu-p .fu { margin-bottom: 8px; }
.fu span { display: block; }
.fu a { display: inline-block; margin: 4px 4px 0 0; padding: 1px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 700; text-decoration: none; }
.fu a:hover, .fu a[aria-current], .fu a.on { background: var(--brand); color: #fff; }
/* Contraste forcé (Windows) : fonds et ombres disparaissent ; le bord transparent du panneau devient visible, le lien
   courant et la section sont soulignés, le bouton est encadré. */
@media (forced-colors: active) {
  .nav > a.on, .nav > a[aria-current], .menu-p a.on, .menu-p a[aria-current], .foot a[aria-current] { text-decoration: underline 2px; }
  .menu > summary { border: 1px solid ButtonText; }
  .menu > summary::before { forced-color-adjust: none; color: ButtonText; } /* traits et croix en dégradés : gardés */
}
@media (max-width: 62.5em) {
  .search { max-width: none; }
  .menu-p { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu-p > div:first-of-type { grid-row: span 2; }
}
@media (min-width: 47.5625em) and (max-width: 62.5em) {
  .nav { flex-basis: 100%; margin: 0 -10px; }
  .menu { margin-left: auto; }
  /* Recherche pleine largeur : les suggestions gardent une largeur de liste et laissent libre le bouton « Rubriques ». */
  .search .sugg { right: auto; width: min(100%, 420px); }
}
/* Mobile : en-tête de deux lignes (moins de 112 px), panneau en une colonne, cibles d'au moins 40 px. */
@media (max-width: 47.5em) {
  .top-in { gap: 8px 10px; min-height: 0; padding-top: 6px; padding-bottom: 8px; }
  .search { order: 1; flex-basis: 100%; }
  .nav > a { display: none; }
  .menu > summary { min-height: 40px; padding: 0 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
  .menu > summary span { display: none; }
  .menu > summary span + span { display: inline; }
  .menu > summary::after { display: none; }
  .menu > summary::before { content: ""; width: 16px; height: 12px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
  /* Panneau ouvert : la croix remplace les trois traits (il couvre l'écran, le bouton est le moyen de le refermer). */
  .menu[open] > summary::before { width: 14px; height: 14px; margin: 0 1px; background: linear-gradient(45deg, transparent calc(50% - 1px), currentColor 0 calc(50% + 1px), transparent 0), linear-gradient(-45deg, transparent calc(50% - 1px), currentColor 0 calc(50% + 1px), transparent 0); }
  .menu-p { display: block; padding: 10px 16px 18px; }
  .menu-p .menu-q { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
  .menu-q a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 8px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); font-weight: 700; text-align: center; text-decoration: none; }
  .menu-q a.on, .menu-q a[aria-current] { box-shadow: inset 0 0 0 2px var(--brand); }
  .menu-p > div { padding: 12px 0 4px; border-top: 1px solid var(--line); }
  .menu-p > div:first-of-type { border-top: 0; }
  .menu-p ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .menu-p li a { display: flex; align-items: center; min-height: 44px; padding: 4px 0; }
  .menu-p .fu a { min-height: 40px; padding: 0 14px; line-height: 40px; }
}
.sugg { position: absolute; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); z-index: 60; max-height: 60vh; overflow: auto; }
.sugg li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: inherit; }
.sugg li a:hover, .sugg li a.on { background: var(--brand-soft); }
.sugg small { color: var(--muted); }

/* ---------------------------------------------------------------- structure */
main { padding-bottom: 40px; min-height: 60vh; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--old); }
.crumbs a { color: var(--muted); }
.ph { margin: 10px 0 8px; }
.kicker { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kicker a { color: inherit; }
.lead { font-size: 1.05rem; color: var(--muted); margin: 0; }
.addr { margin: 0; font-size: 1.05rem; }
.prose { max-width: 820px; }
.prose p { margin: 0 0 .9em; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 0 28px; }
section { min-width: 0; }
.tags { margin: .5em 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .8rem; padding: 2px 9px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.tag.ok { background: #fff4cc; color: #7a5300; }
.tag.ko { background: var(--hi-bg); color: var(--hi); }
.warn { background: #fff4cc; color: #6b4900; padding: 10px 14px; border-radius: 10px; }
/* Le bandeau garde son fond clair dans les deux thèmes : le lien prend sa couleur de texte, pas la couleur de marque. */
.warn a { color: inherit; font-weight: 700; text-decoration: underline; }
.live-note { margin-top: .4em; }

/* ---------------------------------------------------------------- héros */
.hero { padding: 26px 0 6px; }
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); max-width: 18em; }
.hero-search { position: relative; display: flex; gap: 8px; max-width: 560px; margin: 18px 0 12px; }
.hero-search input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: 13px 16px; border-radius: 12px; border: 2px solid var(--brand); background: var(--card); color: var(--text); }

/* ---------------------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
/* Thème sombre : la marque est un vert clair, le texte blanc n'y serait pas lisible. */
.btn.ghost:hover { background: var(--brand-soft); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- cartes de prix */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; margin: 12px 0; }
.card { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); border-top: 4px solid var(--fc, var(--line)); color: inherit; text-decoration: none; display: block; }
a.card:hover { transform: translateY(-1px); color: inherit; }
.card p { margin: 0; }
.card-h { font-weight: 700; color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 6px; margin-bottom: 4px !important; }
.big { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.big small { font-size: .5em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.diff { font-weight: 700; font-size: .9rem; }
.lo { color: var(--lo); } .hi { color: var(--hi); } .mid { color: var(--mid); }
.fchip { display: inline-block; min-width: 2.6em; text-align: center; padding: 1px 6px; border-radius: 6px; background: var(--fc); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.var { font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- tableaux */
.tbl-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 0; }
/* Indice de défilement : une ombre apparaît sur le bord où le tableau dépasse (dégradés « local » qui la masquent aux extrémités). */
.tbl-wrap { background: linear-gradient(to right, var(--card) 30%, transparent) left / 40px 100% no-repeat local, linear-gradient(to left, var(--card) 30%, transparent) right / 40px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, .2), transparent) left / 14px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), transparent) right / 14px 100% no-repeat scroll, var(--card); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: .82rem; color: var(--muted); font-weight: 700; background: color-mix(in srgb, var(--card) 85%, var(--line)); position: sticky; top: 0; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--card) 92%, var(--brand)); }
th[scope=row] { font-weight: 600; }
@media (max-width: 600px) { .st-table th[scope=row] { min-width: 10.5em; } th, td { padding: 8px 8px; } }
th[scope=row] small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
td small { color: var(--muted); }
.num { text-align: right; white-space: nowrap; }
/* Bornes de recharge : sur mobile, le nom se coupe et la classe de puissance passe sous la valeur, pour que la puissance
   reste à l'écran ; la ligne visée par un marqueur de la carte est surlignée (elle s'arrête sous l'en-tête collant
   grâce au scroll-padding-top de html, défini avec l'en-tête). */
@media (max-width: 600px) { table.bornes th[scope=row] { overflow-wrap: anywhere; } table.bornes td.num small { display: block; } }
table.bornes tr:target { background: var(--brand-soft); }
table.sortable thead th { cursor: pointer; user-select: none; }
table.sortable thead th[aria-sort]::after { content: " ▾"; }
table.sortable thead th[aria-sort=ascending]::after { content: " ▴"; }
.pc { text-align: right; white-space: nowrap; font-weight: 700; }
.pc.lo .pv { background: var(--lo-bg); color: var(--lo); }
.pc.hi .pv { background: var(--hi-bg); color: var(--hi); }
.pc .pv { padding: 2px 6px; border-radius: 6px; }
.pc.old .pv, .pc.na { color: var(--old); font-weight: 500; }
.pc.upd .pv { outline: 2px solid var(--accent); }
.stale { display: block; font-size: .7rem; color: var(--old); font-weight: 500; }
.horaires th { width: 40%; }
.services { columns: 2 220px; padding-left: 1.1em; margin: 0; }
.services li { margin: 0 0 .3em; break-inside: avoid; }

/* ---------------------------------------------------------------- classements */
.tops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.topbox { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.toplist { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.toplist li { counter-increment: t; display: flex; align-items: baseline; gap: 6px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.toplist li::before { content: counter(t); min-width: 1.6em; color: var(--muted); font-size: .8rem; font-weight: 700; }
.toplist li a { font-weight: 600; }
.toplist li small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.toplist li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.toplist.big { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 16px; columns: 2 380px; column-gap: 32px; }
.toplist.big li { break-inside: avoid; }
/* Colonnes partagées par toutes les lignes (subgrid) : libellés entiers, renvoyés à la ligne sur mobile, et barres de même longueur. */
.bars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: fit-content(40%) minmax(40px, 1fr) auto; column-gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(0, 11em) 1fr auto; grid-template-columns: subgrid; grid-column: 1 / -1; gap: 0 10px; align-items: center; padding: 4px 0; font-size: .92rem; }
.bars li > :first-child { line-height: 1.25; overflow-wrap: anywhere; }
.bar { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--c) var(--w), color-mix(in srgb, var(--line) 60%, transparent) var(--w)); }
.bars b { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------------------------------------------------------------- graphiques */
figure { margin: 10px 0 16px; }
.chart { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 8px 6px; container-type: inline-size; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gy line, .chart .gx line { stroke: var(--line); stroke-width: 1; }
.chart .gx line { stroke-dasharray: 2 4; }
/* Le SVG (viewBox de 720 de large) suit la largeur du graphique : plus il est étroit, plus le texte est grand, pour garder ~11 px à l'écran. */
.chart text { font-size: 11px; font-size: clamp(11px, calc(35px - 3.3cqw), 26px); fill: var(--muted); }
.chart .gy text { text-anchor: end; dominant-baseline: central; }
.chart .gx text { text-anchor: middle; }
/* Valeur finale de chaque courbe dans la couleur de sa série (--c), foncée pour rester lisible sur le fond blanc (65 % de la
   couleur : 4,5:1 au moins pour toutes les couleurs des séries, y compris le jaune #eda100 des catégories). */
.chart text.end { font-weight: 700; font-size: 11.5px; font-size: clamp(11.5px, calc(35.5px - 3.3cqw), 26px); dominant-baseline: central; fill: var(--c); }
@supports (color: color-mix(in srgb, red, red)) {
  .chart text.end { fill: color-mix(in srgb, var(--c) 65%, #000); }
  }
/* Graphique étroit : valeurs finales plus espacées (placement calculé par lineChart), une graduation X sur deux si elles sont nombreuses. */
@container (max-width: 600px) { .chart text.end { translate: 0 calc(var(--dy, 0) * 1px); } }
@container (max-width: 520px) { .chart .gx.mi text { display: none; } }
/* Texte agrandi : la graduation Y la plus basse chevaucherait les libellés de l'axe X. */
@container (max-width: 600px) { .chart .gy.lo text { display: none; } }
figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .85rem; color: var(--muted); padding: 4px 8px; }
.lg i { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.choro { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.choro svg { width: 100%; height: auto; max-height: 520px; display: block; }
.choro path { stroke: var(--card); stroke-width: .8; transition: opacity .15s; }
.choro a:hover path { opacity: .7; }
.choro .lg i { height: 10px; width: 14px; }

/* ---------------------------------------------------------------- cartes interactives */
.map { min-height: 90px; height: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 12px 0; padding: 18px; }
.map.on { height: var(--h); padding: 0; display: block; overflow: hidden; }
.bigmap { height: min(72vh, 720px); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
/* Les calques Leaflet (z-index 400 à 1000) restent dans la carte : l'en-tête collant et le panneau des rubriques passent dessus. */
.map, .bigmap { isolation: isolate; }
.toolbar, .near-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 14px; }
.near-form form { position: relative; display: flex; gap: 6px; flex: 1 1 300px; }
.near-form input, select, .calc input { font: inherit; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.near-form input { flex: 1; min-width: 0; }
.near-form form { min-width: 0; max-width: 100%; }
.leaflet-popup-content { font: 14px/1.4 system-ui, sans-serif; }
.leaflet-popup-content b { font-size: 1.1em; }

/* ---------------------------------------------------------------- calculateurs */
.calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 14px 0; }
.calc label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.calc label:has(input[type=checkbox]) { flex-direction: row; align-items: center; gap: 8px; }
.calc-out { grid-column: 1 / -1; display: block; background: var(--brand-soft); border-radius: 10px; padding: 14px 16px; font-size: 1.05rem; color: var(--ink); }
.calc-out strong { font-size: 1.5rem; }

/* ---------------------------------------------------------------- divers */
.faq details { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); margin: 8px 0; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 13px 0; font-weight: 700; color: var(--ink); }
.faq details > div { padding: 0 0 14px; }
.links ul { padding-left: 1.1em; }
.cols { columns: 4 190px; column-gap: 24px; }
.cols li { break-inside: avoid; margin: 0 0 .25em; }
/* France services (pages carte grise par département) et bornes des trajets en voiture électrique */
.fs-liste { padding-left: 1.1em; columns: 2 300px; column-gap: 28px; }
.fs-liste li { break-inside: avoid; margin: 0 0 .8em; }
details.ve-sites { margin: 1em 0; }
details.ve-sites > summary { cursor: pointer; font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 28px 0; }
.feature { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; text-decoration: none; color: inherit; border-left: 4px solid var(--accent); }
.feature:hover { color: inherit; transform: translateY(-1px); }
.feature h3 { color: var(--brand); }
.feature p { margin: 0; color: var(--muted); }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 24px 0; font-weight: 600; }
.near-list .pc { font-size: 1.05rem; }

/* ---------------------------------------------------------------- pied de page */
/* Colonne de la marque, puis les groupes de src/render/nav.mjs en colonnes équilibrées (4, puis 3, puis 2 sur mobile). */
.foot { background: #0d1b14; color: #c9d4cc; margin-top: 40px; padding: 30px 0 18px; font-size: .92rem; }
.foot a { color: #e6efe9; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot a[aria-current] { color: #fff; font-weight: 700; }
.foot a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.foot .logo.small { color: #fff; }
.foot .logo.small .logo-ico { color: var(--accent); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: 8px 32px; }
.foot-in p { margin: 0 0 .6em; }
.foot-g { columns: 4 160px; column-gap: 24px; overflow-wrap: break-word; }
.foot-g > div { break-inside: avoid; padding-bottom: 16px; }
.foot-g > div > p:first-child { color: #fff; font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 .35em; }
.foot .fu, .foot .muted { color: #8fa197; }
.foot .fu a { padding: 1px 8px; background: rgba(255, 255, 255, .1); color: #e6efe9; text-decoration: none; }
.foot .fu a:hover, .foot .fu a[aria-current] { background: var(--accent); color: #111; }
.foot-credits { margin-top: 6px; margin-bottom: 0; padding-top: 14px; border-top: 1px solid #22352b; font-size: .8rem; color: #8fa197; }
.foot-credits a { text-decoration: underline; }
@media (max-width: 62.5em) { .foot-in { grid-template-columns: minmax(0, 1fr); } .foot-g { columns: 3 170px; } }
@media (max-width: 47.5em) { .foot-g { columns: 2; column-gap: 16px; } .foot li { margin: 0; } .foot li a { display: block; padding: 5px 0; } }

/* ---------------------------------------------------------------- plan du site */
.tree { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; overflow-x: auto; }
.tree ul { list-style: none; margin: 0; padding-left: 22px; position: relative; }
.tree > ul { padding-left: 0; }
.tree li { position: relative; padding: 5px 0 5px 14px; }
.tree li::before { content: ""; position: absolute; left: -8px; top: 0; bottom: 0; border-left: 2px solid var(--line); }
.tree li::after { content: ""; position: absolute; left: -8px; top: 17px; width: 18px; border-top: 2px solid var(--line); }
.tree li:last-child::before { bottom: auto; height: 17px; }
.tree > ul > li::before, .tree > ul > li::after { display: none; }
.tree a { font-weight: 600; }
.tree li > span:first-child { font-weight: 600; }
.cnt { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 99px; padding: 1px 8px; margin-left: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.plan-reg { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; }
.plan-reg ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.plan-reg li { padding: 2px 0; }
.plan-more { font-size: .78rem; color: var(--muted); margin-left: 4px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; }
.az a { display: inline-block; min-width: 1.9em; text-align: center; padding: 2px 6px; border-radius: 6px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; font-weight: 700; }
.plan-coms { columns: 3 240px; column-gap: 24px; padding-left: 1.1em; }
.plan-coms li { break-inside: avoid; margin: 0 0 .3em; }
.plan h3 { margin: 1.2em 0 .4em; color: var(--brand); }

/* ---- controle-technique ---- */
tr.ct-grp th { background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding-top: 7px; padding-bottom: 7px; }

/* ---- parc-automobile ---- */
.parc-fig { margin: 6px 0 14px; }
.parc-barre { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: var(--line); }
.parc-barre span { width: var(--w); background: var(--c); }
.parc-barre span + span { box-shadow: inset 1px 0 0 var(--card); }
.parc-fig figcaption { padding: 6px 0 0; }
.parc-fig .lg i, .cmp th .lg i { height: 10px; }

/* ---- crit-air ---- */
.ca { display: inline-flex; align-items: center; justify-content: center; min-width: 1.85em; height: 1.85em; padding: 0 .3em; border-radius: 99px; background: var(--ca); color: var(--ca-t, #fff); font-weight: 800; font-size: .85rem; line-height: 1; text-decoration: none; vertical-align: middle; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1); }
a.ca:hover { color: var(--ca-t, #fff); filter: brightness(1.08); }
.ca.nc { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 2px var(--old); font-size: .7rem; }
.ca-big { min-width: 1.75em; height: 1.75em; font-size: 1.35rem; }
.ca-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lead.ca-row { display: flex; gap: 10px; }
.ca-tbl td small, .ca-tbl th[scope=row] small { display: block; color: var(--muted); font-weight: 400; }
.ca-cards .card { border-top-width: 6px; }
.ca-nav { gap: 8px 16px; }
.ca-nav a, .ca-cur { display: inline-flex; align-items: center; gap: 6px; }
.ca-cur { font-weight: 700; }
.ca-calc .calc-out a { font-weight: 600; }
.ca-calc[hidden] { display: none; }

/* ---- frontieres ---- */
/* Sur mobile, les noms et adresses longs des stations se coupent pour que les colonnes de prix restent à l'écran. */
@media (max-width: 600px) { table.fr-tbl th[scope=row], table.fr-tbl td:not(.num) { overflow-wrap: anywhere; } }
/* ---- gnv ---- */
.gnv-tbl td small { display: block; color: var(--muted); font-size: .8rem; }
.gnv-tbl .tag { display: inline-block; line-height: 1.3; }
@media (max-width: 600px) { .gnv-tbl th[scope=row] { min-width: 9em; overflow-wrap: anywhere; } }
@media (max-width: 600px) { .gnv-cmp th, .gnv-cmp td { padding: 8px 5px; } .gnv-cmp thead th { white-space: normal; } }
/* ---- domicile-travail ---- */
/* Sur mobile, les noms longs des communes se coupent pour que les colonnes de chiffres restent à l'écran. */
@media (max-width: 600px) { table.dt-tbl th[scope=row] { overflow-wrap: anywhere; } }
/* ---- cout-possession ---- */
details.cp-regions { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); margin: 10px 0; padding: 0 16px; }
details.cp-regions summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
details.cp-regions .tbl-wrap { margin-bottom: 12px; }
.toplist li[aria-current] { background: var(--brand-soft); }
/* ---- radars ---- */
.rad-avert { margin: 12px 0 16px; }
.rad-avert p { margin: 0; }
.rad-chart .rad-b path { fill: var(--brand); }
.rad-chart .rad-b:hover path { fill: var(--brand-2); }
.rad-chart .rad-x, .rad-chart .rad-v { text-anchor: middle; }
.rad-chart .rad-v { font-weight: 700; fill: var(--ink); }
.rad-det { margin: 0 0 12px; }
.rad-det summary { cursor: pointer; color: var(--brand); font-weight: 600; }
@media (max-width: 600px) { .rad-tbl th[scope=row] { min-width: 7.5em; overflow-wrap: anywhere; } }
/* ---- taxes ---- */
.tx-fig { margin: 8px 0 14px; }
.tx-barre { display: flex; height: 24px; border-radius: 6px; overflow: hidden; background: var(--line); }
.tx-barre span { width: var(--w); background: var(--c); }
.tx-barre span + span { box-shadow: inset 1px 0 0 var(--card); }
.tx-fig figcaption { padding: 6px 0 0; }
.tx-fig .lg i, .tx-stack .lg i { height: 10px; }
.tx-chg { margin: 8px 0 0; padding-left: 1.2em; font-size: .92rem; }
.tx-chg li { margin: 4px 0; }
@media (max-width: 600px) { .tx-tbl th, .tx-tbl td { padding: 8px 5px; } .tx-tbl thead th { white-space: normal; } .tx-tbl th[scope=row] { min-width: 6.5em; } .tx-tbl.tx-dates { font-size: .9rem; } .tx-tbl.tx-dates th[scope=row] { min-width: 0; } }
.tx-tbl td small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
/* Tableau d'un litre au dix-millième (cinq colonnes) : plus compact sur mobile. */
@media (max-width: 600px) { .tx-tbl.tx-litre { font-size: .86rem; } .tx-tbl.tx-litre th[scope=row] { min-width: 0; } }
/* ---- historique-long ---- */
.hl-tbl td small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.hl-tbl tr.hl-cur { background: var(--brand-soft); }
@media (max-width: 600px) { .hl-tbl th, .hl-tbl td { padding: 8px 5px; } .hl-tbl thead th { white-space: normal; } }
@media (max-width: 400px) { .hl-tbl th, .hl-tbl td { padding: 7px 3px; font-size: .88rem; } .hl-tbl thead th { font-size: .76rem; } }

/* ---- accidents ---- */
/* Tableaux de la sécurité routière : sur mobile, le nom du département ou de la commune garde une largeur lisible et le
   tableau défile horizontalement (.tbl-wrap) plutôt que de couper le nom à chaque syllabe. */
@media (max-width: 600px) { table.acc-t th[scope=row] { min-width: 9em; } }
/* Mots composés et périodes jamais coupés au trait d'union dans les cartes (« outre-mer », « 2020-2024 »). */
.acc-nw { white-space: nowrap; }
/* ---- navigation : retouches ---- */
@media (forced-colors: active) { .foot .fu a[aria-current], .menu-p > .on > p:first-child { text-decoration: underline 2px; } }
@media (max-width: 19.5em) { .menu-p ul { grid-template-columns: 1fr; } }
/* ---- immatriculations ---- */
/* Tableau des vignettes Crit'Air (/immatriculations/occasion/) : cellules resserrées sur mobile, sans défilement à 390 px. */
@media (max-width: 600px) { .imm-ca th, .imm-ca td { padding: 8px 5px; } }
/* ---- vols ---- */
/* Encadré « En cas de vol » : démarches résumées d'après Service Public. */
.vols-cas { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--brand); padding: 4px 18px 10px; margin: 20px 0; }
.vols-cas h2 { margin-top: .6em; }
.vols-cas ul { margin: .4em 0; padding-left: 1.2em; }
.vols-cas li { margin: 4px 0; }
/* Tableaux des vols : nom de la commune ou du département lisible sur mobile, lignes de synthèse en gras. */
@media (max-width: 600px) { table.vols-t th[scope=row] { min-width: 8.5em; } table.vols-t th, table.vols-t td { padding: 8px 5px; } table.vols-t thead th { white-space: normal; } }
table.vols-t tfoot th, table.vols-t tfoot td { font-weight: 700; }
/* ---- ventes-carburants ---- */
.vc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vc-map use { stroke: var(--card); stroke-width: .8; transition: opacity .15s; }
.vc-map a:hover use { opacity: .7; }
@media (max-width: 600px) { .vc-tbl { font-size: .9rem; } .vc-tbl th, .vc-tbl td { padding: 8px 5px; } .vc-tbl thead th { white-space: normal; } .vc-noms th[scope=row] { min-width: 8.5em; } }
@media (max-width: 400px) { .vc-tbl th, .vc-tbl td { padding: 7px 3px; font-size: .84rem; } .vc-tbl thead th { font-size: .72rem; } }
/* ---- mentions légales ---- */
/* Fiche de l'éditeur et de l'hébergeur, écrite en clair au build (page /mentions-legales/). */
dl.editeur-identite { display: grid; grid-template-columns: minmax(9em, max-content) minmax(0, 1fr); gap: 6px 18px; margin: 0 0 1.2em; padding: 14px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
dl.editeur-identite dt { font-weight: 600; color: var(--ink); }
dl.editeur-identite dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { dl.editeur-identite { grid-template-columns: minmax(0, 1fr); gap: 0; } dl.editeur-identite dd { margin-bottom: 8px; } }
/* ---- contact ---- */
/* Coordonnées (e-mail, téléphone, courrier), écrites en clair au build (page /contact/). */
dl.contact-coordonnees { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0 0 1.2em; padding: 14px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 1.05rem; }
dl.contact-coordonnees dt { font-weight: 600; color: var(--ink); }
dl.contact-coordonnees dd { margin: 0; overflow-wrap: anywhere; }
dl.contact-coordonnees a { font-weight: 600; }
@media (max-width: 600px) { dl.contact-coordonnees { grid-template-columns: minmax(0, 1fr); gap: 0; } dl.contact-coordonnees dd { margin-bottom: 8px; } }

/* ---------------------------------------------------------------- Rubrique News */
/* Bouton de l'en-tête : mis en avant, visible aussi sur mobile (à côté du menu). */
.nav > a.cta { margin: 0 4px; background: var(--accent); color: #111; box-shadow: none; }
.nav > a.cta:hover, .nav > a.cta.on, .nav > a.cta[aria-current] { background: #ffc933; color: #111; box-shadow: inset 0 -2px #111; }
@media (max-width: 47.5em) {
  .nav > a.cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; margin: 0 6px 0 auto; }
  .nav > a.cta + .menu { margin-left: 0; }
}
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; margin: 14px 0; }
.ncard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.ncard > a { color: inherit; text-decoration: none; display: block; }
.ncard > a:hover h3, .ncard > a:hover h2 { color: var(--brand); }
.ncard img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-soft); }
.ncard .kicker { margin: 12px 16px 0; color: var(--brand); }
.ncard h3, .ncard h2 { margin: 4px 16px 8px; font-size: 1.08rem; line-height: 1.3; }
.ncard > p { margin: 0 16px 14px; }
.ncard.big h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); }
.ncard.big .lead { margin-bottom: 8px; }
.nlead { max-width: 860px; margin: 14px 0 8px; }
.news-home h2 a { color: inherit; text-decoration: none; }
.news-home h2 a:hover { color: var(--brand); }
.nart { max-width: 860px; }
.nart h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; margin: 6px 0 10px; }
.nart .lead { font-size: 1.12rem; color: var(--text); }
.byline { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.byline a { font-weight: 700; }
.av { flex: none; border-radius: 50%; }
.nfig { margin: 18px 0 14px; }
.nfig img { display: block; width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-soft); }
.nfig figcaption { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.ntoc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 18px; margin: 0 0 18px; max-width: 820px; }
.ntoc p { margin: 0 0 4px; font-weight: 700; }
.ntoc ol { margin: 0; padding-left: 1.2em; }
.nbody { font-size: 1.06rem; line-height: 1.7; }
.nbody h2 { margin-top: 1.6em; }
.nbody blockquote { margin: 1em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--accent); color: var(--text); font-style: italic; }
.nsrc { max-width: 820px; margin-top: 26px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; }
.nsrc h2 { font-size: 1.05rem; }
.nsrc li { margin-bottom: 6px; }
.nurl { color: var(--muted); overflow-wrap: anywhere; user-select: all; }
.nauthor { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; margin: 22px 0; padding: 16px 18px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.nauthor p { margin: 0 0 4px; }
.nprof { display: flex; gap: 18px; align-items: center; }
.pager { display: flex; gap: 16px; align-items: center; margin: 18px 0; }

/* ---- outre-mer ---- */
.om-tbl small { color: var(--muted); font-weight: 400; }
.om-an th, .om-an td { padding-left: 4px; padding-right: 4px; }
@media (max-width: 480px) { .om-an { font-size: .85rem; } }
/* ---- rappels ---- */
.rv-t th[scope=row] { min-width: 11em; }
.rv-t td, .rv-t th { vertical-align: top; }
.rv-t td small { display: block; font-size: .8rem; }
.rv-t td small.nurl, .rv-t td .nurl { font-size: .72rem; }
.rv-t td:nth-child(3) { min-width: 16em; }
.rv-bars li > span:first-child { font-variant-numeric: tabular-nums; }
details.rv-an { margin: 8px 0; }
details.rv-an > summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.rv-liste { padding-left: 1.1em; }
.rv-liste li { margin-bottom: 4px; }
/* ---- auto-ecoles ---- */
.ae-tbl td small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
.ae-tbl .ae-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.ae-tbl .ae-tags .tag { font-size: .72rem; padding: 1px 7px; font-weight: 600; }
@media (max-width: 600px) { .ae-tbl th[scope=row] { min-width: 11em; } }
/* ---- barometre-sr ---- */
.bsr-t th[scope=rowgroup] { font-size: .82rem; color: var(--muted); font-weight: 700; padding-top: 12px; }
.bsr-grille th, .bsr-grille td { padding-left: 5px; padding-right: 5px; }
.bsr-grille td small { display: block; font-size: .72rem; }
@media (max-width: 600px) { .bsr-grille { font-size: .8rem; } .bsr-grille th, .bsr-grille td { padding-left: 3px; padding-right: 3px; } }
/* ---- recharge-sessions ---- */
table.rs-t td small { display: block; color: var(--muted); font-size: .8rem; }
table.rs-t thead small { font-weight: 400; }
table.rs-t tr.tot th, table.rs-t tr.tot td { font-weight: 700; }
details.rs-serie { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); margin: 10px 0; padding: 0 16px; }
details.rs-serie > summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
@media (max-width: 480px) { table.rs-t th, table.rs-t td { padding: 8px 7px; } table.rs-t { font-size: .88rem; } }
/* ---- covoiturage-rpc ---- */
.rpc-aides td small { display: block; }
.rpc-aides td, .rpc-aides th[scope=row] { min-width: 9em; }
/* ---- conso-reelle ---- */
.cr-meth { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--brand); padding: 4px 18px 10px; margin: 20px 0; }
.cr-meth h2 { margin-top: .6em; }
.cr-meth ul { margin: .4em 0; padding-left: 1.2em; }
.cr-meth li { margin: 6px 0; }
table.cr-t td small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
@media (max-width: 600px) { table.cr-t th[scope=row] { min-width: 9em; } table.cr-t th, table.cr-t td { padding: 8px 5px; } table.cr-t thead th { white-space: normal; } }
/* ---- accise-pro ---- */
.ap-tbl td sup { color: var(--muted); font-size: .7em; }
.ap-tbl th[scope=row] small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
/* En-têtes des zones : libellé complet, forme courte (IDF, AURA, Autres) sous 720 px (de 601 à 677 px, les libellés
   complets faisaient déborder la colonne « Forfait »), écrite par la feuille de style (data-court) ; le libellé complet
   reste lu par les lecteurs d'écran. */
.ap-tbl .ap-court { display: none; }
@media (max-width: 720px) { .ap-tbl { font-size: .84rem; } .ap-tbl th, .ap-tbl td { padding: 7px 4px; } .ap-tbl thead th { white-space: normal; } .ap-tbl .ap-long { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; } .ap-tbl .ap-court { display: inline; } .ap-tbl .ap-court::before { content: attr(data-court); } .ap-tbl th[scope=row] { min-width: 0; } }
/* /prix-gnr/, moyennes annuelles : colonne des années à sa largeur utile sous 600 px. */
@media (max-width: 600px) { .ap-annuel th[scope=row] { min-width: 0; } }
/* Écrans de moins de 360 px : tableaux des remboursements et du GNR resserrés. */
@media (max-width: 359px) { .ap-tbl, .ap-gnr { font-size: .78rem; } .ap-gnr th, .ap-gnr td { padding: 6px 3px; } .ap-tbl th, .ap-tbl td { padding: 6px 2px; } .ap-gnr th[scope=row] { min-width: 0; } }
/* ---- marges ---- */
/* Encadré « Ce que couvre le transport-distribution » (/marges-carburant/) et tableau de la décomposition hebdomadaire. */
.mg-couvre { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--brand); padding: 4px 18px 10px; margin: 20px 0; }
.mg-couvre h2 { margin-top: .6em; }
.mg-couvre ul { margin: .4em 0; padding-left: 1.2em; }
.mg-couvre li { margin: 5px 0; }
.mg-tbl thead small { display: block; font-weight: 400; font-size: .75rem; }
.mg-tbl th[scope=row] sup { color: var(--muted); font-size: .7em; }
@media (max-width: 600px) { .mg-tbl { font-size: .86rem; } .mg-tbl th, .mg-tbl td { padding: 7px 4px; } .mg-tbl thead th { white-space: normal; } .mg-tbl th[scope=row] { min-width: 0; } }
.mg-nw { white-space: nowrap; }
/* Formule du total de l'écart gazole-essence : sur une ligne dès 360 px ; en deçà, coupure possible entre deux termes. */
.mg-tot { white-space: nowrap; }
@media (max-width: 359px) { .mg-tot { white-space: normal; } }
/* ---- co2-energie ---- */
.co2-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--brand); padding: 4px 18px 10px; margin: 20px 0; }
.co2-box h2 { margin-top: .6em; }
table.co2-t thead small { font-weight: 400; }
table.co2-t tr.tot th, table.co2-t tr.tot td { font-weight: 700; }
table.co2-t td small { display: block; white-space: normal; font-size: .78rem; }
@media (max-width: 600px) { table.co2-t th[scope=row] { min-width: 7em; } table.co2-t th, table.co2-t td { padding: 8px 4px; } table.co2-t thead th { white-space: normal; font-size: .82rem; } table.co2-f { font-size: .86rem; } }
/* ---- lexique-methode ---- */
.lx-som h3 { margin: .9em 0 .15em; font-size: 1rem; }
.lx-som p { margin: 0; line-height: 1.9; }
.lx-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.lx-az a { min-width: 2.3em; padding: 5px 8px; text-align: center; font-weight: 700; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.lx { max-width: 820px; }
.lx h2 { margin: 1.3em 0 .1em; padding-bottom: .15em; border-bottom: 2px solid var(--brand); }
.lx-t { margin: 0 -10px; padding: 12px 10px 8px; border-bottom: 1px solid var(--line); border-radius: 8px; }
.lx-t h3 { margin: 0 0 .3em; font-size: 1.1rem; }
.lx-t p { margin: 0 0 .5em; }
.lx-t .lx-c { padding-left: 10px; border-left: 3px solid var(--brand); }
.lx-t:target, .lx-t:has(:target) { background: var(--brand-soft); }
@media (max-width: 600px) { table.mt-fr { font-size: .86rem; } table.mt-fr th, table.mt-fr td { padding: 8px 6px; } }
/* ---- citation-donnees ---- */
/* /chiffres-cles/ : sommaire en pastilles, liste des faits, tableau récapitulatif ; /donnees/ : tableaux des fichiers. */
.cc-reponse p { font-size: 1.05rem; }
.cc-nav ul { display: flex; flex-wrap: wrap; gap: 6px 8px; list-style: none; margin: 12px 0 0; padding: 0; font-size: .85rem; }
.cc-nav a { display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-weight: 600; text-decoration: none; }
.cc-faits { margin: 0; padding-left: 1.1em; }
.cc-faits li { margin: 0 0 .85em; }
.cc-t td:nth-child(3), .cc-t td:nth-child(4) { color: var(--muted); font-size: .92em; }
.cc-t td:nth-child(3) { white-space: nowrap; }
.cc-t th[scope=row] a { color: inherit; text-decoration: none; }
.cc-t th[scope=row] a:hover { text-decoration: underline; }
.cc-t tr.cc-g th { background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.do-t td small, .do-t th small { display: block; color: var(--muted); font-size: .84rem; font-weight: 400; }
/* Noms de colonnes : coupure après un tiret bas ou un point (wbr dans la page), pas au milieu d'un mot. */
.do-c code { font-size: .86em; overflow-wrap: break-word; }
@media (max-width: 600px) {
  .do-c, .do-t { font-size: .82rem; }
  .do-c th, .do-c td, .do-t th, .do-t td { padding: 7px 5px; }
  .do-c thead th, .do-t thead th { white-space: normal; }
  /* Tableau récapitulatif : sur un écran étroit, un bloc par indicateur (intitulé, puis valeur, date et source sur une
     ligne), sans défilement horizontal. La ligne d'en-têtes reste lue par les lecteurs d'écran. */
  .cc-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .cc-t, .cc-t tbody, .cc-t tr, .cc-t th { display: block; }
  .cc-t tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .cc-t tr.cc-g { padding: 0; border: 0; }
  .cc-t th, .cc-t td { padding: 0; border: 0; }
  .cc-t tr.cc-g th { padding: 7px 12px; }
  .cc-t th[scope=row] { margin-bottom: 2px; }
  .cc-t td { display: inline; white-space: normal; font-size: .86rem; }
  .cc-t td:nth-child(3), .cc-t td:nth-child(4) { font-size: .84rem; }
  .cc-t td.num { color: var(--ink); font-size: .95rem; font-weight: 700; white-space: nowrap; }
  .cc-t td + td::before { content: " · "; }
}
/* ---- calendrier ---- */
/* /carburant-prix-coutant/, /guides/prix-carburant-vacances/ et encarts du calendrier (src/pages/calendrier.mjs). */
.cal-rep p { font-size: 1.05rem; }
.card .big.cal-big { font-size: 1.12rem; line-height: 1.25; }
.cal-t th small, .cal-t td small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; white-space: normal; }
.cal-t thead th { white-space: normal; vertical-align: bottom; }
.cal-t td.num small, .cal-nw { white-space: nowrap; }
.cal-d { margin: 12px 0; }
.cal-d summary { cursor: pointer; padding: 8px 0; font-weight: 700; }
.cal-g section > h2, .cal-fioul h2, .cal-auto h2 { margin-top: 1.4em; }
@media (max-width: 600px) {
  .cal-t { font-size: .82rem; }
  .cal-t th, .cal-t td { padding: 7px 4px; }
  .cal-t th[scope=row] { min-width: 5em; overflow-wrap: anywhere; }
  .cal-t th:first-child, .cal-t td:first-child { padding-left: 10px; }
  .cal-t th:last-child, .cal-t td:last-child { padding-right: 10px; }
  .cal-l th[scope=row], .cal-e th[scope=row] { min-width: 8em; }
  .cal-f th[scope=row], .cal-j th[scope=row] { min-width: 0; overflow-wrap: normal; }
}
/* ---- stations-reseau ---- */
/* /stations-service/ (src/pages/stations-reseau.mjs) : réponse en tête, en-têtes de colonnes sur plusieurs lignes, ligne
   de l'année provisoire surlignée ; tableaux resserrés sur mobile pour tenir à 390 px sans défilement. */
.sr-rep p { font-size: 1.05rem; }
.sr-t thead th { white-space: normal; vertical-align: bottom; }
.sr-t th[scope=row] small { white-space: normal; }
.sr-t td small { font-size: .8rem; white-space: nowrap; }
.sr-t tr.sr-prov { background: var(--brand-soft); }
.sr-dt { margin: 12px 0; }
.sr-dt summary { cursor: pointer; padding: 8px 0; font-weight: 700; }
@media (max-width: 600px) {
  .sr-t { font-size: .82rem; }
  .sr-t th, .sr-t td { padding: 7px 4px; }
  .sr-t thead th { font-size: .74rem; }
  .sr-t th:first-child, .sr-t td:first-child { padding-left: 10px; }
  .sr-t th:last-child, .sr-t td:last-child { padding-right: 10px; }
  .sr-d th[scope=row], .sr-l th[scope=row] { min-width: 7.5em; }
  .sr-d td small { display: block; }
}

/* ---- tendance ---- */
/* Tableaux de /tendance-prix-carburant/ et repères du baril (page Brent) : précisions sous la valeur (intervalle, effectif, date). */
.td-t td small, .td-t th[scope=row] small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; white-space: normal; }
.td-t thead th { white-space: normal; }
@media (max-width: 600px) { .td-t th, .td-t td { padding: 8px 5px; } .td-t th[scope=row] { min-width: 6.5em; } }
/* ---- questions ---- */
/* Réponse d'abord des guides et de /cout-100-km/ ; tableaux de trois à cinq colonnes lisibles à 390 px (valeur
   secondaire sous la valeur principale) ; résultat du calculateur du coût de 100 km sur plusieurs lignes. */
.q-reponse p { font-size: 1.05rem; }
.q-tbl td.num small, .c100-t td.num small { display: block; font-size: .8rem; }
.c100-calc .calc-out { font-size: 1rem; line-height: 1.7; }
@media (max-width: 600px) {
  .q-tbl, .c100-t { font-size: .9rem; }
  .q-tbl th, .q-tbl td, .c100-t th, .c100-t td { padding: 8px 5px; }
  .q-tbl thead th, .c100-t thead th { white-space: normal; }
  .q-tbl th[scope=row], .c100-t th[scope=row] { overflow-wrap: anywhere; }
}

/* ---- effort ---- */
/* /domicile-travail/budget-carburant/, blocs « budget carburant » des pages domicile-travail et encarts Europe
   (src/pages/effort.mjs) : précisions sous la valeur ou sous le nom, en-têtes sur deux lignes. */
.ef-rep p { font-size: 1.05rem; }
.ef-t td small, .ef-t th[scope=row] small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; white-space: normal; }
.ef-t td.num small { white-space: nowrap; }
.ef-t thead th { white-space: normal; vertical-align: bottom; }
.ef-t tr.ef-ref > * { background: color-mix(in srgb, var(--card) 90%, var(--brand)); }
@media (max-width: 600px) {
  .ef-t { font-size: .86rem; }
  .ef-t th, .ef-t td { padding: 7px 5px; }
  .ef-t th:first-child, .ef-t td:first-child { padding-left: 10px; }
  .ef-t th:last-child, .ef-t td:last-child { padding-right: 10px; }
  .ef-t th[scope=row] { min-width: 6.5em; overflow-wrap: anywhere; }
  .ef-t thead th { font-size: .74rem; }
}
/* Carte : une teinte, du clair au foncé ; en mode sombre l'ordre s'inverse (la classe la plus haute est la plus claire)
   pour que chaque classe se détache du fond. */
/* Bloc « L'essentiel » (réponse directe en tête de page) */
.essentiel { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 12px 16px; margin: 14px 0 6px; }
.essentiel h2 { font-size: 1rem; margin: 0 0 .35em; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.essentiel p { margin: 0 0 .4em; }
.essentiel p:last-child { margin-bottom: 0; }
/* Journal des mises à jour */
.journal { list-style: none; padding: 0; margin: 0; }
.journal li { border-left: 3px solid var(--line); padding: 2px 0 2px 12px; margin: 0 0 14px; }
.journal li p { margin: 0 0 .3em; }

/* Espace presse : graphiques SVG autonomes et code d'intégration */
.presse-graph { margin: 0 0 18px; }
.presse-graph img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.presse-graph figcaption { font-size: .9em; color: var(--muted); margin-top: 6px; }
pre.code { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; font-size: .85em; white-space: pre; }

/* ================================================================ Charte graphique
   Charte sobre en thème clair uniquement : fond blanc, bleu électrique #0000FF (couleur de la marque) pour les liens,
   les boutons et le logo, gris neutres pour les filets, aplats sans ombre ni dégradé, coins peu arrondis. Titres et prix en Public Sans
   (licence OFL, auto-hébergée dans src/static/fonts/ et préchargée par le gabarit) ; texte courant en police système.
   Le site reste distinct des sites de l'État : ni Marianne, ni bloc-marque, ni système de design de l'État (réservé aux
   services publics). */
@font-face { font-family: "Public Sans"; src: url("/fonts/public-sans-700-v1.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
h1, h2, h3, .logo, .big { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); line-height: 1.15; }
h2 { font-size: 1.45rem; line-height: 1.2; }
h3 { font-size: 1.12rem; line-height: 1.25; }
.kicker { letter-spacing: .06em; }

/* En-tête : blanc, filet gris, marque en bleu. */
.top { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 4px 12px -10px rgba(16, 24, 40, .3); }
.top-in { min-height: 64px; }
.logo, .logo:hover { color: var(--ink); }
.logo { font-size: 1.45rem; }
.logo.small { font-size: 1.2rem; }
.logo-ico { color: var(--brand); width: 32px; height: 32px; }
.logo { gap: 9px; }
.logo.small .logo-ico { width: 24px; height: 24px; }
.logo b { color: var(--brand); }
.nav > a, .menu > summary { color: var(--ink); }
.nav > a:hover, .nav > a.on, .nav > a[aria-current], .menu > summary:hover, .menu[open] > summary { background: var(--brand-soft); color: var(--brand); }
.nav > a.on, .nav > a[aria-current] { box-shadow: inset 0 -3px var(--brand); }
.nav > a.cta, .nav .cta { border-radius: var(--radius); background: var(--brand); color: #fff; box-shadow: none; }
.nav > a.cta:hover, .nav > a.cta.on, .nav > a.cta[aria-current] { background: var(--brand-2); color: #fff; box-shadow: none; }
.top a:focus-visible, .menu > summary:focus-visible, .search :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.search input { border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); padding: 10px 14px; }
.search button { background: var(--brand); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; padding: 0 14px; }
.search button:hover { background: var(--brand-2); }
@media (max-width: 47.5em) {
  .menu > summary { box-shadow: inset 0 0 0 1px var(--line-strong); }
  body.home .top .search { display: none; } /* la recherche est dans le haut de la page d'accueil */
}

/* Boutons : cibles tactiles de 44 px. */
.btn { min-height: 44px; border-radius: var(--radius); padding: 10px 18px; }
.btn.ghost { box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Accueil : texte et recherche à gauche, prix moyens du jour à droite (visibles sans défiler, sur ordinateur comme sur mobile). */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px 44px; align-items: center; padding: 30px 0 10px; }
.hero h1 { max-width: none; margin-top: .15em; }
.hero .lead { max-width: 34em; }
.hero-search { margin: 20px 0 12px; }
.hero-search input { min-height: 52px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.hero-search input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.hero-search .btn { min-height: 52px; padding: 0 22px; font-size: 1.05rem; }
.hero-act { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
@media (max-width: 56em) { .hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 14px; } }
@media (max-width: 47.5em) {
  .hero .lead { font-size: 1rem; }
  .hero-search { margin: 14px 0 10px; }
  .hero-act .btn { flex: 1 1 auto; justify-content: center; }
}

/* Tableau des prix moyens du jour (accueil). */
.totem { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); overflow: hidden; }
.totem h2 { margin: 0; padding: 14px 16px 0; font-size: 1.12rem; color: var(--ink); }
.totem-d { margin: 2px 0 0; padding: 0 16px 12px; color: var(--muted); font-size: .82rem; border-bottom: 1px solid var(--line); }
.totem ul { list-style: none; margin: 0; padding: 0; }
.totem li + li { border-top: 1px solid var(--line); }
.totem a { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.4em; align-items: center; gap: 10px; padding: 10px 16px; color: inherit; text-decoration: none; }
.totem a:hover { background: var(--brand-soft); color: inherit; }
.totem a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.t-f { display: flex; align-items: center; gap: 9px; min-width: 0; }
.t-n { display: flex; flex-direction: column; min-width: 0; color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.25; }
.t-n small { color: var(--muted); font-weight: 400; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-p { font-family: var(--font-display); font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-p b { font-size: 1.75rem; line-height: 1; font-weight: 700; }
.t-p small { margin-left: 3px; font-size: .78rem; color: var(--muted); }
.t-v { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.t-v .var { font-size: .84rem; }
.t-v small { color: var(--muted); font-size: .68rem; }
@media (max-width: 26em) { .t-n small { display: none; } .t-p b { font-size: 1.6rem; } .totem a { gap: 8px; grid-template-columns: minmax(0, 1fr) auto 3.9em; } }

/* Cartes : filet gris ; liseré de couleur seulement si la page en donne une (--fc, couleur du carburant). */
.card { border-radius: var(--radius); border-top-color: var(--fc, transparent); }
.big { font-size: 1.85rem; line-height: 1.15; }
a.card.fuel:hover { box-shadow: 0 0 0 1px var(--brand); }

/* Bloc « L'essentiel » : encadré d'information. */
.essentiel { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: var(--radius); box-shadow: none; }
.essentiel h2 { font-family: inherit; font-size: .82rem; letter-spacing: .08em; color: var(--brand); }

/* Tableaux : en-tête gris clair. */
thead th { background: #f3f5f8; }
tbody tr:hover { background: #f7f9fc; }

/* Fil d'Ariane : le dernier élément (souvent un long titre) tient sur une ligne, tronqué. */
.crumbs li[aria-current] { flex: 1 1 8em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Tableau des stations (prix de tous les carburants) : sur mobile, une carte par station, prix en tuiles, carburants
   absents masqués, en-tête transformé en barre de tri (le tri par clic de app.js reste le même). */
@media (max-width: 40em) {
  .st-wrap { overflow: visible; background: var(--card); }
  .st-cards, .st-cards tbody, .st-cards thead { display: block; }
  .st-cards thead tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .st-cards thead tr::before { content: "Trier par"; margin-right: 2px; color: var(--muted); font-size: .78rem; font-weight: 700; }
  .st-cards thead th { position: static; display: inline-flex; align-items: center; min-height: 34px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
  .st-cards tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); }
  .st-cards tbody tr > * { padding: 0; border: 0; }
  .st-cards tbody th[scope=row] { grid-column: 1 / -1; min-width: 0; margin-bottom: 2px; }
  .st-cards tbody th[scope=row] a { font-size: 1.05rem; }
  .st-cards td.pc { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 9px; border-radius: var(--radius); background: var(--tint); text-align: left; font-size: 1.12rem; box-shadow: inset 3px 0 0 var(--fc, var(--line)); }
  .st-cards td.pc::before { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .03em; }
  .st-cards td.pc .pv { padding: 0; background: none; }
  .st-cards td.pc.lo { background: var(--lo-bg); } .st-cards td.pc.hi { background: var(--hi-bg); }
  .st-cards td.pc.na { display: none; }
  .st-cards td[data-f="1"] { --fc: #c99700; } .st-cards td[data-f="1"]::before { content: "Gazole"; }
  .st-cards td[data-f="5"] { --fc: #3aa356; } .st-cards td[data-f="5"]::before { content: "SP95-E10"; }
  .st-cards td[data-f="2"] { --fc: #1f7a45; } .st-cards td[data-f="2"]::before { content: "SP95"; }
  .st-cards td[data-f="6"] { --fc: #0f4d2b; } .st-cards td[data-f="6"]::before { content: "SP98"; }
  .st-cards td[data-f="3"] { --fc: #1769aa; } .st-cards td[data-f="3"]::before { content: "E85"; }
  .st-cards td[data-f="4"] { --fc: #7b3fa0; } .st-cards td[data-f="4"]::before { content: "GPLc"; }
}

/* Fiche station : prix en grand ; sur mobile, une carte par carburant (prix en grand, détails dessous avec leur
   libellé), sans défilement horizontal. */
table.prices .pc { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
@media (max-width: 40em) {
  .tbl-wrap:has(> table.prices) { overflow: visible; background: var(--card); }
  table.prices, table.prices tbody { display: block; }
  table.prices thead { display: none; }
  table.prices tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.prices tbody tr > * { padding: 0; border: 0; }
  table.prices th[scope=row] { grid-column: 1 / 3; min-width: 0; font-size: 1rem; }
  table.prices .pc { grid-column: 3; justify-self: end; font-size: 1.7rem; }
  table.prices td:nth-child(n+3) { display: block; align-self: start; text-align: left; font-size: .9rem; white-space: normal; }
  table.prices td:nth-child(n+3) small { display: inline; }
  table.prices td:nth-child(n+3)::before { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
  table.prices td:nth-child(3)::before { content: "Mise à jour"; }
  table.prices td:nth-child(4)::before { content: "vs département"; }
  table.prices td:nth-child(5)::before { content: "vs France"; }
  table.prices td:nth-child(6)::before { content: "Rang dép."; }
  table.prices td:nth-child(7)::before { content: "Plein"; }
  table.prices td[colspan] { grid-column: 1 / -1; }
  table.prices td[colspan]::before { content: none; }
}

/* Pied de page : gris très clair, filet supérieur. */
.foot { background: #f3f5f8; color: #3b4352; border-top: 1px solid var(--line); }
.foot a { color: var(--ink); }
.foot a:hover, .foot a[aria-current] { color: var(--brand); }
.foot a:focus-visible { outline-color: var(--brand); }
.foot .logo.small { color: var(--ink); }
.foot .logo.small .logo-ico { color: var(--brand); }
.foot-g > div > p:first-child { color: var(--ink); }
.foot .fu, .foot .muted { color: var(--muted); }
.foot .fu a { background: #e3e8f0; color: var(--ink); }
.foot .fu a:hover, .foot .fu a[aria-current] { background: var(--brand); color: #fff; }
.foot-credits { border-top-color: var(--line); color: var(--muted); }
.foot .foot-voir { color: var(--muted); font-size: .88rem; }
.foot .foot-voir a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
