/* 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-flow {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 36% 70% at 0% 20%, rgba(200, 240, 0, 0.05), transparent 60%),
		linear-gradient(180deg, #10261c 0%, #0d2118 100%);
	color: #fff;
	padding: clamp(3rem, 6vw, 4.75rem) clamp(1.25rem, 4vw, 2.75rem);
}

.cns-minceur-flow__inner {
	max-width: 1140px;
	margin: 0 auto;
}

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

.cns-minceur-flow__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	margin: 0 0 clamp(1.6rem, 3vw, 2.2rem);
}

.cns-minceur-flow__title {
	max-width: 16em;
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.45rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff;
}

.cns-minceur-flow__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cns-minceur-flow__steps::before {
	content: "";
	position: absolute;
	top: 162px;
	left: 6%;
	right: 6%;
	height: 2px;
	background: rgba(255, 255, 255, 0.38);
}

.cns-minceur-flow__step {
	position: relative;
	min-width: 0;
}

.cns-minceur-flow__media {
	position: relative;
	height: 148px;
	border-radius: 0.95rem;
	overflow: hidden;
	background: #d9d6d0;
}

.cns-minceur-flow__media svg,
.cns-minceur-flow__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cns-minceur-flow__media img {
	object-position: center 32%;
}

.cns-minceur-flow__step:nth-child(3) .cns-minceur-flow__media img {
	object-position: 78% center;
}

.cns-minceur-flow__step:nth-child(4) .cns-minceur-flow__media img {
	object-position: center 42%;
}

.cns-minceur-flow__num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	margin: -1.15rem 0 0.75rem 0.7rem;
	border-radius: 50%;
	background: var(--cns-lime);
	color: #14301f;
	font-size: 0.78rem;
	font-weight: 800;
}

.cns-minceur-flow__step h3 {
	margin: 0 0 0.4rem;
	padding-right: 0.35rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
}

.cns-minceur-flow__step > p {
	margin: 0;
	padding-right: 0.4rem;
	font-size: 0.86rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.74);
}

.cns-minceur-flow__media--chat {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.7rem 0.65rem;
	background: linear-gradient(160deg, #eceae6, #d5d2cc);
}

.cns-minceur-flow__phone {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.55rem;
	border-radius: 0.8rem;
	background: #f7f7f5;
}

.cns-minceur-flow__bubble {
	margin: 0;
	max-width: 92%;
	padding: 0.35rem 0.5rem;
	border-radius: 0.7rem;
	font-size: 0.62rem;
	font-weight: 600;
	line-height: 1.25;
	color: #1a1a1a;
}

.cns-minceur-flow__bubble--out {
	align-self: flex-end;
	background: #ececec;
}

.cns-minceur-flow__bubble--in {
	align-self: flex-start;
	background: #d8f5c8;
}

.cns-minceur-flow__avatars {
	display: flex;
	gap: 0.25rem;
	padding-left: 0.15rem;
}

.cns-minceur-flow__avatars span {
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 0.25rem;
	background: #c8c8c8;
}

.cns-minceur-flow__avatars span:last-child {
	background: #9a9a9a;
}

.cns-minceur-flow__cup {
	flex-shrink: 0;
	width: 1.7rem;
	height: 1.35rem;
	margin-top: 1.4rem;
	border: 3px solid #2a2a2a;
	border-top: 0;
	border-radius: 0 0 0.7rem 0.7rem;
	position: relative;
}

.cns-minceur-flow__cup::before {
	content: "";
	position: absolute;
	top: -0.45rem;
	right: -0.45rem;
	width: 0.45rem;
	height: 0.7rem;
	border: 2px solid #2a2a2a;
	border-left: 0;
	border-radius: 0 0.4rem 0.4rem 0;
}

.cns-minceur-flow__hand {
	flex: 0 1 12rem;
	margin: 0;
	max-width: 12rem;
	font-family: "Caveat", cursive;
	font-size: 1.55rem;
	font-weight: 600;
	line-height: 1.05;
	color: #fff;
	text-align: right;
}

@media (max-width: 980px) {
	.cns-minceur-flow__steps {
		grid-template-columns: 1fr 1fr;
		gap: 1.75rem 1rem;
	}

	.cns-minceur-flow__steps::before {
		display: none;
	}
}

@media (max-width: 760px) {
	.cns-minceur-flow__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.cns-minceur-flow__hand {
		align-self: flex-end;
		max-width: 14rem;
	}
}

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

	.cns-minceur-flow__media {
		height: 180px;
	}
}

/* —— Vision globale —— */

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

/* QA fix responsive flow */
@media (max-width: 900px) {
	.cns-minceur-flow__steps {
		grid-template-columns: 1fr 1fr !important;
	}
}
@media (max-width: 560px) {
	.cns-minceur-flow__steps {
		grid-template-columns: 1fr !important;
	}
	.cns-minceur-flow__title {
		overflow-wrap: anywhere;
	}
}