/**
 * RGPD — bandeau cookies et formulaire de préférences (Mohair).
 */

.mohair-cookie-banner {
	position: fixed;
	z-index: 99999;
	right: 20px;
	bottom: 20px;
	left: 20px;
	max-width: 480px;
	margin-left: auto;
	padding: 20px 22px 18px;
	background: #fff;
	color: #333;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.mohair-cookie-banner[hidden] {
	display: none !important;
}

.mohair-cookie-banner__title {
	margin: 0 0 8px;
	font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #f77b01;
}

.mohair-cookie-banner__text {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: #555;
}

.mohair-cookie-banner__text a {
	color: #b0c703;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.mohair-cookie-banner__text a:hover {
	color: #8fa002;
}

.mohair-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mohair-cookie-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px 18px;
	border: 1px solid #333;
	border-radius: 0;
	background: transparent;
	color: #333;
	font-family: "Bebas Neue", Arial, Helvetica, sans-serif;
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mohair-cookie-btn:hover,
.mohair-cookie-btn:focus-visible {
	border-color: #b0c703;
	color: #b0c703;
	outline: none;
}

.mohair-cookie-btn--accept {
	border-color: #f77b01;
	color: #f77b01;
}

.mohair-cookie-btn--accept:hover,
.mohair-cookie-btn--accept:focus-visible {
	background: #f77b01;
	border-color: #f77b01;
	color: #fff;
}

.mohair-legal-supplement {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.mohair-legal-section + .mohair-legal-section {
	margin-top: 2rem;
}

.mohair-legal-section__title {
	margin: 0 0 0.75rem;
	font-size: 22px;
	line-height: 1.25;
	color: #333;
}

.mohair-legal-section__body {
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

.mohair-legal-section__body p {
	margin: 0 0 0.85rem;
}

.mohair-cookie-preferences {
	margin-top: 2.5rem;
	padding: 1.75rem;
	background: #f8f8f6;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.mohair-cookie-preferences__title {
	margin: 0 0 0.75rem;
	font-size: 22px;
	color: #333;
}

.mohair-cookie-preferences__lead {
	margin: 0 0 1.25rem;
	font-size: 15px;
	line-height: 1.6;
	color: #555;
}

.mohair-cookie-preferences__fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.mohair-cookie-preferences__legend {
	margin: 0 0 0.5rem;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #888;
}

.mohair-cookie-preferences__hint {
	margin: 0 0 1rem;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
}

.mohair-cookie-preferences__options {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.mohair-cookie-preferences__option {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.5;
	cursor: pointer;
}

.mohair-cookie-preferences__option input {
	margin-top: 0.2em;
	flex-shrink: 0;
	accent-color: #b0c703;
}

.mohair-cookie-preferences__status {
	margin: 1rem 0 0;
	font-size: 14px;
	color: #b0c703;
}

.mohair-cookie-preferences__status[hidden] {
	display: none !important;
}

.mohair-wpcf7-consent {
	margin: 0 0 1rem;
	font-size: 14px;
	line-height: 1.5;
}

.mohair-wpcf7-consent label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	cursor: pointer;
}

.mohair-wpcf7-consent input {
	margin-top: 0.2em;
	flex-shrink: 0;
}

.mohair-wpcf7-consent a {
	color: #b0c703;
	text-decoration: underline;
}

@media (max-width: 520px) {
	.mohair-cookie-banner {
		right: 12px;
		bottom: 12px;
		left: 12px;
		padding: 16px;
	}

	.mohair-cookie-btn {
		flex: 1 1 calc(50% - 5px);
		min-width: 0;
	}
}
