/* CNS Coach sportif à distance — /coach-sportif-a-distance — csd-hero */

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

:root {
	--cns-lime: #c8f000;
	--cns-green: #12281c;
	--cns-green-mid: #183526;
	--cns-green-deep: #0c1c14;
	--cns-ink: #111;
	--cns-font: "Poppins", system-ui, sans-serif;
	--cns-hand: "Caveat", cursive;
}

html:has(body.page-id-3489) {
	overflow-x: clip;
}

body.page-id-3489,
body.page-id-3489 .site-content,
body.page-id-3489 .entry-content {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: var(--cns-font);
	color: var(--cns-ink);
	overflow-x: clip;
	max-width: 100%;
}

body.page-id-3489 .site-main,
body.page-id-3489 main,
body.page-id-3489 article.page,
body.page-id-3489 .page,
body.page-id-3489 .content-area {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

body.page-id-3489 main#content.site-main,
body.page-id-3489 #content {
	margin-top: 110px !important;
	background: #1a3a28 !important;
}

body.page-id-3489 .page-content {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

@media (max-width: 767px) {
	body.page-id-3489 main#content.site-main,
	body.page-id-3489 #content {
		margin-top: 0 !important;
	}
}

body.page-id-3489 .entry-header,
body.page-id-3489 .page-header,
body.page-id-3489 .entry-title {
	display: none !important;
}

body.page-id-3489 .page-content > p,
body.page-id-3489 .entry-content > p,
body.page-id-3489 .page-content > .wpcursor-component + p,
body.page-id-3489 .page-content p:has(> .wpcursor-component) {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	min-height: 0 !important;
}

body.page-id-3489 .page-content > br,
body.page-id-3489 .entry-content > br,
body.page-id-3489 .page-content br,
body.page-id-3489 .entry-content br {
	display: none !important;
	content: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

body.page-id-3489 .page-content .wpcursor-component,
body.page-id-3489 .entry-content .wpcursor-component {
	display: block;
	margin: 0 !important;
	border: 0 !important;
	vertical-align: top;
}

.cns-csd-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow-x: clip;
	min-height: min(92vh, 840px);
	background:
		radial-gradient(ellipse 55% 50% at 12% 88%, rgba(200, 240, 0, 0.07), transparent 60%),
		radial-gradient(ellipse 40% 35% at 88% 8%, rgba(255, 255, 255, 0.04), transparent 55%),
		linear-gradient(165deg, #1a3a28 0%, var(--cns-green) 42%, var(--cns-green-deep) 100%);
	color: #fff;
	font-family: var(--cns-font);
}

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

.cns-csd-hero__leaves {
	position: absolute;
	inset: 0;
	opacity: 0.42;
	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='.16' 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 38%, transparent 62%, #000 100%);
}

.cns-csd-hero__dots {
	position: absolute;
	width: 160px;
	height: 120px;
	opacity: 0.35;
	background-image: radial-gradient(circle, rgba(200, 240, 0, 0.55) 1.1px, transparent 1.3px);
	background-size: 14px 14px;
}

.cns-csd-hero__dots--tl {
	top: 18px;
	left: 18px;
}

.cns-csd-hero__dots--br {
	right: 18px;
	bottom: 18px;
}

.cns-csd-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(2.5rem, 5.5vw, 4.25rem) clamp(1.25rem, 4vw, 2.5rem) 0;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.25rem, 3.5vw, 2.75rem);
	align-items: stretch;
	min-height: min(92vh, 840px);
	box-sizing: border-box;
}

.cns-csd-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: 36rem;
	padding: 0.25rem 0 clamp(2rem, 4vw, 3rem);
	min-width: 0;
}

.cns-csd-hero__eyebrow {
	margin: 0 0 0.95rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
}

.cns-csd-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2.15rem, 3.8vw, 3.45rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: #fff;
}

.cns-csd-hero__title-main {
	display: block;
	color: #fff;
}

.cns-csd-hero__title-accent {
	display: block;
	color: var(--cns-lime);
}

.cns-csd-hero__lead {
	margin: 0 0 1.35rem;
	font-size: clamp(0.95rem, 1.35vw, 1.05rem);
	line-height: 1.55;
	font-weight: 450;
	color: rgba(255, 255, 255, 0.92);
	max-width: 34rem;
}

.cns-csd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.cns-csd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.35rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: #111 !important;
	font-family: var(--cns-font);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none !important;
	border: 1px solid var(--cns-lime);
	transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.cns-csd-btn:hover,
.cns-csd-btn:focus {
	transform: translateY(-2px);
	filter: brightness(0.97);
	color: #111 !important;
	text-decoration: none !important;
}

.cns-csd-btn--ghost {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.55);
}

.cns-csd-btn--ghost:hover,
.cns-csd-btn--ghost:focus {
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
	filter: none;
}

.cns-csd-hero__stats {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.35rem;
}

.cns-csd-hero__stat {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
}

.cns-csd-hero__stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 999px;
	background: rgba(200, 240, 0, 0.14);
	color: var(--cns-lime);
	flex: 0 0 auto;
}

.cns-csd-hero__stat-icon svg {
	width: 1.05rem;
	height: 1.05rem;
}

.cns-csd-hero__stat-label {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}

.cns-csd-hero__foot {
	margin: 0;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: 0.01em;
}

/* Stage / collage — coach collé au bas de section */
.cns-csd-hero__stage {
	position: relative;
	min-width: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	min-height: 100%;
}

.cns-csd-hero__hand {
	position: absolute;
	top: 4%;
	right: 0;
	z-index: 3;
	margin: 0;
	max-width: 11.5rem;
	font-family: var(--cns-hand);
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	text-align: right;
	transform: rotate(-4deg);
	pointer-events: none;
}

.cns-csd-hero__visual {
	position: relative;
	width: min(100%, 580px);
	height: 100%;
	min-height: min(78vh, 720px);
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.cns-csd-hero__devices {
	position: absolute;
	left: 50%;
	bottom: 22%;
	transform: translateX(-50%);
	width: min(100%, 540px);
	height: auto;
	z-index: 1;
	object-fit: contain;
	filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
	pointer-events: none;
}

.cns-csd-hero__coach {
	position: relative;
	z-index: 2;
	display: block;
	width: min(100%, 520px);
	max-height: min(90vh, 780px);
	height: auto;
	margin: 0 auto;
	object-fit: contain;
	object-position: bottom center;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4));
	pointer-events: none;
}

/* Beat tokens.css ink on dark hero */
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__title,
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__title-main,
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__eyebrow,
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__lead,
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__stat-label,
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__foot,
.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__hand {
	color: #fff !important;
}

.wpcursor-component.wpcursor-csd-hero .cns-csd-hero__title-accent {
	color: var(--cns-lime) !important;
}

.wpcursor-component.wpcursor-csd-hero .cns-csd-btn--ghost {
	color: #fff !important;
}

.wpcursor-component.wpcursor-csd-hero {
	overflow-x: clip;
}

@media (max-width: 980px) {
	.cns-csd-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		gap: 1.5rem;
	}

	.cns-csd-hero__copy {
		max-width: none;
		order: 2;
	}

	.cns-csd-hero__stage {
		order: 1;
		padding-top: 0.5rem;
		min-height: 460px;
	}

	.cns-csd-hero__hand {
		right: 4%;
		top: 2%;
		max-width: 10rem;
		font-size: 1.15rem;
	}

	.cns-csd-hero__visual {
		width: min(100%, 480px);
		min-height: 460px;
		margin: 0 auto;
	}

	.cns-csd-hero__coach {
		width: min(100%, 440px);
		max-height: 560px;
	}

	.cns-csd-hero__devices {
		bottom: 20%;
		width: min(100%, 460px);
	}
}

@media (max-width: 640px) {
	.cns-csd-hero {
		min-height: 0;
	}

	.cns-csd-hero__inner {
		padding-top: 1.75rem;
		padding-bottom: 0;
	}

	.cns-csd-hero__copy {
		padding-bottom: 2rem;
	}

	.cns-csd-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.cns-csd-btn {
		width: 100%;
	}

	.cns-csd-hero__stats {
		flex-direction: column;
		gap: 0.7rem;
	}

	.cns-csd-hero__title {
		overflow-wrap: anywhere;
	}

	.cns-csd-hero__hand {
		position: relative;
		top: auto;
		right: auto;
		align-self: flex-end;
		margin-bottom: 0.35rem;
		transform: rotate(-3deg);
	}

	.cns-csd-hero__stage {
		min-height: 380px;
	}

	.cns-csd-hero__visual {
		min-height: 380px;
		width: min(100%, 360px);
		margin: 0 auto;
	}

	.cns-csd-hero__coach {
		width: min(100%, 340px);
		max-height: 480px;
	}

	.cns-csd-hero__devices {
		bottom: 18%;
		width: min(100%, 340px);
	}

	.cns-csd-hero__dots {
		width: 100px;
		height: 80px;
	}
}