/* Drapeaux emoji : Windows ne les affiche pas nativement, cette police ne couvre que les drapeaux. */
@font-face {
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
  src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1.8/dist/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}

:root {
  --vert: #0f3d2e;
  --vert-fonce: #0a2a20;
  --vert-clair: #e8f1ec;
  --rouge: #b3262d;
  --rouge-fonce: #8f1d23;
  --or: #d9a441;
  --or-clair: #f6e7c4;
  --bleu: #1f4e9c;
  --bleu-clair: #e2eafa;
  --creme: #fbf7ef;
  --texte: #1f2421;
  --texte-doux: #5b635e;
  --bord: #e3ddd0;
  --blanc: #ffffff;
  --ombre: 0 6px 24px rgba(15, 61, 46, .10);
  --rayon: 14px;
  --police-titre: "Twemoji Country Flags", "Fraunces", Georgia, serif;
  --police: "Twemoji Country Flags", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--police);
  color: var(--texte);
  background: var(--creme);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--rouge); }
h1, h2, h3 { font-family: var(--police-titre); line-height: 1.15; margin: 0 0 .5em; }
.conteneur { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Neige */
#neige { position: fixed; inset: 0; pointer-events: none; z-index: 900; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10, 42, 32, .96);
  backdrop-filter: blur(6px);
  color: var(--blanc);
}
.entete-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--blanc); text-decoration: none; font-family: var(--police-titre); font-size: 1.3rem; font-weight: 700; }
.logo em { color: var(--or); font-style: normal; }
.nav { display: flex; gap: 6px; }
.nav a { color: #dfe9e3; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a:focus-visible { background: rgba(255,255,255,.1); color: var(--blanc); }
.menu-btn { display: none; background: none; border: 0; color: var(--blanc); font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  color: var(--blanc);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(217,164,65,.35), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(179,38,45,.45), transparent 55%),
    linear-gradient(160deg, var(--vert) 0%, var(--vert-fonce) 100%);
  padding: 88px 0 96px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--creme);
  clip-path: polygon(0 100%, 0 60%, 8% 30%, 16% 60%, 24% 20%, 32% 55%, 40% 25%, 50% 60%, 60% 15%, 68% 55%, 76% 30%, 84% 60%, 92% 25%, 100% 55%, 100% 100%);
}
.sur-titre { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; color: var(--or); font-weight: 600; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
.hero-texte { max-width: 620px; margin: 0 auto 28px; color: #d6e4dc; font-size: 1.1rem; }
.compte { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 32px; }
.compte div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 12px 18px; min-width: 90px; }
.compte strong { display: block; font-family: var(--police-titre); font-size: 2rem; color: var(--or); }
.compte span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #c5d6cc; }
.compte-label { width: 100%; margin: 0; color: #c5d6cc; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 2px solid transparent; border-radius: 999px; padding: 12px 22px;
  font: 600 1rem var(--police); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-or { background: var(--or); color: var(--vert-fonce); }
.btn-or:hover { background: #e6b65a; }
.btn-rouge { background: var(--rouge); color: var(--blanc); }
.btn-rouge:hover { background: var(--rouge-fonce); }
.btn-contour { background: transparent; border-color: var(--vert); color: var(--vert); }
.btn-contour:hover { background: var(--vert); color: var(--blanc); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
.section { padding: 72px 0; }
.section-sombre { background: var(--vert); color: var(--blanc); }
.section-sombre .intro { color: #c5d6cc; }
.section-creme { background: var(--or-clair); }
.titre-section { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.titre-section::after { content: ""; display: block; width: 64px; height: 4px; background: var(--rouge); border-radius: 2px; margin-top: 12px; }
.section-sombre .titre-section::after { background: var(--or); }
.intro { color: var(--texte-doux); max-width: 720px; margin: 0 0 28px; }
.statut { color: var(--texte-doux); font-size: .95rem; min-height: 1.5em; }

/* Recherche */
.recherche {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 14px; align-items: end;
  background: var(--blanc); padding: 20px; border-radius: var(--rayon); box-shadow: var(--ombre);
}
.champ { display: flex; flex-direction: column; gap: 6px; position: relative; }
.champ label { font-weight: 600; font-size: .85rem; color: var(--vert); }
input[type="text"], input[type="search"], select {
  font: inherit; padding: 11px 14px; border: 1.5px solid var(--bord); border-radius: 10px; background: var(--blanc); color: var(--texte); width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(15,61,46,.15); }
.actions-recherche { display: flex; gap: 10px; }
.suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1100; margin: 4px 0 0; padding: 4px; list-style: none;
  background: var(--blanc); border: 1px solid var(--bord); border-radius: 10px; box-shadow: var(--ombre); max-height: 260px; overflow-y: auto;
}
.suggestions li { padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.suggestions li small { color: var(--texte-doux); margin-left: 6px; }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: var(--vert-clair); }

.carte-resultats { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 8px; }
#carte { height: 540px; border-radius: var(--rayon); box-shadow: var(--ombre); z-index: 1; background: var(--vert-clair); }
.resultats { list-style: none; margin: 0; padding: 0; max-height: 540px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.resultat {
  background: var(--blanc); border: 1px solid var(--bord); border-radius: 12px; padding: 14px 16px; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; transition: border-color .15s, box-shadow .15s;
}
.resultat:hover, .resultat:focus-visible { border-color: var(--vert); box-shadow: var(--ombre); outline: none; }
.resultat h3 { font-size: 1.05rem; margin: 0; }
.resultat .ville { color: var(--texte-doux); font-size: .9rem; grid-column: 1; }
.resultat .distance { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; color: var(--rouge); font-size: 1.1rem; white-space: nowrap; }
.resultat .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vide { background: var(--blanc); border: 1px dashed var(--bord); border-radius: 12px; padding: 24px; text-align: center; color: var(--texte-doux); }

/* Pastilles */
.pastille { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--vert-clair); color: var(--vert); }
.pastille.national { background: #fbe3e4; color: var(--rouge-fonce); }
.pastille.regional { background: var(--or-clair); color: #7a5512; }
.pastille.local { background: var(--vert-clair); color: var(--vert); }
.pastille.europe { background: var(--bleu-clair); color: var(--bleu); }
.etat { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.etat.ouvert { background: #dff3e4; color: #1d7a3a; }
.etat.bientot { background: #fff1d6; color: #9a6400; }
.etat.termine { background: #eceae6; color: #6f6a62; }

/* TOP 10 */
.bascule { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 24px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.bascule button { font: 600 .95rem var(--police); padding: 9px 20px; border: 0; border-radius: 999px; background: transparent; color: #dfe9e3; cursor: pointer; }
.bascule button:hover { color: var(--blanc); }
.bascule button.actif { background: var(--or); color: var(--vert-fonce); }
.liste-top { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; counter-reset: top; }
.carte-top {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rayon); padding: 20px;
  transition: background .15s;
}
.carte-top:hover { background: rgba(255,255,255,.1); }
.carte-top:first-child { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(217,164,65,.25), rgba(179,38,45,.25)); border-color: rgba(217,164,65,.5); }
.rang { font-family: var(--police-titre); font-size: 2.6rem; font-weight: 700; color: var(--or); line-height: 1; text-align: center; }
.carte-top h3 { font-size: 1.25rem; margin-bottom: 2px; }
.carte-top .ville { color: var(--or); font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.carte-top p { margin: 0 0 10px; color: #dbe6df; }
.carte-top .chiffres { display: flex; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: #c5d6cc; }
.carte-top .chiffres b { color: var(--blanc); }
.lien-carte { background: none; border: 0; color: var(--or); font: 600 .9rem var(--police); cursor: pointer; padding: 0; margin-top: 10px; }
.lien-carte:hover { text-decoration: underline; }

/* Onglets & filtres */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.onglet { font: 600 .95rem var(--police); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--bord); background: var(--blanc); color: var(--texte); cursor: pointer; }
.onglet:hover { border-color: var(--vert); }
.onglet.actif { background: var(--vert); border-color: var(--vert); color: var(--blanc); }
.filtres { display: grid; grid-template-columns: 2fr 1fr auto; gap: 12px; align-items: center; margin-bottom: 8px; }
.interrupteur { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.interrupteur input { width: 18px; height: 18px; accent-color: var(--rouge); }

/* Grille de marchés */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.marche {
  background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden;
  display: flex; flex-direction: column; border-top: 5px solid var(--vert);
}
.marche.national { border-top-color: var(--rouge); }
.marche.regional { border-top-color: var(--or); }
.marche.europe { border-top-color: var(--bleu); }
.marche-corps { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.marche h3 { font-size: 1.2rem; margin: 0; }
.marche .ville { color: var(--texte-doux); font-size: .9rem; margin: 0; }
.marche .entete-marche { display: flex; flex-wrap: wrap; gap: 6px; }
.marche .dates { font-weight: 600; color: var(--vert); font-size: .95rem; margin: 0; }
.marche .lieu, .marche .horaires { font-size: .88rem; color: var(--texte-doux); margin: 0; }
.marche .chiffres-marche { font-size: .9rem; margin: 0; }
.marche .chiffres-marche b { color: var(--rouge); }
.marche .desc { margin: 0; font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .75rem; padding: 3px 9px; border-radius: 999px; background: var(--creme); border: 1px solid var(--bord); color: var(--texte-doux); }
.marche .pied-marche { display: flex; gap: 14px; margin-top: auto; padding-top: 8px; font-size: .9rem; }
.marche .pied-marche button { background: none; border: 0; padding: 0; font: 600 .9rem var(--police); color: var(--vert); cursor: pointer; }
.marche .pied-marche a { font-weight: 600; text-decoration: none; }
.marche .pied-marche button:hover, .marche .pied-marche a:hover { text-decoration: underline; }

/* Contacts, exposants, ajout de stand */
.contacts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; }
.contacts a { color: var(--vert); text-decoration: none; overflow-wrap: anywhere; }
.contacts a:hover { text-decoration: underline; }
.exposants { border: 1px solid var(--bord); border-radius: 10px; background: var(--creme); }
.exposants summary { cursor: pointer; padding: 9px 12px; font-weight: 600; font-size: .92rem; color: var(--vert); }
.exposants ul { list-style: none; margin: 0; padding: 0 12px 10px; display: grid; gap: 10px; }
.exposants li { background: var(--blanc); border-radius: 8px; padding: 10px 12px; font-size: .9rem; display: grid; gap: 4px; }
.exposants li p { margin: 0; color: var(--texte-doux); }
.ajout-stand {
  margin-top: 6px; width: 100%; padding: 9px; border-radius: 999px; cursor: pointer;
  border: 1.5px dashed var(--rouge); background: transparent; color: var(--rouge); font: 600 .9rem var(--police);
}
.ajout-stand:hover { background: #fbe3e4; border-style: solid; }
.pastille.nouveau { background: #efe2fb; color: #5b2a91; }
.nav .nav-cta { background: var(--rouge); color: var(--blanc); }
.nav .nav-cta:hover { background: var(--rouge-fonce); }

/* Section Proposer */
.proposer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.proposer .intro { margin-bottom: 0; }
.proposer-actions { display: flex; flex-direction: column; gap: 12px; }

/* Fenêtre du formulaire */
.dialogue {
  width: min(720px, 100% - 24px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); background: var(--blanc); color: var(--texte);
}
.dialogue::backdrop { background: rgba(10, 42, 32, .6); backdrop-filter: blur(2px); }
.dialogue-entete { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--vert); color: var(--blanc); }
.dialogue-entete h2 { margin: 0; font-size: 1.3rem; }
.fermer { background: none; border: 0; color: var(--blanc); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.form-proposer { padding: 20px 22px 0; }
.form-proposer fieldset { border: 0; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-proposer fieldset[hidden] { display: none; }
.form-proposer .large { grid-column: 1 / -1; }
.form-proposer input[type="date"], .form-proposer input[type="tel"], .form-proposer input[type="email"],
.form-proposer input[type="url"], .form-proposer input[type="number"], .form-proposer textarea {
  font: inherit; padding: 11px 14px; border: 1.5px solid var(--bord); border-radius: 10px; background: var(--blanc); color: var(--texte); width: 100%;
}
.form-proposer textarea { resize: vertical; }
.form-proposer textarea:focus, .form-proposer input:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(15,61,46,.15); }
.form-proposer [aria-invalid="true"] { border-color: var(--rouge) !important; }
.form-proposer label small { font-weight: 400; color: var(--texte-doux); }
.choix-type { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.choix-type label { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1.5px solid var(--bord); border-radius: 12px; cursor: pointer; font-weight: 600; }
.choix-type label:has(input:checked) { border-color: var(--vert); background: var(--vert-clair); }
.choix-type input { accent-color: var(--vert); }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--texte-doux); }
.consentement input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--rouge); flex: none; }
.erreur { color: var(--rouge); font-size: .82rem; font-weight: 600; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg-form { color: var(--rouge); font-weight: 600; min-height: 1.4em; margin: 8px 0 0; }
.dialogue-pied { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 14px 0 18px; background: var(--blanc); border-top: 1px solid var(--bord); margin-top: 8px; }
.merci { padding: 36px 24px; text-align: center; }
.merci-icone { font-size: 3rem; margin: 0; }
.merci p { color: var(--texte-doux); }

/* Photos */
.photo { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--vert-clair); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 5px;
  font-size: .68rem; color: #fff; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.photo figcaption a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.carte-top .photo { border-radius: 10px; margin-bottom: 14px; max-height: 240px; aspect-ratio: auto; height: 200px; }
.carte-top:first-child .photo { height: 280px; max-height: none; }
.popup .photo { width: 260px; border-radius: 8px; margin-bottom: 8px; }
.popup .photo figcaption { font-size: .62rem; }

/* Frise */
.frise { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 18px; }
.frise::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px; background: var(--rouge); border-radius: 2px; opacity: .35; }
.frise li { position: relative; background: var(--blanc); border-radius: 12px; padding: 16px 20px; box-shadow: var(--ombre); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.frise li::before { content: ""; position: absolute; left: -25px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--rouge); }
.frise li.passe { opacity: .55; }
.frise li.prochain::before { background: var(--rouge); box-shadow: 0 0 0 5px rgba(179,38,45,.2); }
.frise .jour { font-family: var(--police-titre); font-weight: 700; color: var(--rouge); font-size: 1.1rem; line-height: 1.2; }
.frise .jour small { display: block; font-family: var(--police); font-weight: 500; color: var(--texte-doux); font-size: .8rem; text-transform: capitalize; }
.frise h3 { font-size: 1.1rem; margin: 0 0 2px; }
.frise .lieu { font-size: .85rem; color: var(--vert); font-weight: 600; margin: 0 0 4px; }
.frise p { margin: 0; color: var(--texte-doux); font-size: .95rem; }

/* Tendances */
.grille-tendances { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tendance { background: var(--blanc); border-radius: var(--rayon); padding: 22px; box-shadow: var(--ombre); }
.tendance .icone { font-size: 2rem; display: block; margin-bottom: 10px; }
.tendance h3 { font-size: 1.15rem; }
.tendance p { margin: 0; color: var(--texte-doux); font-size: .95rem; }

/* Popups Leaflet */
.leaflet-popup-content { font-family: var(--police); margin: 12px 14px; }
.popup h3 { font-family: var(--police-titre); font-size: 1.05rem; margin: 0 0 2px; }
.popup p { margin: 2px 0; font-size: .85rem; }
.popup a { font-weight: 600; }
.marqueur { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.35); border: 2px solid var(--blanc); }
.marqueur span { transform: rotate(45deg); font-size: 14px; }
.marqueur.national { background: var(--rouge); }
.marqueur.regional { background: var(--or); }
.marqueur.local { background: var(--vert); }
.marqueur.europe { background: var(--bleu); }
.marqueur-moi { width: 18px; height: 18px; border-radius: 50%; background: #2a6fdb; border: 3px solid var(--blanc); box-shadow: 0 0 0 6px rgba(42,111,219,.25); }
.legende { background: var(--blanc); padding: 8px 12px; border-radius: 8px; box-shadow: var(--ombre); font: .8rem var(--police); line-height: 1.8; }
.legende i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }

/* Pied de page */
.pied { background: var(--vert-fonce); color: #c5d6cc; padding: 40px 0; font-size: .9rem; }
.pied strong { color: var(--blanc); }
.pied a { color: var(--or); }
.avertissement { max-width: 760px; }

/* Responsive */
@media (max-width: 960px) {
  .recherche { grid-template-columns: 1fr 1fr; }
  .champ-ville, .actions-recherche { grid-column: 1 / -1; }
  .carte-resultats { grid-template-columns: 1fr; }
  #carte { height: 380px; }
  .resultats { max-height: none; }
  .liste-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--vert-fonce); padding: 8px 16px 16px; }
  .nav.ouverte { display: flex; }
  .filtres { grid-template-columns: 1fr; }
  .proposer { grid-template-columns: 1fr; }
  .form-proposer fieldset { grid-template-columns: 1fr; }
  .dialogue-pied .btn { flex: 1; }
  .frise li { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 80px; }
}
@media (max-width: 480px) {
  .recherche { grid-template-columns: 1fr; }
  .actions-recherche { flex-direction: column; }
  .actions-recherche .btn { width: 100%; }
  .carte-top { grid-template-columns: 44px 1fr; padding: 16px; }
  .rang { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #neige { display: none; }
}
