/* EH Locations — page Où nous trouver premium */

.eh-loc-active .elementor-location-single .elementor-section-wrap > .elementor-section:not(:has(.eh-loc)) {
	/* fallback si sections résiduelles */
}

.eh-loc {
	--eh-loc-pad-x: clamp(1.25rem, 5vw, 4rem);
	--eh-loc-label: 0.6875rem;
	--eh-loc-label-ls: 0.12em;
	--eh-loc-body: 0.9375rem;
	--eh-loc-muted: rgba(0, 0, 0, 0.55);
	--eh-loc-faint: rgba(0, 0, 0, 0.38);
	--eh-loc-line: rgba(0, 0, 0, 0.08);
	max-width: min(1180px, 100%);
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4.5rem) var(--eh-loc-pad-x) clamp(3.5rem, 6vw, 5.5rem);
	color: #000;
}

/* ── Hero ── */
.eh-loc__hero {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto clamp(3rem, 5vw, 4.5rem);
	padding-bottom: clamp(2rem, 3.5vw, 3rem);
	border-bottom: 1px solid var(--eh-loc-line);
}

.eh-loc__eyebrow {
	margin: 0 0 0.75rem;
	font-size: var(--eh-loc-label);
	font-weight: 600;
	letter-spacing: var(--eh-loc-label-ls);
	text-transform: uppercase;
	color: var(--eh-loc-faint);
}

.eh-loc__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: none !important;
	color: #000 !important;
	line-height: 1.15 !important;
}

.eh-loc__intro {
	margin: 0;
	font-size: var(--eh-loc-body);
	line-height: 1.75;
	color: var(--eh-loc-muted);
}

/* ── Liste lieux ── */
.eh-loc__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.eh-loc__item {
	padding: clamp(2.5rem, 4vw, 3.5rem) 0;
	border-bottom: 1px solid var(--eh-loc-line);
}

.eh-loc__item:first-child {
	padding-top: 0;
}

.eh-loc__item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.eh-loc__item-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 1.05fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.eh-loc__item--reverse .eh-loc__item-inner {
	direction: rtl;
}

.eh-loc__item--reverse .eh-loc__item-inner > * {
	direction: ltr;
}

/* ── Contenu lieu ── */
.eh-loc__content {
	display: flex;
	flex-direction: column;
	gap: 1.375rem;
}

.eh-loc__brand {
	display: flex;
	align-items: center;
	gap: 1.125rem;
}

.eh-loc__logo {
	display: block;
	max-width: clamp(88px, 14vw, 140px);
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.eh-loc__meta {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.eh-loc__tag {
	display: inline-block;
	width: fit-content;
	padding: 0.3rem 0.55rem;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid var(--eh-loc-line);
	color: var(--eh-loc-faint);
}

.eh-loc__name {
	margin: 0;
	font-size: clamp(1.125rem, 2vw, 1.4375rem) !important;
	font-weight: 600 !important;
	letter-spacing: 0.03em !important;
	color: #000 !important;
	line-height: 1.25 !important;
}

.eh-loc__address {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	font-style: normal;
	font-size: var(--eh-loc-body);
	line-height: 1.6;
	color: var(--eh-loc-muted);
}

.eh-loc__hours-label {
	margin: 0 0 0.75rem;
	font-size: var(--eh-loc-label);
	font-weight: 600;
	letter-spacing: var(--eh-loc-label-ls);
	text-transform: uppercase;
	color: #000;
}

.eh-loc__hours-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.eh-loc__hours-list li {
	display: grid;
	grid-template-columns: minmax(120px, 1.1fr) minmax(0, 1fr);
	gap: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.eh-loc__hours-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.eh-loc__hours-day {
	color: #000;
	font-weight: 500;
}

.eh-loc__hours-time {
	color: var(--eh-loc-muted);
}

.eh-loc__note {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--eh-loc-faint);
	font-style: italic;
}

.eh-loc__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: fit-content;
	padding: 0.75rem 1.125rem;
	border: 1px solid #000;
	background: #000;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: opacity 0.25s ease, background-color 0.25s ease;
}

.eh-loc__cta:hover,
.eh-loc__cta:focus {
	opacity: 0.82;
	color: #fff !important;
}

.eh-loc__cta svg {
	width: 0.9375rem;
	height: 0.9375rem;
}

/* ── Carte + photo ── */
.eh-loc__map-wrap {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.eh-loc__photo {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border: 1px solid var(--eh-loc-line);
}

.eh-loc__map-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	min-height: 260px;
	border: 1px solid var(--eh-loc-line);
	background: #f5f5f5;
	overflow: hidden;
}

.eh-loc__map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
[data-eh-loc-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--eh-loc-delay, 0ms);
}

.eh-loc.is-visible [data-eh-loc-reveal] {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 900px) {
	.eh-loc__item-inner,
	.eh-loc__item--reverse .eh-loc__item-inner {
		grid-template-columns: 1fr;
		direction: ltr;
		gap: 1.75rem;
	}

	.eh-loc__map-frame {
		order: -1;
		aspect-ratio: 16 / 10;
		min-height: 220px;
	}
}

@media (max-width: 767px) {
	.eh-loc {
		padding-top: 2rem;
		padding-bottom: 3rem;
	}

	.eh-loc__hero {
		text-align: left;
		margin-bottom: 2.5rem;
	}

	.eh-loc__brand {
		flex-direction: column;
		align-items: flex-start;
	}

	.eh-loc__hours-list li {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-eh-loc-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
