/* ════════════════════════════════════════════════
   bpc-company-map — card de localização / mapa
   ════════════════════════════════════════════════ */
.bpc-map {
	--bpc-ink:   #2b2018;
	--bpc-muted: #5a5044;
	--bpc-green: #2f6b46;
	--bpc-coral: #d24b32;
	--bpc-line:  #ece4d8;

	box-sizing: border-box;
	width: 100%;
	max-width: 620px;
	margin-inline: auto;
}
.bpc-map *, .bpc-map *::before, .bpc-map *::after { box-sizing: border-box; }

.bpc-map__title {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	font-weight: 800;
	color: var(--bpc-ink);
}

.bpc-map__frame {
	position: relative;
	border: 1px solid var(--bpc-line);
	border-radius: 18px;
	overflow: hidden;
	background: #e7efe6;
	box-shadow: 0 8px 30px rgba(43, 32, 24, 0.05);
}

.bpc-map__canvas { position: relative; width: 100%; height: 240px; }
.bpc-map__iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Ilustração estilizada (quando não há embed) */
.bpc-map__illus {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#dfeadd 1px, transparent 1px) 0 0 / 100% 28px,
		linear-gradient(90deg, #dfeadd 1px, transparent 1px) 0 0 / 28px 100%,
		#eaf1e7;
}
.bpc-map__road { position: absolute; background: #d8c79c; }
.bpc-map__road--h { left: 0; right: 0; top: 58%; height: 10px; transform: rotate(-3deg); }
.bpc-map__road--v { top: 0; bottom: 0; left: 46%; width: 8px; background: #cde0cc; }
.bpc-map__pin {
	position: absolute;
	top: 44%;
	left: 50%;
	transform: translate(-50%, -100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.bpc-map__pin-label {
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--bpc-ink);
	font-size: 0.8rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}
.bpc-map__pin-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--bpc-coral);
	border: 3px solid #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Barra de endereço + CTA */
.bpc-map__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	background: #fff;
	border-top: 1px solid var(--bpc-line);
}
.bpc-map__address {
	font-size: 0.9rem;
	color: var(--bpc-muted);
	min-width: 0;
}
.bpc-map__cta {
	flex-shrink: 0;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--bpc-green);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, transform 0.15s ease;
}
.bpc-map__cta:hover { background: #25603f; transform: translateY(-1px); color: #fff; }

/* ── Responsivo ────────────────────────────────── */
@media (max-width: 480px) {
	.bpc-map__bar { flex-direction: column; align-items: stretch; gap: 10px; }
	.bpc-map__cta { text-align: center; }
	.bpc-map__pin-label { font-size: 0.74rem; }
}

@media (prefers-reduced-motion: reduce) {
	.bpc-map__cta { transition: none; }
}
