/**
 * Bloc : lg/cta-services
 *
 * Bandeau CTA services — 6 cards glassmorphism.
 * Mobile-first : colonne verticale. Tablette : grille 2 colonnes. Desktop : row pleine largeur.
 *
 * SPECS VISUELLES (Figma):
 * - Dark photographic background (smoke/wave texture)
 * - Blurred bar behind cards (full-width, semi-transparent)
 * - Glassmorphism cards: rgba(116,116,116,0.3), blur 5px, border #d1d1d1
 * - Inner glow, arrow icon top-right, left-aligned labels
 *
 * @since 1.0.0
 */

/* ---- Section ---- */

.lg-cta-services {
	position: relative;
	overflow: hidden;
	background: var(--color-noir-primary);
}

/* Background photographique */

.lg-cta-services::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../../assets/images/cta-services/bg-push-contact.png');
	background-size: cover;
	background-position: center;
	pointer-events: none;
	z-index: 0;
}

.lg-cta-services__inner {
	position: relative;
	z-index: 1;
}

/* ---- Header ---- */

.lg-cta-services__header {
	text-align: center;
	margin-bottom: var(--space-8);
}

.lg-cta-services__title {
	font-family: var(--ff-heading);
	font-size: 1.5rem;
	font-weight: var(--fw-bold);
	line-height: 1.33;
	text-transform: uppercase;
	color: var(--color-blanc);
	margin-bottom: var(--space-3);
}

.lg-cta-services__subtitle {
	font-family: var(--ff-body);
	font-size: 1.25rem;
	line-height: 1.2;
	color: var(--color-blanc);
	max-width: 280px;
	margin-inline: auto;
}

/* ---- Barre floutée derrière les cards ---- */

.lg-cta-services__blur-bar {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 120%;
	top: 14%;
	bottom: 5%;
	background: rgba(116, 116, 116, 0.3);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 2px solid #525252;
	z-index: 0;
	pointer-events: none;
}

/* ---- Grid de cards ---- */

.lg-cta-services__grid {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

/* ---- Card glassmorphism ---- */

.lg-cta-services__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	width: 100%;
	padding: var(--space-5);
	background: rgba(116, 116, 116, 0.3);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid #d1d1d1;
	border-radius: 20px;
	text-align: left;
	cursor: pointer;
	transition: background var(--transition-base), transform var(--transition-base);
}

/* Inner glow */

.lg-cta-services__card::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 30px 0 rgba(255, 255, 255, 0.25);
	pointer-events: none;
}

.lg-cta-services__card:hover {
	background: rgba(116, 116, 116, 0.45);
	transform: translateY(-2px);
}

/* ---- Arrow icon ---- */

.lg-cta-services__card-arrow {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---- Service icon ---- */

.lg-cta-services__card-icon {
	width: 50px;
	height: 50px;
	flex-shrink: 0;
}

.lg-cta-services__card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ---- Label ---- */

.lg-cta-services__card-label {
	font-family: var(--ff-heading);
	font-size: 1rem;
	font-weight: var(--fw-bold);
	line-height: 27px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--color-blanc);
}

/* Mobile & tablette : labels sur une ligne, masquer les <br> */

.lg-cta-services__card-label br {
	display: none;
}

/* ============================================
   Tablette (768px) — grille 2 colonnes
   ============================================ */

@media (min-width: 768px) {
	.lg-cta-services__grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: var(--space-5) 5.5%;
	}

	.lg-cta-services__blur-bar {
		top: 20%;
		bottom: 8%;
	}
}

/* ============================================
   Desktop (1280px) — row de 6 cards
   ============================================ */

@media (min-width: 1280px) {
	.lg-cta-services__header {
		margin-bottom: var(--space-10);
	}

	.lg-cta-services__title {
		font-size: 3.5rem;
		line-height: 1.1;
		margin-bottom: 18px;
	}

	.lg-cta-services__subtitle {
		font-size: 1.5rem;
		line-height: 1.3;
		max-width: none;
	}

	.lg-cta-services__grid {
		display: flex;
		flex-direction: row;
		align-items: stretch;
		justify-content: space-between;
		gap: 0;
		max-width: 1280px;
		margin-inline: auto;
	}

	.lg-cta-services__card {
		padding: 36px 24px;
		width: auto;
		flex-shrink: 0;
	}

	.lg-cta-services__card-icon {
		width: 60px;
		height: 60px;
	}

	.lg-cta-services__card-label {
		font-size: 1.125rem;
		white-space: normal;
	}

	/* Desktop : labels sur 2 lignes via <br> */

	.lg-cta-services__card-label br {
		display: inline;
	}

	.lg-cta-services__blur-bar {
		top: 37%;
		bottom: 11%;
	}
}
