/*
 * SECTION CHAIRE
 *
 * Présentation de la Chaire de recherche : grille 2 colonnes
 * (image avec badge "20+ Ans" + contenu texte avec liste à puces).
 */

 .chair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center; /* Centrage vertical entre l'image et le contenu */
}

/* === Image + badge === */
.chair-image-wrap {
	position: relative;
	height: 620px;
	padding-bottom: 40px; /* Espace pour le badge qui déborde de -28px en bas */
}

.chair-image-wrap .chair-photo {
	width: 100%;
	height: 100%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-light);
}

.chair-image-wrap .chair-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.chair-badge {
	position: absolute;
	bottom: -28px;
	right: -28px;
	background: var(--white);
	border-radius: var(--radius-md);
	padding: 28px 32px;
	box-shadow: 0 12px 32px rgba(26, 42, 51, 0.12);
	max-width: 350px;
	z-index: 2;
}

.chair-badge-num {
	font-size: 24px;
	font-weight: 800;
	color: var(--green);
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin-bottom: 8px;
}

.chair-badge-text {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.45;
}

/* === Contenu texte === */
.chair-content h2 {
	font-size: clamp(36px, 4vw, 52px);
	line-height: 1.1;
	margin-bottom: 24px;
}

.chair-content p {
	color: var(--text-muted);
	font-size: 16px;
	margin-bottom: 16px;
	line-height: 1.7;
}

/* === Liste à puces avec coches === */
.chair-features {
	list-style: none;
	margin: 32px 0 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.chair-features li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	color: #1F1A1C;
	font-weight: 500;
}

.check {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/*
 * À partir de 1200px les colonnes passent en une seule colonne :
 * image en haut, contenu en dessous.
 * L'image et le badge sont centrés horizontalement.
 */
@media (max-width: 1200px) {
	.chair { grid-template-columns: 1fr; gap: 64px; }

	.chair-image-wrap {
		max-width: 680px;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 40px;
	}

	.chair-badge {
		bottom: -20px;
		right: 20px; /* Centre le badge sous l'image */
	}

	.chair-content h2 { font-size: 36px; }
}

@media (max-width: 968px) {
	.chair-image-wrap {
		max-width: 560px;
		height: 460px;
	}

	.chair-badge {
		right: calc(50% - 260px);
		padding: 22px 26px;
		max-width: 260px;
	}

	.chair-badge-num { font-size: 20px; }
	.chair-badge-text { font-size: 12px; }
	.chair-content h2 { font-size: 32px; margin-bottom: 20px; }
	.chair-content p { font-size: 15px; margin-bottom: 14px; }
	.chair-features { margin: 24px 0 32px; gap: 12px; }
	.chair-features li { font-size: 15px; gap: 12px; }
	.check { width: 24px; height: 24px; }
}

@media (max-width: 540px) {
	.chair { gap: 40px; }

	.chair-image-wrap {
		height: 360px;
		max-width: none;
		padding-bottom: 32px;
	}

	/* Badge centré en bas de l'image sur mobile */
	.chair-badge {
		bottom: 0;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		padding: 14px 18px;
		max-width: 80%;
	}

	.chair-badge-num { font-size: 18px; margin-bottom: 4px; }
	.chair-badge-text { font-size: 11px; }
	.chair-content h2 { font-size: 26px; margin-bottom: 16px; }
	.chair-content p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
	.chair-features { margin: 20px 0 24px; gap: 10px; }
	.chair-features li { font-size: 14px; gap: 10px; }
	.check { width: 22px; height: 22px; }
}
