/* Watt Watt — DA « recharge de nuit » : encre bleu nuit, étincelle citron, prises qui sourient. Mobile d'abord. */
@font-face { font-family: 'Fredoka'; src: url(/assets/fonts/fredoka-latin-wght.woff2?v=5acd18c3fc) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(/assets/fonts/dmsans-latin.woff2?v=aa530716b0) format('woff2'); font-weight: 100 1000; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; src: url(/assets/fonts/dmsans-latin-ext.woff2?v=0d0609aee7) format('woff2'); font-weight: 100 1000; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F3F6FA; --surface: #FFFFFF; --surface2: #E9EFF8; --ink: #0B1530; --muted: #56637E; --line: #D7DFEC;
  --volt: #2346FF; --volt-ink: #FFFFFF; --volt-soft: #E3E9FF;
  --spark: #C8F31D; --spark-ink: #0B1530; --busy: #F2681F; --busy-soft: #FFE6D6; --hs: #8792A8; --warn: #9A4A00;
  --night: #0B1530; --night-2: #16224A; --night-ink: #F2F5FC; --night-muted: #A9B4D0;
  --prong: #0B1530; --r: 16px; --r-s: 10px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 6px 24px rgba(11, 21, 48, .07);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Fredoka', 'DM Sans', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1022; --surface: #121A31; --surface2: #1A2442; --ink: #EDF1FA; --muted: #9DA9C5; --line: #27325188;
    --volt: #8A9CFF; --volt-ink: #0A1022; --volt-soft: #1E2A55;
    --spark: #D2FF3D; --busy: #FF8E4F; --busy-soft: #3A2316; --hs: #7C88A3; --warn: #FFB466;
    --night: #121A31; --night-2: #1C2850; --prong: #C9D2E6;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--volt); text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; border-radius: 6px; }
code { font-size: .85em; background: var(--surface2); padding: .1em .35em; border-radius: 6px; word-break: break-all; }

/* ——— En-tête ——— */
.top { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 600 1.25rem/1 var(--display); letter-spacing: -.01em; }
.logo { display: inline-flex; align-items: flex-end; }
.logo .p2 { margin-left: -6px; transform: translateY(2px) rotate(8deg); }
.plug { --spark: inherit; display: block; }
.logo .plug rect:nth-of-type(3) { fill: var(--spark); }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.nav a:hover { background: var(--surface2); }
@media (max-width: 640px) { .nav a:not([href="/trajet"]):not([href="/#carte"]) { display: none; } .nav a { padding: 8px; } }

/* ——— Boutons, champs ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--volt); color: var(--volt-ink); font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn:disabled { opacity: .55; cursor: progress; }
input[type=search], input[type=email], input[type=number], input[type=text], select {
  font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 12px; min-height: 46px; padding: 0 14px; width: 100%;
}
input:focus, select:focus { border-color: var(--volt); outline: none; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.sel { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.sel select { min-height: 42px; color: var(--ink); font-weight: 500; }
.tog { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.tog input { width: 20px; height: 20px; accent-color: var(--volt); }

/* ——— Héros ——— */
.hero { position: relative; display: grid; gap: 22px; margin: 18px 0 18px; padding: 26px 20px 22px; background: var(--night); color: var(--night-ink); border-radius: 24px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--volt) 45%, transparent), transparent 70%), radial-gradient(420px 260px at 0% 110%, color-mix(in srgb, var(--spark) 22%, transparent), transparent 70%); }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero .lead { color: var(--night-muted); font-size: 1.06rem; max-width: 34em; }
.hero-n { margin: 14px 0 0; font-size: .9rem; color: var(--night-muted); }
.hero-n strong { color: var(--spark); }
.hero-vis { position: relative; }
.mascot { position: absolute; right: 10px; top: -30px; transform: rotate(12deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }
.mascot .plug { --spark: #C8F31D; }
.mascot .plug rect:nth-of-type(3), .lc-empty .plug rect:nth-of-type(3) { fill: #C8F31D; }
.mascot .plug rect:nth-of-type(1), .mascot .plug rect:nth-of-type(2) { fill: #F2F5FC; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.25fr 1fr; align-items: center; padding: 44px 44px 40px; gap: 40px; }
  .mascot { right: -8px; top: -38px; }
}

.where { position: relative; display: grid; gap: 10px; max-width: 560px; }
.where-row { display: flex; gap: 8px; }
.where-row input { flex: 1; min-width: 0; }
.hero .where input { background: #fff; color: #0B1530; border-color: transparent; }
.hero .btn { background: var(--spark); color: var(--spark-ink); }
.locate { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: inherit; font: 600 .95rem var(--font); padding: 6px 0; cursor: pointer; }
.hero .locate { color: var(--spark); }
.locate.small { font-size: .85rem; padding: 4px 0; color: var(--volt); }
.sug { position: absolute; z-index: 1200; left: 0; right: 0; top: 50px; margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.sug li { padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.sug li[aria-selected=true], .sug li:hover { background: var(--surface2); }

/* Carte « en direct » (vraie borne) */
.live-card { display: grid; gap: 10px; padding: 18px; background: var(--surface); color: var(--ink); border-radius: 20px; text-decoration: none; box-shadow: 0 12px 40px rgba(0,0,0,.28); max-width: 420px; margin-inline: auto; width: 100%; }
.lc-top { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; align-items: center; }
.lc-k { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.lc-k i, .badge i, .chip-live i { width: 8px; height: 8px; border-radius: 50%; background: #3BC45A; box-shadow: 0 0 0 3px color-mix(in srgb, #3BC45A 30%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
@media (prefers-reduced-motion: reduce) { .lc-k i, .badge i, .chip-live i { animation: none; } }
.lc-name { font: 600 1.2rem/1.2 var(--display); }
.lc-sub { color: var(--muted); font-size: .9rem; margin-top: -6px; }
.lc-big { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lc-free, .lc-kw { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; }
.lc-free { background: var(--spark); color: var(--spark-ink); }
.lc-kw { background: var(--surface2); }
.lc-big b { font: 600 2.4rem/1 var(--display); }
.lc-big span span { font-size: .8rem; line-height: 1.2; font-weight: 600; }
.lc-price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 4px; border-top: 1px dashed var(--line); }
.lc-price span { color: var(--muted); font-size: .85rem; }
.lc-price b { font: 600 1.15rem var(--display); text-align: right; }
.lc-plugs { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-plugs span { font-size: .78rem; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: var(--volt-soft); color: var(--volt); }
@media (prefers-color-scheme: dark) { .lc-plugs span { color: var(--ink); } }
.lc-empty { place-items: center; text-align: center; padding: 30px; }

/* ——— Pastilles d'état ——— */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.b-free { background: var(--spark); color: var(--spark-ink); }
.b-free i { background: #1F8A3A; box-shadow: none; animation: none; }
.b-busy { background: var(--busy-soft); color: var(--busy); }
.b-busy i { background: var(--busy); box-shadow: none; animation: none; }
.b-hs { background: var(--surface2); color: var(--muted); }
.b-hs i { background: var(--hs); box-shadow: none; animation: none; }
.b-unk, .b-none { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; }
.b-speed { background: var(--volt-soft); color: var(--volt); }
@media (prefers-color-scheme: dark) { .b-speed { color: var(--ink); } }
.b-warn { background: var(--busy-soft); color: var(--warn); }

/* ——— Carte + liste ——— */
.finder { scroll-margin-top: 64px; margin: 18px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.f-bar { padding: 12px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .92rem var(--font); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip-live[aria-pressed=true] { background: var(--spark); color: var(--spark-ink); border-color: var(--spark); }
.chip-live i { background: #2BB14B; }
.chip-more { margin-left: auto; }
.chip-more[aria-expanded=true] { background: var(--surface2); }
.f-more { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: end; padding: 4px 2px 2px; }
.f-more .sel { min-width: 200px; }
.f-body { display: grid; }
.f-map { height: 56vh; min-height: 340px; max-height: 620px; background: var(--surface2); }
.f-side { border-top: 1px solid var(--line); max-height: 640px; overflow: auto; }
.f-head { position: sticky; top: 0; z-index: 2; background: var(--surface); padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.f-head strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.f-head span { font-size: .85rem; }
.f-list { list-style: none; margin: 0; padding: 4px 6px 10px; }
.f-empty, .empty { padding: 18px 14px; color: var(--muted); margin: 0; }
.f-msg { margin: 8px 14px; padding: 10px 12px; background: var(--busy-soft); color: var(--warn); border-radius: 10px; font-size: .9rem; }
.finder.busy .f-head::after { content: ''; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--spark), var(--volt), var(--spark)); background-size: 200% 100%; animation: load 1s linear infinite; }
@keyframes load { to { background-position: -200% 0; } }
@media (min-width: 900px) {
  .f-body { grid-template-columns: 1fr 400px; }
  .f-map { height: 640px; max-height: none; }
  .f-side { border-top: 0; border-left: 1px solid var(--line); height: 640px; max-height: none; }
  .f-bar { grid-template-columns: 1fr; }
}

/* Lignes de station */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 10px; border-radius: 14px; text-decoration: none; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; cursor: pointer; }
.row:hover, .row.on { background: var(--surface2); }
.block .rows .row { background: var(--surface); border: 1px solid var(--line); }
.block .rows .row:hover { border-color: var(--volt); }
.kw { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface2); line-height: 1; }
.kw b { font: 600 1.15rem var(--display); }
.kw small { font-size: .68rem; font-weight: 700; color: var(--muted); }
.kw-hpc { background: var(--ink); color: var(--spark); }
.kw-hpc small { color: var(--night-muted); }
@media (prefers-color-scheme: dark) { .kw-hpc { background: var(--spark); color: var(--spark-ink); } .kw-hpc small { color: #3A4A12; } }
.kw-fast { background: var(--volt); color: var(--volt-ink); }
.kw-fast small { color: inherit; opacity: .8; }
.nm { display: grid; gap: 2px; min-width: 0; }
.nm b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nm .muted { font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tags { font-size: .78rem; color: var(--muted); }
.rt { display: grid; gap: 6px; justify-items: end; text-align: right; }
.price { font: 600 .92rem var(--display); white-space: nowrap; }
.price.unk { font: 500 .78rem var(--font); color: var(--muted); }
@media (max-width: 420px) { .row { grid-template-columns: 46px 1fr; } .kw { width: 46px; height: 46px; } .rt { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; } }

/* Marqueurs Leaflet */
.pin { display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--surface); box-shadow: 0 2px 6px rgba(11,21,48,.35), inset 0 0 0 2px var(--hs); }
.pin span { transform: rotate(45deg); font: 700 .72rem/1 var(--display); color: var(--ink); }
.pin.free { background: var(--spark); box-shadow: 0 2px 6px rgba(11,21,48,.35), inset 0 0 0 2px #0B1530; }
.pin.free span { color: #0B1530; }
.pin.busy { background: var(--busy); box-shadow: 0 2px 6px rgba(11,21,48,.35); }
.pin.busy span { color: #fff; }
.pin.hs { background: var(--hs); box-shadow: 0 2px 6px rgba(11,21,48,.35); opacity: .85; }
.pin.hs span { color: #fff; }
.pin.unk { background: var(--surface); box-shadow: 0 2px 6px rgba(11,21,48,.25), inset 0 0 0 2px var(--hs); }
.pin.sel { outline: 3px solid var(--volt); outline-offset: 2px; }
.sdot { display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--hs), 0 1px 3px rgba(0,0,0,.3); }
.sdot.free { background: var(--spark); box-shadow: 0 0 0 2px #0B1530; }
.sdot.busy { background: var(--busy); box-shadow: 0 0 0 2px #fff; }
.sdot.hs { background: var(--hs); }
.dpin { display: grid; place-items: center; min-width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0 6px; border-radius: 23px; background: var(--ink); color: var(--bg); font: 600 .78rem/1.05 var(--display); text-align: center; box-shadow: 0 3px 10px rgba(11,21,48,.35); border: 3px solid var(--spark); cursor: pointer; }
.dpin small { display: block; font: 600 .6rem var(--font); opacity: .75; }
.dpin.dot { min-width: 18px; width: 18px; height: 18px; margin: -9px 0 0 -9px; padding: 0; border-width: 3px; }
.me { display: block; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--volt); border: 3px solid #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--volt) 30%, transparent); }
.leaflet-container { font: inherit; background: var(--surface2); }
.leaflet-popup-content-wrapper { border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { margin: 14px 16px; min-width: 220px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-control-attribution { font-size: 10px; background: color-mix(in srgb, var(--surface) 85%, transparent) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--muted); }
.leaflet-bar a { background: var(--surface); color: var(--ink); border-color: var(--line); }
@media (prefers-color-scheme: dark) { .leaflet-tile-pane { filter: brightness(.72) contrast(1.1) saturate(.75) hue-rotate(195deg) invert(.92); } }
.pop { display: grid; gap: 6px; }
.pop strong { font: 600 1.02rem/1.2 var(--display); }
.pop .pp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pop .pr { font-weight: 700; }
.pop-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pop-a .btn { min-height: 38px; padding: 0 12px; font-size: .9rem; }
.f-legend { position: absolute; z-index: 800; left: 10px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--surface) 92%, transparent); font-size: .74rem; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 70px); }
.f-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }

/* ——— Encart partenaire ——— */
.partner { margin: 18px 0; padding: 14px; border-radius: 18px; border: 2px dashed var(--line); }
.p-k { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.p-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .p-grid { grid-template-columns: 1fr 1fr; } }
.p-it { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); position: relative; }
.p-it span { font-size: .88rem; color: var(--muted); padding-right: 60px; }
.p-soon { position: absolute; right: 12px; top: 12px; font-size: .72rem !important; font-weight: 700; padding: 2px 8px !important; border-radius: 6px; background: var(--surface2); }

/* ——— Liens, FAQ, blocs ——— */
.links { display: grid; gap: 14px; margin: 26px 0; }
@media (min-width: 900px) { .links { grid-template-columns: 1fr 1fr; } .trip-cta { grid-column: 1 / -1; } }
.trip-cta { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--volt); color: var(--volt-ink); text-decoration: none; }
.trip-cta strong { display: block; font: 600 1.2rem var(--display); }
.trip-cta span span { opacity: .9; }
.trip-cta .plug rect:nth-of-type(3) { fill: #C8F31D; }
.trip-cta .plug rect:nth-of-type(1), .trip-cta .plug rect:nth-of-type(2) { fill: #fff; }
.lk { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.lk h2 { font-size: 1.1rem; margin: 0 0 8px; display: inline; }
.lk > h2 { display: block; }
.lk summary { cursor: pointer; list-style: none; }
.lk summary::after { content: ' +'; font-weight: 700; color: var(--muted); }
.lk[open] summary::after { content: ' –'; }
.lk[open] .inline { margin-top: 10px; }
.inline { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; }
.inline a { display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 10px; border-radius: 10px; background: var(--surface2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.inline a:hover { background: var(--volt-soft); color: var(--volt); }
.inline small { color: var(--muted); font-weight: 500; }
.faq { margin: 28px 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 12px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font: 600 1.3rem/1 var(--display); color: var(--volt); }
.faq details[open] summary::after { content: '–'; }
.faq details div { padding: 0 0 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 14px 0 0; font-size: .84rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin: 0 4px; }
.crumbs a { color: var(--muted); }
.ph { margin: 14px 0 8px; }
.ph .lead { color: var(--muted); max-width: 52em; font-size: 1.05rem; }
.note { padding: 10px 14px; background: var(--surface2); border-radius: 12px; font-size: .92rem; }
.kpis { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpis li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: grid; }
.kpis b { font: 600 1.6rem/1.1 var(--display); }
.kpis span { font-size: .82rem; color: var(--muted); }
.kpis em { font-style: normal; color: var(--ink); font-weight: 700; }
.block { margin: 22px 0; }
.cols { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cols a { display: grid; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.cols a:hover { border-color: var(--volt); }
.cols .muted { font-size: .84rem; }
.plain { padding-left: 1.2em; }
.more { font-weight: 700; }
.nf, .alert-page { padding: 30px 0; max-width: 640px; }
.alert-page .plug { margin-bottom: 10px; }
.alert-page form { margin: 16px 0; }

/* ——— Fiche station ——— */
.st-head h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-top: 10px; }
.st-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.st-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .st-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.st-sum { display: grid; gap: 8px; margin-bottom: 18px; }
@media (min-width: 600px) { .st-sum { grid-template-columns: repeat(3, 1fr); } }
.sum-it { display: grid; gap: 2px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; align-content: start; }
.sum-it .k { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sum-it b { font: 600 1.15rem/1.25 var(--display); }
.sum-it b.ok { color: inherit; background: var(--spark); color: var(--spark-ink); justify-self: start; padding: 2px 8px; border-radius: 8px; }
.sum-it b.busy { color: var(--busy); }
.sum-it b.unk { color: var(--muted); font-family: var(--font); font-weight: 700; font-size: 1rem; }
.sum-it .muted { font-size: .84rem; }
.pdc { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pd { display: grid; grid-template-columns: 110px 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--line); }
.pd-st { font-weight: 700; font-size: .88rem; grid-row: span 2; align-self: center; }
.pd-libre { border-left-color: var(--spark); }
.pd-libre .pd-st { color: inherit; }
.pd-occupe, .pd-reserve { border-left-color: var(--busy); }
.pd-occupe .pd-st, .pd-reserve .pd-st { color: var(--busy); }
.pd-hs { border-left-color: var(--hs); }
.pd-hs .pd-st, .pd-none .pd-st, .pd-inconnu .pd-st { color: var(--muted); }
.pd-price { font-weight: 600; font-size: .92rem; }
.pd-price small { display: block; font-weight: 500; color: var(--muted); }
.pd-price.unk { color: var(--muted); font-weight: 500; }
.pd-at { grid-column: 2; font-size: .8rem; }
.raw { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.raw summary { cursor: pointer; font-weight: 600; }
.st-map { height: 260px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface2); }
.alert-box { padding: 16px; border-radius: 20px; background: var(--night); color: var(--night-ink); }
.alert-box h2 { color: #fff; margin: 0 0 4px; font-size: 1.25rem; }
.alert-box .muted { color: var(--night-muted); }
.al-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.al-head .plug rect:nth-of-type(3) { fill: #C8F31D; }
.al-head .plug rect:nth-of-type(1), .al-head .plug rect:nth-of-type(2) { fill: #F2F5FC; }
.al-head p { margin: 0; font-size: .9rem; }
.al-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.al-row .sel { color: var(--night-muted); min-width: 140px; }
.al-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.alert-box .btn { background: var(--spark); color: var(--spark-ink); }
.alert-box .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #3A477A; }
.al-mail { margin-top: 12px; display: grid; gap: 6px; }
.al-mail label { font-weight: 600; font-size: .9rem; }
.al-mail input { background: #fff; color: #0B1530; border-color: transparent; }
.al-msg { margin: 10px 0 0; font-weight: 600; min-height: 1.2em; }
.al-msg.ok { color: var(--spark); }
.al-msg.err { color: #FFB08A; }
.note-box p { margin: 0; padding: 14px; border-radius: 14px; background: var(--surface2); }
.facts { display: grid; grid-template-columns: minmax(110px, 30%) 1fr; gap: 8px 14px; margin: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.facts dt { font-weight: 700; color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* ——— Mon trajet ——— */
.trip-form { display: grid; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.tf-field { position: relative; display: grid; gap: 4px; }
.tf-field label { font-weight: 700; font-size: .88rem; }
.tf-field .locate { position: absolute; right: 0; top: -4px; }
.unit { display: flex; align-items: center; gap: 8px; }
.unit input { max-width: 140px; }
.unit span { font-weight: 600; color: var(--muted); }
.tf-more summary { cursor: pointer; font-weight: 700; color: var(--volt); padding: 4px 0; }
.tf-more-in { display: grid; gap: 12px; padding-top: 10px; }
@media (min-width: 900px) {
  .trip-form { grid-template-columns: 1fr 1fr 190px auto; align-items: end; }
  .tf-more { grid-column: 1 / -1; }
  .tf-more-in { grid-template-columns: 1fr 1fr 1fr; }
  .tf-go { min-width: 170px; }
}
.trip-res { margin: 18px 0; }
.trip-sum { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.trip-sum .pill { padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.trip-sum .pill b { font-family: var(--display); font-size: 1.1rem; }
.trip-sum .gap { background: var(--busy-soft); color: var(--warn); border-color: transparent; }
.trip-body { display: grid; gap: 12px; }
.trip-map { height: 52vh; min-height: 320px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface2); }
.trip-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: stop; }
.trip-stops li { position: relative; }
.stop { display: grid; gap: 4px; padding: 12px 14px 12px 54px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; position: relative; }
.stop::before { counter-increment: stop; content: counter(stop); position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); font: 600 1rem var(--display); }
.stop.end::before { content: '🏁'; background: var(--surface2); }
.stop b { font-weight: 700; }
.stop .muted { font-size: .85rem; }
.stop .rt { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
.trip-all { margin-top: 12px; }
.trip-all summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.trip-list { list-style: none; margin: 0; padding: 0; }
.trip-msg { padding: 12px 14px; border-radius: 12px; background: var(--busy-soft); color: var(--warn); font-weight: 600; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .trip-body { grid-template-columns: 1fr 380px; } .trip-map { height: 620px; } .trip-side { max-height: 620px; overflow: auto; } }

/* ——— Pages de texte ——— */
.prose { max-width: 760px; margin: 10px 0 30px; }
.prose.wide { max-width: 960px; }
.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--surface2); }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; white-space: nowrap; }

/* ——— Pied ——— */
.foot { margin-top: 40px; padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.foot a { color: var(--muted); }
.legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0; }
.copy { margin: 0; }
.st-aside .p-grid { grid-template-columns: 1fr; }
.row.stop { grid-template-columns: 46px 1fr; }
.row.stop .kw { width: 46px; height: 46px; }
.row.stop .rt { grid-column: 2; grid-auto-flow: column; justify-content: start; align-items: center; }
.row.stop .nm .muted { white-space: normal; }
.partner { border-style: solid; border-width: 1px; background: var(--surface2); }
@media (min-width: 900px) { .p-grid { grid-template-columns: repeat(3, 1fr); } .st-aside .p-grid { grid-template-columns: 1fr; } }
.p-it span { padding-right: 0; }
.p-it details { font-size: .85rem; color: var(--muted); }
.p-it details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.p-it details p { margin: 6px 0 0; }
.p-go { justify-self: start; margin-top: 6px; font-weight: 700; text-decoration: none; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: .9rem; }
.p-go small { font-weight: 500; opacity: .75; }
.aff-tag { background: var(--busy-soft); color: var(--warn); padding: 1px 6px; border-radius: 6px; }
.p-note { margin: 10px 2px 0; font-size: .78rem; color: var(--muted); }
/* Signalements d'usagers : volontairement distincts du statut officiel (bordure pointillée, mention « non officiel »). */
.community { padding: 14px 16px; border: 2px dashed var(--line); border-radius: 18px; }
.community h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.unofficial { font: 700 .7rem var(--font); text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--surface2); color: var(--muted); }
.rp-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.rp-panne b { color: var(--warn); }
.rp-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rp-btns .chip { min-height: 36px; font-size: .86rem; }
.rp-msg { margin: 8px 0 0; font-weight: 600; }
/* Calculateurs */
.calc { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.calc-in { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: end; }
.calc-in .tf-field > span:first-child { font-weight: 700; font-size: .88rem; }
.calc-in .unit input { max-width: 120px; }
.calc-more { grid-column: 1 / -1; }
.calc-more summary { cursor: pointer; font-weight: 700; color: var(--volt); }
.calc-more-in { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-top: 10px; }
.cost-rows { display: grid; gap: 10px; }
.cost-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.cr-l { font-weight: 600; font-size: .95rem; }
.cr-v { font: 600 1.15rem var(--display); text-align: right; white-space: nowrap; }
.cr-bar { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: var(--surface2); overflow: hidden; }
.cr-bar i { display: block; height: 100%; border-radius: 6px; background: var(--spark); }
.cost-row.fuel .cr-bar i { background: var(--busy); }
.cr-d { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; margin-top: -2px; }
@media (min-width: 760px) { .cost-row { grid-template-columns: 280px 1fr 110px; } .cr-bar { grid-column: auto; } .cr-d { grid-column: 1 / -1; } }
.calc-plein h2 { font-size: 1.15rem; margin-bottom: 4px; }
.srcs { padding-left: 1.2em; color: var(--muted); font-size: .9rem; }
.method { margin: 10px 0 18px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: .92rem; }
.method summary { cursor: pointer; font-weight: 700; }
.method ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); }
.tbl.rank td:first-child { color: var(--muted); width: 2.5em; }
.tbl.modes td:not(:first-child) { white-space: normal; }
.rank-cards a { gap: 4px; }
.tbl.rank th:nth-child(2), .tbl.rank td:nth-child(2), .tbl.modes th, .tbl.modes td { text-align: left; white-space: normal; }
.tool-cards { display: grid; gap: 10px; }
@media (min-width: 760px) { .tool-cards { grid-template-columns: repeat(3, 1fr); grid-column: 1 / -1; } }
.tool-cards a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tool-cards a:hover { border-color: var(--volt); }
.tool-cards strong { font: 600 1.1rem var(--display); }
.tool-cards span { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .nav a:not([href="/trajet"]):not([href="/#carte"]):not([href="/electrique-vs-essence"]) { display: none; } }
