/* CNS Coach musculation en ligne — cme-experience */

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

.wpcursor-component.wpcursor-cme-experience.cns-cme-exp,
.cns-cme-exp {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-ink: #111;
	--cns-muted: #5a655f;
	--cns-bg: #f4f6f3;
	--cns-font: "Poppins", system-ui, sans-serif;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--cns-bg);
	color: var(--cns-ink);
	font-family: var(--cns-font);
	box-sizing: border-box;
}

.cns-cme-exp *,
.cns-cme-exp *::before,
.cns-cme-exp *::after {
	box-sizing: border-box;
}

.cns-cme-exp__inner {
	max-width: 1220px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(2.75rem, 5.5vw, 4.5rem) clamp(1.15rem, 3.5vw, 2.25rem);
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
	gap: clamp(1.5rem, 3.5vw, 2.75rem);
	align-items: center;
}

.cns-cme-exp__copy {
	max-width: 28rem;
	animation: cns-cme-exp-up 0.7s ease both;
}

.cns-cme-exp__eyebrow {
	margin: 0 0 0.7rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.4;
	color: #3a463f;
}

.wpcursor-component.wpcursor-cme-experience .cns-cme-exp__title,
.cns-cme-exp__title {
	margin: 0 0 1.1rem;
	font-size: clamp(1.55rem, 2.5vw, 2.15rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #111 !important;
}

.cns-cme-exp__lead {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	font-weight: 400;
	color: var(--cns-muted);
}

.cns-cme-exp__photos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	animation: cns-cme-exp-up 0.8s ease 0.08s both;
}

.cns-cme-exp__photo {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: #e4e8e3;
	box-shadow: 0 10px 24px rgba(18, 40, 28, 0.08);
}

.cns-cme-exp__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.35s ease;
}

.cns-cme-exp__photo:hover img {
	transform: scale(1.03);
}

@keyframes cns-cme-exp-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.cns-cme-exp__inner {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.cns-cme-exp__copy {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.cns-cme-exp__inner {
		padding: 2.25rem 1.15rem 2.75rem;
	}

	.cns-cme-exp__photos {
		gap: 0.55rem;
	}

	.cns-cme-exp__photo {
		border-radius: 14px;
	}

	.wpcursor-component.wpcursor-cme-experience .cns-cme-exp__title,
	.cns-cme-exp__title {
		font-size: clamp(1.4rem, 6.5vw, 1.85rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cns-cme-exp__copy,
	.cns-cme-exp__photos,
	.cns-cme-exp__photo img {
		animation: none !important;
		transition: none !important;
	}
}