/* =============================================================================
   Dateka – Implantations Widget Styles (Dynamic & Animated Edition)
   Two-panel split layout: France & Bénin with ambient glowing pin badges,
   smooth background zoom, glassmorphic floating center badge & scroll reveals.
   ============================================================================= */

.dateka-locations {
	background: transparent;
	padding: 48px 24px;
	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
}

.dateka-locations__inner {
	margin: 0 auto;
	width: 100%;
	max-width: 100%;
}

.dateka-locations__wrapper {
	display: flex;
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	min-height: 460px;
	box-shadow: 0 20px 50px rgba(0, 39, 85, 0.18);
	border: 1px solid rgba(0, 39, 85, 0.08);
	transition: box-shadow 400ms ease, border-color 400ms ease;
}

.dateka-locations__wrapper:hover {
	box-shadow: 0 30px 70px rgba(0, 39, 85, 0.25);
	border-color: rgba(201, 144, 72, 0.3);
}

/* ── PANELS (France & Bénin) ── */
.dateka-locations__panel {
	flex: 1;
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 56px;
	color: var(--dateka-white, #ffffff);
	overflow: hidden;
	transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), flex 600ms cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}

/* Image background zoom container pseudo-element */
.dateka-locations__panel::before {
	content: '';
	position: absolute;
	inset: -10px;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 800ms ease;
	z-index: 0;
}

.dateka-locations__panel:hover::before {
	transform: scale(1.08);
	filter: brightness(1.05);
}

.dateka-locations__panel--left {
	padding-right: 190px;
}

.dateka-locations__panel--right {
	padding-left: 190px;
}

/* Overlays */
.dateka-locations__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	transition: opacity 500ms ease;
}

.dateka-locations__panel--left .dateka-locations__overlay {
	background: linear-gradient(135deg, rgba(0, 39, 85, 0.96) 0%, rgba(0, 39, 85, 0.72) 60%, rgba(0, 39, 85, 0.4) 100%);
}

.dateka-locations__panel--right .dateka-locations__overlay {
	background: linear-gradient(225deg, rgba(201, 144, 72, 0.92) 0%, rgba(168, 116, 50, 0.78) 55%, rgba(0, 39, 85, 0.6) 100%);
}

.dateka-locations__panel:hover .dateka-locations__overlay {
	opacity: 0.92;
}

/* Content Area & Entrance Transitions */
.dateka-locations__content {
	position: relative;
	z-index: 2;
	max-width: 100%;
	transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.dateka-locations__panel--left .dateka-locations__content {
	text-align: left;
	margin-right: auto;
}

.dateka-locations__panel--right .dateka-locations__content {
	text-align: right;
	margin-left: auto;
}

.dateka-locations__panel--left:hover .dateka-locations__content {
	transform: translateX(8px);
}

.dateka-locations__panel--right:hover .dateka-locations__content {
	transform: translateX(-8px);
}

.dateka-locations__title {
	color: var(--dateka-white, #ffffff);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 6px;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dateka-locations__subtitle {
	color: rgba(255, 255, 255, 0.95);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: 0.95rem;
	font-weight: 600;
	margin-bottom: 14px;
	letter-spacing: 0.02em;
}

/* Animated Divider Line */
.dateka-locations__divider {
	height: 3px;
	width: 44px;
	background: linear-gradient(90deg, var(--dateka-gold, #C99048), var(--dateka-gold-accent, #D4AF37));
	margin-bottom: 22px;
	border-radius: 2px;
	transition: width 400ms cubic-bezier(0.16, 1, 0.3, 1), background-color 400ms ease;
}

.dateka-locations__panel--left .dateka-locations__divider {
	margin-left: 0;
}

.dateka-locations__panel--right .dateka-locations__divider {
	margin-left: auto;
	margin-right: 0;
	background: linear-gradient(90deg, #ffffff, var(--dateka-gold-accent, #D4AF37));
}

.dateka-locations__panel:hover .dateka-locations__divider {
	width: 72px;
}

.dateka-locations__desc {
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.875rem;
	line-height: 1.65;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
}

/* ── LOCATION PIN BADGES ── */
.dateka-locations__pin {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #ffffff;
	transition: background 300ms ease, border-color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.dateka-locations__panel--left .dateka-locations__pin {
	align-self: flex-start;
}

.dateka-locations__panel--right .dateka-locations__pin {
	align-self: flex-end;
}

.dateka-locations__pin svg,
.dateka-locations__pin i {
	color: var(--dateka-gold, #C99048);
	font-size: 1.1rem;
	fill: currentColor;
	filter: drop-shadow(0 0 6px rgba(201, 144, 72, 0.5));
	transition: transform 300ms ease;
}

.dateka-locations__panel:hover .dateka-locations__pin {
	background: rgba(201, 144, 72, 0.28);
	border-color: rgba(201, 144, 72, 0.65);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.dateka-locations__panel:hover .dateka-locations__pin svg {
	transform: scale(1.2);
}

.dateka-locations__pin--link {
	cursor: pointer;
	text-decoration: none !important;
}

.dateka-locations__pin--link:hover {
	background: var(--dateka-gold, #C99048) !important;
	border-color: var(--dateka-gold-accent, #D4AF37) !important;
	color: #ffffff !important;
	transform: translateY(-4px) scale(1.03) !important;
	box-shadow: 0 10px 24px rgba(201, 144, 72, 0.4) !important;
}

.dateka-locations__pin--link:hover svg {
	color: #ffffff !important;
	fill: currentColor !important;
}

.dateka-locations__pin-arrow {
	transition: transform 250ms ease;
	margin-left: 2px;
	opacity: 0.85;
}

.dateka-locations__pin--link:hover .dateka-locations__pin-arrow {
	transform: translate(2px, -2px) !important;
	opacity: 1;
}

/* ─────────────────────────────────────
   FLOATING CENTER BADGE ("VIVANT & CHIC")
───────────────────────────────────── */
.dateka-locations__badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: linear-gradient(145deg, rgba(0, 39, 85, 0.96) 0%, rgba(0, 21, 48, 0.98) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: 16px;
	width: 320px;
	text-align: center;
	padding: 32px 24px;
	color: var(--dateka-white, #ffffff);
	border: 1.5px solid rgba(201, 144, 72, 0.35);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(201, 144, 72, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.15);
	z-index: 10;
	animation: dateka-badge-float 6s ease-in-out infinite;
	transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
	will-change: transform;
}

.dateka-locations__badge:hover,
.dateka-locations__badge.is-panel-hovered {
	border-color: var(--dateka-gold, #C99048);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 45px rgba(201, 144, 72, 0.4);
}

.dateka-locations__badge-icon {
	width: 90px;
	height: 90px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: transparent;
	position: relative;
	transition: transform 400ms ease;
}

.dateka-locations__badge:hover .dateka-locations__badge-icon {
	transform: scale(1.08) rotate(3deg);
}

.dateka-locations__badge-logo {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.dateka-locations__badge-title {
	color: var(--dateka-white, #ffffff);
	font-family: var(--e-global-typography-primary-font-family, Montserrat, Arial, sans-serif);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 10px;
}

.dateka-locations__badge-subtitle {
	color: var(--dateka-gold, #C99048);
	font-family: var(--e-global-typography-text-font-family, "Roboto Mono", monospace);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

@keyframes dateka-badge-float {
	0%, 100% {
		transform: translate(-50%, -50%);
	}
	50% {
		transform: translate(-50%, -56%);
	}
}

/* ─────────────────────────────────────
   SCROLL REVEAL (JS .dateka-animated)
───────────────────────────────────── */
.dateka-locations__panel--left {
	opacity: 0;
	transform: translateX(-30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dateka-locations__panel--right {
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dateka-locations.dateka-animated .dateka-locations__panel--left,
.dateka-locations.dateka-animated .dateka-locations__panel--right,
.dateka-locations:not(.dateka-animated) .dateka-locations__panel--left,
.dateka-locations:not(.dateka-animated) .dateka-locations__panel--right {
	opacity: 1;
	transform: translateX(0);
}

/* ─────────────────────────────────────
   RESPONSIVE — Tablet (≤ 1024px)
───────────────────────────────────── */
@media (max-width: 1024px) {
	.dateka-locations__panel {
		padding: 40px 24px;
	}
	.dateka-locations__panel--left {
		padding-right: 155px;
	}
	.dateka-locations__panel--right {
		padding-left: 155px;
	}
	.dateka-locations__badge {
		width: 280px;
		padding: 24px 20px;
	}
}

/* ─────────────────────────────────────
   RESPONSIVE — Mobile (≤ 767px)
───────────────────────────────────── */
@media (max-width: 767px) {
	.dateka-locations {
		padding: 32px 18px;
	}
	.dateka-locations__wrapper {
		flex-direction: column;
		border-radius: 14px;
	}
	.dateka-locations__panel {
		min-height: auto;
		padding: 32px 20px;
	}
	.dateka-locations__panel--left {
		padding-right: 20px;
		padding-bottom: 160px;
	}
	.dateka-locations__panel--right {
		padding-left: 20px;
		padding-top: 160px;
	}
	.dateka-locations__panel--right .dateka-locations__content {
		text-align: left;
		margin-left: 0;
	}
	.dateka-locations__panel--right .dateka-locations__divider {
		margin-left: 0;
	}
	.dateka-locations__panel--right .dateka-locations__pin {
		align-self: flex-start;
	}
	.dateka-locations__badge {
		width: calc(100% - 48px);
		max-width: 320px;
		padding: 24px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dateka-locations__badge {
		animation: none !important;
	}
	.dateka-locations__panel,
	.dateka-locations__panel::before,
	.dateka-locations__pin,
	.dateka-locations__divider {
		transition: none !important;
		transform: none !important;
	}
}
