/* styles.css — Catalogue Festivals & Évènements 2026
   Refonte « Moderne & épuré » : plus d'air, typographie soignée, ombres douces,
   accents chaleureux discrets. Tous les noms de classes sont conservés (le
   JavaScript et le HTML n'ont pas changé de structure). */

:root {
  /* Fonds & surfaces */
  --bg: #f5f1e9;
  --surface: #ffffff;
  --surface-2: #fbf8f2;

  /* Encre */
  --ink: #221d17;
  --ink-soft: #5f564a;
  --ink-faint: #79705f;

  /* Lignes */
  --line: #ece3d5;
  --line-strong: #ddd0bb;

  /* Couleurs de marque */
  --green: #1c6a4c;
  --green-d: #0f4b37;
  --green-100: #e9f2ec;
  --gold: #b07d17;
  --rust: #b6552e;

  /* Ombres (douces, en couches) */
  --shadow-xs: 0 1px 2px rgba(45, 32, 16, .06);
  --shadow-sm: 0 2px 10px rgba(45, 32, 16, .07);
  --shadow-lg: 0 28px 64px rgba(38, 26, 12, .26);

  /* Rayons */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --pill: 999px;

  /* Anneau de focus */
  --ring: 0 0 0 3px rgba(28, 106, 76, .28);

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(28, 106, 76, .18); }

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

/* ---------- En-tête ---------- */
.site-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 86% -30%, rgba(201, 138, 27, .48), transparent 55%),
    radial-gradient(760px 520px at -12% 128%, rgba(9, 66, 48, .55), transparent 60%),
    linear-gradient(135deg, #0c5344 0%, #1c6a4c 52%, #2c7f5d 100%);
  padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(2.2rem, 5vw, 3.6rem);
}
/* Fine trame de points, très discrète, qui évoque un fond cartographique */
.site-header::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
  background-size: 22px 22px;
}
.site-header .wrap { position: relative; z-index: 1; }
.site-header .hero-frise {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: clamp(90px, 15vw, 180px);
  object-fit: cover;
  object-position: center 58%;
  mix-blend-mode: screen;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
.site-header .logo-mta {
  height: clamp(48px, 6vw, 64px);
  width: auto;
  margin: 0 0 1.1rem;
  display: block;
}
.site-header .eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 700;
  color: #dcf0e6;
}
.site-header .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 138, 27, .22);
}
.site-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 800;
}
.site-header .lede {
  margin: .7rem 0 0; font-size: clamp(1rem, 1.6vw, 1.12rem); color: #eafaf2; max-width: 46ch;
}

.stats {
  list-style: none;
  display: flex;
  gap: .6rem;
  margin: 2.1rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.stats li {
  display: flex; flex-direction: column; padding: .55rem 1.5rem;
  position: relative;
  background: rgba(6, 40, 30, .38);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm, 10px);
  backdrop-filter: blur(6px);
}
.stats li:first-child { padding-left: 1.5rem; }
.stats li + li::before { content: none; }
.stats .num {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}
.stats .lab {
  font-size: .78rem; color: #cfe9dd; text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

/* ---------- Titre de section ---------- */
main.wrap { padding: clamp(1.8rem, 4vw, 2.8rem) 0 3.4rem; }
.section-tete { margin: 0 0 1rem; }
.section-tete h2 {
  margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700;
  letter-spacing: -.01em; color: var(--ink);
}
.section-tete p { margin: .25rem 0 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contrôles ---------- */
.controls {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: .9rem;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.control { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.control label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--ink-soft);
}
.control input, .control select {
  font: inherit; padding: .64rem .75rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.control select { cursor: pointer; }
/* Loupe intégrée dans le champ de recherche */
.control-search input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f564a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cline x1='10.6' y1='10.6' x2='15' y2='15'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: .8rem center; background-size: 16px;
  padding-left: 2.4rem;
}
.control input:focus, .control select:focus {
  outline: none; border-color: var(--green); box-shadow: var(--ring);
}

.btn-ghost {
  font: inherit; cursor: pointer; padding: .62rem 1rem;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--green-d);
  border-radius: var(--radius-sm); font-weight: 600; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.btn-ghost:hover { border-color: var(--green); background: var(--green-100); }
/* :not([hidden]) — pour ne jamais faire réapparaître un bouton masqué en mode
   public (ex. "Tableau de synthèse", "Par région"), qui portent aussi .btn-ghost. */
.btn-ghost:not([hidden]) { display: inline-flex; align-items: center; gap: .4rem; }
.filtres-compteur {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.3rem; height: 1.3rem; padding: 0 .3rem;
  background: var(--rust); color: #fff; border-radius: var(--pill);
  font-size: .74rem; font-weight: 700; line-height: 1;
}
.btn-plein {
  font: inherit; cursor: pointer; padding: .64rem 1.15rem; border: 0;
  background: var(--green); color: #fff; border-radius: var(--radius-sm); font-weight: 600;
  box-shadow: var(--shadow-xs); transition: background .15s ease;
}
.btn-plein:hover { background: var(--green-d); }

/* Contour visible au clavier, cohérent avec les cartes, sur tous les boutons */
.btn-ghost:focus-visible, .btn-plein:focus-visible,
.mois-btn:focus-visible, .modal-x:focus-visible,
.btn-agenda:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}

.btn-agenda {
  display: inline-flex; align-items: center; gap: .45rem;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: .58rem 1.05rem; border: 0; margin-top: .85rem;
  background: var(--green); color: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs); transition: background .15s ease;
}
.btn-agenda:hover { background: var(--green-d); color: #fff; }

.resultats { color: var(--ink-soft); font-size: .9rem; margin: 1.6rem 2px .6rem; font-weight: 600; }
.vide { text-align: center; color: var(--ink-soft); padding: 3rem 0; font-size: 1.05rem; }

/* ---------- Carte (accueil) ---------- */
.carte-hero {
  margin: 0 0 2rem; padding: 1.2rem 1.2rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.carte-hero-tete {
  display: flex; flex-wrap: wrap; gap: .6rem 1rem;
  align-items: center; justify-content: space-between; margin-bottom: .9rem;
}
.carte-titre {
  margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700;
  letter-spacing: -.01em; color: var(--green-d);
}
.carte-titre .mois-nom { color: var(--rust); }
.mois-selecteur { display: flex; flex-wrap: wrap; gap: .4rem; }
.mois-btn {
  font: inherit; cursor: pointer; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink-soft); padding: .36rem .82rem; border-radius: var(--pill);
  font-size: .85rem; font-weight: 600; transition: all .15s ease;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; /* zone tactile confortable sur mobile (recommandation ~44px) */
}
.mois-btn:hover { border-color: var(--green); color: var(--green-d); background: var(--green-100); }
.mois-btn.actif { background: var(--green); border-color: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
/* « À confirmer » : séparé des 6 mois de saison par un fin trait vertical */
.mois-btn--sep { margin-left: 1rem; position: relative; }
.mois-btn--sep::before {
  content: ""; position: absolute; left: -.55rem; top: 50%; transform: translateY(-50%);
  width: 1px; height: 1.1rem; background: var(--line-strong);
}
.map-wrap { position: relative; }
.map {
  height: clamp(360px, 52vh, 520px); width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); background: #e9eef1; z-index: 0;
}
.map-hint { margin: .6rem 2px 0; font-size: .8rem; color: var(--ink-soft); }

/* Indice de chargement de la carte (masqué dès que les tuiles sont prêtes) */
.map-loading {
  /* z-index 2 : juste au-dessus de #map (z-index 0), mais bien en dessous des
     fenêtres modales (z-index 50) pour ne jamais les recouvrir pendant le chargement. */
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: #e9eef1; color: var(--ink-soft);
  border-radius: var(--radius); font-size: .95rem; font-weight: 600;
  pointer-events: none; text-align: center; padding: 1rem;
}
.map-loading[hidden] { display: none; }
.map-loading.erreur { color: var(--rust); background: #f6efe7; }
.map-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid #c7d3d8; border-top-color: var(--green);
  animation: map-spin .8s linear infinite;
}
.map-loading.erreur .map-spinner { display: none; }
@keyframes map-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .map-spinner { animation: none; } }

/* Infobulle des marqueurs */
.leaflet-popup-content { margin: .7rem .9rem; font-family: inherit; }
.popup-titre { font-weight: 700; margin: 0 0 .15rem; font-size: 1rem; }
.popup-meta { color: var(--ink-soft); font-size: .84rem; margin: 0 0 .55rem; }
.popup-lien {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  padding: .32rem .7rem; border-radius: var(--radius-sm); font-size: .82rem; font-weight: 600; cursor: pointer;
}
.popup-lien:hover { background: var(--green-d); }
.popup-badge { display: inline-block; font-size: .72rem; font-weight: 700; color: #8a5a2b; margin-left: .3rem; }

/* ---------- Grille de cartes ---------- */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.3rem;
}
.carte {
  position: relative; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display: flex; flex-direction: column;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.carte:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.carte .bandeau { height: 6px; background: var(--c, #6b7280); }
.carte .bandeau { background: linear-gradient(90deg, var(--c, #6b7280), color-mix(in srgb, var(--c, #6b7280) 55%, #ffffff)); }
.carte .corps { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; height: 100%; }
.carte .region-tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--c, #6b7280);
}
.carte h3 { margin: 0; font-size: 1.2rem; line-height: 1.22; letter-spacing: -.01em; }
.carte .edition { font-weight: 500; color: var(--ink-soft); font-size: .88rem; }
.carte .meta { margin-top: auto; display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; color: var(--ink-soft); }
.carte .meta .ligne { display: flex; gap: .5rem; align-items: baseline; }
.carte .meta .ico { width: 1.1em; text-align: center; flex: none; }
.pastilles { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .1rem; }
.pastille {
  font-size: .7rem; font-weight: 600; padding: .16rem .55rem; border-radius: var(--pill);
  color: #fff; background: var(--c, #6b7280); white-space: nowrap;
}
.badge-confirmer {
  position: absolute; top: 14px; right: 12px;
  background: #8a5a2b; color: #fff; font-size: .68rem; font-weight: 700;
  padding: .18rem .55rem; border-radius: var(--pill); text-transform: uppercase; letter-spacing: .04em;
  box-shadow: var(--shadow-xs);
}

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 1.8rem 0 2.6rem; margin-top: 1.4rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-note { margin: 0; font-size: .84rem; color: var(--ink-soft); max-width: 52ch; }
.footer-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ---------- Bandeau interne ---------- */
.bandeau-interne {
  position: sticky; bottom: 0; z-index: 30;
  background: linear-gradient(180deg, #86571c, #7a4d16); color: #fff; text-align: center;
  padding: .6rem 1rem; font-size: .9rem; font-weight: 600; box-shadow: 0 -6px 18px rgba(0, 0, 0, .12);
}

/* ---------- Fenêtres (modales) ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-fond { position: absolute; inset: 0; background: rgba(28, 20, 10, .52); backdrop-filter: blur(3px); }
.modal-boite {
  position: relative; z-index: 1; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: min(760px, 96vw); max-height: 90vh; overflow: auto; padding: 1.8rem 1.9rem 2rem;
  animation: modal-in .22s cubic-bezier(.2, .7, .3, 1);
}
.modal-boite.petite { width: min(430px, 96vw); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal-boite { animation: none; } }
.modal-x {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  border: 0; background: #f1e9dc; color: var(--ink); cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.modal-x:hover { background: #e6d8c3; }

/* ---------- Contenu d'une fiche ---------- */
.fiche-tete {
  border-left: 5px solid var(--c, #6b7280); padding: .1rem 0 .3rem 1.1rem; margin-bottom: 1.2rem;
}
.fiche-region { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--c, #6b7280); }
.fiche-tete h2 { margin: .2rem 0 .25rem; font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.12; letter-spacing: -.01em; }
.fiche-tete .edition { font-weight: 500; color: var(--ink-soft); font-size: 1rem; }
.fiche-faits { display: flex; flex-wrap: wrap; gap: .45rem .7rem; margin: .7rem 0 0; }
.fiche-faits span {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill);
  padding: .28rem .7rem; font-size: .86rem; color: var(--ink-soft);
}
.fiche-faits b { color: var(--ink); font-weight: 600; }
.fiche-layout { display: grid; grid-template-columns: 1fr 160px; gap: 1.5rem; align-items: start; }
.fiche-bloc { margin: 1.3rem 0 0; }
.fiche-bloc h3 {
  margin: 0 0 .35rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green-d); font-weight: 700;
}
.fiche-bloc p { margin: 0; }
.fiche-bloc ul { margin: .35rem 0 0; padding-left: 1.15rem; }
.fiche-bloc ul li { margin-bottom: .28rem; }

/* Détails publics (budget, organisateur, coordonnées, analyse) */
.fiche-details { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.details-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.1rem 0 .2rem; }
.detail {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .65rem .8rem;
}
.detail .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 600; }
.detail .v { font-weight: 600; margin-top: .15rem; }
.detail.plein { grid-column: 1 / -1; }
.detail.plein .v { font-weight: 400; }
.carte-situation {
  text-align: center; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .9rem .6rem;
}
.carte-situation svg { width: 100%; height: auto; max-width: 150px; }
.carte-situation .legende { font-size: .72rem; color: var(--ink-soft); margin: .4rem 0 0; }
.mada-terre { fill: #e4efe8; stroke: #b9ccc0; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.mada-point { fill: var(--c, #b6552e); stroke: #fff; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.mada-halo { fill: var(--c, #b6552e); opacity: .18; }

/* ---------- Bloc interne dans une fiche ---------- */
.bloc-interne {
  margin-top: 1.5rem; border: 1px solid #e6d3ad; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fdf8ec, #fbf3e2); padding: 1.15rem 1.25rem;
}
.bloc-interne .titre-interne {
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: #7a4d16; font-weight: 700;
}
.interne-champ .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 600; }
.interne-champ .v { font-weight: 700; font-size: 1.15rem; color: var(--ink); margin-top: .1rem; }

/* ---------- Tableaux internes ---------- */
.tableau-scroll { overflow-x: auto; margin-top: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.synthese { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
table.synthese th, table.synthese td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
table.synthese thead th { background: #f3ece0; color: var(--green-d); position: sticky; top: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
table.synthese tbody tr:nth-child(even) { background: var(--surface-2); }
table.synthese td.montant, table.synthese th.montant { text-align: right; white-space: nowrap; }
table.synthese tr.total td { font-weight: 700; border-top: 2px solid var(--green); background: #f7f2e8; }
.region-liste { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.region-liste li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .7rem .3rem; border-bottom: 1px solid var(--line);
}
.region-liste .r-nom { font-weight: 600; }
.region-liste .r-ort { font-size: .82rem; color: var(--ink-soft); }
.region-liste .r-montant { white-space: nowrap; font-weight: 700; }
.region-total { display: flex; justify-content: space-between; padding: .8rem .3rem; font-weight: 700; border-top: 2px solid var(--green); margin-top: .2rem; }

.modal-contenu h2.vue-titre { margin: 0 0 .2rem; letter-spacing: -.01em; }
.modal-contenu .vue-soustitre { margin: 0 0 .4rem; color: var(--ink-soft); font-size: .9rem; }

/* ---------- Mot de passe ---------- */
#form-mdp { display: flex; gap: .5rem; margin-top: .4rem; }
#form-mdp input { flex: 1; font: inherit; padding: .64rem .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease; }
#form-mdp input:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.mdp-aide { color: var(--ink-soft); font-size: .92rem; margin: .3rem 0 .6rem; }
.mdp-erreur { color: #b02a1f; font-weight: 600; font-size: .88rem; margin: .5rem 0 0; }
.mdp-note { color: var(--ink-faint); font-size: .78rem; margin: .8rem 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .controls { grid-template-columns: 1fr 1fr; }
  .control-search { grid-column: 1 / -1; }
  #reset { grid-column: 1 / -1; }
  .fiche-layout { grid-template-columns: 1fr; }
  .carte-situation { max-width: 260px; margin-inline: auto; }
  .carte-hero-tete { flex-direction: column; align-items: flex-start; }
  /* Le sélecteur prend toute la largeur et s'enroule : on retire le trait
     séparateur (qui deviendrait « orphelin » en début de ligne), on garde un petit écart. */
  .mois-btn--sep { margin-left: .35rem; }
  .mois-btn--sep::before { display: none; }
}
@media (max-width: 520px) {
  .controls { grid-template-columns: 1fr; }
  .details-grille { grid-template-columns: 1fr; }
  .stats li { padding: .45rem 1.1rem; }
  .stats li:first-child { padding-left: 1.1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .carte-hero { padding: 1rem; }
  .modal-boite { padding: 1.3rem 1.2rem 1.5rem; }
}
