/* ===== Pied de page — couleurs à modifier ici ===== */
:root {
	--csm-footer-fond: #12315f;
	--csm-footer-fond-bas: #0b2145;
	--csm-footer-texte: #dbe5f5;
	--csm-footer-accent: #4aa8ff;
}

.site-footer { background: none !important; padding: 0 !important; }

/* Le thème donne un fond blanc à .container (c'est ce qui crée la "page blanche" du site) :
   dans le pied de page on le neutralise, sinon texte clair sur fond blanc. */
.csm-footer .container {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

.csm-footer { color: var(--csm-footer-texte); font-size: 0.95rem; }
.csm-footer a { color: inherit; text-decoration: none; }
.csm-footer a:hover { color: #fff; text-decoration: underline; }

/* Illustration posée sur le bord supérieur du bandeau */
.csm-footer-illustration { text-align: center; line-height: 0; margin-top: 2rem; }
.csm-footer-illustration img { max-width: min(640px, 90%); height: auto; }

.csm-footer-principal {
	background: linear-gradient(120deg, var(--csm-footer-fond) 0%, #1b4b8f 100%);
	padding: 2.5rem 0;
}
.csm-footer-grille {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 2rem 3rem;
	align-items: start;
}
.csm-footer-logo { max-height: 70px; width: auto; }

.csm-footer-titre {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 0.9rem;
}
.csm-footer-liens { list-style: none; margin: 0; padding: 0; }
.csm-footer-liens li { margin-bottom: 0.45rem; }

.csm-footer-reseaux { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.csm-footer-reseaux a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	font-size: 1.15rem; color: #fff;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.csm-footer-reseaux a:hover { background: var(--csm-footer-accent); transform: translateY(-2px); text-decoration: none; }

.csm-footer-bas { background: var(--csm-footer-fond-bas); padding: 0.9rem 0; text-align: center; font-size: 0.85rem; }
.csm-footer-sep { margin: 0 0.4rem; opacity: 0.5; }
.csm-footer-bas a { text-decoration: underline; }

@media (max-width: 768px) {
	.csm-footer-grille { grid-template-columns: 1fr; text-align: center; }
	.csm-footer-reseaux { justify-content: center; }
}
