/* Bannière consentement cookies — au-dessus du contenu fixe */
#cookie-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	display: none;
	padding: 14px 16px 16px;
	background: linear-gradient(180deg, rgba(18, 18, 22, 0.97) 0%, #0a0a0c 100%);
	border-top: 1px solid rgba(126, 184, 255, 0.25);
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
	font-size: 0.95rem;
	line-height: 1.45;
	color: #e8e8e8;
}

#cookie-consent-banner.is-visible {
	display: block;
}

#cookie-consent-banner .cookie-consent-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 20px;
}

#cookie-consent-banner .cookie-consent-text {
	flex: 1 1 280px;
	margin: 0;
	text-align: left;
}

#cookie-consent-banner .cookie-consent-text a {
	color: #7eb8ff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#cookie-consent-banner .cookie-consent-text a:hover {
	color: #a8d0ff;
}

#cookie-consent-banner .cookie-consent-actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

#cookie-consent-banner button {
	font: inherit;
	cursor: pointer;
	border-radius: 8px;
	padding: 10px 16px;
	border: none;
	font-weight: 600;
	font-size: 0.9rem;
}

#cookie-consent-banner .cookie-btn-accept {
	background: linear-gradient(135deg, var(--red, #d92700), var(--blue, #0a00d0));
	color: #fff;
}

#cookie-consent-banner .cookie-btn-accept:hover {
	filter: brightness(1.08);
}

#cookie-consent-banner .cookie-btn-refuse {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

#cookie-consent-banner .cookie-btn-refuse:hover {
	background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 520px) {
	#cookie-consent-banner .cookie-consent-actions {
		width: 100%;
		justify-content: stretch;
	}
	#cookie-consent-banner .cookie-consent-actions button {
		flex: 1;
		min-width: 0;
	}
}
