/* FFJJB - Carte formation - glassmorphism léger, cohérent avec la DA FFJJB */

.ffjjb-formation-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(11, 31, 58, 0.12);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ffjjb-formation-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(11, 31, 58, 0.18);
}

.ffjjb-formation-card__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ffjjb-formation-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ffjjb-formation-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
}

.ffjjb-formation-card__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.25;
	text-transform: uppercase;
	color: #0b1f3a;
	margin: 0;
}

.ffjjb-formation-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ffjjb-formation-card__level,
.ffjjb-formation-card__duration {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #ff6600;
	background-color: rgba(255, 102, 0, 0.1);
	border-radius: 20px;
	padding: 4px 12px;
}

.ffjjb-formation-card__prerequisites {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #5b6b82;
	margin: 0;
}

.ffjjb-formation-card__benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ffjjb-formation-card__benefits li {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #0b1f3a;
	padding-left: 20px;
	position: relative;
}

.ffjjb-formation-card__benefits li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #ff6600;
	font-weight: 700;
}

.ffjjb-formation-card__link {
	margin-top: auto;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #ff6600;
	text-decoration: none;
}

.ffjjb-formation-card__link:hover {
	color: #0b1f3a;
}

/* Utilitaires glassmorphism — factorisation légère pour la page Formations
   (cartes flottantes du Hero, comparatif Présentiel/Distanciel, liste
   formations à distance) afin d'éviter de répéter le même custom_css. */

.ffjjb-fp-glass {
	background-color: rgba(255, 255, 255, 0.07);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ffjjb-fp-glass:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
