/* ============================================================
   FOOTER WESTERN CITY
   ============================================================ */

/* ── Scène décorative : vague de séparation + objets western ── */

.wc-footer__scene {
	position: relative;
	height: clamp(10rem, 20vw, 16rem); /* 160 → 256px */
	background: var(--c-page-bg);       /* même fond que le contenu : aucune séparation */
	overflow: hidden;
}

.wc-footer__wave {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 0;
}

.wc-footer__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	/* Descend le bloc d'objets pour bien poser les pieds sur la dune */
	transform: translateY(50px);
}

/* Objet injecté par JS : ancré par le bas, centré sur sa position x */
.wc-footer__obj {
	position: absolute;
	transform-origin: bottom center;
	transform: translateX(-50%);
	will-change: transform;

	& svg {
		display: block;
		height: 100%;
		width: auto;
	}

	/* Ombre douce au sol */
	&::after {
		content: '';
		position: absolute;
		left: 50%;
		bottom: -3px;
		width: 78%;
		height: 0.5rem;
		transform: translateX(-50%);
		background: radial-gradient(ellipse at center, rgba(43, 26, 14, 0.18), transparent 70%);
		z-index: -1;
	}
}

.wc-footer__top {
	background: var(--c-cream-900);
	color: var(--c-text);
	padding: var(--s-4xl) var(--s-xl) var(--s-3xl);
}

.wc-footer__container {
	max-width: var(--container-w);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr 1fr;
	gap: var(--s-3xl);
	align-items: flex-start;
}

.wc-footer__col {
	min-width: 0;
}

.wc-footer__col--brand {
	display: flex;
	flex-direction: column;
	gap: var(--s-sm);
}

.wc-footer__brand {
	margin: 0 0 var(--s-xs);
	font-size: 1.375rem;
	font-weight: var(--fw-bold);
	font-family: var(--ff-heading);
	color: var(--c-text);
	letter-spacing: 0.03em;
}

.wc-footer__line {
	margin: 0;
	font-size: 0.84375rem;
	line-height: var(--lh-normal);
	color: var(--c-text);

	& a {
		color: inherit;
		text-decoration: none;
		transition: color var(--tr-base);

		&:hover,
		&:focus {
			color: var(--c-brown-600) !important;
			text-decoration: underline;
		}
	}
}

.wc-footer__social {
	display: flex;
	gap: var(--s-sm);
	margin-top: var(--s-md);
}

.wc-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;             /* 44px – cible tactile */
	height: 2.75rem;
	background: var(--c-brown-600);
	color: var(--c-cream-900);
	border-radius: var(--br-sm);
	text-decoration: none;
	transition: background-color var(--tr-base), color var(--tr-base);
	outline: none !important;
	-webkit-tap-highlight-color: transparent !important;

	&:hover,
	&:focus {
		background: var(--c-brown-800) !important;
		color: var(--c-text-inverse) !important;
	}

	& svg {
		fill: none !important;
		stroke: currentColor !important;
		width: 1rem !important;
		height: 1rem !important;
		flex-shrink: 0;
	}
}

.wc-footer__title {
	margin: 0 0 var(--s-ld);
	font-size: 1.125rem;
	font-weight: var(--fw-bold);
	font-family: var(--ff-heading);
	color: var(--c-text);
	letter-spacing: 0.03em;
}

.wc-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--s-sm);

	& li {
		line-height: var(--lh-snug);
	}

	& a {
		color: var(--c-brown-600);
		text-decoration: none;
		font-size: 0.875rem;
		transition: color var(--tr-base), padding-left var(--tr-base);
		display: inline-block;

		&:hover,
		&:focus {
			color: var(--c-text) !important;
			padding-left: var(--s-xs);
		}
	}
}

.wc-footer__bottom {
	background: var(--c-brown-600);
	color: var(--c-cream-400);
	padding: var(--s-ld) var(--s-xl);
	text-align: center;
}

.wc-footer__copy {
	font-family: var(--ff-heading);
	font-size: 1.125rem;
	font-weight: var(--fw-bold);
	letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
	.wc-footer__container {
		grid-template-columns: 1fr 1fr;
		gap: var(--s-2xl);
	}

	.wc-footer__col--brand {
		grid-column: span 2;
	}
}

@media (max-width: 560px) {
	.wc-footer__top {
		padding: var(--s-2xl) var(--s-ld) var(--s-xl);
	}

	.wc-footer__container {
		grid-template-columns: 1fr;
		gap: var(--s-xl);
	}

	.wc-footer__col--brand {
		grid-column: span 1;
	}

	.wc-footer__brand {
		font-size: 1.25rem;
	}

	.wc-footer__title {
		font-size: 1rem;
		margin-bottom: var(--s-md);
	}

	.wc-footer__copy {
		font-size: 1rem;
	}
}
