:root {
	--card-border: #e6e9ee;
	--accent: #1d7ed0;
	--muted: #6b7280;
	--radius: 12px;
	--shadow: 0 6px 18px rgba(21, 30, 40, 0.08);
	font-family: Inter, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial,
		sans-serif;
	--text: #1a1a1a;
	--bg: #f9fafb;
	--bg-2: #f7f8fa;
	--card: #ffffff;
	--gap: 28px;
	color: #0f1724;
	--card-w: 360px;
	--card-h: 460px;
	--accent: #1d7ed0;
	--text-on-img: #ffffff;
}

/*PRESENTATION DE L'ENTREPRISE */

.about {
	padding: 60px 20px;
	background: #f9fafb;
	text-align: center;
}
.about-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	align-items: center;
	justify-content: center;
	max-width: 1000px;
	margin: 0 auto 40px;
	text-align: left;
}
.about-image img {
	width: 100%;
	max-width: 450px;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.about-text {
	flex: 1;
	min-width: 280px;
}
.about-text h2 {
	font-size: 2rem;
	margin-bottom: 15px;
	color: #1d3557;
}
.about-text p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #444;
}
.about-btn {
	display: inline-block;
	padding: 10px 20px;
	color: white;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s;
}

.about-stats {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}
.stat {
	background: white;
	padding: 20px 30px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	text-align: center;
	min-width: 140px;
}
.stat h3 {
	font-size: 1.8rem;
	color: #1d7ed0;
	margin: 0;
}
.stat p {
	font-size: 0.95rem;
	margin-top: 6px;
	color: #555;
}

/* Sections générales */
.dirigeants-section {
	padding: 60px 20px;
	max-width: 1100px;
	margin: 0 auto;
}

.dirigeants-section h1,
.dirigeants-section h2,
.dirigeants-section h3 {
	margin-bottom: 15px;
	font-weight: 600;
}

.dirigeants-section p {
	margin-bottom: 20px;
	color: #444;
}

/* ---------- Hero ---------- */
.hero {
	background: linear-gradient(#ffd67f80, #ffd77f80),
		url("/auth/images/photos/enterprise.jpg") center/cover;
	color: white;
	text-align: center;
	padding: 100px 20px;
	border-radius: 0 0 20px 20px;
}

.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	color: white !important;
}

.hero p {
	font-size: 1.2rem !important;
	max-width: 700px;
	margin: 0 auto;
}

/* ---------- About ---------- */
.entreprise-about {
	background: white;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
	text-align: center;
}

.entreprise-about h2,
.values h2,
.stats h2 {
	color: black;
}

/* ---------- Values ---------- */
.values .grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.value {
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease;
}

.value:hover {
	transform: translateY(-5px);
}

.value h3 {
	/* color: #1d7ed0; */
	color: var(--color-8);
}

/* ---------- Stats ---------- */
.stats .grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
	margin-top: 30px;
	text-align: center;
}

.stats h3 {
	font-size: 2rem;
	margin: 0;
	color: #1d7ed0;
}

.stats p {
	margin: 5px 0 0;
	color: #555;
}

/* INFOR SUR LE CONSEIL D'ADMINISTRATION */

.row__kicker.poste {
	font-size: 1.5rem;
}

.row__title.nom {
	font-size: 1.35rem;
	color: #1d3557;
}

.infos-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.infos-row {
	display: flex;
	align-items: center;
	gap: var(--gap);
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: 0 6px 20px rgba(12, 20, 30, 0.06);
	overflow: hidden;
}

/* Alternance : paire -> image à droite */
.infos-row:nth-child(even) {
	flex-direction: row-reverse;
}

.row__media {
	flex: 0 0 45%;
	min-width: 220px;
	height: 260px;
	overflow: hidden;
	position: relative;
}

.dirigeant_row_media {
	height: 100% !important;
}

.row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.infos-row:hover .row__media img {
	transform: scale(1.04);
}

.row__content {
	flex: 1;
	padding: 28px;
}

.row__kicker {
	display: inline-block;
	font-size: 0.85rem;
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 8px;
}

.row__title {
	margin: 0 0 12px;
	/* font-size:1.35rem; */
	line-height: 1.2;
}

.row__text {
	margin: 0 0 18px;
	color: var(--muted);
	line-height: 1.6;
}

.row__actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.btn {
	padding: 10px 16px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	border: none;
	cursor: pointer;
}

.btn--primary {
	background: var(--accent);
	color: white;
}

.btn--ghost {
	background: transparent;
	color: var(--accent);
	border: 1px solid rgba(29, 126, 208, 0.12);
}

/* Responsive : empile les aligements */
@media (max-width: 800px) {
	.infos-row {
		flex-direction: column;
		text-align: left;
	}
	.infos-row:nth-child(even) {
		flex-direction: column; /* annule le row-reverse sur mobile */
	}
	.row__media {
		width: 100%;
		height: 220px;
		flex-basis: auto;
	}
	.row__content {
		padding: 20px;
	}
	.comite-direction-section {
		display: flex !important;
		flex-direction: column;
		align-items: center;
	}
}

/* petit style pour démonstration */
.meta {
	font-size: 0.9rem;
	color: #9aa4b2;
	margin-bottom: 10px;
}

.person-card {
	width: var(--card-w);
	height: var(--card-h);
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 30px rgba(12, 20, 30, 0.1);
	background-size: cover;
	background-position: center;
}

/* overlay pour contraste */
.person-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.15) 0%,
		rgba(0, 0, 0, 0.35) 60%,
		rgba(0, 0, 0, 0.6) 100%
	);
	pointer-events: none;
}

/* zone contenant les alignements en bas */
.card-footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	z-index: 2; /* au-dessus de l'overlay */
}

/* Biographie (gauche) */
.bio-link {
	background: rgba(255, 255, 255, 0.9);
	color: #0f1724;
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	box-shadow: 0 6px 18px rgba(12, 20, 30, 0.08);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.bio-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(12, 20, 30, 0.14);
}

/* Nom et poste (droite) */
.identity {
	text-align: left;
	color: var(--text-on-img);
}

.identity .name {
	display: block;
	font-size: 1.05rem;
	letter-spacing: 0.2px;
}

.identity .role {
	display: block;
	font-size: 1.2rem;
	opacity: 0.92;
	margin-top: 4px;
	font-weight: bold;
}

/* petit badge en haut gauche (optionnel) */
.badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: rgba(255, 255, 255, 0.92);
	color: #0f1724;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.8rem;
	box-shadow: 0 6px 18px rgba(12, 20, 30, 0.06);
}

/* responsive: réduire la taille sur petits écrans */
@media (max-width: 420px) {
	.person-card {
		width: 92vw;
		height: 56vh;
		min-height: 320px;
	}
	.bio-link {
		padding: 7px 10px;
		font-size: 0.9rem;
	}
	.identity .name {
		font-size: 1rem;
	}
}

.comite-direction-section {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
	gap: 20px;
}

/* TELECHARGER L'APPLICATION MOBILE SUR LE SITE VIRINE */
#app-promo {
	display: flex;
	justify-content: center;
	background: #f8fafc;
}

.app-promo {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 60px 8%;
}

.app-image img {
	max-width: 250px;
	border-radius: 16px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	transform: skewX(1deg);
}

.app-text {
	flex: 1;
}

.app-text p:nth-child(2) {
	color: var(--color-8);
	font-size: 25px !important;
	font-weight: bold;
}

.app-text p:nth-child(3) {
	display: inline-block;
	width: 70%;
}

.app-text h2 {
	font-size: 50px;
	margin-bottom: 12px;
}

.app-text p {
	margin-bottom: 16px;
	color: #475569;
	font-size: 1.1rem;
	line-height: 1.6;
}

.download-buttons {
	display: flex;
	gap: 16px;
	margin-top: 20px;
}

.download-buttons img {
	height: 50px;
}

.download-buttons a:nth-child(2) img {
	border-radius: 10px;
	scale: 0.95;
}

@media (max-width: 900px) {
	.app-promo {
		flex-direction: column;
		text-align: center;
	}
	.app-image img {
		max-width: 220px;
	}
	.download-buttons {
		justify-content: center;
	}
}

/* MODAL DE BIOGRAPHIE DES MEMEBRES DU COMITE DE DIRECTION */

.member-profile {
	text-align: center;
	padding: 20px;
}

.member-profile img {
	width: 150px;
	height: 150px;
	border-radius: 50%; /* image circulaire */
	object-fit: cover;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* ombre élégante */
	margin-bottom: 12px;
}

.member-profile h3 {
	font-size: 1.3rem;
	margin-bottom: 8px;
	/* color: #1e293b; /* gris foncé moderne */
	color: var(--color-8);
}

.member-profile h2 {
	font-size: 1rem;
	margin-bottom: 8px;
	color: #1e293b;
}

.member-profile p {
	font-size: 0.95rem;
	color: #475569; /* gris moyen */
	line-height: 1.5;
}

.accordion-button {
	font-weight: bold;
	font-size: 18px;
}

.accordion-body {
	background: transparent;
}

.accordion-item {
	border: none;
}

.accordion-button {
	background: var(--not-white) !important;
	color: var(--black-color) !important;
	box-shadow: none !important;
}

.sherpapay-about-image {
	scale: 0.5;
}

/* Features */
.features {
	background: var(--gris-clair);
	padding: 60px 20px;
	text-align: center;
}

.features h2 {
	color: var(--rouge-bordeau);
	margin-bottom: 40px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	max-width: 1000px;
	margin: auto;
}

.feature {
	background: white;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature h3 {
	color: var(--rouge-bordeau);
	margin-bottom: 10px;
}

/* Security */
.security {
	padding: 60px 20px;
	text-align: center;
}

.security h2 {
	color: var(--rouge-bordeau);
	margin-bottom: 20px;
}

.security p {
	max-width: 700px;
	margin: auto;
	line-height: 1.6;
}

/* Testimonials */
.testimonials {
	background: var(--gris-clair);
	padding: 60px 20px;
	text-align: center;
}

.testimonial {
	max-width: 700px;
	margin: 0 auto 30px;
	font-style: italic;
}

.owl-carousel-item div.content {
	display: flex;
	color: var(--white-color);
	font-family: poppins, sans-serif;
}

.owl-carousel-item div.content div h2 {
	color: var(--white-color);
	font-size: 40px;
}

.owl-carousel-item div.content div {
	margin: 10%;
}

.owl-carousel-item div.content div p {
	letter-spacing: 1.5px;
	font-size: 15px;
}

.service-items.divers .service-item {
	font-size: 15px;
}
