/* VP Control 1.0 : styles publics (footer, contact, textes légaux, page 404).
   Les couleurs du footer arrivent en variables CSS (--vpc-bg, --vpc-text) depuis les réglages. */

.vpc-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Footer ---------- */

.vpc-footer {
	--vpc-bg: #202f48;
	--vpc-text: #ffffff;
	margin: 0;
	padding: 0;
}

.vpc-footer *,
.vpc-footer *::before,
.vpc-footer *::after {
	box-sizing: border-box;
}

.vpc-footer__bar {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	background: var(--vpc-bg);
	color: var(--vpc-text);
}

.vpc-footer__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75em;
	min-height: 60px;
	padding: 0.5em 1em;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--vpc-text);
	border-right: 1px solid rgba(255, 255, 255, 0.45);
	border-right-color: color-mix(in srgb, var(--vpc-text) 45%, transparent);
	overflow-wrap: anywhere;
}

.vpc-footer__item:last-child {
	border-right: 0;
}

.vpc-footer__item--name {
	flex: 15 1 0%;
	text-transform: uppercase;
}

.vpc-footer__item--address {
	flex: 40 1 0%;
}

.vpc-footer__item--mail {
	flex: 30 1 0%;
}

.vpc-footer__item--phone {
	flex: 15 1 0%;
}

.vpc-footer__item a {
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
	color: inherit;
	text-decoration: none;
}

.vpc-footer__item a:hover,
.vpc-footer__item a:focus-visible {
	text-decoration: underline;
}

.vpc-footer__item a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.vpc-footer__phones a {
	display: inline;
}

.vpc-icon {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.vpc-footer__legal {
	margin: 10px 0 0;
	padding: 0 1em;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	color: #404040;
}

.vpc-footer__legal p {
	margin: 0;
}

.vpc-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25em 0.6em;
}

.vpc-footer__legal a {
	color: #404040;
}

.vpc-footer__legal a:hover,
.vpc-footer__legal a:focus-visible {
	color: #0b5f8a;
}

.vpc-footer__credit {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	text-decoration: none;
}

.vpc-footer__credit img {
	display: inline-block;
	vertical-align: text-bottom;
	height: auto;
}

.vpc-footer__copy {
	margin: 10px 0 !important;
}

@media only screen and (max-width: 480px) {
	.vpc-footer__pipe {
		display: none;
	}
}

@media only screen and (max-width: 980px) {
	.vpc-footer__item {
		flex: 1 1 100%;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.45);
		border-bottom-color: color-mix(in srgb, var(--vpc-text) 45%, transparent);
	}

	.vpc-footer__item:last-child {
		border-bottom: 0;
	}
}

/* ---------- Contact ---------- */

.vpc-contact__title {
	font-size: 28px;
	font-weight: 500;
	text-transform: uppercase;
}

.vpc-contact__line {
	margin: 0 0 0.5em;
	font-size: 16px;
	font-weight: 300;
}

/* ---------- Mentions légales et cookies ---------- */

.vpc-legal {
	width: 100%;
	max-width: 60rem;
	margin: 0 auto;
}

.vpc-legal ul {
	list-style: disc;
	padding-left: 1.5em;
}

.vpc-capitalize {
	text-transform: capitalize;
}

/* ---------- Page 404 ---------- */

.vpc-404-wrap {
	padding: 2rem 1rem;
}

.vpc-404 {
	margin: 40px 0 0;
	text-align: center;
}

.vpc-404__img {
	max-width: 100%;
	height: auto;
}

.vpc-404__title {
	margin: 1em 0;
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	font-weight: 500;
}
