/**
 * Pages légales. Composition de Lou Cantou (.legal-page),
 * texte courant Poppins 15 / 400 / 1,55 comme les pages du Quai.
 * Les sélecteurs couvrent les remises à zéro de Gutenberg (.is-layout-flow > *).
 */

.lq-legal {
	box-sizing: border-box;
	width: min(100%, 1200px);
	max-width: 1200px;
	margin: 0 auto;
	padding: 116px 5% 0;
	background: transparent;
	color: #2a2521;
	font-family: Poppins, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	text-transform: none;
}

.lq-legal.alignfull {
	width: min(100%, 1200px);
	max-width: 1200px;
	margin-inline: auto;
}

.lq-legal,
.lq-legal section {
	--wp--style--block-gap: 0px;
}

body:has(.lq-legal),
body:has(.lq-legal) .lq-main {
	background: #f7f1e9;
}

.lq-legal.is-layout-flow > *,
.lq-legal section.is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.lq-legal.is-layout-flow > h1 {
	margin-bottom: 1.5rem;
}

.lq-legal.is-layout-flow > p.legal-lead {
	margin-bottom: 1.2rem;
}

.lq-legal.is-layout-flow > section {
	margin-bottom: 3rem;
}

.lq-legal section.is-layout-flow > h2 {
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.lq-legal section.is-layout-flow > p {
	margin-bottom: 18px;
}

.lq-legal section.is-layout-flow > ul {
	margin-bottom: 1.5rem;
}

.lq-legal :is(h1, h2, p, li, a, strong) {
	text-transform: none;
	hyphens: none;
}

.lq-legal h1 {
	margin: 0 0 1.5rem;
	padding: 0 0 2rem;
	border-bottom: 1px solid rgba(43, 46, 42, 0.1);
	color: #171310;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2.5rem, 7vw, 4.2rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

.lq-legal p.legal-lead {
	margin: 0 0 1.2rem;
	color: #2a2521;
	opacity: 0.85;
	font-family: Poppins, Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.8;
	text-align: justify;
	text-justify: inter-word;
}

.lq-legal section {
	margin: 0 0 3rem;
}

.lq-legal h2 {
	margin: 2.5rem 0 1rem;
	color: #171310;
	font-family: "Josefin Sans", Arial, sans-serif;
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.lq-legal p {
	margin: 0 0 18px;
	color: #2a2521;
	opacity: 0.85;
	font-family: Poppins, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	text-align: justify;
	text-justify: inter-word;
}

.lq-legal ul {
	margin: 0 0 1.5rem;
	padding-left: 1.5rem;
	list-style: disc;
	text-align: justify;
}

.lq-legal li {
	margin: 0 0 0.6rem;
	color: #2a2521;
	opacity: 0.85;
	font-family: Poppins, Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	text-align: justify;
	text-justify: inter-word;
}

.lq-legal a {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lq-legal a:hover {
	opacity: 0.8;
}

.lq-legal strong {
	color: #171310;
	font-weight: 500;
	opacity: 1;
}

/* 404 : mêmes écarts que Lou Cantou (.legal-lead 3rem, marge haute de main). */
.lq-legal.lq-not-found {
	padding-top: 2.5rem;
	padding-bottom: 2rem;
}

.lq-legal.lq-not-found.is-layout-flow > p.legal-lead,
.lq-legal.lq-not-found p.legal-lead {
	margin-bottom: 3rem;
}

.lq-legal.lq-not-found.is-layout-flow > p,
.lq-legal.lq-not-found p {
	margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
	.lq-legal.lq-not-found {
		padding-top: 2rem;
		padding-bottom: 1.5rem;
	}

	.lq-legal.lq-not-found.is-layout-flow > p.legal-lead,
	.lq-legal.lq-not-found p.legal-lead {
		margin-bottom: 2rem;
	}
}

@media (max-width: 768px) {
	.lq-legal {
		padding: 52px 5% 3rem;
	}

	.lq-legal.is-layout-flow > h1 {
		margin-bottom: 1rem;
		padding-bottom: 1.5rem;
	}

	.lq-legal.is-layout-flow > p.legal-lead {
		margin-bottom: 2rem;
		font-size: 1.1rem;
	}

	.lq-legal.is-layout-flow > section {
		margin-bottom: 2rem;
	}

	.lq-legal section.is-layout-flow > h2 {
		margin-top: 2rem;
		font-size: 1.3rem;
	}
}
