/* CNS Coach perte de poids en ligne — /coach-perte-de-poids-en-ligne — pel-hero */

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&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;
	--cns-hand: "Caveat", cursive;
}

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

body.page-id-3461,
body.page-id-3461 .site-content,
body.page-id-3461 .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-3461 .site-main,
body.page-id-3461 main,
body.page-id-3461 article.page,
body.page-id-3461 .page,
body.page-id-3461 .content-area {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

/* Offset header sticky + fond hero pour éviter tout trait blanc */
body.page-id-3461 main#content.site-main,
body.page-id-3461 #content {
	margin-top: 110px !important;
	background: #1a3a28 !important;
}

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

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

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

/* Joints nets : wpautop injecte <p>/<br> entre shortcodes → bandes blanches */
body.page-id-3461 .page-content > p,
body.page-id-3461 .entry-content > p,
body.page-id-3461 .page-content > .wpcursor-component + p,
body.page-id-3461 .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-3461 .page-content > br,
body.page-id-3461 .entry-content > br,
body.page-id-3461 .page-content br,
body.page-id-3461 .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-3461 .page-content .wpcursor-component,
body.page-id-3461 .entry-content .wpcursor-component {
	display: block;
	margin: 0 !important;
	border: 0 !important;
	vertical-align: top;
}

.cns-pel-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(92vh, 820px);
	background:
		radial-gradient(ellipse 55% 50% at 12% 88%, rgba(200, 240, 0, 0.07), transparent 60%),
		radial-gradient(ellipse 40% 35% at 88% 8%, rgba(255, 255, 255, 0.04), transparent 55%),
		linear-gradient(165deg, #1a3a28 0%, var(--cns-green) 42%, var(--cns-green-deep) 100%);
	color: #fff;
	font-family: var(--cns-font);
	overflow-x: clip;
}

.cns-pel-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.cns-pel-hero__leaves {
	position: absolute;
	inset: 0;
	opacity: 0.42;
	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: 220px 220px;
	mask-image: linear-gradient(90deg, #000 0%, transparent 38%, transparent 62%, #000 100%);
}

.cns-pel-hero__dots {
	position: absolute;
	width: 160px;
	height: 120px;
	opacity: 0.35;
	background-image: radial-gradient(circle, rgba(200, 240, 0, 0.55) 1.1px, transparent 1.3px);
	background-size: 14px 14px;
}

.cns-pel-hero__dots--tl {
	top: 18px;
	left: 18px;
}

.cns-pel-hero__dots--br {
	right: 18px;
	bottom: 18px;
}

.cns-pel-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(2.5rem, 5.5vw, 4.25rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.25rem, 3.5vw, 2.75rem);
	align-items: center;
	min-height: min(92vh, 820px);
	box-sizing: border-box;
}

.cns-pel-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 36rem;
	padding: 0.25rem 0;
}

.cns-pel-hero__eyebrow {
	margin: 0 0 0.95rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
}

.cns-pel-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2.05rem, 3.6vw, 3.35rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: #fff;
}

.cns-pel-hero__title-main {
	display: block;
	color: #fff;
}

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

.cns-pel-hero__lead {
	margin: 0 0 1.6rem;
	max-width: 33rem;
	font-size: 0.98rem;
	line-height: 1.55;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.86);
}

.cns-pel-hero__lead-accent {
	color: var(--cns-lime);
	font-weight: 700;
}

.cns-pel-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.7rem;
}

.cns-pel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.95rem 1.35rem;
	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-pel-btn::after {
	content: "→";
	font-weight: 700;
}

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

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

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

.cns-pel-hero__facts {
	list-style: none;
	margin: 0 0 1.35rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.95rem 1.35rem;
}

.cns-pel-hero__facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.86rem;
	font-weight: 500;
	color: #fff;
	max-width: 100%;
}

.cns-pel-hero__fact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: #111;
	flex: 0 0 auto;
}

.cns-pel-hero__foot {
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 0.78rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.78);
	letter-spacing: 0.01em;
}

.cns-pel-hero__stage {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.cns-pel-hero__visual {
	position: relative;
	width: min(100%, 460px);
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.cns-pel-hero__coach {
	position: relative;
	z-index: 2;
	display: block;
	width: min(100%, 380px);
	height: auto;
	max-height: min(68vh, 620px);
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
	animation: cns-pel-fade-up 0.85s ease both;
}

.cns-pel-hero__food {
	position: absolute;
	z-index: 3;
	right: -2%;
	bottom: 12%;
	margin: 0;
	width: clamp(132px, 28vw, 188px);
	height: clamp(132px, 28vw, 188px);
	border-radius: 50%;
	overflow: hidden;
	background: #0a120e;
	border: 5px solid rgba(10, 18, 14, 0.85);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
	animation: cns-pel-fade-in 1s ease 0.15s both;
}

.cns-pel-hero__food img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cns-pel-hero__hand {
	position: absolute;
	z-index: 4;
	margin: 0;
	font-family: var(--cns-hand);
	font-weight: 600;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
	pointer-events: none;
}

.cns-pel-hero__hand--1 {
	top: 6%;
	left: 0;
	max-width: 11.5rem;
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	transform: rotate(-4deg);
	animation: cns-pel-fade-in 0.9s ease 0.25s both;
}

.cns-pel-hero__hand--2 {
	top: 10%;
	right: 0;
	max-width: 10.5rem;
	font-size: clamp(1.2rem, 1.9vw, 1.5rem);
	text-align: left;
	transform: rotate(3deg);
	display: flex;
	flex-direction: column;
	gap: 0.1em;
	animation: cns-pel-fade-in 0.9s ease 0.35s both;
}

.cns-pel-hero__hand-line {
	display: block;
}

@keyframes cns-pel-fade-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cns-pel-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 1100px) {
	.cns-pel-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
		min-height: 0;
		padding-top: 1.5rem;
	}

	.cns-pel-hero__stage {
		order: -1;
		min-height: 420px;
	}

	.cns-pel-hero__copy {
		max-width: none;
		padding-bottom: 1.75rem;
	}

	.cns-pel-hero__hand--1 {
		left: 2%;
		top: 4%;
	}

	.cns-pel-hero__hand--2 {
		right: 2%;
		top: 6%;
	}
}

@media (max-width: 640px) {
	.cns-pel-hero {
		overflow-x: hidden;
	}

	.cns-pel-hero__stage {
		min-height: 360px;
	}

	.cns-pel-hero__coach {
		width: min(100%, 300px);
		max-height: 420px;
	}

	.cns-pel-hero__food {
		width: 118px;
		height: 118px;
		right: 4%;
		bottom: 8%;
		border-width: 4px;
	}

	.cns-pel-hero__title {
		font-size: 1.95rem;
		overflow-wrap: anywhere;
	}

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

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

	.cns-pel-hero__facts {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.cns-pel-hero__hand--1 {
		max-width: 8.5rem;
		font-size: 1.2rem;
	}

	.cns-pel-hero__hand--2 {
		max-width: 7.5rem;
		font-size: 1.15rem;
	}

	.cns-pel-hero__dots {
		width: 100px;
		height: 80px;
	}
}

/* Beat tokens.css title ink on dark hero */
.wpcursor-component.wpcursor-pel-hero .cns-pel-hero__title,
.wpcursor-component.wpcursor-pel-hero .cns-pel-hero__title-main {
	color: #fff !important;
}
.wpcursor-component.wpcursor-pel-hero .cns-pel-hero__title-accent {
	color: var(--cns-lime) !important;
}
.wpcursor-component.wpcursor-pel-hero .cns-pel-btn--ghost {
	color: #fff !important;
}

.wpcursor-component.wpcursor-pel-hero {
	overflow-x: clip;
}