/* Ensure [hidden] always overrides any display rules */
[hidden] { display: none !important; }

/* === Material Icons (self-hosted) === */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/fonts/material-icons.woff2') format('woff2');
}
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #deded8; overflow-x: hidden; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  background: #f0f4f8;
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  box-shadow: 0 0 40px rgba(0,0,0,.10);
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }

/* === Barre de recherche principale === */
.search-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: #fff;
  border-bottom: 1px solid #e8e8e0;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.search-bar-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #f0f4f8;
  border: 1px solid #e0e0d8;
  border-radius: 10px;
  padding: .55rem .75rem;
}
.search-bar-input svg { flex-shrink: 0; color: #999; }
.search-bar-input input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: .95rem;
  color: #1a1a1a;
  outline: none;
}
.search-bar-input input::placeholder { color: #aaa; }
/* === Logo navigation === */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: #1a56a0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo-icon .material-icons { font-size: 22px; }

.btn-gps {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #1976d2;
  box-shadow: 0 2px 6px rgba(25,118,210,.35);
}
.btn-gps svg { color: #fff; }
.btn-gps.gps-loading { animation: gps-pulse .9s ease-in-out infinite; }
@keyframes gps-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.65;transform:scale(1.08)} }

/* === Bouton géoloc page d'accueil === */
.geo-cta-wrap { display: flex; justify-content: center; padding: .9rem 1rem .5rem; }
.btn-geo-home {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  background: #1976d2;
  color: #fff;
  border-radius: 25px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(25,118,210,.3);
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
}
.btn-geo-home:hover { background: #1565c0; }
.btn-geo-home.gps-loading { animation: gps-pulse .9s ease-in-out infinite; }

/* === Autocomplete dropdown === */
.search-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: -1px;
  right: -1px;
  background: #fff;
  border: 1px solid #e0e0d8;
  border-radius: 12px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
  overflow: hidden;
}
.search-suggestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 1rem;
  border-bottom: 1px solid #f0f4f8;
  text-decoration: none;
  color: #1a1a1a;
  gap: .5rem;
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover, .search-suggestion:focus { background: #f0f4f8; outline: none; }
.sugg-nom { font-size: .92rem; font-weight: 500; }
.sugg-cp { font-size: .82rem; color: #aaa; }
.sugg-dept { font-size: .76rem; color: #aaa; white-space: nowrap; }


/* === Layout === */
main { padding-bottom: 3rem; flex: 1; background: #fff; }
.section { padding: 1.25rem 1rem; }
#stations { background: #f0f4f8; padding-bottom: .5rem; }
.section-title {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
  font-weight: 600;
  margin-bottom: .85rem;
}
.page-title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 1rem .25rem;
  color: #1a1a1a;
}
.city-intro {
  font-size: .85rem;
  color: #666;
  padding: 0 1rem .75rem;
  line-height: 1.5;
}

/* === Cards prix nationaux (grille 3×2) === */
.price-rows {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .5rem .75rem .75rem;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.07);
  overflow: hidden;
}
.price-row-veh {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .75rem .5rem;
  background: #f7f7f5;
  border-right: 1px solid #ebebea;
  height: 100%;
}
.price-row-label {
  font-size: .75rem;
  font-weight: 600;
  color: #555;
  text-align: center;
}
.price-row-avg,
.price-row-min {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: .75rem .5rem;
  text-align: center;
}
.price-row-avg { border-right: 1px solid #ebebea; }
.price-row-meta {
  font-size: .7rem;
  color: #aaa;
  font-weight: 400;
}
.price-row-avg strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
}
.price-row-min strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a56a0;
}
.price-row--hl {
  background: #eff6ff;
  border-color: #bfdbfe;
  border-radius: 6px;
}
.price-row--hl .price-row-avg strong { color: #1a56a0; }
.price-row--dim { opacity: .35; }
.fuel-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.station-fuels { display: flex; flex-wrap: wrap; gap: .15rem .5rem; margin-top: .3rem; }
.station-fuel-item { display: inline-flex; align-items: center; gap: .22rem; font-size: .8rem; color: #444; }
.price-card-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}
.section-h2 {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: .6rem;
}
.price-card-time {
  font-size: .72rem;
  color: #aaa;
  margin-top: .2rem;
}

/* === Articles / Guides === */
.article-list { list-style: none; }
.article-item {
  background: #fff;
  margin: 0 1rem .6rem;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.article-item h3 { font-size: .95rem; font-weight: 700; color: #1a1a1a; }
.article-item p { font-size: .82rem; color: #777; margin-top: .25rem; }

/* === Liste régions (home) === */
.region-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem;
  padding: 0 1rem;
}
.region-list li a {
  display: block;
  padding: .6rem .75rem;
  background: #fff;
  border-radius: 10px;
  font-size: .9rem;
  color: #1a1a1a;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.region-list li a:hover { background: #f0f4f8; color: #e63329; }

/* === Onglets carburant === */
.fuel-tabs {
  display: flex;
  gap: .4rem;
  padding: .75rem 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border-bottom: 1px solid #e8e8e0;
  position: sticky;
  top: 57px;
  z-index: 90;
}
.fuel-tabs::-webkit-scrollbar { display: none; }
.fuel-tab {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.fuel-tab[data-fuel="gazole"]  { background: #1a56a0; color: #3d2000; }
.fuel-tab[data-fuel="sp95"]    { background: #1a56a0; color: #fff; }
.fuel-tab[data-fuel="sp98"]    { background: #e63329; color: #fff; }
.fuel-tab[data-fuel="e10"]     { background: #4caf50; color: #003300; }
.fuel-tab[data-fuel="e85"]     { background: #8bc34a; color: #2d4000; }
.fuel-tab[data-fuel="gplc"]    { background: #1976d2; color: #fff; }
.fuel-tab.disabled {
  background: transparent !important;
  color: #bbb !important;
  border-color: #ddd;
  cursor: default;
}
.fuel-tab:not(.disabled):not(.active) { opacity: .55; }
.fuel-tab.active { opacity: 1; box-shadow: 0 2px 6px rgba(0,0,0,.15); }

/* === Carte ville === */
.map-container {
  position: relative;
  height: clamp(220px, 55vw, 380px);
  background: #e8e8e0;
}
#map { width: 100%; height: 100%; }
.btn-map-fullscreen {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1000;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.18);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  color: #555;
  padding: 0;
}
.map-container:fullscreen,
.map-container:-webkit-full-screen {
  height: 100dvh !important;
  width: 100dvw !important;
}


/* Marqueurs prix sur la carte */
.price-marker {
  background: #1a56a0;
  color: #3d2000;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
}

/* === Liste stations === */
.station-list { list-style: none; }
.station-item {
  background: #fff;
  padding: .9rem 1rem;
  border-bottom: 1px solid #f0f0e8;
}
.station-item:last-child { border-bottom: none; }
.station-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.station-info { flex: 1; min-width: 0; }
.station-name { font-weight: 700; font-size: .95rem; }
.station-address { font-size: .82rem; color: #888; margin-top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-city { font-size: .82rem; color: #888; font-weight: 500; margin-top: .15rem; }
.station-services { display: flex; flex-wrap: wrap; gap: .15rem; margin-top: .3rem; }
.svc-icon { font-size: 16px !important; color: #42a5f5; line-height: 1; cursor: default; }
.svc-icon:hover { color: #1976d2; }
.station-city-link { color: #e63329; font-weight: 600; white-space: nowrap; }
.station-city-link::after { content: " →"; }
.badge-autoroute {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  color: #1565c0;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: .4rem;
  white-space: nowrap;
}
.price-marker--autoroute { outline: 2px solid #1565c0; outline-offset: 1px; }
/* === Badges carburant (pages autoroute/département) === */
.price-summary { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem; }
.fuel-badge { display: inline-block; background: #f0f4f8; border: 1px solid #e0e0d8; border-radius: 20px; padding: .35rem .75rem; font-size: .85rem; color: #444; }
.fuel-badge strong { color: #1a1a1a; }
/* === Index autoroutes === */
.autoroute-index-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; padding: 0 1rem 1rem; }
.autoroute-index-item { display: block; padding: .75rem; background: #fff; border-radius: 10px; font-size: .85rem; color: #1a1a1a; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.autoroute-index-item:hover { background: #f0f4f8; }
.autoroute-index-header { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .35rem; }
.autoroute-index-code { font-size: 1rem; color: #1a1a1a; }
.autoroute-index-count { font-size: .72rem; color: #aaa; }
.autoroute-index-prices { display: flex; flex-wrap: wrap; gap: .15rem .4rem; }
/* === Carte station (pages autoroute/département) === */
.station-card { background: #fff; padding: .9rem 1rem; border-bottom: 1px solid #f0f0e8; }
.station-prices { display: flex; flex-wrap: wrap; gap: .3rem .8rem; margin-top: .4rem; font-size: .82rem; color: #555; }
.station-price-block { text-align: right; flex-shrink: 0; }
.station-price { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; display: inline-flex; align-items: center; gap: .3rem; }
.station-price-elec { font-size: .78rem; color: #2e7d32; font-weight: 600; margin-top: .1rem; }
.freshness-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.freshness-dot.price-fresh { background: #16a34a; }
.freshness-dot.price-stale { background: #d97706; }
.freshness-dot.price-old   { background: #dc2626; }
.station-legend { padding: .5rem 1rem; background: #fff; border-bottom: 1px solid #f0f0e8; font-size: .75rem; color: #777; }
.legend-row { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; }
.legend-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem .4rem; margin-top: .35rem; }
.legend-label { font-weight: 600; color: #555; white-space: nowrap; }
.legend-item { display: inline-flex; align-items: center; gap: .2rem; white-space: nowrap; }
.station-time { font-size: .72rem; margin-top: .1rem; color: #aaa; }
.station-actions {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
}
.btn-jump-stations {
  display: inline-block;
  padding: .6rem 1.2rem;
  background: #e63329;
  color: #fff;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-jump-stations:hover { background: #c0251c; }
.btn-itineraire {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn-sur-carte {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid #1976d2;
  border-radius: 10px;
  color: #1976d2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* === Résumé ville === */
.city-summary {
  padding: 1rem;
  margin: .5rem 1rem;
  background: #fff;
  border-radius: 12px;
  font-size: .88rem;
  color: #555;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.city-summary p + p { margin-top: .5rem; }
.city-summary strong { color: #1a1a1a; }
.data-freshness { font-size: .78rem; color: #aaa; margin-top: .5rem !important; }

/* === Villes à proximité (maillage SEO) === */
.nearby-prose {
  padding: 0 1rem;
  font-size: .88rem;
  color: #555;
  line-height: 1.65;
}
.nearby-prose a { color: #e63329; font-weight: 600; white-space: nowrap; }

/* === Accordéon page villes (CSS :target) === */
.acc-regions { padding: 0 0 1rem; }
.acc-region { border-bottom: 1px solid #f0f0e8; }
.acc-region-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .9rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  -webkit-tap-highlight-color: transparent;
}
.acc-region-body { display: none; padding: 0 0 .5rem; }
.acc-region:target > .acc-region-body,
.acc-region:has(.acc-dept:target) > .acc-region-body,
.acc-region:has(.city-letter-section:target) > .acc-region-body,
.acc-region.js-open > .acc-region-body { display: block; }
.acc-region:target > .acc-region-btn,
.acc-region:has(.acc-dept:target) > .acc-region-btn,
.acc-region:has(.city-letter-section:target) > .acc-region-btn,
.acc-region.js-open > .acc-region-btn { color: #e63329; }
.acc-region:target > .acc-region-btn .acc-chevron,
.acc-region:has(.acc-dept:target) > .acc-region-btn .acc-chevron,
.acc-region:has(.city-letter-section:target) > .acc-region-btn .acc-chevron,
.acc-region.js-open > .acc-region-btn .acc-chevron { transform: rotate(180deg); color: #e63329; }
.acc-dept { border-top: 1px solid #f0f4f8; }
.acc-dept-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .65rem 1rem .65rem 1.5rem;
  font-size: .88rem;
  font-weight: 600;
  color: #555;
  -webkit-tap-highlight-color: transparent;
}
.acc-dept-body { display: none; padding: .5rem 1rem .75rem 1.5rem; }
.acc-dept:target > .acc-dept-body,
.acc-dept:has(.city-letter-section:target) > .acc-dept-body,
.acc-dept.js-open > .acc-dept-body { display: block; }
.acc-dept:target > .acc-dept-btn,
.acc-dept:has(.city-letter-section:target) > .acc-dept-btn,
.acc-dept.js-open > .acc-dept-btn { color: #1976d2; }
.acc-dept:target > .acc-dept-btn .acc-chevron,
.acc-dept:has(.city-letter-section:target) > .acc-dept-btn .acc-chevron,
.acc-dept.js-open > .acc-dept-btn .acc-chevron { transform: rotate(180deg); color: #1976d2; }
.dept-code { font-weight: 400; color: #aaa; margin-left: .25rem; }
.acc-chevron { flex-shrink: 0; transition: transform .2s; color: #bbb; }
.letter-tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .5rem 0 .75rem; }
.letter-tab { display: inline-block; min-width: 1.6rem; text-align: center; padding: .2rem .35rem; border-radius: 4px; font-size: .78rem; font-weight: 600; color: #555; background: #f0f0e8; text-decoration: none; }
.letter-tab:hover, .letter-tab.active { background: #e63329; color: #fff; }
.city-letter-section { display: none; }
.city-letter-section.active { display: block; }
.loading-cities { color: #888; font-size: .85rem; padding: .5rem 0; }
.city-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.city-chip {
  display: inline-block;
  background: #f0f4f8;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: .25rem .7rem;
  font-size: .8rem;
  color: #333;
}
.city-chip:hover { border-color: #e63329; color: #e63329; }

/* === Articles éditoriaux === */
.editorial { max-width: 720px; margin: 0 auto; padding: 1.25rem 1rem; background: #fff; }
.editorial h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.editorial h2 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.editorial h3 { font-size: .97rem; font-weight: 700; margin: 1.1rem 0 .35rem; color: #333; }
.editorial p { margin-bottom: .85rem; color: #333; font-size: .95rem; }
.editorial ul, .editorial ol { margin: .5rem 0 .85rem 1.5rem; }
.editorial li { margin-bottom: .3rem; font-size: .95rem; }
.editorial table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; font-size: .88rem; }
.editorial th { background: #f0f4f8; font-weight: 700; text-align: left; padding: .5rem .75rem; border: 1px solid #e0e0d8; }
.editorial td { padding: .45rem .75rem; border: 1px solid #e0e0d8; vertical-align: top; }
.editorial tr:nth-child(even) td { background: #fafaf8; }
.article-date { font-size: .8rem; color: #aaa; margin-bottom: 1.25rem; }
.article-list-page { list-style: none; padding: 1rem 0; }
.article-list-page li {
  border: 1px solid #e8e8e0;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: .6rem;
}
.article-list-page h3 { font-size: .95rem; font-weight: 700; }
.article-list-page p { font-size: .82rem; color: #777; margin-top: .25rem; }

/* === Breadcrumb === */
.breadcrumb { font-size: .78rem; color: #aaa; padding: .75rem 1rem .5rem; }
.breadcrumb a { color: #aaa; }
.breadcrumb a:hover { color: #e63329; }
.breadcrumb span + span::before { content: " › "; }

/* === Pages statiques === */
.static-page { max-width: 720px; margin: 0 auto; padding: 1.25rem 1rem; }
.static-page h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; }
.static-page h2 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 .4rem; color: #333; }
.static-page p { font-size: .9rem; color: #444; margin-bottom: .75rem; }

/* === Footer === */
.site-footer {
  border-top: 1px solid #e8e8e0;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: .78rem;
  color: #aaa;
  background: #fff;
}
.footer-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: #e63329; }

/* === Page carburant === */
.fuel-hero {
  background: #fff;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #e8e8e0;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.fuel-hero-badge {
  padding: .35rem .85rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 700;
}
.fuel-hero-price { font-size: 1.5rem; font-weight: 800; }
.fuel-hero-desc { font-size: .82rem; color: #777; margin-top: .2rem; }
.fuel-station-list { list-style: none; }
.fuel-station-item {
  background: #fff;
  padding: .85rem 1rem;
  border-bottom: 1px solid #f0f0e8;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.fuel-station-rank { font-size: .78rem; color: #bbb; font-weight: 700; min-width: 22px; }
.fuel-station-info { flex: 1; min-width: 0; }
.fuel-station-name { font-weight: 600; font-size: .88rem; }
.fuel-station-city { font-size: .78rem; color: #e63329; }
.fuel-station-price { font-size: 1rem; font-weight: 700; flex-shrink: 0; }

/* === Carte standalone === */
.map-page { height: calc(100vh - 57px); display: flex; flex-direction: column; }
.map-page #map { flex: 1; }

/* === Sélecteur véhicule / carburant (pages CT) === */
.vs-selector {
  background: #fff;
  border-bottom: 1px solid #e8e8e0;
  position: sticky;
  top: 57px;
  z-index: 90;
}
.vs-row {
  display: flex;
  gap: .4rem;
  padding: .55rem .75rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}
.vs-row::-webkit-scrollbar { display: none; }
.vs-row + .vs-row { padding-top: 0; border-top: 1px solid #f0f0ea; }
.vs-row:empty { display: none; }
.vs-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .9rem;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #374151;
  transition: background .12s, color .12s, border-color .12s, opacity .12s;
  -webkit-tap-highlight-color: transparent;
}
.vs-btn .material-icons { font-size: 18px; }
.vs-btn:not(.vs-btn-disabled):not(.vs-btn-active):hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}
.vs-btn.vs-btn-active {
  background: #1a56a0;
  color: #fff;
  border-color: #1a56a0;
  box-shadow: 0 2px 6px rgba(26,86,160,.25);
}
.vs-btn.vs-btn-disabled {
  background: transparent;
  color: #bbb;
  border-color: #e5e7eb;
  cursor: default;
  opacity: .6;
}

/* Panel de liste affiché/masqué par type de véhicule */
.station-panel { }

.filter-hint {
  font-size: .78rem;
  color: #888;
  text-align: center;
  padding: .4rem 1rem .75rem;
  margin: 0;
}

/* === Tags véhicule sur les cards === */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .15rem .5rem;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.tag .material-icons { font-size: 14px; }
.tag-vl   { background: #dbeafe; color: #1a56a0; }
.tag-moto { background: #fef3c7; color: #92400e; }
.tag-pl   { background: #dcfce7; color: #166534; }
.tag-cv   { background: #f3f4f6; color: #555; }
.center-tags { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .3rem; }

/* === Textes auxiliaires === */
.cp { font-weight: 400; color: #888; }
.subtitle { font-size: .88rem; color: #888; padding: 0 1rem .5rem; }

/* === Page département stats === */
.dept-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .5rem 1rem 1rem;
  font-size: .88rem;
  color: #555;
}
.dept-stats span { background: #f0f4f8; border-radius: 20px; padding: .3rem .75rem; }

/* === Liste villes (chips) === */
.city-chips-list { padding: 0 1rem 1rem; }
.city-chips-list .city-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f0f4f8;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: .3rem .75rem;
  font-size: .82rem;
  color: #333;
  margin: .2rem;
  text-decoration: none;
}
.city-chips-list .city-chip:hover { border-color: #1a56a0; color: #1a56a0; }
.city-chips-list .city-count { font-size: .72rem; background: #1a56a0; color: #fff; border-radius: 10px; padding: .1rem .4rem; }

/* === Footer build date === */
.footer-build { font-size: .72rem; color: #ccc; margin-top: .25rem; }

/* === Icône lien page centre (inline dans station-name) === */
.center-page-link {
  display: inline-flex;
  align-items: center;
  margin-left: .3rem;
  color: #aaa;
  vertical-align: middle;
  text-decoration: none;
}
.center-page-link:hover { color: #1a56a0; }

/* === Page centre détail === */
.center-detail { padding: .75rem 1rem 1.5rem; }
.center-info { background: #fff; border-radius: 10px; padding: .75rem 1rem; margin-bottom: 1rem; }
.info-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .9rem;
  border-bottom: 1px solid #f5f5f0;
}
.info-row:last-child { border-bottom: none; }
.info-icon {
  flex-shrink: 0;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #1a56a0;
  margin-top: .05rem;
}
.center-categories { margin-bottom: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; padding: .25rem 1rem .75rem; }
.center-prices { margin-bottom: 1rem; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.price-table th {
  background: #f0f4f8;
  padding: .55rem .75rem;
  text-align: left;
  font-weight: 600;
  color: #555;
  font-size: .8rem;
}
.price-table td {
  padding: .55rem .75rem;
  border-top: 1px solid #f0f0e8;
}
.price-table tr:first-child td { border-top: none; }
.price-note { font-size: .75rem; color: #aaa; padding: .4rem 1rem 0; }
.price-date { font-size: .75rem; color: #999; white-space: nowrap; }

/* === Carte centre === */
.center-map-container {
  height: clamp(180px, 50vw, 280px);
  background: #e8e8e0;
  margin-bottom: 1rem;
}
#center-map { width: 100%; height: 100%; }

/* === Prise de rendez-vous === */
.center-rdv {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #eef4ff;
  border-radius: 10px;
  padding: .85rem 1rem;
  margin: 0 1rem 1rem;
}
.center-rdv .material-icons {
  color: #1a56a0;
  font-size: 22px !important;
  flex-shrink: 0;
  margin-top: .1rem;
}
.center-rdv p { margin: 0 0 .5rem; font-size: .88rem; color: #444; line-height: 1.5; }
.btn-rdv {
  display: inline-flex;
  align-items: center;
  background: #1a56a0;
  color: #fff;
  text-decoration: none;
  padding: .45rem 1rem;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 600;
  gap: .2rem;
}
.btn-rdv:hover { background: #154891; }

/* === Résumé textuel centre === */
.center-summary {
  padding: .5rem 1rem .25rem;
  font-size: .88rem;
  color: #444;
  line-height: 1.6;
}
.center-summary p { margin: 0; }


.center-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 0 1rem 1rem;
}
.center-card {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  background: #fff;
  border-radius: 10px;
  padding: .75rem 1rem;
  border: 1px solid #e8e8e0;
  text-decoration: none;
  color: inherit;
}
.center-card:hover { border-color: #1a56a0; }
.center-nom { font-weight: 600; font-size: .9rem; }
.center-adresse { font-size: .8rem; color: #888; }
.center-meta { display: flex; align-items: center; gap: .4rem; margin-top: .25rem; flex-wrap: wrap; }
.center-prix { font-weight: 700; font-size: .9rem; color: #1a56a0; margin-left: auto; }

/* === Pages statiques (FAQ, À propos, Mentions légales) === */
.prose {
  padding: .75rem 1rem 1.5rem;
  font-size: .9rem;
  color: #444;
  line-height: 1.65;
}
.prose h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 1.25rem 0 .4rem;
}
.prose p { margin-bottom: .75rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: .75rem; }
.prose li { margin-bottom: .3rem; }
.prose a { color: #1a56a0; text-decoration: underline; }

.faq-list { padding: .5rem 1rem 1.5rem; }
.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: .9rem 1rem;
  margin-bottom: .6rem;
  border: 1px solid #e8e8e0;
}
.faq-item h2 {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: .4rem;
}
.faq-item p { font-size: .88rem; color: #555; line-height: 1.6; margin: 0; }
.faq-item a { color: #1a56a0; text-decoration: underline; }

/* === Pages région — grille départements === */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .5rem;
  padding: .75rem 1rem 1.5rem;
}
.dept-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  background: #fff;
  border-radius: 10px;
  padding: .65rem .75rem;
  border: 1px solid #e8e8e0;
  text-decoration: none;
  color: inherit;
}
.dept-card:hover { border-color: #1a56a0; }
.dept-nom { font-size: .85rem; font-weight: 600; }
.dept-count { font-size: .75rem; color: #888; }
.dept-prix { font-size: .78rem; color: #1a56a0; font-weight: 600; }

/* === Index régions (page /controle-technique/) === */
.region-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem;
  padding: .75rem 1rem 1.5rem;
}
.region-index-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  background: #fff;
  border-radius: 10px;
  padding: .7rem .85rem;
  border: 1px solid #e8e8e0;
  text-decoration: none;
  color: inherit;
}
.region-index-card:hover { border-color: #1a56a0; }
.region-index-nom { font-size: .88rem; font-weight: 700; }
.region-index-sub { font-size: .75rem; color: #888; }
