/* Carte des réalisations — charte Puymelec Solaire (orange #F37023 → #CE4C00). */

.pm-carte {
	position: relative;
	z-index: 0;
	width: 100%;
	overflow: hidden;
	border: 1px solid rgba(52, 58, 64, 0.15);
	border-radius: 18px;
	background: #eef0f2;
	font-family: Inter, sans-serif;
}

/* Styles du fond de carte : [puymelec_carte style="clair|gris|chaud|sombre|classique"] */
.pm-carte--clair .leaflet-tile-pane {
	filter: grayscale(1) brightness(1.1) contrast(0.82);
}
.pm-carte--gris .leaflet-tile-pane {
	filter: grayscale(1) contrast(1.05);
}
.pm-carte--chaud .leaflet-tile-pane {
	filter: grayscale(1) sepia(0.28) saturate(1.3) brightness(1.06) contrast(0.88);
}
.pm-carte--sombre {
	background: #1f2328;
}
.pm-carte--sombre .leaflet-tile-pane {
	filter: invert(1) hue-rotate(180deg) grayscale(0.55) brightness(0.9) contrast(0.95);
}

/* Pins */
.pm-pin {
	background: none;
	border: 0;
}
.pm-pin svg {
	display: block;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}
.pm-pin--logo {
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.pm-carte .leaflet-marker-icon:focus-visible {
	outline: 2px solid #343a40;
	outline-offset: 3px;
	border-radius: 8px;
}

/* Regroupements : affichent le total de réalisations */
.pm-cluster {
	background: none;
	border: 0;
}
.pm-cluster span {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border: 3px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	background: linear-gradient(135deg, #f37023 0%, #ce4c00 100%);
	box-shadow: 0 0 0 4px rgba(243, 112, 35, 0.28), 0 2px 6px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-family: Outfit, Inter, sans-serif;
	line-height: 1;
}
.pm-cluster b {
	font-weight: 700;
}
.pm-cluster--m b {
	font-size: 14px;
}
.pm-cluster--l b {
	font-size: 16px;
}
.pm-cluster--xl b {
	font-size: 18px;
}

/* Popup */
.pm-carte .leaflet-popup-content-wrapper {
	border-radius: 12px;
	color: #343a40;
}
.pm-carte .leaflet-popup-content {
	margin: 12px 16px;
}
.pm-popup strong {
	display: block;
	margin-bottom: 2px;
	font-family: Outfit, Inter, sans-serif;
	font-size: 16px;
	font-weight: 600;
}
.pm-popup span {
	color: #6c757d;
	font-size: 13px;
}

/* Bandeau récapitulatif */
.pm-summary {
	padding: 6px 14px;
	border-radius: 25px;
	background: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
	color: #343a40;
	font: 600 13px/1.4 Inter, sans-serif;
}
.pm-summary::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: #f37023;
}

/* Contrôles de zoom */
.pm-carte .leaflet-bar a {
	color: #343a40;
}
.pm-carte .leaflet-bar a:hover {
	color: #f37023;
}
