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

.cns-pel-resultats {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-green-deep: #0c1c14;
	--cns-card: rgba(8, 20, 14, 0.55);
	--cns-font: "Poppins", system-ui, sans-serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(ellipse 50% 60% at 0% 100%, rgba(200, 240, 0, 0.06), transparent 55%),
		radial-gradient(ellipse 40% 50% at 100% 0%, rgba(255, 255, 255, 0.04), transparent 50%),
		linear-gradient(165deg, #183526 0%, var(--cns-green) 45%, var(--cns-green-deep) 100%);
	color: #fff;
	font-family: var(--cns-font);
}

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

.cns-pel-resultats__texture {
	position: absolute;
	inset: 0;
	opacity: 0.22;
	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='.14' 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 35%, transparent 65%, #000 100%);
}

.cns-pel-resultats__dots {
	position: absolute;
	width: 140px;
	height: 110px;
	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-resultats__dots--l {
	left: 12px;
	top: 18%;
}

.cns-pel-resultats__dots--r {
	right: 12px;
	bottom: 14%;
}

.cns-pel-resultats__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(2.75rem, 5.5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
}

.cns-pel-resultats__head {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	gap: 1.25rem 2rem;
	align-items: start;
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cns-pel-resultats__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #fff;
	max-width: 22rem;
}

.cns-pel-resultats__lead {
	margin: 0;
	max-width: 38rem;
	font-size: 0.98rem;
	line-height: 1.6;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
}

.cns-pel-resultats__actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 0.25rem;
}

.cns-pel-resultats__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	padding: 0.9rem 1.3rem;
	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, background 0.2s ease;
	white-space: nowrap;
}

.cns-pel-resultats__cta::after {
	content: "→";
	font-weight: 700;
}

.cns-pel-resultats__cta:hover,
.cns-pel-resultats__cta:focus {
	transform: translateY(-2px);
	background: #d4f52a;
	color: #111 !important;
}

.cns-pel-resultats__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.85rem;
}

.cns-pel-resultats__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	text-align: center;
	padding: 1.25rem 0.85rem 1.15rem;
	border-radius: 1.1rem;
	background: var(--cns-card);
	border: 1px solid rgba(255, 255, 255, 0.06);
	min-width: 0;
	box-sizing: border-box;
}

.cns-pel-resultats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--cns-lime);
}

.cns-pel-resultats__card-text {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.35;
	font-weight: 600;
	color: #fff;
}

.wpcursor-component.wpcursor-pel-resultats .cns-pel-resultats__title,
.wpcursor-component.wpcursor-pel-resultats .cns-pel-resultats__card-text {
	color: #fff !important;
}

@media (max-width: 1100px) {
	.cns-pel-resultats__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.cns-pel-resultats__head {
		grid-template-columns: minmax(0, 1fr);
	}

	.cns-pel-resultats__actions {
		justify-content: flex-start;
	}

	.cns-pel-resultats__title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.cns-pel-resultats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.cns-pel-resultats__title {
		overflow-wrap: anywhere;
	}
}