/* 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-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(88vh, 760px);
	background: var(--cns-green);
	color: #fff;
}

.cns-minceur-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	pointer-events: none;
}

.cns-minceur-hero__panel {
	background:
		radial-gradient(ellipse 80% 70% at 0% 100%, rgba(200, 240, 0, 0.08), transparent 58%),
		radial-gradient(ellipse 50% 40% at 80% 0%, rgba(255, 255, 255, 0.04), transparent 50%),
		linear-gradient(165deg, #183526 0%, var(--cns-green) 42%, var(--cns-green-deep) 100%);
}

.cns-minceur-hero__panel::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 54%;
	opacity: 0.45;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23c8f000' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M20 48c22-28 52-22 66 6 10 18 6 38-8 50-18 16-44 10-54-10-8-16-10-32-4-46z'/%3E%3Cpath d='M108 112c16-20 40-14 50 6 8 14 4 30-8 40-16 14-36 8-44-10-6-12-6-24 2-36z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 240px 240px;
	mask-image: linear-gradient(90deg, #000 40%, transparent 92%);
}

.cns-minceur-hero__shot {
	position: relative;
	overflow: hidden;
	background: #0d1a12;
}

.cns-minceur-hero__shot::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--cns-green) 0%, rgba(18, 40, 28, 0.45) 14%, transparent 36%),
		linear-gradient(180deg, rgba(8, 16, 12, 0.28) 0%, transparent 24%, rgba(8, 16, 12, 0.35) 100%);
}

.cns-minceur-hero__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% 42%;
	filter: grayscale(1) contrast(1.05);
}

.cns-minceur-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3.25rem);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1rem, 3vw, 2rem);
	align-items: stretch;
	min-height: min(88vh, 760px);
	box-sizing: border-box;
}

.cns-minceur-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 38rem;
	padding: 0.35rem 0;
}

.cns-minceur-hero__eyebrow {
	margin: 0 0 0.9rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cns-lime);
}

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

.cns-minceur-hero__title-accent {
	display: block;
	color: var(--cns-lime);
}

.cns-minceur-hero__lead {
	margin: 0 0 1.55rem;
	max-width: 34rem;
	font-size: 0.98rem;
	line-height: 1.55;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.82);
}

.cns-minceur-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}

.cns-minceur-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.9rem 1.25rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: #111 !important;
	font-family: var(--cns-font);
	font-weight: 700;
	font-size: 0.92rem;
	line-height: 1.2;
	text-decoration: none !important;
	border: 1px solid var(--cns-lime);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cns-minceur-btn::after {
	content: "→";
	font-weight: 700;
}

.cns-minceur-btn:hover,
.cns-minceur-btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
	color: #111 !important;
}

.cns-minceur-btn--ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.72);
	box-shadow: none;
}

.cns-minceur-btn--ghost:hover,
.cns-minceur-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: #fff;
	color: #fff !important;
	box-shadow: none;
}

.cns-minceur-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.35rem;
	list-style: none;
	margin: auto 0 0;
	padding: 0.4rem 0 0;
}

.cns-minceur-hero__facts li {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	max-width: 11rem;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.92);
}

.cns-minceur-hero__fact-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--cns-lime);
}

.cns-minceur-hero__stage {
	position: relative;
	min-height: 100%;
}

.cns-minceur-hero__hand {
	position: absolute;
	top: 4%;
	right: 2%;
	z-index: 2;
	max-width: 11.5rem;
	margin: 0;
	font-family: "Caveat", cursive;
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.12;
	color: #fff;
	text-align: left;
	transform: rotate(-6deg);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.cns-minceur-hero__stack {
	position: absolute;
	top: 30%;
	right: 6%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.7rem;
	width: min(48%, 220px);
}

.cns-minceur-hero__call {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 11;
	box-sizing: border-box;
	border-radius: 16px;
	overflow: hidden;
	background: #111;
	border: 3px solid #fff;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.cns-minceur-hero__call img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

.cns-minceur-hero__live {
	position: absolute;
	top: 0.45rem;
	left: 0.45rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--cns-lime);
	box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.35);
}

.cns-minceur-hero__checks {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 0.85rem 1rem;
	list-style: none;
	width: 100%;
	box-sizing: border-box;
	border-radius: 16px;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.cns-minceur-hero__checks li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.2;
}

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

@media (max-width: 980px) {
	.cns-minceur-hero,
	.cns-minceur-hero__inner {
		min-height: 0;
	}

	.cns-minceur-hero__bg {
		grid-template-columns: 1fr;
		grid-template-rows: 460px 1fr;
	}

	.cns-minceur-hero__panel {
		order: 2;
	}

	.cns-minceur-hero__panel::after {
		width: 100%;
		mask-image: none;
	}

	.cns-minceur-hero__shot {
		order: 1;
	}

	.cns-minceur-hero__shot::after {
		background:
			linear-gradient(180deg, rgba(8, 16, 12, 0.2) 0%, transparent 30%, var(--cns-green) 100%);
	}

	.cns-minceur-hero__inner {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding-top: 0;
	}

	.cns-minceur-hero__stage {
		order: -1;
		min-height: 460px;
	}

	.cns-minceur-hero__copy {
		max-width: none;
		padding-top: 0.25rem;
		padding-bottom: 2.25rem;
	}

	.cns-minceur-hero__hand {
		top: 8%;
		right: 6%;
		font-size: 1.45rem;
	}

	.cns-minceur-hero__stack {
		top: 34%;
		right: 6%;
		width: 190px;
	}
}

@media (max-width: 640px) {
	.cns-minceur-hero__bg {
		grid-template-rows: 400px 1fr;
	}

	.cns-minceur-hero__stage {
		min-height: 400px;
	}

	.cns-minceur-hero__title {
		font-size: 1.85rem;
	}

	.cns-minceur-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cns-minceur-btn {
		width: 100%;
	}

	.cns-minceur-hero__facts {
		gap: 0.9rem 1.1rem;
	}

	.cns-minceur-hero__hand {
		max-width: 9.5rem;
		font-size: 1.3rem;
		right: 4%;
	}
}

/* —— Tu connais sûrement ça —— */

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

/* QA fix responsive .cns-minceur-hero */
@media (max-width: 768px) {
	.cns-minceur-hero {
		overflow-x: hidden;
	}
	.cns-minceur-hero__title {
		overflow-wrap: anywhere;
	}
}

