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

/* Shell page /objectifs/perdre-du-poids/ */
body.page-id-7330,
body.page-perdre-du-poids,
body.page-id-7330 .site-content,
body.page-perdre-du-poids .site-content,
body.page-id-7330 .entry-content,
body.page-perdre-du-poids .entry-content,
body.page-id-7330 #content,
body.page-perdre-du-poids #content,
body.page-id-7330 .page-content,
body.page-perdre-du-poids .page-content,
body.page-id-7330 .site-main,
body.page-perdre-du-poids .site-main,
body.page-id-7330 main,
body.page-perdre-du-poids main,
body.page-id-7330 .ast-container,
body.page-perdre-du-poids .ast-container,
body.page-id-7330 #primary,
body.page-perdre-du-poids #primary,
body.page-id-7330 .elementor,
body.page-perdre-du-poids .elementor,
body.page-id-7330 .elementor-section,
body.page-perdre-du-poids .elementor-section,
body.page-id-7330 .elementor-container,
body.page-perdre-du-poids .elementor-container {
	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-id-7330,
body.page-perdre-du-poids,
body.page-id-7330 .site-content,
body.page-perdre-du-poids .site-content,
body.page-id-7330 .site-main,
body.page-perdre-du-poids .site-main,
body.page-id-7330 main,
body.page-perdre-du-poids main,
body.page-id-7330 #page,
body.page-perdre-du-poids #page {
	background: #0f2419 !important;
	overflow-x: hidden;
}

body.page-id-7330 main#content.site-main,
body.page-perdre-du-poids main#content.site-main {
	margin-top: 110px !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.page-id-7330 .entry-header,
body.page-perdre-du-poids .entry-header,
body.page-id-7330 .page-header,
body.page-perdre-du-poids .page-header,
body.page-id-7330 .entry-title,
body.page-perdre-du-poids .entry-title,
body.page-id-7330 h1:not(.cns-pdp-hero__title),
body.page-perdre-du-poids h1:not(.cns-pdp-hero__title) {
	display: none !important;
}

body.page-id-7330 .cns-maillage,
body.page-perdre-du-poids .cns-maillage {
	display: none !important;
}

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

body.page-id-7330 .elementor-element:has(.cns-pdp-hero),
body.page-perdre-du-poids .elementor-element:has(.cns-pdp-hero),
body.page-id-7330 .elementor-top-section:has(.cns-pdp-hero),
body.page-perdre-du-poids .elementor-top-section:has(.cns-pdp-hero) {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.page-id-7330 .elementor-element:has(.cns-pdp-hero) .elementor-widget-container,
body.page-perdre-du-poids .elementor-element:has(.cns-pdp-hero) .elementor-widget-container,
body.page-id-7330 .elementor-top-section:has(.cns-pdp-hero) > .elementor-container,
body.page-perdre-du-poids .elementor-top-section:has(.cns-pdp-hero) > .elementor-container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

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

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

.cns-pdp-hero {
	--pdp-lime: #c8f000;
	--pdp-green: #143024;
	width: 100%;
	margin: 0;
	background: var(--pdp-green);
	color: #fff;
}

/* Split pleine largeur 50/50 — flush viewport */
.cns-pdp-hero__frame {
	max-width: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.cns-pdp-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: min(82vh, 720px);
	overflow: hidden;
	border-radius: 0;
	width: 100%;
}

.cns-pdp-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.6rem, 6vw, 5rem);
	padding-left: max(clamp(1.6rem, 6vw, 5rem), calc((100vw - 1180px) / 2 + 1.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-pdp-hero__bc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1.15rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88) !important;
}

.cns-pdp-hero__bc a {
	color: var(--pdp-lime) !important;
	text-decoration: none;
}

.cns-pdp-hero__bc a:hover,
.cns-pdp-hero__bc a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.cns-pdp-hero__bc-sep {
	opacity: 0.75;
	color: rgba(255, 255, 255, 0.7);
}

.cns-pdp-hero__title {
	margin: 0 0 1rem !important;
	max-width: 12ch;
	font-size: clamp(2.3rem, 4.8vw, 3.6rem) !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.035em;
	color: #fff !important;
}

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

.cns-pdp-hero__subtitle {
	margin: 0 0 1rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	font-weight: 700;
	line-height: 1.35;
	color: #fff !important;
}

.cns-pdp-hero__lead {
	margin: 0 0 1.7rem;
	max-width: 34rem;
	font-size: clamp(0.96rem, 1.5vw, 1.05rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88) !important;
}

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

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

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

.cns-pdp-hero__media {
	display: block;
	width: 100%;
	height: 100%;
	min-height: min(82vh, 720px);
	object-fit: cover;
	object-position: center 30%;
	filter: grayscale(1) contrast(1.08);
}

@media (max-width: 900px) {
	.cns-pdp-hero__grid {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: 0;
	}

	.cns-pdp-hero__copy {
		padding-left: clamp(1.4rem, 5vw, 2rem);
		padding-right: clamp(1.4rem, 5vw, 2rem);
	}

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

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

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

	.cns-pdp-hero__title span {
		display: inline;
	}
}

@media (max-width: 640px) {
	.cns-pdp-hero__frame {
		padding: 0;
	}

	.cns-pdp-hero__copy {
		padding: 2rem 1.25rem 2.4rem;
	}

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

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

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