﻿/* ICT Benefits — reproduit exactement le style ".benefits.sec-pad"
   Tout est cantonné sous .ict-bf pour ne pas entrer en conflit avec le thème.
   Variables injectées en inline : --ict-bf-cols, --ict-bf-c1, --ict-bf-c2 */

.ict-bf {
	/* Couleurs (défauts marque ; remplaçables par bloc) */
	--ict-bf-c1: #183763;          /* navy : tuiles + titres */
	--ict-bf-c2: #FAB519;          /* accent : tuile alternée + sur-titre */
	--ict-bf-surface: #F5F7FA;
	--ict-bf-line: #e4e9f0;
	--ict-bf-ink: #1A1A1A;
	--ict-bf-ink-60: #4a5563;
	--ict-bf-fh: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--ict-bf-fb: "Inter", "Segoe UI", system-ui, sans-serif;

	position: relative;
	font-family: var(--ict-bf-fb);
	color: var(--ict-bf-ink);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	box-sizing: border-box;
}
.ict-bf *, .ict-bf *::before, .ict-bf *::after { box-sizing: border-box; }


/* En-tête de section */
.ict-bf .sec-head { max-width: 56ch; }
.ict-bf .sec-head.center { margin: 0 auto; text-align: center; }

.ict-bf .eyebrow {
	font-family: var(--ict-bf-fh);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ict-bf-c2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
}
.ict-bf .eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--ict-bf-c2);
	border-radius: 2px;
}

.ict-bf .sec-head h2 {
	font-family: var(--ict-bf-fh);
	color: var(--ict-bf-c1);
	line-height: 1.12;
	letter-spacing: -0.01em;
	font-size: clamp(1.7rem, 3.1vw, 2.15rem);
	font-weight: 600;
	margin: 14px 0 0;
}

/* Grille de cartes */
.ict-bf .ben-grid {
	display: grid;
	grid-template-columns: repeat(var(--ict-bf-cols, 3), 1fr);
	gap: 22px;
	margin-top: 5px;
}

.ict-bf .ben-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ict-bf-line);
	border-radius: 14px;
	padding: 34px 30px;
	box-shadow: 0 1px 2px rgba(15, 44, 76, 0.05), 0 2px 8px rgba(15, 44, 76, 0.05);
	transition: transform .18s ease, box-shadow .2s ease;
}
.ict-bf .ben-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 24px rgba(15, 44, 76, 0.08), 0 1px 3px rgba(15, 44, 76, 0.06);
}

/* Tuile d'icône */
.ict-bf .ben-ico {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: grid;
	place-items: center;
}
.ict-bf .ben-ico .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	line-height: 28px;
}
.ict-bf .ben-ico svg,
.ict-bf .ben-ico img {
	width: 28px;
	height: 28px;
	display: block;
	object-fit: contain;
}

.ict-bf .ben-card h3 {
	font-family: var(--ict-bf-fh);
	color: var(--ict-bf-c1);
	line-height: 1.12;
	letter-spacing: -0.01em;
	font-size: 1.32rem;
	font-weight: 600;
	margin: 22px 0 0;
}
.ict-bf .ben-card p {
	font-family: var(--ict-bf-fb);
	color: var(--ict-bf-ink-60);
	margin: 10px 0 0;
	font-size: 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

/* Bouton lien "Lire la suite" */
.ict-bf .ben-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 14px;
	font-family: var(--ict-bf-fh);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ict-bf-c1);
	text-decoration: none;
}
.ict-bf .ben-link svg {
	width: 16px;
	height: 16px;
	transition: transform .2s;
}
.ict-bf .ben-link:hover svg {
	transform: translateX(4px);
}

/* Responsive (identique au fichier source) */
@media (max-width: 940px) {
	.ict-bf .ben-grid {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin-inline: auto;
	}
}
@media (max-width: 600px) {
	.ict-bf { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.ict-bf .ben-card { transition: none; }
}
