/* intro/document-legal — colonne de lecture pour pages legales et 404.
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises. */

.ivy-intro--document-legal {
	color: var( --ivy-ink, rgb( 14 47 56 ) );
}

.ivy-intro--document-legal .ivy-intro__inner {
	box-sizing: border-box;
	inline-size: 100%;
	max-inline-size: calc( 1376px + 2 * clamp( 20px, 2.4vw, 32px ) );
	margin-inline: auto;
	padding-inline: clamp( 20px, 2.4vw, 32px );
	padding-block: calc( 72px + clamp( 48px, 6vw, 88px ) ) clamp( 80px, 9vw, 136px );
	display: grid;
	grid-template-columns: minmax( 0, 760px );
	gap: 16px;
}

.ivy-intro--document-legal .ivy-intro__title {
	margin: 0;
	color: var( --ivy-title-color, inherit );
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.ivy-intro--document-legal .ivy-intro__text {
	display: grid;
	gap: 16px;
	margin: 0;
	color: var( --ivy-text-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	line-height: 1.55;
}

.ivy-intro--document-legal .ivy-intro__text p {
	margin: 0;
	color: inherit;
}

.ivy-intro--document-legal .ivy-intro__text h2 {
	margin: 24px 0 0;
	color: var( --ivy-ink, rgb( 14 47 56 ) );
	font-family: inherit;
	font-size: calc( var( --ivy-font-body ) * 1.1765 );
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	-webkit-text-stroke: 0;
}

.ivy-intro--document-legal .ivy-intro__text ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding-inline-start: 18px;
}

.ivy-intro--document-legal .ivy-intro__text li {
	color: inherit;
	font-size: calc( var( --ivy-font-body ) * 0.8235 );
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.ivy-intro--document-legal .ivy-intro__text a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.ivy-intro--document-legal .ivy-intro__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin: 0;
}

.ivy-intro--document-legal .ivy-intro__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-block-size: 48px;
	padding: 0 20px 0 24px;
	border: 0;
	border-radius: var( --ivy-radius-action, 999px );
	background: var( --ivy-accent, rgb( 16 74 92 ) );
	color: var( --ivy-cta-color, var( --ivy-on-accent, rgb( 246 241 232 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.9412 );
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition: background-color calc( 250ms * var( --ivy-motion, 1 ) ) var( --ivy-ease, cubic-bezier( 0.16, 1, 0.3, 1 ) );
}

.ivy-intro--document-legal .ivy-intro__cta .ivy-button__icon {
	inline-size: 1.125rem;
	block-size: 1.125rem;
	margin: 0;
	border-radius: 0;
	background: none;
	transition: transform calc( 250ms * var( --ivy-motion, 1 ) ) var( --ivy-ease, cubic-bezier( 0.16, 1, 0.3, 1 ) );
}

.ivy-intro--document-legal .ivy-intro__cta--secondary {
	min-block-size: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: var( --ivy-cta_secondary-color, var( --ivy-ink, rgb( 14 47 56 ) ) );
	font-size: var( --ivy-font-body );
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

@media ( hover: hover ) {
	.ivy-intro--document-legal .ivy-intro__cta:hover {
		background: var( --ivy-deep, rgb( 14 47 56 ) );
	}

	.ivy-intro--document-legal .ivy-intro__cta:hover .ivy-button__icon {
		rotate: 0deg;
		transform: translate( 2px, -2px );
	}

	.ivy-intro--document-legal .ivy-intro__text a:hover,
	.ivy-intro--document-legal .ivy-intro__cta--secondary:hover {
		text-decoration-thickness: 2px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.ivy-intro--document-legal .ivy-intro__cta,
	.ivy-intro--document-legal .ivy-intro__cta .ivy-button__icon {
		transition: none;
	}
}
