/* ==========================================================
   ENERDIS Congo – ajustements 2026
   (grille des projets, formulaires, pied de page)
   ========================================================== */

/* ---------- Grille des projets ---------- */
.en_projets { padding: 60px 0 40px; }
.en_projets_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
@media (max-width: 1199px) { .en_projets_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .en_projets_grid { grid-template-columns: 1fr; gap: 18px; } .en_projets { padding: 36px 0 24px; } }

.en_projet {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}
.en_projet:hover { box-shadow: 0 8px 28px rgba(0, 0, 0, .14); transform: translateY(-2px); }

.en_projet_photos { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 120px; gap: 3px; background: #eee; }
.en_projet_photos a { display: block; overflow: hidden; position: relative; }
.en_projet_photos a:first-child { grid-row: span 2; }
.en_projet_photos.en_n1 { grid-template-columns: 1fr; }
.en_projet_photos.en_n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 243px; }
.en_projet_photos.en_n2 a:first-child { grid-row: auto; }
.en_projet_photos.en_n1 a:first-child { grid-row: auto; height: 243px; }
.en_projet_photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.en_projet_photos a:hover img { transform: scale(1.05); }

.en_projet_body { padding: 18px 20px 20px; }
.en_projet_num {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	background: #0e902a;
	border-radius: 20px;
	padding: 3px 10px;
	margin-bottom: 8px;
}
.en_projet h2 { font-size: 18px; line-height: 1.35; margin: 0 0 10px; color: #4a617e; }
.en_projet h2:before, .en_projet h2:after { display: none; }
.en_projet ul { list-style: none; margin: 0; padding: 0; }
.en_projet li { font-size: 14px; line-height: 1.5; padding: 3px 0 3px 16px; position: relative; color: #555; }
.en_projet li:before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: #ffa331; }

/* ---------- Pagination des projets ---------- */
.en_pagination { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.en_pagination a, .en_pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 16px;
	border-radius: 22px; border: 2px solid #0e902a;
	color: #0e902a; font-weight: 600; text-decoration: none;
}
.en_pagination a:hover { background: #0e902a; color: #fff; }
.en_pagination span.en_current { background: #0e902a; color: #fff; }
.en_pagination .en_disabled { border-color: #ccc; color: #bbb; }

/* ---------- Formulaires ---------- */
.en_hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.en_newsletter_form { display: flex; gap: 10px; flex-wrap: wrap; }
.en_newsletter_form input[type=email] { flex: 1 1 220px; }

/* ---------- Pied de page ---------- */


/* ---------- Galerie ---------- */
#jssor_1 img[data-u=image] { object-fit: cover; }
.ss_section_footer ul li a[href^="mailto:"] { white-space: nowrap; font-size: 14px; }
