/* Nos Services — feuille de style front (IDELEC / ICT) */

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

.nosservices-section {
	background-color: var(--ns-bg, #ffffff);
	box-sizing: border-box;
}

.nosservices-inner {
	max-width: 100%;
	margin: 0 auto;
}

.nosservices-header {
	text-align: center;
	margin: 0 auto 56px;
	max-width: 720px;
}

.nosservices-title {
	font-family: inherit;
	font-size: 32px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--ns-title, #16284C);
	margin: 0 0 16px;
}

.nosservices-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ns-card-text, #44464E);
	margin: 0 0 16px;
}

.nosservices-underline {
	width: 80px;
	height: 4px;
	border-radius: 2px;
	background-color: var(--ns-underline, #E8622C);
	margin: 0 auto;
}

.nosservices-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

@media (min-width: 640px) {
	.nosservices-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.nosservices-grid.ns-cols-2 { grid-template-columns: repeat(2, 1fr); }
	.nosservices-grid.ns-cols-3 { grid-template-columns: repeat(3, 1fr); }
	.nosservices-grid.ns-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.nosservices-card {
	display: flex;
	flex-direction: column;
	background-color: var(--ns-card-bg, #F7F9FB);
	border: 1px solid var(--ns-card-border, #E0E3E5);
	border-radius: 12px;
	padding: 32px;
	text-decoration: none;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.nosservices-card,
a.nosservices-card:visited {
	color: inherit;
}

.nosservices-card:hover {
	box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.nosservices-card-icon {
	font-size: 48px;
	color: var(--ns-icon, #E8622C);
	margin-bottom: 24px;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.nosservices-card-media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 24px;
}

.nosservices-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.nosservices-card-title {
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	color: var(--ns-card-title, #16284C);
	margin: 0 0 12px;
}

.nosservices-card-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ns-card-text, #44464E);
	margin: 0;
	flex-grow: 1;
}

.nosservices-card-cta {
	margin-top: 16px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ns-underline, #E8622C);
}

.nosservices-cta-card {
	background-color: var(--ns-cta-bg, #16284C);
	align-items: center;
	justify-content: center;
	text-align: center;
}

.nosservices-cta-text {
	color: var(--ns-cta-text, #ffffff);
	font-weight: 700;
	font-size: 18px;
	margin: 0 0 20px;
}

.nosservices-cta-button {
	display: inline-block;
	background-color: var(--ns-cta-btn-bg, #E8622C);
	color: var(--ns-cta-btn-text, #ffffff);
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.nosservices-cta-button:hover {
	opacity: 0.85;
	color: var(--ns-cta-btn-text, #ffffff);
}
