/* pillars/principes-filets — principes numerotes entre filets sur fond sombre.
 * Engagement 5 : aucun hexadecimal, valeurs de repli comprises. */

.ivy-pillars--principes-filets {
	padding-block: clamp( 80px, 9vw, 136px );
	background: var( --ivy-deep, rgb( 14 47 56 ) );
	color: var( --ivy-on-deep, rgb( 246 241 232 ) );
}

.ivy-pillars--principes-filets .ivy-pillars__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-pillars--principes-filets .ivy-pillars__title {
	margin: 0;
	color: var( --ivy-title-color, inherit );
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.ivy-pillars--principes-filets .ivy-pillars__title .ivy-hl {
	color: var( --ivy-highlight-color, var( --ivy-accent-on-deep, rgb( 226 179 60 ) ) );
}

.ivy-pillars--principes-filets .ivy-pillars__list {
	list-style: none;
	margin: clamp( 40px, 4.5vw, 64px ) 0 0;
	padding: 0;
	border-block-start: 1px solid var( --ivy-line-deep, rgb( 246 241 232 / 0.14 ) );
}

.ivy-pillars--principes-filets .ivy-pillars__item {
	display: grid;
	grid-template-columns: 64px minmax( 0, 5fr ) minmax( 0, 6fr );
	align-items: baseline;
	gap: 16px 24px;
	margin: 0;
	padding-block: clamp( 22px, 2.6vw, 34px );
	border-block-end: 1px solid var( --ivy-line-deep, rgb( 246 241 232 / 0.14 ) );
}

.ivy-pillars--principes-filets .ivy-pillars__num {
	color: var( --ivy-item_number-color, var( --ivy-mirabelle, rgb( 226 179 60 ) ) );
	font-size: calc( var( --ivy-font-body ) * 0.8235 );
	line-height: 1.55;
}

.ivy-pillars--principes-filets .ivy-pillars__item-title {
	margin: 0;
	color: var( --ivy-item_title-color, inherit );
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ivy-pillars--principes-filets .ivy-pillars__item-text {
	margin: 0;
	color: var( --ivy-item_text-color, var( --ivy-on-deep-muted, rgb( 246 241 232 / 0.72 ) ) );
	line-height: 1.55;
}

@media ( max-width: 699px ) {
	.ivy-pillars--principes-filets .ivy-pillars__item {
		grid-template-columns: 40px minmax( 0, 1fr );
	}

	.ivy-pillars--principes-filets .ivy-pillars__item-text {
		grid-column: 2;
	}
}
