/* about shared tokens */

:root {
	--cns-lime: #c8f000;
	--cns-green: #0d2d1e;
	--cns-ink: #111;
	--cns-font: "Poppins", system-ui, sans-serif;
	--cns-hand: "Caveat", cursive;
}

/* page chrome when about components present */
body:has(.wpcursor-about-hero) .entry-header,
body:has(.wpcursor-about-hero) .page-header,
body:has(.wpcursor-about-hero) .entry-title {
	display: none !important;
}
body:has(.wpcursor-about-hero) .site-main,
body:has(.wpcursor-about-hero) main,
body:has(.wpcursor-about-hero) article.page,
body:has(.wpcursor-about-hero) .page,
body:has(.wpcursor-about-hero) #content,
body:has(.wpcursor-about-hero) .content-area,
body:has(.wpcursor-about-hero) .page-content,
body:has(.wpcursor-about-hero) .entry-content {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}
body:has(.wpcursor-about-hero) main#content.site-main {
	margin-top: 0 !important;
}
@media (max-width: 1199px) {
	body:has(.wpcursor-about-hero) header.elementor-location-header .elementor-element-2b0c573b,
	body:has(.wpcursor-about-hero) header.elementor-location-header .elementor-element-59b9be2a {
		display: none !important;
	}
	body:has(.wpcursor-about-hero) header.elementor-location-header .elementor-element-7e8f222b {
		display: block !important;
	}
}
@media (max-width: 767px) {
	body:has(.wpcursor-about-hero) main#content.site-main {
		margin-top: 0 !important;
	}
}
body:has(.wpcursor-about-hero),
body:has(.wpcursor-about-hero) .site-content,
body:has(.wpcursor-about-hero) .entry-content {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: var(--cns-font);
	color: var(--cns-ink);
	overflow-x: hidden;
}
html:has(body:has(.wpcursor-about-hero)) {
	overflow-x: hidden;
}
.cns-about-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 3.05rem;
	padding: 0.85rem 1.35rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: var(--cns-font);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cns-about-btn--primary,
.cns-about-btn--primary:hover,
.cns-about-btn--primary:focus {
	background: var(--cns-lime) !important;
	border-color: var(--cns-lime) !important;
	color: var(--cns-green) !important;
}

.cns-about-btn--primary:hover {
	background: #d6ff2e !important;
	transform: translateY(-1px);
}

.cns-about-btn--ghost,
.cns-about-btn--ghost:hover,
.cns-about-btn--ghost:focus {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.72) !important;
	color: #fff !important;
}

.cns-about-btn--ghost:hover {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.06) !important;
}

.cns-about-btn:focus-visible {
	outline: 2px solid var(--cns-lime);
	outline-offset: 3px;
}

.cns-about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
	align-items: stretch;
	min-height: clamp(560px, 78vh, 760px);
	background: var(--cns-green);
	color: #fff;
	overflow: hidden;
}

.cns-about-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(1.35rem, 2.4vw, 2rem);
	padding: clamp(2.4rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.6rem, 3vw, 2.4rem);
	padding-left: max(1.25rem, calc((100vw - 1180px) / 2));
	box-sizing: border-box;
}

.cns-about-hero__eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.cns-about-hero__title {
	margin: 0;
	max-width: 13em;
	font-size: clamp(2.15rem, 4.1vw, 3.45rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: #fff;
}

.cns-about-hero__title span {
	color: var(--cns-lime);
}

.cns-about-hero__lead {
	margin: 0;
	max-width: 34rem;
	font-size: clamp(0.98rem, 1.3vw, 1.08rem);
	font-weight: 400;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.9);
}

.cns-about-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.cns-about-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 3.05rem;
	padding: 0.85rem 1.35rem;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: var(--cns-font);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cns-about-btn--primary,
.cns-about-btn--primary:hover,
.cns-about-btn--primary:focus {
	background: var(--cns-lime) !important;
	border-color: var(--cns-lime) !important;
	color: var(--cns-green) !important;
}

.cns-about-btn--primary:hover {
	background: #d6ff2e !important;
	transform: translateY(-1px);
}

.cns-about-btn--ghost,
.cns-about-btn--ghost:hover,
.cns-about-btn--ghost:focus {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.72) !important;
	color: #fff !important;
}

.cns-about-btn--ghost:hover {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.06) !important;
}

.cns-about-btn:focus-visible {
	outline: 2px solid var(--cns-lime);
	outline-offset: 3px;
}

.cns-about-hero__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0;
	margin: clamp(0.5rem, 2vw, 1.5rem) 0 0;
	padding: 0;
	list-style: none;
}

.cns-about-hero__stats li {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0 1.15rem 0 1rem;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.cns-about-hero__stats li:first-child {
	padding-left: 0;
	border-left: 0;
}

.cns-about-hero__stat-icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--cns-lime);
}

.cns-about-hero__stat-icon svg {
	display: block;
	width: 1.7rem;
	height: 1.7rem;
}

.cns-about-hero__stat-text {
	display: block;
	max-width: 8.5rem;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.88);
}

.cns-about-hero__stat-text strong {
	display: block;
	margin-bottom: 0.08rem;
	font-size: 1.02rem;
	font-weight: 700;
	color: #fff;
}

.cns-about-hero__visual {
	position: relative;
	min-height: 100%;
	isolation: isolate;
}

.cns-about-hero__visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
	filter: grayscale(1) contrast(1.06) brightness(0.92);
}

.cns-about-hero__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		var(--cns-green) 0%,
		rgba(13, 45, 30, 0.72) 16%,
		rgba(13, 45, 30, 0.18) 38%,
		transparent 58%
	);
}

.cns-about-hero__note {
	position: absolute;
	z-index: 2;
	margin: 0;
	font-family: var(--cns-hand);
	font-weight: 600;
	line-height: 1.05;
	pointer-events: none;
}

.cns-about-hero__note--goal {
	top: 8%;
	left: 8%;
	max-width: 12rem;
	color: var(--cns-lime);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	transform: rotate(-7deg);
}

.cns-about-hero__note--field {
	right: 6%;
	top: 46%;
	color: #fff;
	font-size: clamp(1.45rem, 2.3vw, 1.95rem);
	text-align: left;
	transform: rotate(-8deg);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

@media (max-width: 980px) {
	.cns-about-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cns-about-hero__copy {
		padding: 2.25rem 1.25rem 1.5rem;
	}

	.cns-about-hero__visual {
		min-height: 28rem;
	}

	.cns-about-hero__visual::before {
		background: linear-gradient(
			180deg,
			var(--cns-green) 0%,
			rgba(13, 45, 30, 0.35) 14%,
			transparent 32%
		);
	}

	.cns-about-hero__note--goal {
		left: 1.25rem;
		top: 1.25rem;
	}

	.cns-about-hero__note--field {
		right: 1.1rem;
		top: auto;
		bottom: 1.4rem;
	}

	.cns-about-hero__visual img {
		object-position: 22% 12%;
	}

	.cns-about-hero__note--goal {
		top: 0.85rem;
		left: 0.75rem;
		max-width: 9rem;
		font-size: 1.28rem;
	}
}

@media (max-width: 640px) {
	.cns-about-hero__stats li {
		padding-right: 0.75rem;
		padding-left: 0.75rem;
	}

	.cns-about-hero__stat-text {
		max-width: 6.4rem;
		font-size: 0.74rem;
	}

	.cns-about-hero__visual {
		min-height: 28rem;
		padding-top: 6.6rem;
	}

	.cns-about-hero__visual img {
		top: 6.6rem;
		height: calc(100% - 6.6rem);
		object-position: center 22%;
	}

	.cns-about-hero__visual::before {
		top: 6.6rem;
	}

	.cns-about-hero__note--goal {
		top: 0.35rem;
		left: 0.85rem;
		max-width: 12rem;
		font-size: 1.4rem;
	}

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

/* —— Parcours —— */
.cns-about-hero__stat-text { display: block; }
.cns-about-hero__note--goal,
.cns-about-hero__note--field { white-space: pre-line; }

/* QA fix: beat tokens.css .wpcursor-component :is(h1,h2,h3,[class*=__title]) ink */
.wpcursor-component.wpcursor-about-hero .cns-about-hero__title { color: #fff !important; }
.wpcursor-component.wpcursor-about-hero .cns-about-hero__title span { color: var(--cns-lime) !important; }

/* QA fix responsive .cns-about-hero */
@media (max-width: 768px) {
	.cns-about-hero {
		overflow-x: hidden;
	}
	.cns-about-hero__title {
		overflow-wrap: anywhere;
	}
}

