/* Carte des paroisses sous le moteur (/rechercher/), modèle Figma « Paroisses — Résultats avec carte » :
   largeur du contenu, rayon 15, ombre douce, points verts, groupes verts avec halo, bulle blanche, contrôles blancs rayon 8. */
.af_carte { width: min(1060px, calc(100vw - 40px)); margin: 40px 0 10px 50%; transform: translateX(-50%); }
.af_carte_map { height: 340px; border-radius: 15px; overflow: hidden; background: #eceee6; box-shadow: 0 0 30px rgba(0, 0, 0, 0.08); z-index: 0; font-family: "Open Sans", sans-serif; }
.af_carte_map[aria-busy="true"] .leaflet-marker-pane { opacity: 0.5; }
.af_carte .leaflet-tile-pane { filter: saturate(0.3) brightness(1.04) contrast(0.92); }

/* Groupes */
.af_carte_groupe { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(23, 175, 140, 0.2); }
.af_carte_groupe span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50%; background: #17af8c; color: #fff; font: 700 14px/1 "Montserrat", sans-serif; }

/* Contrôles */
.af_carte .leaflet-bar { border: 0; border-radius: 8px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); overflow: hidden; }
.af_carte .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; border-bottom: 1px solid #e7e7e7; color: #1d1d1d; font: 400 20px/40px "Montserrat", sans-serif; }
.af_carte .leaflet-bar a:last-child { border-bottom: 0; }
.af_carte .leaflet-top.leaflet-right,
.af_carte .leaflet-top.leaflet-left { padding: 10px; }
.af_carte .af_carte_proche,
.af_carte .af_carte_proche:is(:hover, :focus, :active) { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 14px 0 12px; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); color: #1d1d1d; font: 600 13px/1 "Montserrat", sans-serif; cursor: pointer; }
.af_carte .af_carte_proche i { color: #17af8c; font-size: 18px; }
.af_carte .af_carte_proche.is-loading { opacity: 0.6; cursor: progress; }

/* Bulle */
.af_carte_bulle .leaflet-popup-content-wrapper { border-radius: 15px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12); }
.af_carte_bulle .leaflet-popup-content { margin: 16px 34px 16px 18px; color: #353535; font: 400 14px/1.5 "Open Sans", sans-serif; }
.af_carte_bulle .leaflet-popup-content p { margin: 0 0 4px; }
.af_carte_bulle .af_carte_nom { margin-bottom: 6px; color: #1d1d1d; font: 700 16px/1.4 "Montserrat", sans-serif; }
.af_carte_bulle .af_carte_ligne { display: flex; align-items: center; gap: 6px; }
.af_carte_bulle .af_carte_ligne i { color: #666; font-size: 16px; }
.af_carte_bulle a.af_carte_lien { display: inline-block; margin-top: 4px; color: #1d1d1d; font: 400 14px/1.5 "Montserrat", sans-serif; text-decoration: none; }
.af_carte_bulle a.af_carte_lien::after { content: " →"; }
.af_carte_bulle a.af_carte_lien:is(:hover, :focus-visible) { color: #17af8c; }
.af_carte_bulle a.leaflet-popup-close-button { top: 8px; right: 8px; width: 24px; height: 24px; color: #1d1d1d; font: 400 20px/24px sans-serif; }
.af_carte .leaflet-control-attribution { font-size: 11px; }

@media (max-width: 768px) {
  .af_carte { width: calc(100vw - 32px); margin-top: 24px; }
  .af_carte_map { height: 280px; }
}
