/* ==========================================================================
   Section 12 — Footer · 4 colonnes
   ========================================================================== */

/* Masquer le footer vide de GP (.site-info) — on utilise uniquement .vm-footer */
.site-info {
	display: none;
}

.vm-footer {
	background-color: var(--color-night);
	color: rgba(255, 255, 255, 0.8);
	padding: var(--section-pad) 1rem 0;
}

.vm-footer__container {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

/* --- Headings --- */

.vm-footer__heading {
	font-family: var(--font-title);
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 1rem;
	line-height: 1.3;
}

/* --- Texte description --- */

.vm-footer__text {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.7;
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.7);
}

/* --- Réseaux sociaux --- */

.vm-footer__social {
	display: flex;
	gap: 0.75rem;
}

.vm-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background-color 0.2s ease;
}

.vm-footer__social-link:hover {
	background-color: var(--color-blue);
}

/* --- Listes de liens --- */

.vm-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.vm-footer__list li {
	margin-bottom: 0.5rem;
}

.vm-footer__list a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.vm-footer__list a:hover,
.vm-footer__list a:focus-visible {
	color: #fff;
}

/* --- Adresse --- */

.vm-footer__address {
	font-style: normal;
	margin-bottom: 1rem;
}

.vm-footer__address p {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.7;
	margin: 0 0 0.25rem;
}

.vm-footer__contact-link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.vm-footer__contact-link:hover,
.vm-footer__contact-link:focus-visible {
	color: #fff;
}

/* --- Barre bas de page --- */

.vm-footer__bottom {
	margin-top: var(--section-pad);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 1rem;
}

.vm-footer__bottom-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	text-align: center;
}

.vm-footer__copyright {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

/* --- Tablet : 2 colonnes --- */

@media (min-width: 600px) {
	.vm-footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* --- Desktop : 4 colonnes --- */

@media (min-width: 960px) {
	.vm-footer__container {
		grid-template-columns: 1.5fr 1fr 1fr 1fr;
		gap: 3rem;
	}
}
