/* Masquage de secours, ciblé uniquement sur le footer natif d’Astra. */
.site-footer:not(.dp-footer) {
	display: none;
}

.dp-footer {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border-top: 1px solid #dbe5f1;
	background: #f4f7fb;
	color: #1e293b;
	font-size: 16px;
	line-height: 1.6;
}

.dp-footer *,
.dp-footer *::before,
.dp-footer *::after {
	box-sizing: inherit;
}

.dp-footer__container {
	width: min(100% - 48px, 1200px);
	margin-inline: auto;
	padding-block: 56px 28px;
}

.dp-footer__intro {
	max-width: 760px;
	margin-bottom: 44px;
}

.dp-footer__brand {
	margin: 0 0 10px;
	color: #1e293b;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

.dp-footer__description {
	margin: 0;
	color: #475569;
}

.dp-footer__navigation {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 56px;
}

.dp-footer__heading {
	margin: 0 0 16px;
	color: #1e293b;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.dp-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dp-footer__links li {
	margin: 0;
	padding: 0;
}

.dp-footer__links a {
	display: inline-block;
	padding: 5px 0;
	color: #334155;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 150ms ease, text-decoration-color 150ms ease;
}

.dp-footer__links a:hover {
	color: #2563eb;
	text-decoration-color: currentColor;
}

.dp-footer__links a:focus-visible {
	border-radius: 3px;
	outline: 3px solid #22c55e;
	outline-offset: 3px;
	color: #1d4ed8;
	text-decoration-color: currentColor;
}

.dp-footer__bottom {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
	gap: 24px 48px;
	align-items: end;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid #dbe5f1;
	color: #64748b;
	font-size: 0.9375rem;
}

.dp-footer__notice,
.dp-footer__copyright {
	margin: 0;
}

.dp-footer__copyright {
	text-align: right;
}

@media (max-width: 860px) {
	.dp-footer__navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dp-footer__bottom {
		grid-template-columns: 1fr;
	}

	.dp-footer__copyright {
		text-align: left;
	}
}

@media (max-width: 600px) {
	.dp-footer__container {
		width: min(100% - 32px, 1200px);
		padding-block: 40px 24px;
	}

	.dp-footer__intro,
	.dp-footer__bottom {
		margin-top: 0;
		margin-bottom: 32px;
	}

	.dp-footer__navigation {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.dp-footer__bottom {
		margin-bottom: 0;
		font-size: 1rem;
	}

	.dp-footer__links a {
		min-height: 44px;
		padding: 9px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dp-footer__links a {
		transition: none;
	}
}
