/* ═══════════════════════════════════════════════════════════════
   Houngnibo – Contact Map (Plan de situation) Widget
   ═══════════════════════════════════════════════════════════════ */

.hgb-cmap {
	position: relative;
	background-color: #fdf9f0;
	color: #1c1c16;
	padding-top: 5rem;
	padding-bottom: 5rem;
	font-family: "Montserrat", sans-serif;
}

.hgb-cmap__container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 4vw, 3rem);
	box-sizing: border-box;
}

/* Header */
.hgb-cmap__header {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.hgb-cmap__header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

.hgb-cmap__surtitle {
	display: block;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: #825500;
}

.hgb-cmap__title {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.25;
	font-weight: 600;
	color: #321d08;
	margin: 0.25rem 0 0 0;
}

.hgb-cmap__desc {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #4f453d;
	margin: 0.5rem 0 0 0;
	max-width: 36rem;
}

.hgb-cmap__btn-wrap {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.hgb-cmap__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border: 1px solid #825500;
	color: #321d08;
	border-radius: 0.5rem;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hgb-cmap__btn:hover {
	background-color: #825500;
	color: #ffffff;
}

.hgb-cmap__btn .material-symbols-outlined {
	font-size: 18px;
}

/* Card Wrap */
.hgb-cmap__card-wrap {
	position: relative;
	background-color: #f7f3ea;
	border: 1px solid #d3c4b9;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	padding: 0.5rem;
}

/* Canvas */
.hgb-cmap__canvas {
	position: relative;
	width: 100%;
	height: 450px;
	border-radius: 0.75rem;
	overflow: hidden;
	background-color: #dddad1;
}

.hgb-cmap__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.9;
}

.hgb-cmap__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(50, 29, 8, 0.25);
	mix-blend-mode: multiply;
	pointer-events: none;
}

/* Pin 1 : Sanctuaire Houngnibo (Center) */
.hgb-cmap__pin-main {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	z-index: 20;
}

.hgb-cmap__pin-beacon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hgb-cmap__ping {
	position: absolute;
	width: 3rem;
	height: 3rem;
	background-color: rgba(130, 85, 0, 0.35);
	border-radius: 9999px;
	animation: hgb-ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hgb-ping {
	75%, 100% {
		transform: scale(2);
		opacity: 0;
	}
}

.hgb-cmap__pin-icon {
	width: 2.5rem;
	height: 2.5rem;
	background-color: #825500;
	color: #ffffff;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
	border: 2px solid #ffffff;
	position: relative;
	z-index: 2;
}

.hgb-cmap__pin-icon .material-symbols-outlined {
	font-size: 20px;
}

.hgb-cmap__pin-box {
	margin-top: 0.5rem;
	background-color: #321d08;
	color: #fdf9f0;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	text-align: center;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(130, 85, 0, 0.4);
	white-space: nowrap;
}

.hgb-cmap__pin-title {
	font-family: "Montserrat Alternates", "Montserrat", sans-serif;
	font-size: 14px;
	line-height: 1.2;
	display: block;
	color: #ffddb2;
	font-weight: 600;
}

.hgb-cmap__pin-sub {
	font-size: 11px;
	color: #e7e1dc;
	display: block;
	margin-top: 0.125rem;
}

/* Secondary Pins */
.hgb-cmap__pin-secondary {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

.hgb-cmap__pin-secondary--nonretour {
	bottom: 3rem;
	left: 33%;
}

.hgb-cmap__pin-secondary--pythons {
	top: 3.5rem;
	right: 25%;
}

.hgb-cmap__small-pin {
	width: 2rem;
	height: 2rem;
	background-color: #ffffff;
	color: #321d08;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: 1px solid #81756c;
}

.hgb-cmap__small-pin .material-symbols-outlined {
	font-size: 16px;
}

.hgb-cmap__small-tag {
	margin-top: 0.25rem;
	background-color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px);
	color: #321d08;
	padding: 0.25rem 0.625rem;
	border-radius: 0.25rem;
	font-size: 10px;
	letter-spacing: 0.08em;
	font-weight: 700;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	border: 1px solid #d3c4b9;
	white-space: nowrap;
}

/* Lagoon Tag */
.hgb-cmap__lagoon-tag {
	position: absolute;
	top: 33%;
	left: 4rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background-color: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(4px);
	padding: 0.375rem 0.75rem;
	border-radius: 9999px;
	border: 1px solid #d3c4b9;
	font-size: 10px;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: #1c1c16;
	z-index: 10;
}

.hgb-cmap__lagoon-tag .material-symbols-outlined {
	font-size: 16px;
	color: #825500;
}

/* Panel */
.hgb-cmap__panel {
	padding: 1.5rem;
	background-color: #ffffff;
	border-bottom-left-radius: 0.75rem;
	border-bottom-right-radius: 0.75rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	color: #4f453d;
	font-size: 0.8125rem;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.hgb-cmap__panel {
		grid-template-columns: repeat(3, 1fr);
	}
}

.hgb-cmap__panel-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hgb-cmap__panel-icon {
	color: #825500;
	font-size: 22px;
	flex-shrink: 0;
}

.hgb-cmap__panel-title {
	display: block;
	font-weight: 600;
	color: #321d08;
}
