/*
 * Pied de page du portail GeoRezo, commun à tous les thèmes.
 *
 * Feuille autonome : tailles en px (les anciens thèmes modifient la taille de police
 * de html), propriétés remises à zéro pour ne pas hériter des styles du thème.
 * Largeur du contenu : variable --georezo-footer-width (défaut 1180px).
 */

.georezo-footer {
	all: initial;
	display: block;
	clear: both;
	width: 100%;
	background: #2c4a7e;
	color: rgba(255, 255, 255, .85);
	font: 400 15px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.georezo-footer *, .georezo-footer *::before, .georezo-footer *::after {
	box-sizing: border-box;
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	font: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-indent: 0;
	text-shadow: none;
	text-align: left;
	width: auto;
	height: auto;
	min-height: 0;
	max-width: none;
	line-height: inherit;
}
.georezo-footer ul, .georezo-footer li { display: block; list-style: none; }
.georezo-footer li::before, .georezo-footer li::after { content: none; }
.georezo-footer a { color: #fff; text-decoration: none; cursor: pointer; }
.georezo-footer a:hover { color: #ffd2a8; }
.georezo-footer a:focus-visible {
	outline: 3px solid #ef7103;
	outline-offset: 2px;
	border-radius: 4px;
}

.georezo-footer .georezo-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	max-width: var(--georezo-footer-width, 1180px);
	margin: 0 auto;
	padding: 35px 16px;
}
@media (min-width: 900px) {
	.georezo-footer .georezo-footer__inner { grid-template-columns: minmax(256px, 352px) minmax(0, 1fr); }
}

.georezo-footer p { display: block; margin: 0 0 12px; }
.georezo-footer strong { color: #fff; font-weight: 700; }
.georezo-footer__about a { text-decoration: underline; }
.georezo-footer .georezo-footer__logo {
	display: inline-block;
	margin-bottom: 14px;
	padding: 8px 13px;
	background: #fff;
	border-radius: 7px;
	text-decoration: none;
}
.georezo-footer .georezo-logo { display: block; width: 146px; height: 48px; max-width: none; }

.georezo-footer .georezo-footer__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.georezo-footer .georezo-footer__button {
	display: inline-block;
	padding: 7px 18px;
	border: 2px solid #ef7103;
	border-radius: 999px;
	background: #ef7103;
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}
.georezo-footer .georezo-footer__button:hover { background: #c25a00; border-color: #c25a00; color: #fff; }
.georezo-footer .georezo-footer__button--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); }
.georezo-footer .georezo-footer__button--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.georezo-footer .georezo-footer__sections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
	gap: 19px 24px;
}
.georezo-footer .georezo-footer__title {
	margin-bottom: 8px;
	padding-bottom: 5px;
	border-bottom: 2px solid #ef7103;
	color: #fff;
	font-weight: 700;
}
.georezo-footer .georezo-footer__section li { margin: 4px 0; }
.georezo-footer .georezo-footer__section a { color: rgba(255, 255, 255, .85); }
.georezo-footer .georezo-footer__section a:hover { color: #fff; text-decoration: underline; }

@media print {
	.georezo-footer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.georezo-footer *, .georezo-footer *::before, .georezo-footer *::after { transition: none !important; }
}
