/* SOGEC Réalisations v1.2.6 — Elementor dynamic project detail widgets */
.sogec-project-widget-empty {
	background: #f5f8fc;
	border: 1px solid #dce7f3;
	color: #003b73;
	font: 600 14px/1.5 Arial, sans-serif;
	padding: 18px 20px;
}

.sogec-pd-eyebrow {
	color: #0054a6;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.sogec-pd-eyebrow--small {
	font-size: 11px;
	margin-bottom: 10px;
}

.sogec-pd-eyebrow--light {
	color: #b9dcff;
}

.sogec-pd-button {
	align-items: center;
	background: #0054a6;
	border: 1px solid #0054a6;
	color: #fff !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 10px;
	letter-spacing: .04em;
	line-height: 1;
	padding: 16px 22px;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.sogec-pd-button::after {
	content: "→";
	font-size: 16px;
	line-height: 1;
}

.sogec-pd-button:hover,
.sogec-pd-button:focus {
	background: #003b73;
	border-color: #003b73;
	color: #fff !important;
	transform: translateY(-1px);
}

.sogec-pd-button--light {
	background: #fff;
	border-color: #fff;
	color: #0054a6 !important;
}

.sogec-pd-button--light:hover,
.sogec-pd-button--light:focus {
	background: transparent;
	border-color: #fff;
	color: #fff !important;
}

.sogec-pd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}

.sogec-pd-chips span {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .24);
	color: inherit;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	line-height: 1;
	padding: 9px 10px;
	text-transform: uppercase;
}

.sogec-pd-chips--light {
	margin: 10px 0 0;
}

.sogec-pd-chips--light span {
	background: #eff6ff;
	border-color: #d8e8fa;
	color: #0054a6;
}

.sogec-pd-hero {
	background: linear-gradient(135deg, #003b73 0%, #0054a6 100%);
	color: #fff;
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
	min-height: 560px;
	overflow: hidden;
	padding: clamp(70px, 8vw, 120px) clamp(22px, 7vw, 96px);
	position: relative;
}

.sogec-pd-hero::before {
	background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,0));
	content: "";
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 36%;
}

.sogec-pd-hero__content {
	align-self: center;
	max-width: 650px;
	position: relative;
	z-index: 2;
}

.sogec-pd-hero__title {
	color: #fff;
	font-family: inherit;
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: .98;
	margin: 0 0 24px;
}

.sogec-pd-hero__summary {
	color: rgba(255,255,255,.86);
	font-size: clamp(16px, 1.4vw, 20px);
	line-height: 1.65;
	margin: 0 0 28px;
	max-width: 560px;
}

.sogec-pd-hero__facts {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 30px;
	max-width: 640px;
}

.sogec-pd-hero-fact {
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	padding: 13px 14px;
}

.sogec-pd-hero-fact span {
	color: rgba(255,255,255,.68);
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .1em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.sogec-pd-hero-fact strong {
	color: #fff;
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
}

.sogec-pd-hero__media {
	align-self: stretch;
	background: rgba(255,255,255,.08);
	box-shadow: 0 34px 80px rgba(0,0,0,.28);
	margin: 0;
	min-height: 440px;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.sogec-pd-hero__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.sogec-pd-hero__placeholder {
	align-items: center;
	color: rgba(255,255,255,.75);
	display: flex;
	font-size: 52px;
	font-weight: 900;
	height: 100%;
	justify-content: center;
	letter-spacing: .08em;
	min-height: 440px;
}

.sogec-pd-facts {
	background: #fff;
	border: 1px solid #e6edf5;
	box-shadow: 0 22px 70px rgba(0, 59, 115, .08);
	padding: 28px;
}

.sogec-pd-facts__title {
	color: #003b73;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 22px;
}

.sogec-pd-facts__grid {
	display: grid;
	gap: 12px;
}

.sogec-pd-facts--grid .sogec-pd-facts__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sogec-pd-fact {
	background: #f6f9fd;
	border-left: 3px solid #0054a6;
	padding: 14px 16px;
}

.sogec-pd-fact__label {
	color: #6d7d90;
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.25;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.sogec-pd-fact__value {
	color: #0b2745;
	display: block;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
}

.sogec-pd-tax {
	border-top: 1px solid #e6edf5;
	margin-top: 18px;
	padding-top: 18px;
}

.sogec-pd-tax > strong {
	color: #003b73;
	display: block;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.3;
}

.sogec-pd-panels {
	display: grid;
	gap: 18px;
}

.sogec-pd-panel {
	background: #fff;
	border: 1px solid #e6edf5;
	box-shadow: 0 18px 60px rgba(0, 59, 115, .06);
	padding: clamp(24px, 3.2vw, 42px);
}

.sogec-pd-panel h2 {
	color: #003b73;
	font-size: clamp(24px, 2.6vw, 36px);
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.12;
	margin: 0 0 18px;
}

.sogec-pd-richtext {
	color: #2f4156;
	font-size: 16px;
	line-height: 1.8;
}

.sogec-pd-richtext p {
	margin: 0 0 16px;
}

.sogec-pd-richtext p:last-child {
	margin-bottom: 0;
}

.sogec-pd-richtext ul,
.sogec-pd-richtext ol {
	margin: 0 0 18px 20px;
	padding: 0;
}

.sogec-pd-gallery {
	background: #fff;
	border: 1px solid #e6edf5;
	box-shadow: 0 20px 70px rgba(0, 59, 115, .08);
	padding: clamp(24px, 3vw, 38px);
}

.sogec-pd-gallery__head,
.sogec-pd-related__head {
	margin: 0 0 28px;
	text-align: center;
}

.sogec-pd-gallery__head h2,
.sogec-pd-related__head h2 {
	color: #003b73;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.15;
	margin: 0;
}

.sogec-pd-gallery__grid {
	display: grid;
	gap: 14px;
	grid-auto-flow: dense;
}

.sogec-pd-gallery--cols-2 .sogec-pd-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sogec-pd-gallery--cols-3 .sogec-pd-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sogec-pd-gallery--cols-4 .sogec-pd-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sogec-pd-gallery__item {
	background: #eef4fb;
	display: block;
	height: 260px;
	overflow: hidden;
	position: relative;
}

.sogec-pd-gallery__item:first-child {
	height: 360px;
	grid-column: span 2;
}

.sogec-pd-gallery__item img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.sogec-pd-gallery__item:hover img,
.sogec-pd-gallery__item:focus img {
	transform: scale(1.035);
}

.sogec-pd-related {
	background: #f4f8fc;
	padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 42px);
}

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

.sogec-pd-related-card {
	background: #fff;
	border: 1px solid #e3ebf5;
	box-shadow: 0 18px 55px rgba(0, 59, 115, .07);
	overflow: hidden;
}

.sogec-pd-related-card__media {
	background: #003b73;
	display: block;
	height: 230px;
	overflow: hidden;
	text-decoration: none;
}

.sogec-pd-related-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.sogec-pd-related-card__media span {
	align-items: center;
	color: rgba(255,255,255,.75);
	display: flex;
	font-size: 30px;
	font-weight: 900;
	height: 100%;
	justify-content: center;
}

.sogec-pd-related-card:hover .sogec-pd-related-card__media img {
	transform: scale(1.04);
}

.sogec-pd-related-card__body {
	padding: 22px;
}

.sogec-pd-related-card__meta {
	color: #6d7d90;
	display: flex;
	flex-wrap: wrap;
	font-size: 11px;
	font-weight: 800;
	gap: 8px;
	letter-spacing: .05em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.sogec-pd-related-card h3 {
	font-size: 20px;
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 18px;
}

.sogec-pd-related-card h3 a {
	color: #003b73;
	text-decoration: none;
}

.sogec-pd-card-link {
	color: #0054a6;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
}

.sogec-pd-card-link::after {
	content: " →";
}

.sogec-pd-cta {
	align-items: center;
	background: #0054a6;
	color: #fff;
	display: flex;
	gap: 28px;
	justify-content: space-between;
	padding: clamp(34px, 5vw, 58px) clamp(28px, 6vw, 82px);
}

.sogec-pd-cta h2 {
	color: #fff;
	font-size: clamp(26px, 3.2vw, 44px);
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.12;
	margin: 0 0 14px;
	max-width: 900px;
}

.sogec-pd-cta p {
	color: rgba(255,255,255,.82);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	max-width: 760px;
}

@media (max-width: 1024px) {
	.sogec-pd-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.sogec-pd-hero__media,
	.sogec-pd-hero__placeholder {
		min-height: 360px;
	}

	.sogec-pd-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sogec-pd-hero {
		padding: 70px 18px 42px;
	}

	.sogec-pd-hero__facts,
	.sogec-pd-facts--grid .sogec-pd-facts__grid,
	.sogec-pd-gallery--cols-2 .sogec-pd-gallery__grid,
	.sogec-pd-gallery--cols-3 .sogec-pd-gallery__grid,
	.sogec-pd-gallery--cols-4 .sogec-pd-gallery__grid,
	.sogec-pd-related__grid {
		grid-template-columns: 1fr;
	}

	.sogec-pd-gallery__item:first-child {
		grid-column: span 1;
	}

	.sogec-pd-gallery__item,
	.sogec-pd-gallery__item:first-child {
		height: 250px;
	}

	.sogec-pd-cta {
		align-items: flex-start;
		flex-direction: column;
	}
}

/* SOGEC Réalisations v1.2.8 — Réalisations filtrables par ville */
.sogec-city-projects {
	background: #f4f8fc;
	padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.sogec-city-projects__header {
	margin: 0 auto 28px;
	max-width: 820px;
	text-align: center;
}

.sogec-city-projects__eyebrow {
	color: #0054a6;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.2;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.sogec-city-projects__title {
	color: #003b73;
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.05;
	margin: 0;
}

.sogec-city-projects__description {
	color: #526477;
	font-size: 16px;
	line-height: 1.7;
	margin: 18px auto 0;
	max-width: 680px;
}

.sogec-city-projects__tools {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin: 0 auto 34px;
	max-width: 1180px;
}

.sogec-city-projects__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.sogec-city-projects__filter {
	align-items: center;
	background: #fff;
	border: 1px solid #dbe7f3;
	color: #003b73;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	line-height: 1;
	padding: 12px 14px;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.sogec-city-projects__filter span {
	background: #eef5fc;
	color: #0054a6;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	padding: 4px 7px;
}

.sogec-city-projects__filter:hover,
.sogec-city-projects__filter:focus,
.sogec-city-projects__filter.is-active {
	background: #0054a6;
	border-color: #0054a6;
	color: #fff;
	transform: translateY(-1px);
}

.sogec-city-projects__filter:hover span,
.sogec-city-projects__filter:focus span,
.sogec-city-projects__filter.is-active span {
	background: rgba(255, 255, 255, .16);
	color: #fff;
}

.sogec-city-projects__select-form {
	align-items: stretch;
	background: #fff;
	border: 1px solid #dbe7f3;
	display: flex;
	gap: 0;
	min-height: 46px;
}

.sogec-city-projects__select-form select {
	appearance: auto;
	background: #fff;
	border: 0;
	color: #003b73;
	font-size: 13px;
	font-weight: 800;
	min-width: 210px;
	padding: 0 14px;
}

.sogec-city-projects__select-submit {
	background: #0054a6;
	border: 1px solid #0054a6;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .04em;
	padding: 0 18px;
	text-transform: uppercase;
}

.sogec-city-projects__groups {
	display: grid;
	gap: 28px;
	margin: 0 auto;
	max-width: 1180px;
}

.sogec-city-projects__group {
	background: #fff;
	border: 1px solid #e2ebf5;
	box-shadow: 0 24px 70px rgba(0, 59, 115, .08);
	padding: clamp(22px, 3vw, 34px);
}

.sogec-city-projects__city-head {
	align-items: end;
	border-bottom: 1px solid #e6edf5;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin: 0 0 22px;
	padding: 0 0 18px;
}

.sogec-city-projects__city-title {
	color: #003b73;
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.1;
	margin: 0;
}

.sogec-city-projects__city-count {
	color: #0054a6;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.sogec-city-projects__grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sogec-city-projects__grid--single {
	margin: 0 auto;
	max-width: 1180px;
}

.sogec-city-card {
	background: #fff;
	border: 1px solid #e1ebf5;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.sogec-city-card:hover {
	border-color: #c8dbea;
	box-shadow: 0 24px 60px rgba(0, 59, 115, .12);
	transform: translateY(-2px);
}

.sogec-city-card__media {
	align-items: center;
	background: #003b73;
	color: rgba(255, 255, 255, .7) !important;
	display: flex;
	font-size: 28px;
	font-weight: 900;
	height: 230px;
	justify-content: center;
	letter-spacing: .12em;
	overflow: hidden;
	text-decoration: none !important;
}

.sogec-city-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
	width: 100%;
}

.sogec-city-card:hover .sogec-city-card__media img {
	transform: scale(1.04);
}

.sogec-city-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px;
}

.sogec-city-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 13px;
}

.sogec-city-card__meta span {
	background: #eef5fc;
	color: #0054a6;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .06em;
	line-height: 1;
	padding: 7px 8px;
	text-transform: uppercase;
}

.sogec-city-card__title {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.2;
	margin: 0;
}

.sogec-city-card__title a {
	color: #003b73 !important;
	text-decoration: none !important;
}

.sogec-city-card__title a:hover,
.sogec-city-card__title a:focus {
	color: #0054a6 !important;
}

.sogec-city-card__excerpt {
	color: #526477;
	font-size: 14px;
	line-height: 1.65;
	margin: 14px 0 0;
}

.sogec-city-card__link {
	align-items: center;
	color: #0054a6 !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 8px;
	letter-spacing: .06em;
	line-height: 1;
	margin-top: auto;
	padding-top: 20px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.sogec-city-card__link::after {
	content: "→";
	font-size: 16px;
	line-height: 1;
}

.sogec-city-card__link:hover,
.sogec-city-card__link:focus {
	color: #003b73 !important;
}

@media (max-width: 1024px) {
	.sogec-city-projects__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sogec-city-projects__tools,
	.sogec-city-projects__city-head,
	.sogec-city-projects__select-form {
		align-items: stretch;
		flex-direction: column;
	}

	.sogec-city-projects__grid {
		grid-template-columns: 1fr;
	}

	.sogec-city-projects__filter,
	.sogec-city-projects__select-submit {
		justify-content: center;
		width: 100%;
	}

	.sogec-city-projects__select-form select {
		min-height: 46px;
		width: 100%;
	}
}

/* SOGEC project detail — premium layout */
.sogec-ri-detail {
	--sogec-ri-blue: #0054a6;
	--sogec-ri-navy: #003b73;
	--sogec-ri-ink: #11263c;
	--sogec-ri-muted: #617286;
	--sogec-ri-line: #dbe7f3;
	--sogec-ri-soft: #f3f7fb;
	--sogec-ri-white: #fff;
	background: #fff;
	color: var(--sogec-ri-ink);
	font-family: var(--e-global-typography-text-font-family, Inter), Arial, sans-serif;
	margin: 0 auto;
	max-width: 100%;
	overflow: visible;
}

.sogec-ri-mobile-actions {
	align-items: center;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--sogec-ri-line);
	display: none;
	gap: 8px;
	justify-content: center;
	left: 0;
	padding: 10px 14px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.sogec-ri-mobile-actions a {
	align-items: center;
	background: var(--sogec-ri-soft);
	border: 1px solid var(--sogec-ri-line);
	color: var(--sogec-ri-navy) !important;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	justify-content: center;
	letter-spacing: .04em;
	min-height: 38px;
	padding: 0 14px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.sogec-ri-detail__gallery {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, .7fr));
	grid-template-rows: repeat(2, minmax(180px, 260px));
	margin: 0 auto 34px;
	max-width: 1440px;
	padding: 0 22px;
	position: relative;
}

.sogec-ri-detail__photo {
	background: var(--sogec-ri-navy);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.sogec-ri-detail__photo--large {
	grid-row: span 2;
}

.sogec-ri-detail__photo img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
	width: 100%;
}

.sogec-ri-detail__photo:hover img {
	transform: scale(1.035);
}

.sogec-ri-detail__photo-count {
	background: rgba(17, 38, 60, .88);
	bottom: 20px;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .04em;
	line-height: 1;
	padding: 13px 16px;
	position: absolute;
	right: 42px;
	text-transform: uppercase;
}

.sogec-ri-detail__head {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 22px 26px;
}

.sogec-ri-detail__eyebrow {
	color: var(--sogec-ri-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .12em;
	line-height: 1.2;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.sogec-ri-detail__title {
	color: var(--sogec-ri-navy);
	font-family: var(--e-global-typography-primary-font-family, Poppins), Arial, sans-serif;
	font-size: clamp(34px, 4.5vw, 62px);
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: .98;
	margin: 0 0 16px;
	max-width: 940px;
}

.sogec-ri-detail__location {
	color: var(--sogec-ri-muted);
	font-size: 18px;
	font-weight: 650;
	line-height: 1.45;
	margin: 0 0 16px;
}

.sogec-ri-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.sogec-ri-detail__meta span {
	background: var(--sogec-ri-soft);
	border: 1px solid var(--sogec-ri-line);
	color: var(--sogec-ri-blue);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .065em;
	line-height: 1;
	padding: 9px 10px;
	text-transform: uppercase;
}

.sogec-ri-detail__layout {
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 360px;
	margin: 0 auto;
	max-width: 1180px;
	padding: 0 22px 72px;
}

.sogec-ri-detail__main {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.sogec-ri-card,
.sogec-ri-side-card {
	background: var(--sogec-ri-white);
	border: 1px solid var(--sogec-ri-line);
	box-shadow: 0 24px 80px rgba(0, 59, 115, .075);
	padding: clamp(24px, 3vw, 36px);
}

.sogec-ri-card__title,
.sogec-ri-side-card__title {
	color: var(--sogec-ri-navy);
	font-family: var(--e-global-typography-primary-font-family, Poppins), Arial, sans-serif;
	font-size: clamp(23px, 2.4vw, 34px);
	font-weight: 900;
	letter-spacing: -.035em;
	line-height: 1.08;
	margin: 0 0 18px;
}

.sogec-ri-detail__summary,
.sogec-ri-card__text,
.sogec-ri-rich-text,
.sogec-ri-rich-text p {
	color: var(--sogec-ri-muted);
	font-size: 16px;
	line-height: 1.78;
	margin: 0;
}

.sogec-ri-rich-text p + p {
	margin-top: 12px;
}

.sogec-ri-subsection {
	border-top: 1px solid var(--sogec-ri-line);
	margin-top: 22px;
	padding-top: 22px;
}

.sogec-ri-section-title {
	color: var(--sogec-ri-ink);
	font-size: 17px;
	font-weight: 900;
	letter-spacing: -.015em;
	line-height: 1.2;
	margin: 0 0 8px;
}

.sogec-ri-features {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sogec-ri-feature {
	align-items: center;
	background: var(--sogec-ri-soft);
	border: 1px solid var(--sogec-ri-line);
	color: var(--sogec-ri-ink);
	display: flex;
	font-size: 14px;
	font-weight: 750;
	gap: 10px;
	line-height: 1.35;
	min-height: 54px;
	padding: 12px 14px;
}

.sogec-ri-feature span {
	align-items: center;
	background: var(--sogec-ri-blue);
	color: #fff;
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 11px;
	height: 22px;
	justify-content: center;
	width: 22px;
}

.sogec-ri-detail__aside {
	min-width: 0;
}

.sogec-ri-side-card {
	position: sticky;
	top: 116px;
}

.sogec-ri-facts {
	display: grid;
	gap: 0;
}

.sogec-ri-fact {
	border-bottom: 1px solid var(--sogec-ri-line);
	display: grid;
	gap: 4px;
	padding: 13px 0;
}

.sogec-ri-fact:first-child {
	padding-top: 0;
}

.sogec-ri-fact span {
	color: var(--sogec-ri-muted);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .07em;
	line-height: 1.1;
	text-transform: uppercase;
}

.sogec-ri-fact strong {
	color: var(--sogec-ri-ink);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.4;
}

.sogec-ri-side-card__cta {
	background: linear-gradient(135deg, var(--sogec-ri-navy), var(--sogec-ri-blue));
	color: #fff;
	margin-top: 22px;
	padding: 22px;
}

.sogec-ri-side-card__cta h3 {
	color: #fff;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -.025em;
	line-height: 1.15;
	margin: 0 0 10px;
}

.sogec-ri-side-card__cta p {
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	line-height: 1.62;
	margin: 0 0 16px;
}

.sogec-ri-button {
	align-items: center;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	justify-content: center;
	letter-spacing: .06em;
	line-height: 1;
	min-height: 46px;
	padding: 0 18px;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
	width: 100%;
}

.sogec-ri-button:hover,
.sogec-ri-button:focus {
	transform: translateY(-1px);
}

.sogec-ri-button--primary {
	background: #fff;
	border: 1px solid #fff;
	color: var(--sogec-ri-navy) !important;
}

.sogec-ri-button--secondary {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .44);
	color: #fff !important;
	margin-top: 10px;
}

.sogec-ri-related {
	background: var(--sogec-ri-soft);
	border: 1px solid var(--sogec-ri-line);
	padding: clamp(24px, 3vw, 34px);
}

.sogec-ri-related__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sogec-ri-related-card {
	background: #fff;
	border: 1px solid var(--sogec-ri-line);
	overflow: hidden;
}

.sogec-ri-related-card__media {
	align-items: center;
	background: var(--sogec-ri-navy);
	display: flex;
	height: 138px;
	justify-content: center;
	overflow: hidden;
}

.sogec-ri-related-card__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.sogec-ri-related-card__media span {
	color: rgba(255, 255, 255, .7);
	font-weight: 900;
	letter-spacing: .12em;
}

.sogec-ri-related-card__body {
	padding: 14px;
}

.sogec-ri-related-card__body h3 {
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 8px;
}

.sogec-ri-related-card__body h3 a {
	color: var(--sogec-ri-navy) !important;
	text-decoration: none !important;
}

.sogec-ri-related-card__body p {
	color: var(--sogec-ri-muted);
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
}

@media (max-width: 1024px) {
	.sogec-ri-detail__gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(3, 190px);
	}

	.sogec-ri-detail__photo--large {
		grid-column: span 2;
		grid-row: span 1;
	}

	.sogec-ri-detail__layout {
		grid-template-columns: 1fr;
	}

	.sogec-ri-side-card {
		position: static;
	}
}

@media (max-width: 767px) {
	.sogec-ri-mobile-actions {
		display: flex;
	}

	.sogec-ri-detail__gallery {
		gap: 0;
		grid-template-columns: 1fr;
		grid-template-rows: 320px;
		margin-bottom: 24px;
		padding: 0;
	}

	.sogec-ri-detail__photo:not(:first-child) {
		display: none;
	}

	.sogec-ri-detail__photo--large {
		grid-column: auto;
	}

	.sogec-ri-detail__photo-count {
		bottom: 16px;
		right: 16px;
	}

	.sogec-ri-detail__head,
	.sogec-ri-detail__layout {
		padding-left: 16px;
		padding-right: 16px;
	}

	.sogec-ri-detail__layout {
		padding-bottom: 44px;
	}

	.sogec-ri-features,
	.sogec-ri-related__grid {
		grid-template-columns: 1fr;
	}

	.sogec-ri-card,
	.sogec-ri-side-card,
	.sogec-ri-related {
		padding: 22px;
	}
}

/* SOGEC Réalisations — safe offset for fixed/overlay site header on project detail pages. */
@media (min-width: 768px) {
	body.single-sogec_project:not(.sogec-project-page-template--canvas) .sogec-ri-detail {
		padding-top: var(--sogec-project-detail-top-offset, 96px);
	}

	body.single-sogec_project.elementor-editor-active .sogec-ri-detail,
	body.sogec-project-page-template--canvas.single-sogec_project .sogec-ri-detail {
		padding-top: 0;
	}
}


/* SOGEC project detail gallery top offset. Prevents fixed/overlay headers from covering the first gallery row. */
.single-sogec_project .sogec-ri-detail__gallery {
	padding-top: 100px;
}

.elementor-editor-active.single-sogec_project .sogec-ri-detail__gallery,
.elementor-page-template-elementor_canvas.single-sogec_project .sogec-ri-detail__gallery {
	padding-top: 0;
}
