/* WS Consentement - bandeau, fenetre de choix, caches des contenus bloques. */
.wsco[hidden], .wsco-choix[hidden] { display: none !important; }

.wsco, .wsco-choix {
	--wsco-r: 14px;
	font-family: inherit;
	color: var(--wsco-texte, #1f1d2b);
	line-height: 1.5;
	box-sizing: border-box;
}
.wsco *, .wsco-choix * { box-sizing: border-box; }

.wsco {
	position: fixed;
	z-index: 2147483000;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	width: min(760px, calc(100% - 32px));
}
.wsco--bas-gauche { left: 16px; transform: none; width: min(440px, calc(100% - 32px)); }

.wsco__bandeau {
	position: relative;
	padding: 22px 24px 20px;
	background: var(--wsco-fond, #fff);
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: var(--wsco-r);
	box-shadow: 0 18px 50px rgba(20, 18, 40, .18);
}
.wsco__titre { margin: 0 0 6px; padding-right: 150px; font-size: 18px; font-weight: 700; line-height: 1.3; color: inherit; }
.wsco__texte { margin: 0; font-size: 14.5px; color: inherit; opacity: .9; }
.wsco__plus { color: inherit; text-decoration: underline; white-space: nowrap; }

.wsco__fermer {
	position: absolute;
	top: 14px;
	right: 16px;
	padding: 4px 6px;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
	opacity: .8;
}
.wsco__fermer span { font-size: 16px; text-decoration: none; }

.wsco__actions, .wsco-choix__pied { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wsco__btn {
	flex: 1 1 0;
	min-width: 140px;
	min-height: 46px;
	padding: 10px 18px;
	border: 2px solid var(--wsco-accent, #3f3a5c);
	border-radius: 999px;
	background: var(--wsco-accent, #3f3a5c);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}
.wsco__btn--choisir { background: transparent; color: var(--wsco-accent, #3f3a5c); }
.wsco__btn:hover { filter: brightness(1.08); }
.wsco__btn:focus-visible, .wsco__fermer:focus-visible, .wsco-cache__btn:focus-visible, .wsco-choix__x:focus-visible {
	outline: 3px solid var(--wsco-accent, #3f3a5c);
	outline-offset: 2px;
}

/* Fenetre de choix */
.wsco-choix {
	position: fixed;
	z-index: 2147483001;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(20, 18, 40, .45);
}
.wsco-choix__boite {
	display: flex;
	flex-direction: column;
	width: min(580px, 100%);
	max-height: calc(100vh - 32px);
	background: var(--wsco-fond, #fff);
	border-radius: var(--wsco-r);
	box-shadow: 0 18px 50px rgba(20, 18, 40, .25);
	outline: none;
}
.wsco-choix__tete { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 8px; }
.wsco-choix__tete .wsco__titre { margin: 0; padding: 0; }
.wsco-choix__x { border: 0; background: none; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.wsco-choix__corps { padding: 0 22px; overflow-y: auto; }
.wsco-choix__corps > .wsco__texte { margin-bottom: 10px; }
.wsco-choix__pied { margin: 0; padding: 14px 22px 18px; border-top: 1px solid rgba(0, 0, 0, .08); }

.wsco-cat { border-top: 1px solid rgba(0, 0, 0, .08); padding: 12px 0; }
.wsco-cat__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.wsco-cat__tete::-webkit-details-marker { display: none; }
.wsco-cat__nom { font-weight: 700; font-size: 15.5px; }
.wsco-cat__nom::before { content: "\203A"; display: inline-block; margin-right: 8px; transition: transform .2s; }
.wsco-cat[open] .wsco-cat__nom::before { transform: rotate(90deg); }
.wsco-cat__toujours { font-size: 13px; font-weight: 600; opacity: .75; }
.wsco-cat__texte { margin: 8px 0 6px; font-size: 14px; opacity: .9; }
.wsco-cat__liste { margin: 0; padding-left: 18px; font-size: 13.5px; }
.wsco-cat__liste li { margin: 4px 0; }
.wsco-cat__cookies { opacity: .7; }

.wsco-switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.wsco-switch input[type="checkbox"], .wsco-switch input[type="checkbox"]:disabled {
	position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%);
}
.wsco-switch__rail { position: relative; width: 46px; height: 26px; border-radius: 26px; background: #c9c7d3; transition: background .2s; }
.wsco-switch__rail::after {
	content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.wsco-switch input:checked + .wsco-switch__rail { background: var(--wsco-accent, #3f3a5c); }
.wsco-switch input:checked + .wsco-switch__rail::after { transform: translateX(20px); }
.wsco-switch input:focus-visible + .wsco-switch__rail { outline: 3px solid var(--wsco-accent, #3f3a5c); outline-offset: 2px; }
.wsco-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Contenus bloques */
.wsco-cadre { position: relative; display: block; width: 100%; height: 100%; min-height: 220px; }
.wsco-cadre > iframe { display: block; }
.wsco-cache {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px;
	background: #f1f0f5;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	color: #2b2838;
}
.wsco-cadre--ok > .wsco-cache { display: none; }
.wsco-cache--zone { position: static; margin: 0 0 12px; }
.wsco-zone { position: relative; }
.wsco-cache--zone.wsco-cache--dans { position: absolute; inset: 0; margin: 0; }
.wsco-cache__texte { margin: 0; max-width: 420px; }
.wsco-cache__btn {
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--wsco-accent, #3f3a5c);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wsco-flottant {
	position: fixed;
	z-index: 2147482999;
	left: 12px;
	bottom: 12px;
	padding: 6px 12px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 999px;
	background: #fff;
	color: #2b2838;
	font: inherit;
	font-size: 12.5px;
	cursor: pointer;
}

html.wsco-ouvert { overflow: hidden; }

@media (max-width: 600px) {
	.wsco, .wsco--bas-gauche { left: 0; right: 0; bottom: 0; transform: none; width: 100%; }
	.wsco__bandeau { padding: 18px 16px 16px; border-radius: var(--wsco-r) var(--wsco-r) 0 0; max-height: 80vh; overflow-y: auto; }
	.wsco__titre { padding-right: 0; margin-top: 22px; font-size: 17px; }
	.wsco__fermer { top: 8px; right: 10px; }
	.wsco__texte { font-size: 14px; }
	.wsco__actions { flex-direction: column; gap: 8px; }
	.wsco__btn { width: 100%; min-height: 44px; }
	.wsco-choix { padding: 0; align-items: flex-end; }
	.wsco-choix__boite { max-height: 92vh; border-radius: var(--wsco-r) var(--wsco-r) 0 0; }
	.wsco-choix__pied { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.wsco-switch__rail, .wsco-switch__rail::after, .wsco-cat__nom::before { transition: none; }
}
