/* stats/reperes-source — 3 chiffres separes par filets et source liee.
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises. */

.ivy-stats--reperes-source {
	padding-block: clamp( 56px, 6vw, 96px );
	color: var( --ivy-ink, rgb( 14 47 56 ) );
}

.ivy-stats--reperes-source .ivy-stats__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 );
}

.ivy-stats--reperes-source .ivy-stats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	border-block-start: 1px solid var( --ivy-line, rgb( 14 47 56 / 0.12 ) );
}

.ivy-stats--reperes-source .ivy-stats__item {
	display: grid;
	gap: 10px;
	align-content: start;
	margin: 0;
	padding: 28px 24px 0 0;
}

.ivy-stats--reperes-source .ivy-stats__item + .ivy-stats__item {
	padding-inline-start: 24px;
	border-inline-start: 1px solid var( --ivy-line, rgb( 14 47 56 / 0.12 ) );
}

.ivy-stats--reperes-source .ivy-stats__num {
	color: var( --ivy-stat_value-color, inherit );
	font-size: var( --ivy-font-figure );
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ivy-stats--reperes-source .ivy-stats__desc {
	color: var( --ivy-stat_label-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	line-height: 1.55;
}

.ivy-stats--reperes-source .ivy-stats__source {
	margin: 28px 0 0;
	color: var( --ivy-text-color, var( --ivy-muted, rgb( 86 101 106 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.8235 );
	line-height: 1.55;
}

.ivy-stats--reperes-source .ivy-stats__source p {
	margin: 0;
	font-size: inherit;
}

.ivy-stats--reperes-source .ivy-stats__source a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

@media ( hover: hover ) {
	.ivy-stats--reperes-source .ivy-stats__source a:hover {
		text-decoration-thickness: 2px;
	}
}

@media ( max-width: 799px ) {
	.ivy-stats--reperes-source .ivy-stats__list {
		grid-template-columns: minmax( 0, 1fr );
	}

	.ivy-stats--reperes-source .ivy-stats__item,
	.ivy-stats--reperes-source .ivy-stats__item + .ivy-stats__item {
		padding: 22px 0;
		border-inline-start: 0;
		border-block-end: 1px solid var( --ivy-line, rgb( 14 47 56 / 0.12 ) );
	}
}
