/**
 * TEO Advisory — bandeau cookies (Cookie Law Info) restylé charte premium.
 * Encre #0b1d2a · or #b08d57 · crème #faf8f4
 */

/* Barre pleine largeur, discrète, en bas */
.cky-consent-container.cky-box-bottom-left,
.cky-consent-container.cky-box-bottom-right,
.cky-consent-container.cky-box-bottom-center {
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	max-width: none !important;
	transform: none !important;
	border-radius: 0 !important;
	z-index: 99990 !important;
}

.cky-consent-container .cky-consent-bar {
	background: linear-gradient(180deg, #0b1d2a 0%, #081420 100%) !important;
	border: none !important;
	border-top: 1px solid rgba(212, 185, 138, 0.28) !important;
	border-radius: 0 !important;
	box-shadow: 0 -12px 40px rgba(11, 29, 42, 0.22) !important;
	padding: 14px clamp(1rem, 3vw, 2.5rem) !important;
	font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.cky-notice {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1.25rem !important;
	flex-wrap: wrap !important;
}

.cky-notice .cky-title {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	font-size: 1.15rem !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: #faf8f4 !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
}

.cky-notice-group {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1rem 1.5rem !important;
	flex: 1 1 auto !important;
	flex-wrap: wrap !important;
	min-width: 0 !important;
}

.cky-notice-des,
.cky-notice-des p {
	color: rgba(250, 248, 244, 0.72) !important;
	font-size: 0.8rem !important;
	line-height: 1.45 !important;
	margin: 0 !important;
}

.cky-notice-des a {
	color: #d4b98a !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

.cky-notice-des a:hover {
	color: #faf8f4 !important;
}

.cky-notice-btn-wrapper {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
}

.cky-notice-btn-wrapper .cky-btn {
	font-family: 'Inter', system-ui, sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	padding: 0.55rem 1rem !important;
	border-radius: 6px !important;
	line-height: 1.2 !important;
	min-height: 0 !important;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.cky-notice-btn-wrapper .cky-btn-accept {
	background: #b08d57 !important;
	border: 1px solid #b08d57 !important;
	color: #0b1d2a !important;
}

.cky-notice-btn-wrapper .cky-btn-accept:hover {
	background: #d4b98a !important;
	border-color: #d4b98a !important;
	color: #0b1d2a !important;
	transform: translateY(-1px) !important;
}

.cky-notice-btn-wrapper .cky-btn-reject,
.cky-notice-btn-wrapper .cky-btn-customize {
	background: transparent !important;
	border: 1px solid rgba(212, 185, 138, 0.35) !important;
	color: #d4b98a !important;
}

.cky-notice-btn-wrapper .cky-btn-reject:hover,
.cky-notice-btn-wrapper .cky-btn-customize:hover {
	background: rgba(212, 185, 138, 0.08) !important;
	border-color: rgba(212, 185, 138, 0.55) !important;
	color: #faf8f4 !important;
}

/* Pastille « cookies » bas droite : bulle noire fine, texte doré */
.cky-btn-revisit-wrapper {
	background: transparent !important;
	border: none !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	bottom: 16px !important;
	left: auto !important;
	right: 16px !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	z-index: 99991 !important;
}

.cky-btn-revisit-wrapper.cky-revisit-bottom-left,
.cky-btn-revisit-wrapper.cky-revisit-bottom-right {
	bottom: 16px !important;
	right: 16px !important;
	left: auto !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0.35rem 0.65rem !important;
	margin: 0 !important;
	background: #0b1d2a !important;
	border: 1px solid rgba(212, 185, 138, 0.45) !important;
	border-radius: 999px !important;
	box-shadow: 0 6px 20px rgba(11, 29, 42, 0.28) !important;
	cursor: pointer !important;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit:hover {
	background: #081420 !important;
	border-color: #d4b98a !important;
	transform: translateY(-1px) !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

.teo-cookie-revisit-label,
.cky-btn-revisit-wrapper .cky-btn-revisit::after {
	font-family: 'Inter', system-ui, sans-serif !important;
	font-size: 0.62rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em !important;
	text-transform: lowercase !important;
	color: #d4b98a !important;
	line-height: 1 !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit:not(:has(.teo-cookie-revisit-label))::after {
	content: 'cookies' !important;
}

/* Pas de tooltip natif (trop cheap) */
.cky-btn-revisit-wrapper:hover::before,
.cky-btn-revisit-wrapper:hover::after,
.cky-revisit-bottom-left:hover::before,
.cky-revisit-bottom-right:hover::before,
.cky-revisit-bottom-left:hover::after,
.cky-revisit-bottom-right:hover::after {
	display: none !important;
	content: none !important;
}

/* Modal préférences */
.cky-modal .cky-preference-center {
	background: #0b1d2a !important;
	border: 1px solid rgba(212, 185, 138, 0.2) !important;
	border-radius: 12px !important;
	color: #faf8f4 !important;
	font-family: 'Inter', system-ui, sans-serif !important;
}

.cky-preference-header {
	border-bottom: 1px solid rgba(212, 185, 138, 0.15) !important;
}

.cky-preference-title {
	font-family: 'Cormorant Garamond', Georgia, serif !important;
	color: #faf8f4 !important;
}

.cky-preference-content-wrapper,
.cky-accordion-header-des,
.cky-accordion-header-des p {
	color: rgba(250, 248, 244, 0.75) !important;
	font-size: 0.85rem !important;
}

.cky-accordion-header .cky-accordion-btn {
	color: #faf8f4 !important;
	font-weight: 500 !important;
}

.cky-always-active {
	color: #d4b98a !important;
}

.cky-switch input[type="checkbox"]:checked {
	background: #b08d57 !important;
}

.cky-prefrence-btn-wrapper .cky-btn-accept {
	background: #b08d57 !important;
	border-color: #b08d57 !important;
	color: #0b1d2a !important;
}

.cky-overlay {
	background: #0b1d2a !important;
	opacity: 0.55 !important;
}

/* Sticker contact : remonter quand le bandeau est visible */
body:has(.cky-consent-container:not(.cky-hide)) .teo-fab-tel {
	bottom: 76px !important;
	transition: bottom 0.3s ease !important;
}

@media (max-width: 768px) {
	.cky-notice {
		flex-direction: column !important;
		align-items: flex-start !important;
	}

	.cky-notice-group {
		flex-direction: column !important;
		align-items: flex-start !important;
		width: 100% !important;
	}

	.cky-notice-btn-wrapper {
		width: 100% !important;
		justify-content: flex-end !important;
	}

	body:has(.cky-consent-container:not(.cky-hide)) .teo-fab-tel {
		bottom: 110px !important;
	}

	.cky-btn-revisit-wrapper {
		bottom: 12px !important;
		right: 12px !important;
	}
}

@media (max-width: 480px) {
	.cky-notice-btn-wrapper {
		flex-wrap: wrap !important;
	}

	.cky-notice-btn-wrapper .cky-btn {
		flex: 1 1 auto !important;
		text-align: center !important;
	}
}
