/* ===== Hero des pages légales ===== */
.legal-hero {
	background: #14121a;
	background-image: radial-gradient(circle at 15% 20%, #2b1f14, transparent 55%),
		radial-gradient(circle at 88% 15%, #3a2440, transparent 50%);
	color: #fff;
	padding: 36px 28px;
	border-radius: 14px;
	margin: 0 0 30px;
}
.legal-hero__eyebrow {
	display: block;
	color: #e8541d;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.legal-hero h1 {
	font-size: clamp(24px, 5vw, 32px);
	letter-spacing: -.02em;
	margin: 0 0 18px;
	color: #fff;
}
.legal-hero__nav { display: flex; gap: 8px; flex-wrap: wrap; }
.legal-hero__nav a {
	background: rgba(255,255,255,.1);
	color: #cfc9dd;
	padding: 6px 13px;
	border-radius: 20px;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
}
.legal-hero__nav a:hover { background: rgba(255,255,255,.18); color: #fff; }
.legal-hero__nav a.is-current { background: #e8541d; color: #fff; }

/* ===== Typographie du corps des pages légales ===== */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 19px; margin: 32px 0 12px; letter-spacing: -.01em; color: #14121a; }
.legal-content h3 { font-size: 15.5px; margin: 20px 0 8px; color: #14121a; }
.legal-content p { font-size: 14.5px; line-height: 1.65; margin: 0 0 14px; color: #3a3540; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; }
.legal-content li { font-size: 14.5px; line-height: 1.6; margin-bottom: 6px; color: #3a3540; }
.legal-content em { color: #6b6459; font-size: 13px; }
.legal-content a { color: #e8541d; font-weight: 600; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.legal-content th { text-align: left; background: #fff; border: 1px solid #e3ded6; padding: 9px 10px; font-size: 12px; color: #6b6459; }
.legal-content td { border: 1px solid #e3ded6; padding: 9px 10px; vertical-align: top; color: #3a3540; }

/* ===== Bandeau de consentement cookies ===== */
#ml-consent-banner {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99999;
	max-width: 520px; margin: 0 auto;
	background: #fff; border: 1px solid #e3ded6; border-radius: 16px;
	padding: 20px 22px; box-shadow: 0 20px 50px -20px rgba(20,18,26,.35);
	font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
#ml-consent-banner p { font-size: 13px; line-height: 1.6; color: #6b6459; margin: 0 0 16px; }
#ml-consent-banner a { color: #e8541d; font-weight: 600; text-decoration: none; }
.ml-consent-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ml-consent-btn {
	flex: 1; min-width: 120px; border-radius: 10px; padding: 11px; font-size: 13px; font-weight: 700;
	cursor: pointer; text-align: center; border: 1.5px solid #e3ded6; background: #fff; color: #14121a;
}
.ml-consent-btn.primary { background: #14121a; border-color: #14121a; color: #fff; }
.ml-consent-btn.ghost { border-color: transparent; color: #6b6459; flex: 0 0 auto; }

.ml-consent-panel { display: none; }
.ml-consent-panel.is-open { display: block; }
.ml-consent-cat { padding: 14px 0; border-bottom: 1px solid #f0ece4; }
.ml-consent-cat:last-of-type { border-bottom: none; }
.ml-consent-cat__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ml-consent-cat__head strong { font-size: 13.5px; color: #14121a; }
.ml-consent-cat p { font-size: 12px; color: #6b6459; margin: 0; line-height: 1.5; }
.ml-consent-tag { font-size: 10px; color: #6b6459; font-weight: 600; }
.ml-consent-switch { width: 38px; height: 22px; border-radius: 20px; background: #e3ded6; position: relative; flex-shrink: 0; cursor: pointer; border: none; }
.ml-consent-switch.on { background: #e8541d; }
.ml-consent-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s ease; }
.ml-consent-switch.on::after { left: 18px; }
