/* Bandeau cookies : encart flottant en bas à gauche, charte L'Adresse Cézanne. */
.adc-cookies {
	position: fixed; left: 24px; bottom: 24px; z-index: 99999;
	width: min(380px, calc(100vw - 32px));
	background: #213B32; color: #F6F0E4; border-radius: 18px;
	box-shadow: 0 24px 60px rgba(19, 33, 28, .28);
	font-family: "Plus Jakarta Sans", system-ui, sans-serif;
	opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease;
}
.adc-cookies.is-visible { opacity: 1; transform: none; }
.adc-cookies__main { padding: 24px 24px 20px; }
.adc-cookies__title {
	margin: 0 0 8px; font-family: Judson, Georgia, serif; font-size: 23px; line-height: 1.15; color: #F6F0E4;
}
.adc-cookies__text { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: rgba(246, 240, 228, .82); }
.adc-cookies__text a { color: #F6F0E4; text-decoration: underline; text-underline-offset: 3px; }
.adc-cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adc-cookie-btn {
	appearance: none; cursor: pointer; border-radius: 40px; padding: 11px 16px;
	font: 500 14px/1 "Plus Jakarta Sans", system-ui, sans-serif;
	background: transparent; color: #F6F0E4; border: 1px solid rgba(246, 240, 228, .45);
	transition: background .2s, color .2s, border-color .2s;
}
.adc-cookie-btn:hover { border-color: #F6F0E4; }
.adc-cookie-btn--solid { background: #F6F0E4; color: #213B32; border-color: #F6F0E4; }
.adc-cookie-btn--solid:hover { background: #C4704A; border-color: #C4704A; color: #F6F0E4; }
.adc-cookies__custom {
	appearance: none; background: none; border: 0; padding: 0; margin: 14px 0 0; cursor: pointer;
	color: rgba(246, 240, 228, .7); font: 400 13px/1 "Plus Jakarta Sans", system-ui, sans-serif;
	text-decoration: underline; text-underline-offset: 3px;
}
.adc-cookies__custom:hover { color: #F6F0E4; }
.adc-cookies__save { width: 100%; margin-top: 14px; }
.adc-cookies__prefs { margin: 0 0 16px; border-top: 1px solid rgba(246, 240, 228, .15); }
.adc-cookies__pref {
	display: flex; justify-content: space-between; align-items: center; gap: 14px;
	padding: 12px 0; border-bottom: 1px solid rgba(246, 240, 228, .15); cursor: pointer;
}
.adc-cookies__pref strong { display: block; font-size: 14px; font-weight: 600; }
.adc-cookies__pref small { display: block; font-size: 12px; color: rgba(246, 240, 228, .7); margin-top: 2px; }
.adc-cookies__pref input {
	appearance: none; flex: none; width: 40px; height: 22px; border-radius: 22px; position: relative; cursor: pointer;
	background: rgba(246, 240, 228, .25); transition: background .2s;
}
.adc-cookies__pref input::after {
	content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
	background: #F6F0E4; transition: transform .2s;
}
.adc-cookies__pref input:checked { background: #C4704A; }
.adc-cookies__pref input:checked::after { transform: translateX(18px); }
.adc-cookies__pref input:disabled { opacity: .6; cursor: default; }

/* Carte Google Maps en attente de consentement */
.adc-map-gated { position: relative; height: 100%; }
.adc-map-gated .adc-map-consent {
	position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 14px; padding: 24px; text-align: center; border-radius: 14px;
	background: #E9E1D0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23213B32' stroke-opacity='.06'/%3E%3C/svg%3E");
	color: #213B32; font: 400 14px/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
}
.adc-map-gated .adc-map-consent p { margin: 0; max-width: 280px; }
.adc-map-gated .adc-cookie-btn--solid { background: #213B32; color: #F6F0E4; border-color: #213B32; }
.adc-map-gated.is-loaded .adc-map-consent { display: none; }

@media (max-width: 600px) {
	.adc-cookies { left: 16px; bottom: 16px; }
	.adc-cookies__main { padding: 20px; }
}
