/* ICT Banner — hero avec image de fond + dégradé vers le texte
   Variables inline : --ict-bn-c1, --ict-bn-c2, --ict-bn-bg, --ict-bn-bg-rgb, --ict-bn-btn-text */

.ict-bn { width: 100%; }

.ict-bn-inner {
	--ict-bn-fh: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--ict-bn-fb: "Inter", "Segoe UI", system-ui, sans-serif;
	--ict-bn-line: #e4e9f0;
	--ict-bn-ink-60: #4a5563;
	position: relative;
	overflow: hidden;
	background: linear-gradient(120deg, rgba(255,255,255,0.7) 0%, rgba(var(--ict-bn-bg-rgb, 238,242,248), 0) 58%), var(--ict-bn-bg, #eef2f8);
	min-height: clamp(440px, 52vh, 600px);
	display: flex;
	align-items: center;
	box-sizing: border-box;
	font-family: var(--ict-bn-fb);
}
.ict-bn-inner *, .ict-bn-inner *::before, .ict-bn-inner *::after { box-sizing: border-box; }

/* Image de fond (à droite) */
.ict-bn-bg {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 100%;
	background-size: cover;
	background-position: center right;
}
.ict-bn-bg--mobile { display: none; }
/* Dégradé qui fond l'image vers le texte (gauche) */
.ict-bn-fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		var(--ict-bn-bg, #eef2f8) 0%,
		var(--ict-bn-bg, #eef2f8) 36%,
		rgba(var(--ict-bn-bg-rgb, 238,242,248), 0.55) 50%,
		rgba(var(--ict-bn-bg-rgb, 238,242,248), 0) 70%
	);
}

/* Contenu */
.ict-bn-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 10%);
}
.ict-bn-content { max-width: 50%; }

.ict-bn-eyebrow {
	font-family: var(--ict-bn-fh);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ict-bn-c2, #FAB519);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.ict-bn-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--ict-bn-c2, #FAB519);
	border-radius: 2px;
}

.ict-bn-title {
	font-family: var(--ict-bn-fh);
	color: var(--ict-bn-c1, #183763);
	font-size: clamp(2rem, 4.6vw, 3.2rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 16px 0 0;
}
.ict-bn-accent { color: var(--ict-bn-c2, #FAB519); }

.ict-bn-subtitle {
	color: var(--ict-bn-ink-60);
	font-size: 1.12rem;
	line-height: 1.6;
	margin: 18px 0 0;
	max-width: 44ch;
}

/* Boutons */
.ict-bn-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.ict-bn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 56px;
	padding: 0 30px;
	border-radius: 10px;
	font-family: var(--ict-bn-fh);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
	white-space: nowrap;
}
.ict-bn-btn .dashicons,
.ict-bn-btn svg,
.ict-bn-btn img { width: 18px; height: 18px; font-size: 18px; line-height: 18px; }
.ict-bn-btn-primary {
	background: var(--ict-bn-c2, #FAB519);
	color: var(--ict-bn-btn-text, #183763);
	box-shadow: 0 8px 20px rgba(24, 55, 99, 0.16);
}
.ict-bn-btn-primary:hover { color : #fff !important; }
.ict-bn-btn-secondary {
	background: rgba(255, 255, 255, 0.85);
	color: var(--ict-bn-c1, #183763);
	border-color: var(--ict-bn-line);
}
.ict-bn-btn-secondary:hover {color:#183763; border-color: #183763; }

/* Mini-liste */
.ict-bn-checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ict-bn-checks li {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #374151;
	font-size: 1rem;
	font-weight: 500;
}
.ict-bn-check-ico {
	flex: none;
	color: var(--ict-bn-c2, #FAB519);
	display: inline-flex;
}

/* Responsive : image en plein fond, texte pleine largeur */
@media (max-width: 900px) {
	.ict-bn-bg { width: 100%; }
	.ict-bn-bg--has-mobile { display: none; }
	.ict-bn-bg--mobile { display: block; }
	.ict-bn-fade {
		background: linear-gradient(to right, rgb(238 242 248) 0%, rgb(238 242 248 / 33%) 100%);
	}
	.ict-bn-content { max-width: none; }
}
@media (max-width: 600px) {
	.ict-bn-actions .ict-bn-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.ict-bn-btn { transition: none; }
}

