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

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

.wpcursor-component.wpcursor-cme-accompagnement.cns-cme-acc,
.cns-cme-acc {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-ink: #111;
	--cns-muted: #5a655f;
	--cns-font: "Poppins", system-ui, sans-serif;
	--cns-bg: #f4f6f3;
	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-acc *,
.cns-cme-acc *::before,
.cns-cme-acc *::after {
	box-sizing: border-box;
}

.cns-cme-acc__inner {
	max-width: 1220px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 4.75rem) clamp(1.15rem, 3.5vw, 2.25rem);
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: center;
}

/* —— Col 1 : media + platforms —— */
.cns-cme-acc__media-col {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	animation: cns-cme-acc-up 0.7s ease both;
}

.cns-cme-acc__frame {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 4 / 3.15;
	background: #dfe5df;
	box-shadow: 0 16px 36px rgba(18, 40, 28, 0.12);
}

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

.cns-cme-acc__platforms {
	position: relative;
	z-index: 1;
	margin: -1.35rem 0.85rem 0;
	padding: 0.7rem 0.85rem 0.75rem;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(18, 40, 28, 0.12);
}

.cns-cme-acc__platforms-lbl {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--cns-muted);
}

.cns-cme-acc__platforms-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.85rem;
}

.cns-cme-acc__platform {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: #1a2a22;
}

.cns-cme-acc__platform-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 6px;
	color: #fff;
}

.cns-cme-acc__platform--zoom .cns-cme-acc__platform-ico {
	background: #2d8cff;
}

.cns-cme-acc__platform--skype .cns-cme-acc__platform-ico {
	background: #00aff0;
}

.cns-cme-acc__platform--whatsapp .cns-cme-acc__platform-ico {
	background: #25d366;
}

.cns-cme-acc__platform--teams .cns-cme-acc__platform-ico {
	background: #5b5fc7;
}

/* —— Col 2 : copy —— */
.cns-cme-acc__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 28rem;
	animation: cns-cme-acc-up 0.75s ease 0.06s both;
}

.cns-cme-acc__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #3a463f;
}

.wpcursor-component.wpcursor-cme-accompagnement .cns-cme-acc__title,
.cns-cme-acc__title {
	margin: 0 0 1rem;
	font-size: clamp(1.65rem, 2.6vw, 2.35rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: #111 !important;
}

.wpcursor-component.wpcursor-cme-accompagnement .cns-cme-acc__title-main,
.cns-cme-acc__title-main {
	color: #111 !important;
}

.wpcursor-component.wpcursor-cme-accompagnement .cns-cme-acc__title-mark,
.cns-cme-acc__title-mark {
	display: inline;
	padding: 0.08em 0.28em;
	margin-left: 0.15em;
	border-radius: 0.28em;
	background: var(--cns-lime);
	color: #111 !important;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.cns-cme-acc__lead {
	margin: 0 0 1.45rem;
	font-size: 0.95rem;
	line-height: 1.6;
	font-weight: 400;
	color: #3d4a43;
}

.cns-cme-acc__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	align-self: flex-start;
	padding: 0.92rem 1.35rem;
	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: 1.5px solid var(--cns-lime);
	box-shadow: 0 10px 22px rgba(18, 40, 28, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cns-cme-acc__cta-ico {
	display: inline-flex;
	color: #111;
}

.cns-cme-acc__cta:hover,
.cns-cme-acc__cta:focus {
	transform: translateY(-2px);
	background: #d4f52a;
	box-shadow: 0 14px 28px rgba(18, 40, 28, 0.16);
	color: #111 !important;
}

/* —— Col 3 : list panel —— */
.cns-cme-acc__list {
	list-style: none;
	margin: 0;
	padding: 1.35rem 1.25rem;
	border-radius: 18px;
	background: #eef1ec;
	border: 1px solid rgba(18, 40, 28, 0.06);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	animation: cns-cme-acc-up 0.8s ease 0.12s both;
}

.cns-cme-acc__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.4;
	color: #15251c;
}

.cns-cme-acc__list-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 999px;
	border: 1.5px solid rgba(18, 40, 28, 0.22);
	color: #1a2f22;
	background: #fff;
	flex: 0 0 auto;
}

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

/* —— Responsive —— */
@media (max-width: 1100px) {
	.cns-cme-acc__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 1.5rem 1.75rem;
	}

	.cns-cme-acc__list {
		grid-column: 1 / -1;
	}

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

@media (max-width: 767px) {
	.cns-cme-acc__inner {
		grid-template-columns: 1fr;
		padding: 2.25rem 1.15rem 2.75rem;
		gap: 1.75rem;
	}

	.cns-cme-acc__platforms {
		margin: -1.15rem 0.65rem 0;
	}

	.cns-cme-acc__cta {
		width: 100%;
		align-self: stretch;
	}

	.wpcursor-component.wpcursor-cme-accompagnement .cns-cme-acc__title,
	.cns-cme-acc__title {
		font-size: clamp(1.55rem, 7vw, 2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cns-cme-acc__media-col,
	.cns-cme-acc__copy,
	.cns-cme-acc__list,
	.cns-cme-acc__cta {
		animation: none !important;
		transition: none !important;
	}
}