/* CNS Objectif Se muscler — /objectifs/se-muscler/ — csm-methode */

.cns-csm-methode {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-green-mid: #183526;
	--cns-green-deep: #0c1c14;
	--cns-font: "Poppins", system-ui, sans-serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(ellipse 50% 60% at 10% 20%, rgba(200, 240, 0, 0.05), transparent 55%),
		radial-gradient(ellipse 40% 50% at 90% 80%, rgba(255, 255, 255, 0.03), transparent 50%),
		linear-gradient(165deg, #1a3a28 0%, var(--cns-green) 45%, var(--cns-green-deep) 100%);
	font-family: var(--cns-font);
	color: #fff;
}

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

.cns-csm-methode__leaves {
	position: absolute;
	inset: 0;
	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='.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: 200px 200px;
}

.cns-csm-methode__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-csm-methode__header {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto clamp(1.85rem, 3.8vw, 2.75rem);
}

.cns-csm-methode__title {
	margin: 0 0 0.7rem;
	font-size: clamp(1.4rem, 2.5vw, 1.95rem);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.025em;
	color: #fff !important;
}

.cns-csm-methode__lead {
	margin: 0;
	font-size: clamp(0.95rem, 1.3vw, 1.08rem);
	font-weight: 400;
	line-height: 1.5;
	color: #fff !important;
	opacity: 0.92;
}

.cns-csm-methode__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.35rem 0.55rem;
	align-items: start;
}

.cns-csm-methode__step {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.cns-csm-methode__arrow {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: clamp(3.5rem, 8vw, 5.25rem);
	color: #fff;
	line-height: 1;
}

.cns-csm-methode__arrow-mark {
	font-size: 1.35rem;
	font-weight: 500;
	opacity: 0.9;
}

.cns-csm-methode__media {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	border-radius: 0.95rem;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
}

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

.cns-csm-methode__badge {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: #111 !important;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.cns-csm-methode__step-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: #fff !important;
}

.cns-csm-methode__step-text {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.5;
	color: #fff !important;
	opacity: 0.9;
}

/* Beat tokens.css */
.wpcursor-component.wpcursor-csm-methode .cns-csm-methode__title,
.wpcursor-component.wpcursor-csm-methode .cns-csm-methode__lead,
.wpcursor-component.wpcursor-csm-methode .cns-csm-methode__step-title,
.wpcursor-component.wpcursor-csm-methode .cns-csm-methode__step-text {
	color: #fff !important;
}

.wpcursor-component.wpcursor-csm-methode .cns-csm-methode__badge {
	color: #111 !important;
	background: var(--cns-lime);
}

@media (max-width: 1024px) {
	.cns-csm-methode__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.35rem 1.1rem;
	}

	.cns-csm-methode__arrow {
		display: none;
	}
}

@media (max-width: 600px) {
	.cns-csm-methode__steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.35rem;
	}

	.cns-csm-methode__title {
		overflow-wrap: anywhere;
	}
}