@charset "utf-8";

/* ========================================================================== 
   Page publique des membres
   Les tailles sont volontairement définies en px pour rester indépendantes
   des agrandissements typographiques du CSS global sur les grands écrans.
   ========================================================================== */

.membres-page {
	padding: clamp(38px, 5vw, 72px) 0 clamp(60px, 7vw, 100px);
}

.membres-intro {
	max-width: 850px;
	margin: 0 auto clamp(44px, 6vw, 78px);
	padding: 0 20px;
	text-align: center;
}

.membres-surtitle {
	margin: 0;
	color: #327e6c;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.membres-intro h1 {
	margin: 9px 0 16px;
	color: #3f4143;
	font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
	font-size: clamp(34px, 2.5vw, 52px);
	line-height: 1.1;
}

.membres-intro > p:last-child {
	margin: 0;
	color: #686d6e;
	font-size: 18px;
	line-height: 1.65;
}

.comite-section,
.annuaire-section {
	width: min(1380px, calc(100% - 40px));
	margin: 0 auto;
}

.comite-section {
	margin-bottom: clamp(58px, 7vw, 90px);
	padding: clamp(28px, 4vw, 48px);
	background: #eff8f6;
	border: 1px solid #d8ebe6;
	border-radius: 26px;
}

.membres-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 30px;
}

.membres-section-heading h2 {
	margin: 7px 0 0;
	color: #3f4143;
	font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
	font-size: clamp(28px, 2vw, 40px);
	line-height: 1.15;
}

.membres-section-heading > p {
	max-width: 550px;
	margin: 0;
	color: #6b7071;
	font-size: 16px;
	line-height: 1.55;
}

.comite-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}

.comite-card {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 16px;
	padding: 18px;
	background: #fff;
	border: 1px solid #dce9e6;
	border-radius: 18px;
	box-shadow: 0 9px 24px rgba(45, 81, 73, 0.07);
}

.comite-card__photo {
	width: 75px;
	height: 75px;
	flex: 0 0 75px;
	border: 3px solid #bce3da;
	border-radius: 50%;
	object-fit: cover;
}

.comite-card__content {
	min-width: 0;
}

.comite-card__role {
	display: inline-block;
	margin-bottom: 6px;
	color: #327e6c;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.comite-card h3,
.membre-card h3 {
	margin: 0;
	color: #414546;
	font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.3;
}

.comite-card p {
	margin: 5px 0 0;
	color: #747879;
	font-size: 14px;
	line-height: 1.35;
}

.membres-section-heading--annuaire {
	align-items: center;
}

.membres-search {
	display: flex;
	width: min(390px, 100%);
	align-items: center;
	gap: 10px;
	padding: 0 17px;
	background: #fff;
	border: 1px solid #cfe3de;
	border-radius: 999px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.membres-search:focus-within {
	border-color: #71c2ae;
	box-shadow: 0 0 0 4px rgba(113, 194, 174, 0.16);
}

.membres-search__icon {
	color: #327e6c;
	font-size: 25px;
	line-height: 1;
}

.membres-search input {
	width: 100%;
	padding: 14px 0;
	background: transparent;
	border: 0;
	outline: 0;
	color: #45494a;
	font-family: Arial, sans-serif;
	font-size: 15px;
}

.membres-search input::placeholder {
	color: #929899;
}

.membres-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.membre-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	min-height: 238px;
	background: #fff;
	border: 1px solid #dce9e6;
	border-radius: 21px;
	box-shadow: 0 12px 32px rgba(45, 81, 73, 0.08);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.membre-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 17px 38px rgba(45, 81, 73, 0.13);
}

.membre-card__visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 22px;
	padding: 24px 14px;
	background: #eff8f6;
}

.membre-card__photo {
	width: 75px;
	height: 75px;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 5px 14px rgba(45, 81, 73, 0.13);
	object-fit: cover;
}

.membre-card__logo-wrap {
	display: flex;
	width: 82px;
	height: 58px;
	align-items: center;
	justify-content: center;
	padding: 6px;
	background: #fff;
	border-radius: 10px;
}

.membre-card__logo {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.membre-card__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	padding: 25px 22px;
}

.membre-card__company {
	margin: 8px 0 0;
	color: #327e6c;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.membre-card__activity {
	display: -webkit-box;
	margin: 12px 0 18px;
	overflow: hidden;
	color: #6f7475;
	font-size: 14px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.membre-card__link {
	display: inline-block;
	color: #327e6c;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.membre-card__actions {
	width: 100%;
	margin-top: auto;
}

.membre-card__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 12px;
}

.membre-social {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border-radius: 50%;
	color: #fff !important;
	font: 800 13px/1 Arial, sans-serif;
	text-decoration: none !important;
	box-shadow: 0 3px 9px rgba(45, 81, 73, 0.13);
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.membre-social:hover,
.membre-social:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 13px rgba(45, 81, 73, 0.2);
}

.membre-social--facebook { background: #1877f2; }
.membre-social--linkedin { background: #0a66c2; font-size: 11px; }
.membre-social--instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); font-size: 17px; }
.membre-social--video { background: #3f5f58; font-size: 11px; }

/* Prévisualisation de la vidéo sans quitter la liste des membres. */
body.video-modal-ouverte {
	overflow: hidden;
}

.video-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	inset: 0;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	background: rgba(25, 38, 35, 0.84);
	backdrop-filter: blur(4px);
}

.video-modal--visible {
	display: flex;
}

.video-modal__dialog {
	position: relative;
	width: min(960px, 100%);
	max-height: calc(100vh - 48px);
	padding: 24px;
	box-sizing: border-box;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 75px rgba(0, 0, 0, 0.35);
}

.video-modal__dialog h2 {
	margin: 0 50px 17px 0;
	color: #3f4143;
	font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
	font-size: 22px;
	line-height: 1.3;
}

.video-modal__close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #eff8f6;
	color: #3f5f58;
	font: 400 29px/36px Arial, sans-serif;
	cursor: pointer;
}

.video-modal__close:hover,
.video-modal__close:focus-visible {
	background: #dceee9;
	outline: 2px solid #71c2ae;
	outline-offset: 2px;
}

.video-modal__player {
	display: block;
	width: 100%;
	max-height: calc(100vh - 150px);
	border-radius: 13px;
	background: #17201e;
}

@media screen and (max-width: 650px) {
	.video-modal {
		padding: 12px;
	}

	.video-modal__dialog {
		max-height: calc(100vh - 24px);
		padding: 18px 12px 12px;
		border-radius: 16px;
	}

	.video-modal__dialog h2 {
		margin: 3px 48px 14px 4px;
		font-size: 17px;
	}

	.video-modal__close {
		top: 10px;
		right: 10px;
	}

	.video-modal__player {
		max-height: calc(100vh - 105px);
		border-radius: 10px;
	}
}

.membre-card__link span {
	display: inline-block;
	margin-left: 4px;
	transition: transform 0.2s ease;
}

.membre-card__link:hover span {
	transform: translateX(4px);
}

.membres-no-result,
.membres-empty {
	padding: 48px 24px;
	background: #f1f8f6;
	border: 1px solid #dce9e6;
	border-radius: 20px;
	color: #666c6d;
	font-size: 15px;
	text-align: center;
}

.membres-empty strong {
	color: #414546;
	font-family: "Arial Rounded MT Bold", "Arial Rounded MT", Arial, sans-serif;
	font-size: 22px;
}

.membres-empty p {
	margin: 10px 0 0;
}

@media screen and (max-width: 1180px) {
	.membres-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 780px) {
	.membres-intro > p:last-child {
		font-size: 16px;
	}

	.membres-section-heading,
	.membres-section-heading--annuaire {
		align-items: flex-start;
		flex-direction: column;
		gap: 19px;
	}

	.membres-section-heading > p {
		max-width: none;
	}

	.membres-search {
		width: calc(100% - 36px);
	}
}

@media screen and (max-width: 650px) {
	.comite-section,
	.annuaire-section {
		width: min(100% - 24px, 1380px);
	}

	.comite-section {
		padding: 24px 18px;
		border-radius: 20px;
	}

	.comite-grid,
	.membres-grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 420px) {
	.membre-card {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.membre-card__visual {
		padding: 21px 8px;
	}

	.membre-card__photo {
		width: 68px;
		height: 68px;
	}

	.membre-card__logo-wrap {
		width: 68px;
		height: 50px;
	}

	.membre-card__content {
		padding: 22px 17px;
	}
}
