/* CNS Coach minceur en ligne — /coach-minceur-en-ligne */

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

body.page-id-3389,
body.page-id-3389 .site-content,
body.page-id-3389 .entry-content,
body.page-id-3389 #content,
body.page-id-3389 .page-content {
	margin: 0;
	padding: 0;
	background: #fff !important;
	font-family: var(--cns-font);
	color: var(--cns-ink);
	overflow-x: hidden;
}

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

body.page-id-3389 main#content.site-main {
	margin-top: 0 !important;
}

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

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


.cns-minceur-engage {
	position: relative;
	overflow: hidden;
	background: #10261c;
	color: #fff;
	padding: clamp(3rem, 6vw, 4.75rem) clamp(1.25rem, 4vw, 2.75rem);
}

.cns-minceur-engage::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: min(46%, 520px);
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
	background-size: 16px 16px;
	mask-image: linear-gradient(90deg, #000 20%, transparent 95%);
	pointer-events: none;
}

.cns-minceur-engage__inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.05fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: center;
	padding-right: min(18vw, 220px);
}

.cns-minceur-engage__eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.cns-minceur-engage__title {
	margin: 0;
	max-width: 14em;
	font-size: clamp(1.55rem, 2.5vw, 2.05rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: #fff;
}

.cns-minceur-engage__qualif {
	margin: 0.85rem 0 0;
	max-width: 28rem;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.88);
}

.cns-minceur-engage__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.7rem;
	align-items: stretch;
}

.cns-minceur-engage__bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(42%, 560px);
	z-index: 0;
}

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

.cns-minceur-engage__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #10261c 0%, rgba(16, 38, 28, 0.45) 22%, rgba(16, 38, 28, 0.08) 58%, rgba(16, 38, 28, 0.28) 100%);
}

.cns-minceur-engage__card {
	border-radius: 1.15rem;
	padding: 1rem 1rem 1.05rem;
}

.cns-minceur-engage__card--mine {
	background: var(--cns-lime);
	color: #14301f;
}

.cns-minceur-engage__card--yours {
	background: #fff;
	color: #161616;
}

.cns-minceur-engage__card h3 {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.cns-minceur-engage__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background: #14301f;
	color: var(--cns-lime);
}

.cns-minceur-engage__card--yours .cns-minceur-engage__badge {
	background: #14301f;
	color: #fff;
}

.cns-minceur-engage__card ul {
	display: flex;
	flex-direction: column;
	gap: 0.42rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cns-minceur-engage__card li {
	display: flex;
	align-items: flex-start;
	gap: 0.4rem;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.3;
}

.cns-minceur-engage__card li::before {
	content: "✓";
	flex-shrink: 0;
	font-weight: 800;
}

.cns-minceur-engage__hand {
	position: absolute;
	z-index: 2;
	top: 14%;
	right: clamp(1rem, 3vw, 2.4rem);
	max-width: 11rem;
	margin: 0;
	font-family: "Caveat", cursive;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.1;
	color: #fff;
	text-align: right;
	transform: rotate(-6deg);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

@media (max-width: 980px) {
	.cns-minceur-engage__inner,
	.cns-minceur-engage__panel {
		grid-template-columns: 1fr;
	}

	.cns-minceur-engage__inner {
		padding-right: 0;
	}

	.cns-minceur-engage__title {
		max-width: none;
	}

	.cns-minceur-engage {
		padding-bottom: 16rem;
	}

	.cns-minceur-engage__bg {
		top: auto;
		width: 100%;
		height: 15rem;
	}

	.cns-minceur-engage__bg::after {
		background: linear-gradient(180deg, #10261c 0%, rgba(16, 38, 28, 0.2) 36%, rgba(16, 38, 28, 0.15) 100%);
	}

	.cns-minceur-engage__hand {
		top: auto;
		bottom: 1.4rem;
		right: 1.25rem;
	}
}

/* —— Niveaux d’accompagnement —— */

/* QA fix: beat tokens.css .wpcursor-component :is(h1,h2,h3,[class*=__title]) ink */
.wpcursor-component.wpcursor-minceur-engagements .cns-minceur-engage__title { color: #fff !important; }