/* ICT Testimonials — design fidèle à .testi-stage.reveal.is-visible
   Variables inline : --icte-c1, --icte-c2, --icte-bg */

.icte-section {
	--fh: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--fb: "Inter", "Segoe UI", system-ui, sans-serif;
	--line: #e3e8f0;
	--ink-40: #79828f;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--shadow-sm: 0 1px 2px rgba(24,55,99,.05), 0 2px 10px rgba(24,55,99,.05);
	--marine-50: #eef2f8;

	font-family: var(--fb);
	font-size: 17px;
	line-height: 1.6;
	color: #1A1A1A;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.icte-section *, .icte-section *::before, .icte-section *::after { box-sizing: border-box; }



/* En-tête centré */
.icte-section .sec-head { max-width: 60ch; }
.icte-section .sec-head.center { margin: 0 auto; text-align: center; }
.icte-section .sec-head h2 {
	font-family: var(--fh);
	font-size: clamp(1.8rem, 3.3vw, 2.35rem);
	font-weight: 600;
	color: var(--icte-c1, #183763);
	margin-top: 14px;
}

/* Eyebrow */
.icte-eyebrow {
	font-family: var(--fh);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--icte-c2, #FAB519);
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
.icte-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--icte-c2, #FAB519);
	border-radius: 2px;
}
.icte-eyebrow.center { justify-content: center; }

/* ---- Reveal (identique au fichier source) ---- */
.icte-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
	will-change: opacity, transform;
}
.icte-reveal.is-visible { opacity: 1; transform: none; }
.icte-reveal.delay-1 { transition-delay: .12s; }

/* ---- Stage ---- */
.testi-stage {
	max-width: 820px;
	margin: 44px auto 0;
	position: relative;
}

/* ---- Track / Slides (fondu entre les slides) ---- */
.testi-track { position: relative; min-height: 220px; }

.testi-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
	pointer-events: none;
}
.testi-slide.active {
	opacity: 1;
	transform: none;
	position: relative;
	pointer-events: auto;
}

/* ---- Carte ---- */
.testi-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: clamp(28px, 4vw, 44px);
	box-shadow: var(--shadow-sm);
	text-align: center;
}

/* Étoiles */
.testi-stars {
	display: flex;
	justify-content: center;
	gap: 3px;
	color: var(--icte-c2, #FAB519);
	margin-bottom: 16px;
}
.testi-stars svg { width: 20px; height: 20px; }
.testi-star-empty { opacity: 0.25; }

/* Citation */
.testi-quote {
	font-family: var(--fh);
	font-weight: 500;
	color: var(--icte-c1, #183763);
	font-size: clamp(1.15rem, 2.1vw, 1.45rem);
	line-height: 1.45;
	letter-spacing: -0.01em;
	margin: 0;
}

/* Identité */
.testi-who {
	margin-top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
}
.testi-av {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--marine-50, #eef2f8);
	color: var(--icte-c1, #183763);
	display: grid;
	place-items: center;
	font-family: var(--fh);
	font-weight: 700;
	font-size: 1.05rem;
	flex: none;
	object-fit: cover; /* pour les photos */
}
.testi-av-photo {
	background: transparent;
	object-fit: cover;
}
.testi-name {
	font-family: var(--fh);
	font-weight: 600;
	color: var(--icte-c1, #183763);
	font-size: 1rem;
	text-align: left;
}
.testi-role { color: var(--ink-40); font-size: 0.88rem; text-align: left; }

/* ---- Contrôles ---- */
.testi-ctrls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 26px;
}
.testi-dots { display: flex; gap: 8px; align-items: center; }
.testi-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: #cdd6e2;
	cursor: pointer;
	padding: 0;
	transition: background .2s, transform .2s;
}
.testi-dot.active { background: var(--icte-c2, #FAB519); transform: scale(1.25); }

.testi-nav {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: #fff;
	color: var(--icte-c1, #183763);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: border-color .2s, transform .15s;
}
.testi-nav:hover { border-color: var(--icte-c1, #183763); transform: translateY(-1px); }
.testi-nav svg { width: 18px; height: 18px; }

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
	.icte-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
	.testi-slide { transition: none !important; }
}
