/* Inestimable Cookies — noir et blanc, sans angle, typographie héritée du site (Montserrat). */
.ick,
.ick *,
.ick-fab {
	box-sizing: border-box;
}

.ick {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: #000;
	-webkit-font-smoothing: antialiased;
}

.ick[hidden],
.ick-fab[hidden],
.ick [hidden] {
	display: none !important;
}

.ick__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.ick__dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fff;
	border: 1px solid #000;
	padding: 40px 40px 32px;
	outline: none;
	animation: ick-in 0.35s ease both;
}

.ick__eyebrow {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.ick__title {
	margin: 0 0 14px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: #000;
}

.ick__text {
	margin: 0 0 24px;
	font-size: 13px;
	line-height: 1.7;
	color: #000;
}

.ick__text a,
.ick__link {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ick__actions {
	display: flex;
	gap: 10px;
}

.ick__btn {
	flex: 1;
	min-height: 48px;
	padding: 0 14px;
	margin: 0;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
	background: #000;
	border: 1px solid #000;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.ick__btn:hover {
	background: #fff;
	color: #000;
}

.ick__link {
	display: block;
	margin: 18px auto 0;
	padding: 6px;
	font: inherit;
	font-size: 12px;
	letter-spacing: 0.04em;
	background: none;
	border: 0;
	cursor: pointer;
}

.ick__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	padding: 0;
	font-size: 26px;
	line-height: 1;
	color: #000;
	background: none;
	border: 0;
	cursor: pointer;
}

.ick__cats {
	margin: 0 0 24px;
	border-top: 1px solid #000;
}

.ick__cat {
	padding: 16px 0;
	border-bottom: 1px solid #000;
}

.ick__cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ick__cat-name {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ick__cat-state {
	font-size: 11px;
	letter-spacing: 0.04em;
}

.ick__cat-desc {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.65;
}

.ick__switch {
	position: relative;
	display: inline-block;
	flex: none;
	width: 44px;
	height: 24px;
}

.ick__switch input {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.ick__track {
	position: absolute;
	inset: 0;
	background: #fff;
	border: 1px solid #000;
	transition: background 0.2s;
}

.ick__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	background: #000;
	transition: transform 0.2s, background 0.2s;
}

.ick__switch input:checked + .ick__track {
	background: #000;
}

.ick__switch input:checked + .ick__track::after {
	background: #fff;
	transform: translateX(20px);
}

.ick__switch input:focus-visible + .ick__track,
.ick__btn:focus-visible,
.ick__link:focus-visible,
.ick__close:focus-visible,
.ick-fab:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

.ick__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Encart en bas à gauche */
.ick--bottom {
	inset: auto auto 0 0;
	right: auto;
	justify-content: flex-start;
	width: auto;
	max-width: 100%;
}

.ick--bottom .ick__overlay {
	display: none;
}

.ick--bottom .ick__dialog {
	max-width: 440px;
	padding: 28px 28px 22px;
}

/* Bouton flottant */
.ick-fab {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99998;
	padding: 10px 14px;
	font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #000;
	background: #fff;
	border: 1px solid #000;
	border-radius: 0;
	cursor: pointer;
}

.ick-fab:hover {
	color: #fff;
	background: #000;
}

html.ick-lock {
	overflow: hidden;
}

@keyframes ick-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 600px) {
	.ick,
	.ick--bottom {
		inset: auto 0 0 0;
		align-items: flex-end;
		padding: 0;
	}
	.ick:not(.ick--bottom) {
		inset: 0;
	}
	.ick__dialog,
	.ick--bottom .ick__dialog {
		max-width: 100%;
		max-height: 92vh;
		padding: 28px 20px 22px;
		border-width: 1px 0 0;
	}
	.ick__title {
		font-size: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ick__dialog {
		animation: none;
	}
	.ick__track,
	.ick__track::after,
	.ick__btn {
		transition: none;
	}
}
