/*
 * Composant : operations — nouveau composant propre à ce client.
 *
 * Section « Moyens opérationnels » : eyebrow + titre + texte, suivis d'une
 * grille à filets fins de jusqu'à 3 photos (repli à rayures, mêmes
 * conventions que heritage/project-spotlight) et d'une tuile chiffrée sur
 * fond foncé fixe (--component-color-dark, comme project-spotlight/team).
 */
.component-operations {
	padding-top: var(--component-space-large);
	padding-bottom: var(--component-space-large);
	background: var(--component-color-light);
}

.component-operations__header {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(24px, 3vw, 40px);
	align-items: end;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.component-operations__eyebrow {
	margin: 0 0 22px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--component-color-meta);
}

.component-operations__title {
	margin: 0;
	font-size: clamp(1.9rem, 4vw, 3.4rem);
	line-height: 0.99;
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: 20ch;
	color: var(--component-color-dark);
}

.component-operations__text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.65;
	max-width: 44ch;
	color: var(--component-color-text);
}

.component-operations__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--component-color-border);
}

.component-operations__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--component-color-muted);
}

.component-operations__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--component-transition);
}

.component-operations__media:hover .component-operations__image {
	transform: scale(1.045);
}

.component-operations__placeholder {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(
		135deg,
		var(--component-color-border) 0,
		var(--component-color-border) 1px,
		transparent 1px,
		transparent 14px
	);
	background-color: var(--component-color-muted);
}

.component-operations__placeholder-caption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	font-size: 0.68rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--component-color-text);
	background: var(--component-color-light);
	padding: 7px 9px;
}

.component-operations__stat {
	aspect-ratio: 1;
	background: var(--component-color-dark);
	color: var(--component-color-text-invert);
	padding: 26px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.component-operations__stat-label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--component-color-text-invert) 65%, var(--component-color-dark));
}

.component-operations__stat-value {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.component-operations__stat-text {
	margin-top: 10px;
	font-size: 0.85rem;
	line-height: 1.5;
	color: color-mix(in srgb, var(--component-color-text-invert) 60%, var(--component-color-dark));
}

@media (min-width: 640px) {
	.component-operations__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.component-operations__header {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	}

	.component-operations__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
