/* Fenêtre de consentement aux cookies — couleurs du site (bleu marine #0c244a / #0e3573) */
.cookie-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(20, 24, 32, 0.65);
}
.cookie-overlay[hidden] {
	display: none;
}
html.cookie-open,
html.cookie-open body {
	overflow: hidden;
}
.cookie-dialog {
	width: 100%;
	max-width: 520px;
	max-height: 100%;
	overflow-y: auto;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
	font-family: 'Poppins', sans-serif;
}
.cookie-header {
	display: flex;
	align-items: center;
	padding: 20px 28px;
	background: #0c244a;
	border-radius: 6px 6px 0 0;
	color: #fff;
}
.cookie-header .fa {
	margin-right: 12px;
	font-size: 22px;
}
.cookie-header h2 {
	margin: 0;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.cookie-body {
	padding: 24px 28px 28px;
}
.cookie-body p {
	margin: 0 0 14px;
	color: #444;
	font-size: 14px;
	line-height: 1.7;
}
.cookie-body a {
	color: #0e3573;
	font-weight: 500;
	text-decoration: underline;
}
.cookie-actions {
	display: flex;
	margin-top: 22px;
}
.cookie-actions button {
	flex: 1 1 0;
	margin: 0;
	padding: 12px 16px;
	border: 2px solid #0e3573;
	border-radius: 3px;
	background: #0e3573;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}
.cookie-actions button + button {
	margin-left: 12px;
}
.cookie-actions button:hover {
	background: #0c244a;
	border-color: #0c244a;
}
.cookie-actions button:focus {
	outline: 3px solid #6095e6;
	outline-offset: 2px;
}
.cookie-dialog:focus {
	outline: none;
}
#cookie-manage {
	cursor: pointer;
}
@media (max-width: 480px) {
	.cookie-header { padding: 16px 20px; }
	.cookie-body { padding: 20px; }
	.cookie-actions { flex-direction: column; }
	.cookie-actions button + button { margin: 10px 0 0; }
}

/* Carte Google Maps chargée seulement sur demande */
.map-consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	background: #eef1f6;
	color: #444;
	box-sizing: border-box;
}
.map-consent .fa {
	margin-bottom: 10px;
	font-size: 34px;
	color: #0e3573;
}
.map-consent p {
	max-width: 420px;
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #555;
}
.map-consent a {
	color: #0e3573;
	text-decoration: underline;
}
.map-consent-btn {
	padding: 10px 22px;
	border: 2px solid #0e3573;
	border-radius: 3px;
	background: #0e3573;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
}
.map-consent-btn:hover,
.map-consent-btn:focus {
	background: #0c244a;
	border-color: #0c244a;
}
/* variante pour le pied de page (fond bleu marine) */
.map-consent-dark {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
}
.map-consent-dark .fa,
.map-consent-dark p,
.map-consent-dark a {
	color: #fff;
}
.map-consent-dark .map-consent-btn {
	background: #fff;
	border-color: #fff;
	color: #0c244a;
}
.map-consent-dark .map-consent-btn:hover,
.map-consent-dark .map-consent-btn:focus {
	background: transparent;
	color: #fff;
}
/* page Contact : la carte est sous l'en-tête transparent */
.map-consent-page {
	padding-top: 100px;
}
