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

body.page-id-7330 .elementor-element:has(.cns-pdp-bf),
body.page-perdre-du-poids .elementor-element:has(.cns-pdp-bf),
body.page-id-7330 .elementor-top-section:has(.cns-pdp-bf),
body.page-perdre-du-poids .elementor-top-section:has(.cns-pdp-bf) {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.page-id-7330 .elementor-element:has(.cns-pdp-bf) .elementor-widget-container,
body.page-perdre-du-poids .elementor-element:has(.cns-pdp-bf) .elementor-widget-container,
body.page-id-7330 .elementor-top-section:has(.cns-pdp-bf) > .elementor-container,
body.page-perdre-du-poids .elementor-top-section:has(.cns-pdp-bf) > .elementor-container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.wpcursor-pdp-benefices,
.wpcursor-pdp-benefices * {
	box-sizing: border-box;
}

.wpcursor-pdp-benefices,
.wpcursor-pdp-benefices p,
.wpcursor-pdp-benefices h2,
.wpcursor-pdp-benefices h3,
.wpcursor-pdp-benefices a,
.wpcursor-pdp-benefices li,
.wpcursor-pdp-benefices span {
	font-family: "Poppins", system-ui, sans-serif !important;
}

.cns-pdp-bf {
	--bf-lime: #c8f000;
	--bf-green: #0c1f16;
	--bf-green-2: #143024;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
	background: linear-gradient(145deg, #081610 0%, #0d2418 42%, #163528 100%);
	color: #fff;
}

/* Texture ondulations + glow = profondeur */
.cns-pdp-bf__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 70% at 12% 30%, rgba(200, 240, 0, 0.1), transparent 58%),
		radial-gradient(ellipse 45% 55% at 88% 55%, rgba(200, 240, 0, 0.07), transparent 60%),
		radial-gradient(ellipse 70% 40% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 70%);
	opacity: 1;
}

.cns-pdp-bf__bg::before {
	content: "";
	position: absolute;
	inset: -20% -10%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400' viewBox='0 0 1200 400' fill='none'%3E%3Cpath d='M0 220 C 150 160, 250 280, 400 220 S 650 140, 800 210 S 1050 300, 1200 220' stroke='%23c8f000' stroke-opacity='0.07' stroke-width='1.5'/%3E%3Cpath d='M0 260 C 180 200, 280 320, 450 250 S 700 180, 880 250 S 1080 320, 1200 250' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.2'/%3E%3Cpath d='M0 180 C 120 240, 300 120, 480 190 S 780 280, 960 190 S 1120 120, 1200 180' stroke='%23c8f000' stroke-opacity='0.05' stroke-width='1.2'/%3E%3C/svg%3E");
	background-size: cover;
	background-position: center;
	opacity: 1;
}

.cns-pdp-bf__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(240px, 0.9fr) minmax(340px, 1.5fr);
	gap: clamp(2rem, 4.5vw, 3.75rem);
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
}

.cns-pdp-bf__eyebrow {
	margin: 0 0 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bf-lime) !important;
}

.cns-pdp-bf__title {
	margin: 0 0 1rem !important;
	font-size: clamp(1.65rem, 3vw, 2.35rem) !important;
	font-weight: 800 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.03em;
	color: #fff !important;
	text-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.cns-pdp-bf__title span {
	display: block;
	color: var(--bf-lime) !important;
}

.cns-pdp-bf__lead {
	margin: 0 0 1.55rem;
	max-width: 28rem;
	font-size: 0.96rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88) !important;
}

.cns-pdp-bf__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.45rem;
	border-radius: 999px;
	background: var(--bf-lime);
	color: #0d1f18 !important;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 12px 30px rgba(200, 240, 0, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cns-pdp-bf__cta:hover,
.cns-pdp-bf__cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(200, 240, 0, 0.36);
	color: #0d1f18 !important;
}

.cns-pdp-bf__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
}

.cns-pdp-bf__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem 0.7rem;
	text-align: center;
}

.cns-pdp-bf__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 0.55rem;
	right: 0;
	bottom: 0.55rem;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(255, 255, 255, 0.22) 20%,
		rgba(255, 255, 255, 0.22) 80%,
		transparent 100%
	);
}

.cns-pdp-bf__icon {
	display: grid;
	place-items: center;
	width: 2.65rem;
	height: 2.65rem;
	margin: 0 auto 0.95rem;
	border-radius: 50%;
	background: rgba(200, 240, 0, 0.1);
	box-shadow: 0 0 0 1px rgba(200, 240, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.2);
	color: var(--bf-lime) !important;
}

.cns-pdp-bf__icon svg {
	width: 1.55rem !important;
	height: 1.55rem !important;
	max-width: none !important;
	display: block !important;
	stroke: currentColor !important;
	stroke-width: 2.15 !important;
	fill: none !important;
}

.cns-pdp-bf__item-title {
	margin: 0 0 0.4rem !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	color: #fff !important;
}

.cns-pdp-bf__item-text {
	margin: 0;
	max-width: 9.5rem;
	font-size: 0.8rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 980px) {
	.cns-pdp-bf__inner {
		grid-template-columns: 1fr;
		gap: 2.4rem;
	}

	/* 2 cols (pas 3) : 5 items → 2+2+1 centré, plus stable tablette */
	.cns-pdp-bf__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 0.5rem;
	}

	.cns-pdp-bf__item:nth-child(even)::after,
	.cns-pdp-bf__item:nth-child(5)::after {
		display: none;
	}

	.cns-pdp-bf__item:nth-child(odd)::after {
		display: block;
	}

	.cns-pdp-bf__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.cns-pdp-bf__item:last-child:nth-child(odd)::after {
		display: none;
	}
}

@media (max-width: 640px) {
	.cns-pdp-bf {
		padding: 2.5rem 1.15rem 2.9rem;
	}

	.cns-pdp-bf__cta {
		width: 100%;
	}
}
