/*! SD Consent 1.1.0 — SEO Design */
.sdcs-banner,
.sdcs-panel,
.sdcs-fab {
	--sdcs-bg: #111113;
	--sdcs-line: rgba(255, 255, 255, .12);
	--sdcs-text: #f4f4f5;
	--sdcs-muted: rgba(255, 255, 255, .66);
	--sdcs-accent: #d7ff00;
	--sdcs-on-accent: #0a0a0a;
	font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.sdcs-banner *,
.sdcs-panel * { box-sizing: border-box; }
.sdcs-banner[hidden],
.sdcs-panel[hidden] { display: none !important; }

/* ---------- Bandeau (1er niveau) ---------- */
.sdcs-banner {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 2147483000;
	width: min(540px, calc(100vw - 32px));
	padding: 24px;
	background: var(--sdcs-bg);
	color: var(--sdcs-text);
	border: 1px solid var(--sdcs-line);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
	animation: sdcs-in .28s ease-out both;
}
@keyframes sdcs-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.sdcs-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sdcs-text);
}
.sdcs-text {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--sdcs-muted);
}
.sdcs-link {
	color: var(--sdcs-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sdcs-link:hover { color: var(--sdcs-accent); }

.sdcs-actions {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 10px;
}

/* Accepter et Refuser : strictement le même style (égalité de traitement). */
.sdcs-btn {
	appearance: none;
	margin: 0;
	min-height: 46px;
	padding: 12px 16px;
	border-radius: 999px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.sdcs-btn--choice {
	background: var(--sdcs-accent);
	color: var(--sdcs-on-accent);
	border: 1px solid var(--sdcs-accent);
}
.sdcs-btn--choice:hover { transform: translateY(-1px); }
.sdcs-btn--ghost {
	background: transparent;
	color: var(--sdcs-text);
	border: 1px solid rgba(255, 255, 255, .28);
}
.sdcs-btn--ghost:hover { border-color: var(--sdcs-text); }
.sdcs-btn:focus-visible,
.sdcs-close:focus-visible,
.sdcs-link:focus-visible,
.sdcs-switch:focus-visible {
	outline: 2px solid var(--sdcs-accent);
	outline-offset: 3px;
}

/* ---------- Panneau « Personnaliser » (2e niveau) ---------- */
.sdcs-panel {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .62);
}
.sdcs-panel__box {
	width: min(620px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px;
	background: var(--sdcs-bg);
	color: var(--sdcs-text);
	border: 1px solid var(--sdcs-line);
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.sdcs-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}
.sdcs-close {
	appearance: none;
	flex: none;
	width: 36px;
	height: 36px;
	margin: -6px -6px 0 0;
	padding: 0;
	border: 1px solid var(--sdcs-line);
	border-radius: 999px;
	background: transparent;
	color: var(--sdcs-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.sdcs-cat {
	padding: 16px 0;
	border-bottom: 1px solid var(--sdcs-line);
}
.sdcs-cat__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.sdcs-cat__t {
	font-size: 15px;
	font-weight: 600;
	color: var(--sdcs-text);
	cursor: default;
}
label.sdcs-cat__t { cursor: pointer; }
.sdcs-cat__s {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--sdcs-accent);
}
.sdcs-cat__d {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--sdcs-muted);
}
.sdcs-panel .sdcs-actions { margin-top: 22px; }

/* Interrupteur (désactivé par défaut) */
.sdcs-switch {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	position: relative;
	width: 46px;
	height: 26px;
	margin: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .18);
	cursor: pointer;
	transition: background-color .2s ease;
}
.sdcs-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s ease;
}
.sdcs-switch:checked { background: var(--sdcs-accent); }
.sdcs-switch:checked::after { transform: translateX(20px); background: var(--sdcs-on-accent); }

/* Lien de secours si aucun pied de page n'est trouvé */
.sdcs-fab {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 2147482999;
	padding: 8px 14px;
	border-radius: 999px;
	background: #111113;
	color: #f4f4f5 !important;
	font-size: 13px;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .12);
}

/* ---------- Encart de remplacement des services intégrés ---------- */
.sdcs-embed,
.sdcs-calendly { position: relative; width: 100%; }
.sdcs-embed { height: 100%; min-height: 280px; }
.sdcs-ph {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	height: 100%;
	min-height: 280px;
	padding: 28px 24px;
	background: #111113;
	color: #f4f4f5;
	border-radius: inherit;
	text-align: center;
	font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.sdcs-ph__t { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.sdcs-ph .sdcs-btn { width: auto; min-width: 240px; --sdcs-accent: #d7ff00; --sdcs-on-accent: #0a0a0a; }
.sdcs-ph .sdcs-btn--choice { background: #d7ff00; color: #0a0a0a; border: 1px solid #d7ff00; }
.sdcs-ph__link { font-size: 13px; color: rgba(255, 255, 255, .66) !important; text-decoration: underline; text-underline-offset: 3px; }
.sdcs-ph__link:hover { color: #d7ff00 !important; }

html.sdcs-locked { overflow: hidden; }

.sdcs-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Tableau des cookies ([sd_cookies_table]) */
.sdcs-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.sdcs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sdcs-table th,
.sdcs-table td { padding: 10px 12px; border-bottom: 1px solid rgba(127, 127, 127, .25); text-align: left; vertical-align: top; }
.sdcs-table th { font-weight: 600; }

@media (max-width: 600px) {
	.sdcs-banner { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 20px; }
	.sdcs-actions { grid-template-columns: 1fr 1fr; }
	.sdcs-actions .sdcs-btn--ghost { grid-column: 1 / -1; }
	.sdcs-panel__box { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.sdcs-banner { animation: none; }
	.sdcs-btn, .sdcs-switch, .sdcs-switch::after { transition: none; }
}

/* Thème SEO Design : l'épingle décorative de la carte est masquée tant que la carte n'est pas affichée */
.sd-ct__map:has(.sdcs-embed) .sd-ct__pin { display: none; }
.sd-ct__map-frame:has(.sdcs-embed) { filter: none; }
