/* Polices hébergées localement.
 *
 * Elles venaient de fonts.googleapis.com, ce qui transmettait l'adresse IP de
 * chaque visiteur à Google — un transfert que le RGPD regarde de près, et que
 * la page /privacy.html ne mentionnait pas. La boutique auto-héberge déjà les
 * siennes via next/font ; la carte fait pareil, à la main puisqu'elle est en
 * HTML statique.
 *
 * Deux connexions de moins sur le chemin critique au passage : plus de
 * preconnect vers googleapis et gstatic, plus de feuille de style distante à
 * télécharger avant de savoir quels fichiers récupérer.
 *
 * Les `unicode-range` sont conservés tels que Google les génère : le
 * navigateur ne télécharge latin-ext que s'il rencontre un caractère qui
 * l'exige. Inter est une police variable — le même fichier sert 400, 500 et
 * 600, d'où un seul woff2 par sous-ensemble.
 *
 * Régénérer : voir site/fonts/README.md
 */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/anton-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/anton-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* EARNED. — Spots Street Workout France
   Design system repris du site earned.site :
   ink / bone / graphite, hairlines, liquid glass, plaque mono. */

* { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--bone);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.noscript-notice { padding: 14px; border: 1px solid var(--hairline); color: var(--graphite); }

:root {
  --ink: #050505;
  --bone: #fafafa;
  --graphite: #8a8a8a;
  --hairline: rgba(250, 250, 250, 0.12);
  --ease-luxe: cubic-bezier(0.16, 1, 0.3, 1);

  --glass-bg:        rgba(255, 255, 255, 0.055);
  --glass-border:    rgba(255, 255, 255, 0.13);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --glass-blur:      28px;
  --glass-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 1px 0 0 rgba(140, 210, 255, 0.07),
    inset -1px 0 0 rgba(210, 140, 255, 0.07),
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 4px 16px rgba(0, 0, 0, 0.35);

  --font-display: "Anton", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-plaque: "IBM Plex Mono", monospace;
}

html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--bone); color: var(--ink); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(250, 250, 250, 0.25); }

:focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
  border-radius: 3px;
}

/* helpers repris de la charte */
/* La plaque mono en capitales est un traitement d'ÉTIQUETTE. Appliquée à du
   contenu — les faits d'un spot, le libellé d'une action — elle devient
   illisible : 9 px capitalisés et interlettrés se lisent comme une texture,
   pas comme une phrase. .meta-list en sort pour cette raison. */
.plaque, .brand-plaque, .topbar-stats, .badge, .credits, .cta {
  font-family: var(--font-plaque);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 16px;
}
/* ---------------------------------------------------------------- topbar */
#topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  background: var(--ink);
  border-bottom: 1px solid var(--hairline);
  z-index: 1200;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 16px;
  text-decoration: none;
  color: var(--bone);
}
.wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-plaque {
  font-size: 10px;
  color: var(--graphite);
  padding-left: 16px;
  border-left: 1px solid var(--hairline);
}
.topbar-stats {
  margin-left: auto;
  font-size: 10px;
  color: var(--graphite);
}
.topbar-stats b { color: var(--bone); font-weight: 500; }
.cta {
  background: var(--bone);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 9999px;
  transition: transform 0.6s var(--ease-luxe), box-shadow 0.6s var(--ease-luxe);
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(250, 250, 250, 0.18);
}

/* ---------------------------------------------------------------- layout */
#layout { flex: 1; display: flex; min-height: 0; }
#map { flex: 1; background: var(--ink); }

#panel {
  width: 350px;
  min-width: 350px;
  background: var(--ink);
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px;
  gap: 18px;
}

/* ---------------------------------------------------------------- search */
.searchbox { position: relative; }
#search {
  width: 100%;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--bone);
  padding: 11px 14px;
  border-radius: 0;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.6s var(--ease-luxe);
}
#search::placeholder { color: var(--graphite); }
#search:focus { border-color: rgba(250, 250, 250, 0.5); }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-border);
  z-index: 1500;
  max-height: 260px;
  overflow-y: auto;
}
.search-results button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--hairline);
  color: var(--bone);
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.3s var(--ease-luxe);
}
.search-results button:last-child { border-bottom: none; }
.search-results button:hover { background: rgba(250, 250, 250, 0.06); }
.search-results .sr-sub { color: var(--graphite); font-size: 11px; }

/* --------------------------------------------------------------- filters */
/* Une seule commande. Les chips de catégorie exposaient les libellés bruts du
   jeu de données — « mixte », « fitness » — là où la règle tient en une
   phrase : une barre suffit à faire un spot. Ce qui reste à choisir, c'est
   d'inclure ou non les parcs qui n'en ont aucune. */
.filters { display: flex; flex-direction: column; gap: 8px; }
.filter-note {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--graphite);
  opacity: 0.78;
}
/* Le fitness est masqué par défaut (voir app.js) : la case le réintègre. */
.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--graphite);
  cursor: pointer;
  transition: color 0.4s var(--ease-luxe);
}
.filter-check:hover { color: var(--bone); }
.filter-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--bone);
  cursor: pointer;
}

/* ------------------------------------------------------------- boutons */
/* Un seul vocabulaire pour tout le panneau — même hauteur, même typo mono,
   même filet — là où cohabitaient quatre styles distincts. Seul le CTA du
   promo est plein : c'est la seule action primaire de la colonne. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--graphite);
  font-family: var(--font-plaque);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: color 0.4s var(--ease-luxe), border-color 0.4s var(--ease-luxe),
    background-color 0.4s var(--ease-luxe), box-shadow 0.6s var(--ease-luxe);
}
.btn:hover { color: var(--bone); border-color: rgba(250, 250, 250, 0.4); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:disabled:hover { color: var(--graphite); border-color: var(--hairline); }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
  font-weight: 500;
}
.promo:hover .btn--primary { box-shadow: 0 8px 30px rgba(250, 250, 250, 0.18); }

.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions--stack { flex-direction: column; margin-top: 6px; }

/* -------------------------------------------------- actions d'une fiche */
/* Dans une colonne étroite, le flex-wrap laissait un bouton seul sur sa
   ligne — « Coordonnées » pendait sous les trois autres. Une grille de deux
   colonnes égales aligne tout, et le dernier d'un nombre impair prend la
   largeur restante au lieu de flotter. */
.spot-card .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.spot-card .actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.spot-card .actions--stack {
  display: flex;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}
/* Les libellés d'action sont des phrases, pas des plaques : en capitales
   interlettrées, « Aucune barre de traction ni de dips » devenait une frise
   illisible. Casse normale, corps relevé, et la graisse du texte courant. */
.spot-card .btn {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  min-height: 36px;
  color: rgba(250, 250, 250, 0.72);
}
.spot-card .btn:hover { color: var(--bone); }

/* ----------------------------------------------------------- community */
.community-kicker {
  font-family: var(--font-plaque); text-transform: uppercase; letter-spacing: .18em;
  color: var(--graphite); font-size: 9px; margin-bottom: 9px;
}
.modal-panel h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 25px; line-height: 1; margin-bottom: 10px;
}
.submit-button {
  width: 100%; border: 0; background: var(--bone); color: var(--ink); padding: 12px 16px;
  font-family: var(--font-plaque); text-transform: uppercase; letter-spacing: .16em;
  font-size: 10px; font-weight: 500; cursor: pointer;
}
.submit-button:hover { box-shadow: 0 8px 30px rgba(250,250,250,.18); }

/* Pied de panneau : l'action de contribution, puis l'unique publicité. Le
   filet supérieur les détache du contenu consultatif au-dessus. */
.panel-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.spot-description { color: #c8c8c8; font-size: 12px; line-height: 1.6; margin-bottom: 12px; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); }
.modal-panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; background: rgba(10,10,10,.94); }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: none; color: var(--bone); font-size: 28px; cursor: pointer; }
.modal-intro { max-width: 590px; color: var(--graphite); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
#contribute-form { display: flex; flex-direction: column; gap: 14px; }
#contribute-form label { display: flex; flex-direction: column; gap: 7px; color: #bcbcbc; font-size: 11px; }
#contribute-form input, #contribute-form textarea {
  width: 100%; background: rgba(255,255,255,.035); color: var(--bone); border: 1px solid var(--hairline);
  padding: 11px 12px; font: 13px var(--font-body); outline: none;
}
.spot-feedback { font-size: 11px; color: #d8ffd8; margin-top: 8px; line-height: 1.4; }
#contribute-form input:focus, #contribute-form textarea:focus { border-color: rgba(250,250,250,.5); }
#contribute-form textarea { min-height: 105px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coordinates { display: grid; grid-template-columns: 1fr 1fr 1.35fr; align-items: end; gap: 10px; }
/* Le motif du signalement neutralise les champs propres à la correction. Sans
   ces règles, l'attribut `hidden` serait écrasé par le display: grid/flex des
   conteneurs et les blocs resteraient visibles. */
.mode-correction[hidden],
#contribute-form label#motive-field[hidden] { display: none; }
#motive-field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--bone);
  border: 1px solid var(--hairline);
  padding: 11px 12px;
  font: 13px var(--font-body);
  outline: none;
}
#motive-field select:focus { border-color: rgba(250, 250, 250, 0.5); }
.form-checks { display: flex; gap: 24px; }
#contribute-form .form-checks label, #contribute-form .consent { flex-direction: row; align-items: flex-start; }
#contribute-form input[type="checkbox"] { width: 15px; margin-top: 1px; accent-color: var(--bone); }
.honeypot { position: absolute !important; left: -9999px; }
.form-status { min-height: 18px; font-size: 12px; line-height: 1.5; }
.form-status.success { color: #d8ffd8; }
.form-status.error { color: #ff9d9d; }
.submit-button:disabled { opacity: .55; cursor: wait; }

/* -------------------------------------------------------------- spot card */
/* Flat, framed by hairlines rather than a glass panel: at this width a second
   floating card competed with the promo for attention. */
.spot-card {
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  animation: settle 0.7s var(--ease-luxe);
}
@keyframes settle { from { transform: translateY(10px); opacity: 0; } }
.spot-card h2 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin-bottom: 7px;
}
/* La ligne de localisation reste une plaque — c'est une étiquette, et sa
   brièveté supporte les capitales. Contraste relevé tout de même. */
.spot-city {
  font-family: var(--font-plaque);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9a9a9a;
  font-size: 10px;
  margin-bottom: 14px;
}
/* Les agrès restent en capitales : ce sont des étiquettes, courtes et lues en
   bloc. Mais l'interlettrage descend et le contraste monte — à 0.18em elles
   se délitaient. Le fond léger les détache du texte courant. */
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.badge {
  font-size: 9.5px;
  letter-spacing: 0.09em;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline);
  padding: 5px 9px;
  color: rgba(250, 250, 250, 0.66);
}
.badge.core {
  border-color: rgba(250, 250, 250, 0.4);
  background: rgba(255, 255, 255, 0.07);
  color: var(--bone);
}
/* Les faits du spot sont du contenu, pas des étiquettes : casse normale,
   corps lisible, et un point médian qui les enchaîne au lieu d'une colonne
   de lignes isolées. */
.meta-list {
  font-size: 11.5px;
  line-height: 1.6;
  color: #a6a6a6;
  margin-bottom: 14px;
}
.meta-list span:not(:last-child)::after {
  content: " · ";
  color: rgba(250, 250, 250, 0.28);
}
.photos { display: flex; gap: 6px; margin-bottom: 12px; min-height: 0; }
.photos a {
  flex: 1;
  display: block;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.photos img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.6s var(--ease-luxe), transform 0.6s var(--ease-luxe);
}
.photos a:hover img { filter: grayscale(0); transform: scale(1.04); }
.photos-note { font-size: 10.5px; color: var(--graphite); margin: -6px 0 12px; }
.success-flash {
  background-color: rgba(40, 200, 100, 0.12) !important;
  color: #55ff99 !important;
  border-color: #33bb77 !important;
}

/* ------------------------------------------------------------------ promo */
/* Deux ancres visuelles, dans cet ordre : contribuer, puis la boutique. Elles
   partagent volontairement la même grammaire — accroche, titre display, texte,
   bouton plein — parce que ce sont les deux seules actions qu'on demande.
   Celle de la boutique reste un lien dont le bloc entier est cliquable ; celle
   de contribution enveloppe un vrai bouton, puisqu'elle ouvre une modale. */
.promo {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: var(--bone);
  border: 1px solid rgba(250, 250, 250, 0.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.06) 100%);
  transition: border-color 0.6s var(--ease-luxe), box-shadow 0.6s var(--ease-luxe);
}
.promo:hover {
  border-color: rgba(250, 250, 250, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 20px 40px rgba(0,0,0,0.65),
    0 0 16px rgba(250, 250, 250, 0.04);
}
.promo-title {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 27px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.promo-copy {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--graphite);
  margin-bottom: 14px;
}
/* Le CTA du promo réutilise .btn--primary — voir la section « boutons ». */

/* Le bloc de contribution. Même grammaire que la publicité, un cran plus
   sobre : accroche en plus, titre légèrement réduit, et pas de dégradé — la
   boutique doit rester la surface la plus lumineuse de la colonne. */
.promo-kicker {
  display: block;
  font-family: var(--font-plaque);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9px;
  color: var(--graphite);
  margin-bottom: 9px;
}
.promo--contribute {
  background: rgba(255, 255, 255, 0.015);
}
.promo--contribute .promo-title { font-size: 23px; }
.promo--contribute:hover {
  border-color: rgba(250, 250, 250, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px rgba(0, 0, 0, 0.5);
}
.promo--contribute .btn--primary:hover { box-shadow: 0 8px 30px rgba(250, 250, 250, 0.18); }

/* Pushes the contribute row + promo to the foot of the panel when the content
   above is short, without stealing the scroll when it isn't. */
.panel-spacer { flex: 1 0 8px; }

.credits {
  margin-top: auto;
  font-size: 8px;
  color: rgba(250, 250, 250, 0.28);
  line-height: 1.9;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}
.credits a { color: var(--graphite); }

/* -------------------------------------------------------------- maplibre */
.maplibregl-map { font-family: var(--font-body); }
.maplibregl-ctrl-group {
  background: rgba(10, 10, 10, 0.85) !important;
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border) !important;
  border-radius: 8px !important;
  box-shadow: var(--glass-shadow) !important;
}
.maplibregl-ctrl-group button {
  background-color: transparent !important;
  border-bottom: 1px solid var(--hairline) !important;
}
.maplibregl-ctrl-group button:last-child {
  border-bottom: none !important;
}
.maplibregl-ctrl-group button span {
  filter: invert(1) brightness(2);
}
.maplibregl-ctrl-group button:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
}
.maplibregl-ctrl-attrib {
  background: rgba(5, 5, 5, 0.7) !important;
  color: var(--graphite) !important;
  font-size: 9px !important;
  font-family: var(--font-plaque);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.maplibregl-ctrl-attrib a { color: var(--graphite) !important; text-decoration: none; }
.maplibregl-ctrl-attrib a:hover { color: var(--bone) !important; }

/* Les styles de marqueurs et de clusters dataient de Leaflet, qui posait un
   élément DOM par point. MapLibre les dessine sur le canvas, via les couches
   `clusters` et `unclustered-point` d'app.js : aucune règle CSS ne peut les
   atteindre. Leur apparence se règle dans app.js, pas ici. */

@media (max-width: 760px) {
  #layout { flex-direction: column-reverse; }
  #panel { width: 100%; min-width: 0; max-height: 45%; }
  .brand-plaque, .topbar-stats { display: none; }
  .cta { margin-left: auto; }
  .form-grid, .coordinates { grid-template-columns: 1fr; }
  .modal { padding: 8px; }
  .modal-panel { padding: 22px 17px; max-height: calc(100vh - 16px); }
}
