/* Polices hébergées sur le site (licence SIL OFL, voir assets/fonts/LICENCES.txt) */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Chivo Mono"; src: url("fonts/chivo-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Plein Malin : page claire et fraîche ; les prix s'affichent comme sur le panneau lumineux d'une station.
   Une colonne de 880px max, recherche en tête, puis le bilan d'économies, puis la liste. */
:root {
  --bg: #f4f7f3;
  --surface: #ffffff;
  --ink: #17231c;
  --muted: #5d6c63;
  --line: #dbe4dd;
  --vert: #0d8159;          /* accent : l'économie */
  --vert-pale: #e3f3eb;
  --vert-ink: #ffffff;
  --totem: #18211c;         /* panneau de prix, sombre dans les deux thèmes */
  --totem-bord: #2c3a32;
  --led: #ffb21e;           /* chiffres lumineux */
  --led-doux: #c9b48a;
  --cher: #c0392b;
  --cher-pale: #fbe9e6;
  --orange: #b4600d;
  --auto: #2c5fb8;
  --ombre: 0 1px 2px rgb(23 35 28 / .06), 0 6px 20px rgb(23 35 28 / .06);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-led: "Chivo Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1411; --surface: #161f1a; --ink: #e4ece6; --muted: #93a49a; --line: #26332b;
    --vert: #3ccf8e; --vert-pale: #13291f; --vert-ink: #08140e;
    --totem: #0a0f0c; --totem-bord: #2a3830; --led: #ffbb33; --led-doux: #9c8a66;
    --cher: #ff8a7a; --cher-pale: #2d1a17; --orange: #f0a050; --auto: #8ab4ff;
    --ombre: 0 1px 2px rgb(0 0 0 / .3), 0 6px 20px rgb(0 0 0 / .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding-inline: 16px; }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 2px; border-radius: 4px; }

/* Barre du haut */
.barre-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; text-decoration: none; }
.marque span { color: var(--vert); }
.baseline { font-size: .85rem; color: var(--muted); text-align: right; }

/* Recherche */
.hero { padding-block: 10px 22px; }
.accroche { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.02; letter-spacing: -.03em; margin: 18px 0 18px; text-wrap: balance; max-width: 16ch; }
.accroche em { font-style: normal; color: var(--vert); }
.recherche { position: relative; display: flex; gap: 0; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; box-shadow: var(--ombre); }
.recherche:focus-within { border-color: var(--vert); }
.recherche input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: 14px 16px; border: 0; background: transparent; color: var(--ink); border-radius: 14px; }
.recherche input:focus { outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 10px 18px; background: var(--vert); color: var(--vert-ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.recherche .btn { margin: 5px; }
.suggestions { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 5; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgb(0 0 0 / .18); overflow: hidden; }
.suggestions a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; text-decoration: none; }
.suggestions a:hover, .suggestions a.on { background: var(--vert-pale); }
.suggestions small { color: var(--muted); }

.carburants { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.carb { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); }
.carb:hover { border-color: var(--muted); }
.carb[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Contenu */
.contenu { padding-block: 6px 24px; }
.alerte { background: var(--cher-pale); border: 1px solid var(--cher); border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.entete-resultats { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.lieu, .titre-section { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.1; margin: 0; text-wrap: balance; }
.lieu small { font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.reglages { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; }
.chip { font-size: .85rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.chip[aria-current="true"] { background: var(--vert); color: var(--vert-ink); border-color: var(--vert); }
.sep { width: 1px; height: 18px; background: var(--line); margin-inline: 4px; }

h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; margin: 30px 0 10px; }
.vide { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 28px 18px; text-align: center; color: var(--muted); }

/* Panneau lumineux (signature) */
.totem { background: var(--totem); border: 2px solid var(--totem-bord); border-radius: 10px; color: var(--led); font-family: var(--font-led); font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 0 10px rgb(255 178 30 / .35); }
.totem sup { font-size: .55em; vertical-align: .7em; margin-left: 1px; }
.totem-carb { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--led-doux); text-shadow: none; }

/* Bilan d'économies */
.bilan { display: grid; grid-template-columns: auto 1fr; gap: 18px 22px; align-items: center; background: var(--surface); border-radius: 18px; padding: 20px; box-shadow: var(--ombre); border: 1px solid var(--line); }
.bilan .totem { padding: 14px 18px; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; text-align: center; }
.bilan .totem .totem-carb { margin-bottom: 6px; }
.bilan-texte { min-width: 0; }
.bilan-etiquette { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vert); margin: 0; }
.bilan-nom { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; margin: 4px 0; overflow-wrap: anywhere; }
.bilan-nom a { text-decoration: none; }
.bilan-nom a:hover { text-decoration: underline; }
.bilan-gain { display: inline-block; margin-top: 8px; background: var(--vert-pale); color: var(--vert); font-weight: 700; padding: 6px 12px; border-radius: 10px; }
.chiffres { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.chiffre { background: var(--bg); padding: 10px 12px; }
.chiffre b { display: block; font-family: var(--font-led); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.chiffre span { font-size: .78rem; color: var(--muted); }
@media (max-width: 600px) {
  .bilan { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
}

/* Liste de stations */
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.st { display: grid; grid-template-columns: 7.2rem 1fr auto; gap: 4px 16px; align-items: center; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.st.top1 { border-color: var(--vert); box-shadow: inset 0 0 0 1px var(--vert); }
.st .totem { padding: 7px 8px; font-size: 1.35rem; line-height: 1.05; text-align: center; }
.info { min-width: 0; }
.nom { display: block; font-weight: 700; font-size: 1.02rem; text-decoration: none; overflow-wrap: anywhere; }
.nom:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: center; margin: 2px 0 0; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; border: 1px solid currentColor; }
.tag.auto { color: var(--auto); }
.gain { text-align: right; font-size: .85rem; line-height: 1.3; }
.gain b { display: block; font-family: var(--font-led); font-size: 1rem; }
.gain.moins b { color: var(--vert); }
.gain.plus b { color: var(--cher); }
.gain span { color: var(--muted); }
.fraicheur { font-size: .8rem; font-weight: 600; }
.fraicheur.ok { color: var(--vert); } .fraicheur.mid { color: var(--muted); } .fraicheur.old { color: var(--orange); } .fraicheur.alert { color: var(--cher); }
.hausse { color: var(--cher); } .baisse { color: var(--vert); }
@media (max-width: 560px) {
  .st { grid-template-columns: 5.9rem 1fr; padding: 10px; gap: 4px 12px; }
  .st .totem { font-size: 1.12rem; grid-row: span 2; }
  .gain { grid-column: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .gain b { display: inline; }
}

/* Accueil : panneau des prix moyens */
.panneau { background: var(--totem); border: 3px solid var(--totem-bord); border-radius: 18px; padding: 10px 14px; box-shadow: var(--ombre); }
.panneau-titre { display: flex; justify-content: space-between; gap: 10px; color: var(--led-doux); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 6px 10px; border-bottom: 1px dashed var(--totem-bord); }
.panneau-ligne { display: grid; grid-template-columns: 1fr auto 9.5rem; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px dashed var(--totem-bord); text-decoration: none; color: #e9efe9; border-radius: 8px; }
.panneau-ligne:last-child { border-bottom: 0; }
.panneau-ligne:hover { background: rgb(255 255 255 / .04); }
.panneau-ligne.actif .panneau-carb::before { content: "▸ "; color: var(--led); }
.panneau-carb { font-weight: 700; letter-spacing: .04em; }
.panneau-prix { font-family: var(--font-led); font-weight: 700; font-size: 1.7rem; color: var(--led); text-shadow: 0 0 10px rgb(255 178 30 / .35); font-variant-numeric: tabular-nums; }
.panneau-prix sup { font-size: .55em; vertical-align: .7em; }
.panneau-var { font-size: .8rem; text-align: right; color: var(--led-doux); }
.panneau-var.hausse { color: #ff8f80; } .panneau-var.baisse { color: #5fe0a3; }
@media (max-width: 560px) {
  .panneau-ligne { grid-template-columns: 1fr auto; }
  .panneau-var { grid-column: 1 / -1; text-align: left; margin-top: -6px; }
  .panneau-prix { font-size: 1.45rem; }
}

/* Courbes */
.carte-courbe { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; overflow-x: auto; }
.courbe { display: block; width: 100%; height: auto; min-width: 280px; }
.courbe .grille { stroke: var(--line); stroke-width: 1; }
.courbe .axe { fill: var(--muted); font-family: var(--font-led); font-size: 11px; }
.courbe .ligne { fill: none; stroke: var(--vert); stroke-width: 2.5; stroke-linejoin: round; }
.courbe .aire { fill: var(--vert); opacity: .1; }
.courbe .point { fill: var(--vert); stroke: var(--surface); stroke-width: 2; }

/* Fiche station */
.fil { margin: 0 0 14px; font-size: .92rem; }
.fiche-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.fiche-entete > div { min-width: 0; }
.fiche-prix { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.carb-ligne { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 7.2rem 1fr; gap: 6px 16px; align-items: start; }
.carb-ligne.top1 { border-color: var(--vert); box-shadow: inset 0 0 0 1px var(--vert); }
.carb-ligne .totem { padding: 8px; font-size: 1.35rem; line-height: 1.05; text-align: center; }
.carb-details { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--muted); min-width: 0; }
.carb-ligne .carte-courbe { grid-column: 1 / -1; border: 0; padding: 4px 0 0; background: transparent; }
.note-courbe { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin: 0; }
.services { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.services li { font-size: .86rem; padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

.pied { color: var(--muted); font-size: .84rem; padding-block: 10px 32px; border-top: 1px solid var(--line); margin-top: 20px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Mouvement et interactions ---------- */
.direct { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 0 var(--vert); animation: pouls 2s infinite; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 rgb(13 129 89 / .5); } 70% { box-shadow: 0 0 0 9px rgb(13 129 89 / 0); } 100% { box-shadow: 0 0 0 0 rgb(13 129 89 / 0); } }

.hero.compact { padding-block: 4px 18px; }
.collant { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; padding-block: 8px; margin-block: -8px; background: var(--bg); }
.collant.colle { box-shadow: 0 10px 18px -14px rgb(0 0 0 / .35); }
.btn-geo { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 999px; border: 1.5px dashed var(--vert); color: var(--vert); background: transparent; cursor: pointer; }
.btn-geo:hover { background: var(--vert-pale); }
.btn-geo svg { flex: none; }

/* Carte « Près de vous » */
.pres { margin-bottom: 22px; }
.pres .bilan { border: 2px solid var(--vert); }
.pres-attente { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; padding: 18px 20px; color: var(--muted); }
.pres-attente .totem { padding: 8px 12px; font-size: 1.5rem; }
.pres-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn.secondaire { background: var(--vert-pale); color: var(--vert); }
.clignote { animation: clignote 1s steps(2, start) infinite; }
@keyframes clignote { to { visibility: hidden; } }

/* Bandeau défilant des meilleurs prix */
.bandeau { overflow: hidden; background: var(--totem); border-radius: 12px; border: 2px solid var(--totem-bord); margin-bottom: 8px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bandeau-piste { display: flex; width: max-content; animation: defile 45s linear infinite; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau-groupe { display: flex; }
.bandeau-item { padding: 9px 22px; white-space: nowrap; color: #dfe7e1; font-size: .9rem; border-right: 1px dashed var(--totem-bord); }
.bandeau-item b { font-family: var(--font-led); color: var(--led); text-shadow: 0 0 8px rgb(255 178 30 / .4); margin-right: 6px; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Apparition en cascade (depuis un état déjà lisible) */
.liste .st, .fiche-prix .carb-ligne, .bilan, .panneau-ligne { animation: monte .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes monte { from { transform: translateY(10px); opacity: .35; } }
.st, .carb-ligne, .chip, .carb, .btn { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }
.st:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.st:hover .totem, .bilan .totem { animation: lueur 2.4s ease-in-out infinite; }
@keyframes lueur { 50% { text-shadow: 0 0 16px rgb(255 178 30 / .7); } }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .direct, .bandeau-piste, .liste .st, .fiche-prix .carb-ligne, .bilan, .panneau-ligne, .st:hover .totem, .bilan .totem, .clignote { animation: none !important; }
  .bandeau-piste { flex-wrap: wrap; width: auto; }
  .st:hover, .btn:hover { transform: none; }
}

.pres-attente .totem { white-space: nowrap; }
@media (max-width: 520px) { .baseline { display: none; } .gain b { font-size: .92rem; } }

/* Enseignes et logos */
.ident { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ident-texte { min-width: 0; display: flex; flex-direction: column; }
.detail { font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; margin: 0; }
.logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 40px; padding: 4px 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.logo-lettre { background: var(--marque); border-color: transparent; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.ident-grand .logo { width: 84px; height: 58px; }
.bilan .ident { margin: 4px 0 2px; }
@media (max-width: 560px) { .logo { width: 46px; height: 34px; } .st .ident { gap: 8px; } }
.logo-neutre { background: var(--bg); color: var(--muted); }
.logo { width: 66px; }
@media (max-width: 560px) { .logo { width: 52px; } }

/* Logo du site : le P de Plein est une pompe */
.marque { display: block; line-height: 0; }
.logo-site { display: block; height: 58px; width: auto; }
.logo-site .lg-vert { fill: var(--vert); }
.logo-site .lg-encre { fill: var(--ink); }
.logo-site .lg-ecran { fill: var(--surface); }
.logo-site .lg-tuyau { stroke: var(--vert); }
.logo-site .lg-pistolet { transform-box: fill-box; transform-origin: 100% 50%; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.marque:hover .logo-site .lg-pistolet { transform: translateX(4px) rotate(-12deg); }
@media (max-width: 560px) { .logo-site { height: 44px; } }
/* Afficheur 7 segments (police DSEG7, licence SIL OFL, voir fonts/DSEG-LICENSE.txt) */
@font-face { font-family: "DSEG7"; src: url("fonts/DSEG7Classic-Bold.woff2") format("woff2"); font-display: swap; }
.afficheur { display: inline-grid; font-family: "DSEG7", var(--font-led); font-weight: normal; letter-spacing: .02em; white-space: nowrap; }
.afficheur > span { grid-area: 1 / 1; text-align: right; }
.afficheur sup { font-size: .62em; vertical-align: .62em; margin-left: .08em; }
.led-fantome { opacity: .1; text-shadow: none; }
.st .totem, .carb-ligne .totem { font-size: 1.15rem; padding: 9px 8px; }
.bilan .totem { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.panneau-prix { font-size: 1.45rem; }
.bandeau-item b { font-family: "DSEG7", var(--font-led); font-weight: normal; font-size: .85em; }
@media (max-width: 560px) { .st .totem { font-size: .95rem; } .panneau-prix { font-size: 1.2rem; } }

/* Carte de la fiche station */
.carte-bloc { margin: 0 0 22px; }
.carte { height: 340px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--ombre); }
.carte-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .84rem; color: var(--muted); margin: 8px 2px 0; }
.pastille { display: inline-block; width: 11px; height: 11px; border-radius: 50%; border: 2px solid; }
.pastille.moins { border-color: var(--vert); background: var(--vert-pale); }
.pastille.plus { border-color: #8a958f; background: var(--surface); margin-left: 8px; }
.pin { display: flex; flex-direction: column; align-items: center; cursor: pointer; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .3)); }
.pin::after { content: ""; width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--pin-bord, #8a958f); margin-top: -1px; }
.pin-prix { font-family: "DSEG7", var(--font-led); font-size: .78rem; color: var(--led); background: var(--totem); border: 2px solid var(--pin-bord, #8a958f); border-radius: 7px; padding: 3px 6px; white-space: nowrap; }
.pin-prix sup { font-size: .62em; vertical-align: .6em; }
.pin.moins { --pin-bord: var(--vert); }
.pin.plus .pin-prix { opacity: .85; }
.pin:hover { z-index: 3; transform: translateY(-2px); }
.pin.principal { --pin-bord: var(--led); z-index: 5; cursor: default; }
.pin.principal .pin-prix { font-size: 1.05rem; padding: 5px 9px; }
.pin-titre { font-size: .72rem; font-weight: 700; background: var(--led); color: #1b1400; border-radius: 6px 6px 0 0; padding: 1px 8px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.maplibregl-ctrl-attrib { font-size: 11px; }
@media (max-width: 560px) { .carte { height: 280px; } }

/* Pages par ville et par département */
.fil-ariane { font-size: .86rem; color: var(--muted); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.fil-ariane a { color: inherit; }
.titre-section .cp { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.intro, .texte { max-width: 68ch; color: var(--ink); margin: 6px 0 14px; }
.texte { color: var(--muted); }
.grille-meilleurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 16px; }
.meilleur { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.meilleur:hover { border-color: var(--vert); }
.meilleur .totem { padding: 8px 10px; font-size: 1.15rem; flex: none; }
.meilleur-texte { display: flex; flex-direction: column; font-size: .86rem; color: var(--muted); min-width: 0; }
.meilleur-texte strong { color: var(--ink); font-size: .98rem; }
.tableau-defile { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tableau-prix { border-collapse: collapse; width: 100%; font-size: .9rem; }
.tableau-prix th, .tableau-prix td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.tableau-prix thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.tableau-prix th[scope="row"], .tableau-prix thead th:first-child:not(.rang) { text-align: left; white-space: normal; min-width: 220px; }
.tableau-prix tr:last-child > * { border-bottom: 0; }
.tableau-prix .ident { text-decoration: none; }
.prix-cellule { font-family: var(--font-led); font-variant-numeric: tabular-nums; }
.prix-cellule.old { color: var(--orange); } .absent { color: var(--muted); }
.liens-villes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.liens-villes a { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: .9rem; }
.liens-villes a:hover { border-color: var(--vert); color: var(--vert); }
.liens-villes small { color: var(--muted); }
.liens-villes.colonnes { display: block; columns: 4 200px; column-gap: 16px; }
.liens-villes.colonnes li { break-inside: avoid; margin-bottom: 4px; }
.liens-villes.colonnes a { border: 0; background: none; padding: 2px 0; }
.pied-liens { margin-top: 6px; }
.tableau-prix .rang { text-align: left; width: 1%; color: var(--muted); }
.tableau-prix thead .rang + th { text-align: left; }
.citer { white-space: pre-wrap; word-break: break-word; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: .85rem; user-select: all; }
.carte { position: relative; }
.carte-lancer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; box-shadow: var(--ombre); }
