/* ==========================================================
   WEDDING DANCE SENSATIONS
   Pages juridiques
   Mentions légales et politique de confidentialité
   ========================================================== */

.wds-legal {
	--wds-legal-text: var(--global-palette4, #4a3f3b);
	--wds-legal-muted: var(--global-palette5, #6b5c52);
	--wds-legal-accent: var(--global-palette2, #f0d9d6);
	--wds-legal-border: var(--global-palette8, #e8d9c9);
	--wds-legal-background: var(--global-palette7, #fbf7f2);
	--wds-legal-white: var(--global-palette9, #ffffff);

	width: 100%;
	padding: clamp(3.5rem, 7vw, 6.5rem) 0;
	color: var(--wds-legal-text);
	background: var(--wds-legal-background);
}

.wds-legal *,
.wds-legal *::before,
.wds-legal *::after {
	box-sizing: border-box;
}

.wds-legal__inner {
	width: min(960px, calc(100% - 48px));
	margin: 0 auto;
}

.wds-legal__header {
	max-width: 760px;
	margin: 0 auto clamp(2.75rem, 5vw, 4.5rem);
	text-align: center;
}

.wds-legal__title {
	margin: 0;
	color: var(--wds-legal-text);
	font-family: "Playfair Display", serif;
	font-size: clamp(2.3rem, 5vw, 3.5rem);
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

.wds-legal__divider {
	display: block;
	width: min(240px, 55%);
	height: 1px;
	margin: 1.4rem auto;
	background: var(--wds-legal-accent);
}

.wds-legal__intro {
	margin: 0;
	color: var(--wds-legal-muted);
	font-family: Montserrat, sans-serif;
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	line-height: 1.7;
	text-wrap: balance;
}

.wds-legal__content {
	display: grid;
	gap: 1.5rem;
}

.wds-legal__section {
	padding: clamp(1.6rem, 3vw, 2.4rem);
	background: var(--wds-legal-white);
	border: 1px solid rgba(232, 217, 201, 0.9);
	border-radius: 20px;
	box-shadow: 0 12px 28px rgba(74, 63, 59, 0.08);
}

.wds-legal__section h2 {
	margin: 0 0 1.2rem;
	color: var(--wds-legal-text);
	font-family: "Playfair Display", serif;
	font-size: clamp(1.55rem, 3vw, 2rem);
	font-weight: 600;
	line-height: 1.3;
}

.wds-legal__section h3 {
	margin: 1.7rem 0 0.8rem;
	color: var(--wds-legal-text);
	font-family: Montserrat, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.45;
}

.wds-legal__section p,
.wds-legal__section li,
.wds-legal__section address {
	color: var(--wds-legal-text);
	font-family: Montserrat, sans-serif;
	font-size: 1rem;
	line-height: 1.75;
}

.wds-legal__section p {
	margin: 0;
}

.wds-legal__section p + p {
	margin-top: 1rem;
}

.wds-legal__section ul {
	margin: 1rem 0 0;
	padding-left: 1.25rem;
}

.wds-legal__section li + li {
	margin-top: 0.55rem;
}

.wds-legal__section address {
	margin: 0;
	font-style: normal;
}

.wds-legal__identity {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem 2rem;
	margin-top: 1.4rem;
}

.wds-legal__identity p {
	margin: 0;
}

.wds-legal__label {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--wds-legal-muted);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wds-legal a {
	color: var(--wds-legal-text);
	font-weight: 600;
	text-decoration-color: var(--wds-legal-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.wds-legal a:hover {
	color: var(--wds-legal-muted);
}

.wds-legal a:focus-visible {
	outline: 3px solid var(--wds-legal-accent);
	outline-offset: 4px;
	border-radius: 3px;
}

.wds-legal__notice {
	padding: 1.25rem 1.4rem;
	background: rgba(240, 217, 214, 0.42);
	border-left: 4px solid var(--wds-legal-accent);
	border-radius: 0 12px 12px 0;
}

.wds-legal__date {
	margin-top: 2rem;
	color: var(--wds-legal-muted);
	font-family: Montserrat, sans-serif;
	font-size: 0.9rem;
	text-align: center;
}

@media (max-width: 767px) {
	.wds-legal {
		padding: 3.5rem 0 4rem;
	}

	.wds-legal__inner {
		width: min(100% - 32px, 960px);
	}

	.wds-legal__header {
		margin-bottom: 2.75rem;
	}

	.wds-legal__section {
		padding: 1.5rem 1.25rem;
		border-radius: 16px;
	}

	.wds-legal__identity {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}
}