@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/* Shell page hub /objectifs/ — pleine largeur (Astra + Elementor) */
body.page-objectifs,
body.page-id-7328,
body.page-objectifs .site-content,
body.page-id-7328 .site-content,
body.page-objectifs .entry-content,
body.page-id-7328 .entry-content,
body.page-objectifs #content,
body.page-id-7328 #content,
body.page-objectifs .page-content,
body.page-id-7328 .page-content,
body.page-objectifs .site-main,
body.page-id-7328 .site-main,
body.page-objectifs main,
body.page-id-7328 main,
body.page-objectifs article.page,
body.page-id-7328 article.page,
body.page-objectifs .page,
body.page-id-7328 .page,
body.page-objectifs .content-area,
body.page-id-7328 .content-area,
body.page-objectifs .hfeed,
body.page-id-7328 .hfeed,
body.page-objectifs .ast-container,
body.page-id-7328 .ast-container,
body.page-objectifs .ast-container-fluid,
body.page-id-7328 .ast-container-fluid,
body.page-objectifs #primary,
body.page-id-7328 #primary,
body.page-objectifs .elementor,
body.page-id-7328 .elementor,
body.page-objectifs .elementor-section,
body.page-id-7328 .elementor-section,
body.page-objectifs .elementor-container,
body.page-id-7328 .elementor-container,
body.page-objectifs .elementor-column-wrap,
body.page-id-7328 .elementor-column-wrap,
body.page-objectifs .elementor-widget-wrap,
body.page-id-7328 .elementor-widget-wrap {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.page-objectifs,
body.page-id-7328,
body.page-objectifs .site-content,
body.page-id-7328 .site-content,
body.page-objectifs .entry-content,
body.page-id-7328 .entry-content,
body.page-objectifs #content,
body.page-id-7328 #content,
body.page-objectifs .page-content,
body.page-id-7328 .page-content,
body.page-objectifs .site-main,
body.page-id-7328 .site-main,
body.page-objectifs main,
body.page-id-7328 main,
body.page-objectifs #page,
body.page-id-7328 #page,
body.page-objectifs .site,
body.page-id-7328 .site {
	background: #0f2419 !important;
	overflow-x: hidden;
}

body.page-objectifs main#content.site-main,
body.page-id-7328 main#content.site-main {
	margin-top: 110px !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.page-objectifs .page-content,
body.page-id-7328 .page-content,
body.page-objectifs .entry-content,
body.page-id-7328 .entry-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.page-objectifs .entry-header,
body.page-id-7328 .entry-header,
body.page-objectifs .page-header,
body.page-id-7328 .page-header,
body.page-objectifs .entry-title,
body.page-id-7328 .entry-title,
body.page-objectifs .elementor-page-title,
body.page-id-7328 .elementor-page-title,
body.page-objectifs h1.page-title,
body.page-id-7328 h1.page-title,
body.page-objectifs .ast-single-post .entry-header,
body.page-id-7328 .ast-single-post .entry-header {
	display: none !important;
}

/* Un seul H1 : celui du hero UBRIS */
body.page-objectifs h1:not(.cns-obj-hero__title),
body.page-id-7328 h1:not(.cns-obj-hero__title) {
	display: none !important;
}

body.page-objectifs .cns-maillage,
body.page-id-7328 .cns-maillage {
	display: none !important;
}

body.page-objectifs .cns-site-float,
body.page-id-7328 .cns-site-float {
	display: none !important;
}

@media (max-width: 767px) {
	body.page-objectifs main#content.site-main,
	body.page-id-7328 main#content.site-main {
		margin-top: 0 !important;
	}
}

body.page-objectifs .elementor-element:has(.wpcursor-objectifs-hero),
body.page-id-7328 .elementor-element:has(.wpcursor-objectifs-hero),
body.page-objectifs .elementor-element:has(.cns-obj-hero),
body.page-id-7328 .elementor-element:has(.cns-obj-hero) {
	width: 100% !important;
	max-width: none !important;
}

body.page-objectifs .elementor-element:has(.cns-obj-hero) > .elementor-widget-container,
body.page-id-7328 .elementor-element:has(.cns-obj-hero) > .elementor-widget-container,
body.page-objectifs .elementor-element:has(.cns-obj-hero) > .elementor-container,
body.page-id-7328 .elementor-element:has(.cns-obj-hero) > .elementor-container,
body.page-objectifs .elementor-element:has(.cns-obj-hero) .elementor-widget-container,
body.page-id-7328 .elementor-element:has(.cns-obj-hero) .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}

body.page-objectifs .elementor-top-section:has(.cns-obj-hero),
body.page-id-7328 .elementor-top-section:has(.cns-obj-hero),
body.page-objectifs .elementor-section:has(.cns-obj-hero),
body.page-id-7328 .elementor-section:has(.cns-obj-hero) {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.page-objectifs .elementor-top-section:has(.cns-obj-hero) > .elementor-container,
body.page-id-7328 .elementor-top-section:has(.cns-obj-hero) > .elementor-container {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
}

.wpcursor-objectifs-hero,
.wpcursor-objectifs-hero * {
	box-sizing: border-box;
}

.wpcursor-objectifs-hero,
.wpcursor-objectifs-hero p,
.wpcursor-objectifs-hero h1,
.wpcursor-objectifs-hero a,
.wpcursor-objectifs-hero span {
	font-family: "Poppins", system-ui, sans-serif !important;
}

.wpcursor-objectifs-hero,
.cns-obj-hero {
	--obj-lime: #c8f000;
	--obj-green: #143024;
	margin: 0 !important;
	width: 100%;
	overflow: hidden;
	background: var(--obj-green);
	color: #fff;
}

.cns-obj-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: min(78vh, 680px);
	width: 100%;
}

.cns-obj-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4.5rem);
	background:
		radial-gradient(ellipse 55% 50% at 12% 28%, rgba(200, 240, 0, 0.1), transparent 55%),
		linear-gradient(160deg, #163528 0%, #12281c 55%, #0f2419 100%);
}

.cns-obj-hero__bc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.72) !important;
}

.cns-obj-hero__bc a {
	color: rgba(255, 255, 255, 0.82) !important;
	text-decoration: none;
}

.cns-obj-hero__bc a:hover,
.cns-obj-hero__bc a:focus-visible {
	color: var(--obj-lime) !important;
}

.cns-obj-hero__bc-sep {
	opacity: 0.7;
}

.cns-obj-hero__eyebrow {
	margin: 0 0 1.1rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--obj-lime) !important;
}

.cns-obj-hero__title {
	margin: 0 0 1.15rem !important;
	max-width: 18ch;
	font-size: clamp(2.2rem, 4.4vw, 3.45rem) !important;
	font-weight: 800 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.035em;
	color: #fff !important;
}

.cns-obj-hero__title span {
	display: inline;
	color: var(--obj-lime) !important;
}

.cns-obj-hero__lead {
	margin: 0 0 1.85rem;
	max-width: 34rem;
	font-size: clamp(0.98rem, 1.5vw, 1.08rem);
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88) !important;
}

.cns-obj-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.cns-obj-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.15rem;
	padding: 0.9rem 1.55rem;
	border-radius: 999px;
	background: var(--obj-lime);
	color: #111 !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(200, 240, 0, 0.28);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.cns-obj-hero__cta:hover,
.cns-obj-hero__cta:focus-visible {
	background: #d4ff1a;
	color: #111 !important;
	transform: translateY(-1px);
}

.cns-obj-hero__visual {
	position: relative;
	min-height: 100%;
	background: #0a120e;
	overflow: hidden;
}

.cns-obj-hero__media {
	display: block;
	width: 100%;
	height: 100%;
	min-height: min(78vh, 680px);
	object-fit: cover;
	object-position: center 20%;
	filter: grayscale(1) contrast(1.08);
}

@media (max-width: 980px) {
	.cns-obj-hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cns-obj-hero__visual {
		order: -1;
		min-height: min(52vw, 22rem);
	}

	.cns-obj-hero__media {
		min-height: min(52vw, 22rem);
		height: min(52vw, 22rem);
	}

	.cns-obj-hero__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.cns-obj-hero__copy {
		padding: 2rem 1.25rem 2.4rem;
	}

	.cns-obj-hero__visual {
		min-height: 18.5rem;
	}

	.cns-obj-hero__media {
		min-height: 18.5rem;
		height: 18.5rem;
	}

	.cns-obj-hero__cta {
		width: 100%;
	}

	.cns-obj-hero__lead {
		font-size: 0.96rem;
	}
}
