/* Styles généraux */

.card-header {
	font-family: var(--e-global-typography-339707a-font-family);
	text-align: center;
	margin-bottom: 60px;
}

.card-header__title {
	font-size: 4rem;
	font-weight: 700;
	color: #fff;
}

.card-header__subtitle {
	font-size: 1.75rem;
	font-weight: 500;
	color: #676977;
	margin-bottom: 15px;
}

/* Container des cartes */

.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: calc(80px + (30 - 80) * ((100vw - 320px) / (1920 - 320)));
	max-width: 1200px;
	width: 100%;
	padding-top: 3em;
	margin: 0 auto;
}

/* Carte individuelle */

.card {
	display: flex;
	flex-direction: column;
	font-family: var(--e-global-typography-339707a-font-family);
	background: linear-gradient(180deg, rgba(42, 0, 110, 0.08) 0.02%, rgba(255, 255, 255, 0.08) 39.24%);
	backdrop-filter: blur(3px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 50px 30px;
	text-align: center;
	position: relative;

	transition: transform 0.3s ease, border-color 0.3s ease;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
	pointer-events: none;
	z-index: 0;
}

/* Orbe lumineuse */

.card::after {
	content: '';
	position: absolute;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	top: -90px;
	right: 0;
	opacity: 0.2;
	pointer-events: none;
	filter: blur(70px);
	z-index: 0;
}

.card:nth-child(1)::after {
	background: radial-gradient(circle, #F43AE3 0%, #6A25F9 50%, transparent 70%);
}

.card:nth-child(2)::after {
	background: radial-gradient(circle, #6366f1 0%, #8b5cf6 50%, transparent 70%);
}

.card:nth-child(3)::after {
	background: radial-gradient(circle, #3b82f6 0%, #06b6d4 50%, transparent 70%);
}

.card:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.2);
}

/* Container de l'icône */

.card__icon-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 185px;
	margin-top: -90px;
	padding-bottom: 3.5em;
	z-index: 1;
}

.card__icon {
	object-fit: contain;
	width: 120px;
	height: 120px;
	position: relative;
	z-index: 1;
}

/*content*/

.card__content-container {
	margin-top: auto;
	position: relative;
	z-index: 1;
}

/* Container du titre */

.card__title-container {
	line-height: 1.15;
	max-width: 60%;
	margin: auto;
}

.card__title {
	font-size: 2rem;
	color: #ffffff;
	font-weight: 600;
	display: block;
	position: relative;
	z-index: 1;
}

/* Container de la description */

.card__description-container {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	font-size: 0.95rem;
	padding: 18px 0;
	position: relative;
	z-index: 1;
}

.card__description-container p {
	margin: 0;
}

/* Container du lien */
.card__link-container {
	margin-top: auto;
	position: relative;
	z-index: 1;
}

/* Bouton contact */

.btn-contact {
	background: linear-gradient(92deg, #F43AE3 -3%, #6A25F9 135%, #57DEE7 275%);
	color: white;
	border: none;
	padding: 15px 40px;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(244, 58, 227, 0.4);
	text-decoration: none;
}

.card:nth-child(2) .btn-contact {
	background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
	box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.card:nth-child(3) .btn-contact {
	background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-contact:hover {
	color: #fff;
	transform: scale(1.05);
}

.card:nth-child(1) .btn-contact:hover {
	box-shadow: 0 6px 20px rgba(244, 58, 227, 0.5);
}

.card:nth-child(2) .btn-contact:hover {
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.card:nth-child(3) .btn-contact:hover {
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-contact::before {
	content: '✦';
	font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
	.card-header h2 {
		font-size: 2.5rem;
	}

	.cards-container {
		grid-template-columns: 1fr;
	}

	.card {
		padding: 40px 25px;
	}
}