/* CNS Objectif Se muscler — /objectifs/se-muscler/ — csm-hero */

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

:root {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-green-mid: #183526;
	--cns-green-deep: #0c1c14;
	--cns-ink: #111;
	--cns-font: "Poppins", system-ui, sans-serif;
}

html:has(body.page-id-7333) {
	overflow-x: clip;
}

body.page-id-7333,
body.page-id-7333 .site-content,
body.page-id-7333 .entry-content {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: var(--cns-font);
	color: var(--cns-ink);
	overflow-x: clip;
	max-width: 100%;
}

body.page-id-7333 .site-main,
body.page-id-7333 main,
body.page-id-7333 article.page,
body.page-id-7333 .page,
body.page-id-7333 .content-area {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

body.page-id-7333 main#content.site-main,
body.page-id-7333 #content {
	margin-top: 110px !important;
	background: #12281c !important;
}

body.page-id-7333 .page-content {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

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

body.page-id-7333 .entry-header,
body.page-id-7333 .page-header,
body.page-id-7333 .entry-title {
	display: none !important;
}

body.page-id-7333 .page-content > p,
body.page-id-7333 .entry-content > p,
body.page-id-7333 .page-content > .wpcursor-component + p,
body.page-id-7333 .page-content p:has(> .wpcursor-component) {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	min-height: 0 !important;
}

body.page-id-7333 .page-content > br,
body.page-id-7333 .entry-content > br,
body.page-id-7333 .page-content br,
body.page-id-7333 .entry-content br {
	display: none !important;
	content: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

body.page-id-7333 .page-content .wpcursor-component,
body.page-id-7333 .entry-content .wpcursor-component {
	display: block;
	margin: 0 !important;
	border: 0 !important;
	vertical-align: top;
}

/* —— Hero —— */
.cns-csm-hero {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-green-deep: #0c1c14;
	--cns-font: "Poppins", system-ui, sans-serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(88vh, 760px);
	background:
		radial-gradient(ellipse 50% 45% at 8% 90%, rgba(200, 240, 0, 0.08), transparent 58%),
		linear-gradient(165deg, #1a3a28 0%, var(--cns-green) 48%, var(--cns-green-deep) 100%);
	color: #fff;
	font-family: var(--cns-font);
	box-sizing: border-box;
}

.cns-csm-hero__media {
	position: absolute;
	inset: 0 0 0 42%;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.cns-csm-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
	filter: grayscale(1) contrast(1.05);
}

.cns-csm-hero__fade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, #12281c 0%, rgba(18, 40, 28, 0.92) 12%, rgba(18, 40, 28, 0.35) 42%, transparent 68%),
		linear-gradient(180deg, rgba(12, 28, 20, 0.15) 0%, transparent 35%, rgba(12, 28, 20, 0.45) 100%);
}

.cns-csm-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	box-sizing: border-box;
	min-height: inherit;
}

.cns-csm-hero__copy {
	max-width: 34rem;
	min-width: 0;
}

.cns-csm-hero__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cns-lime);
}

.cns-csm-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.85rem, 3.6vw, 2.85rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff;
}

.cns-csm-hero__lead {
	margin: 0 0 1.65rem;
	font-size: clamp(0.95rem, 1.5vw, 1.08rem);
	line-height: 1.55;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.88);
	max-width: 32rem;
}

.cns-csm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.35rem;
}

.cns-csm-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.45rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: #111;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.cns-csm-hero__cta:hover,
.cns-csm-hero__cta:focus {
	transform: translateY(-1px);
	filter: brightness(0.97);
	color: #111;
	text-decoration: none !important;
}

.cns-csm-hero__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.55rem 0.15rem;
	box-sizing: border-box;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
	text-underline-offset: 0.22em;
	text-decoration-thickness: 1.5px;
	transition: opacity 0.2s ease;
}

.cns-csm-hero__link:hover,
.cns-csm-hero__link:focus {
	opacity: 0.88;
	color: #fff;
}

/* Anti-tokens */
.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__title {
	color: #fff !important;
}

.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__eyebrow {
	color: #c8f000 !important;
}

.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__cta,
.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__cta:visited,
.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__cta:hover,
.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__cta:focus {
	color: #111 !important;
	text-decoration: none !important;
}

.wpcursor-component.wpcursor-csm-hero .cns-csm-hero__link {
	color: #fff !important;
}

@media (max-width: 960px) {
	.cns-csm-hero {
		min-height: auto;
	}

	.cns-csm-hero__media {
		inset: 0;
		opacity: 0.42;
	}

	.cns-csm-hero__fade {
		background:
			linear-gradient(180deg, rgba(12, 28, 20, 0.55) 0%, rgba(18, 40, 28, 0.88) 45%, #0c1c14 100%),
			linear-gradient(90deg, rgba(18, 40, 28, 0.65) 0%, transparent 60%);
	}

	.cns-csm-hero__inner {
		grid-template-columns: 1fr;
		padding-top: clamp(4rem, 12vw, 5.5rem);
		padding-bottom: clamp(3.5rem, 10vw, 5rem);
	}

	.cns-csm-hero__copy {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.cns-csm-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cns-csm-hero__cta,
	.cns-csm-hero__link {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.cns-csm-hero__title {
		overflow-wrap: anywhere;
	}
}