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

body.home .elementor-element:has(.cns-home-hero),
body.page-id-3557 .elementor-element:has(.cns-home-hero),
body.home .elementor-top-section:has(.cns-home-hero),
body.page-id-3557 .elementor-top-section:has(.cns-home-hero) {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
}

body.home .elementor-element:has(.cns-home-hero) .elementor-widget-container,
body.page-id-3557 .elementor-element:has(.cns-home-hero) .elementor-widget-container,
body.home .elementor-top-section:has(.cns-home-hero) > .elementor-container,
body.page-id-3557 .elementor-top-section:has(.cns-home-hero) > .elementor-container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

body.home main#content.site-main,
body.page-id-3557 main#content.site-main {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.home .entry-header,
body.page-id-3557 .entry-header,
body.home .entry-title,
body.page-id-3557 .entry-title,
body.home h1:not(.cns-home-hero__title),
body.page-id-3557 h1:not(.cns-home-hero__title) {
	display: none !important;
}

.wpcursor-home-hero,
.wpcursor-home-hero * {
	box-sizing: border-box;
}

.wpcursor-home-hero,
.wpcursor-home-hero p:not(.cns-home-hero__note),
.wpcursor-home-hero h1,
.wpcursor-home-hero a,
.wpcursor-home-hero li,
.wpcursor-home-hero span,
.wpcursor-home-hero strong {
	font-family: "Poppins", system-ui, sans-serif !important;
}

.cns-home-hero {
	--hh-lime: #c8f000;
	--hh-green: #0f2419;
	--hh-green-2: #163528;
	--hh-ink: #fff;
	--hh-muted: rgba(255, 255, 255, 0.78);
	width: 100%;
	margin: 0;
	padding: clamp(7.25rem, 11vw, 9rem) clamp(1.2rem, 4vw, 2.2rem) 0;
	background:
		radial-gradient(ellipse 45% 55% at 82% 35%, rgba(200, 240, 0, 0.08), transparent 58%),
		radial-gradient(ellipse 40% 50% at 8% 20%, rgba(200, 240, 0, 0.05), transparent 55%),
		linear-gradient(160deg, #12281c 0%, var(--hh-green) 45%, #0a1812 100%);
	color: var(--hh-ink);
	overflow: visible;
}

.cns-home-hero__inner {
	position: relative;
	max-width: 1180px;
	margin: 0 auto;
	padding-bottom: clamp(2.8rem, 5vw, 3.6rem);
}

.cns-home-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: end;
}

.cns-home-hero__copy {
	padding-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.cns-home-hero__title {
	margin: 0 0 0.85rem !important;
	font-size: clamp(2.35rem, 5.2vw, 3.85rem) !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.035em;
	color: #fff !important;
}

.cns-home-hero__title span {
	display: inline;
	color: var(--hh-lime) !important;
}

.cns-home-hero__subtitle {
	margin: 0 0 0.65rem;
	max-width: 34rem;
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	font-weight: 600;
	line-height: 1.35;
	color: #fff !important;
}

.cns-home-hero__subtitle span {
	color: var(--hh-lime) !important;
}

.cns-home-hero__location {
	margin: 0 0 1.15rem;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--hh-muted) !important;
}

.cns-home-hero__seo {
	margin: 0 0 1.25rem;
	max-width: 40rem;
}

.cns-home-hero__seo p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82) !important;
}

.cns-home-hero__seo strong {
	color: #fff !important;
	font-weight: 700;
}

.cns-home-hero__tags {
	display: grid;
	grid-template-columns: repeat(3, max-content);
	justify-content: start;
	gap: 0.5rem 0.55rem;
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.cns-home-hero__tags li {
	padding: 0.38rem 0.78rem;
	border: 1px solid rgba(200, 240, 0, 0.55);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	color: #fff !important;
	background: rgba(200, 240, 0, 0.06);
	white-space: nowrap;
}

.cns-home-hero__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 1rem;
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
}

.cns-home-hero__features li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem;
	align-items: center;
	min-width: 0;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.9) !important;
}

.cns-home-hero__feat-icon {
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	color: var(--hh-lime) !important;
	flex-shrink: 0;
}

.cns-home-hero__feat-icon svg {
	width: 1.15rem !important;
	height: 1.15rem !important;
	max-width: none !important;
	display: block !important;
	stroke: currentColor !important;
}

.cns-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.35rem;
}

.cns-home-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.15rem;
	padding: 0.85rem 1.55rem;
	border-radius: 999px;
	background: var(--hh-lime);
	color: #111 !important;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 12px 30px rgba(200, 240, 0, 0.28);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.cns-home-hero__cta:hover,
.cns-home-hero__cta:focus-visible {
	background: #d4ff1a;
	color: #111 !important;
	transform: translateY(-1px);
}

.cns-home-hero__link {
	font-size: 0.92rem;
	font-weight: 600;
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 0.22em;
	text-decoration-thickness: 1.5px;
}

.cns-home-hero__link:hover,
.cns-home-hero__link:focus-visible {
	color: var(--hh-lime) !important;
}

.cns-home-hero__visual {
	position: relative;
	min-height: 28rem;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.cns-home-hero__media-wrap {
	margin: 0;
	width: min(100%, 28rem);
	position: relative;
	z-index: 1;
}

.cns-home-hero__media {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(72vh, 620px);
	object-fit: contain;
	object-position: bottom center;
	filter: grayscale(0.15) contrast(1.05);
}

.cns-home-hero__note {
	position: absolute;
	z-index: 3;
	max-width: 12rem;
	margin: 0;
	font-family: "Caveat", cursive !important;
	font-size: clamp(1.35rem, 2.3vw, 1.75rem) !important;
	font-weight: 700 !important;
	line-height: 1.18 !important;
	color: rgba(255, 255, 255, 0.95) !important;
	text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.cns-home-hero__note--top {
	top: 6%;
	right: -0.2rem;
	transform: rotate(5deg);
	text-align: right;
}

.cns-home-hero__note--mid {
	left: -0.6rem;
	bottom: 40%;
	transform: rotate(-7deg);
	max-width: 11.5rem;
}

.cns-home-hero__badges {
	position: absolute;
	right: 0;
	bottom: 18%;
	z-index: 4;
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	width: min(100%, 13.5rem);
}

.cns-home-hero__badges li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.55rem;
	align-items: center;
	padding: 0.65rem 0.75rem;
	border-radius: 0.75rem;
	background: rgba(10, 22, 16, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
	font-size: 0.72rem;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.88) !important;
}

.cns-home-hero__badges strong {
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff !important;
}

.cns-home-hero__badge-icon {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	color: var(--hh-lime) !important;
}

.cns-home-hero__badge-icon svg {
	width: 1.15rem !important;
	height: 1.15rem !important;
	max-width: none !important;
	display: block !important;
	stroke: currentColor !important;
}

.cns-home-hero__stats {
	position: relative;
	z-index: 8;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0.35rem auto -3.25rem;
	padding: clamp(1.2rem, 2.4vw, 1.65rem) clamp(0.85rem, 2vw, 1.35rem);
	list-style: none;
	max-width: 1180px;
	border-radius: 1.15rem;
	border: 1px solid rgba(200, 240, 0, 0.18);
	background: linear-gradient(165deg, #143024 0%, #0b1711 55%, #08140f 100%);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.cns-home-hero__stats li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.35rem 0.85rem;
	min-width: 0;
}

.cns-home-hero__stats li:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.cns-home-hero__stat-icon {
	display: grid;
	place-items: center;
	width: 1.85rem;
	height: 1.85rem;
	color: var(--hh-lime) !important;
	flex-shrink: 0;
}

.cns-home-hero__stat-icon svg {
	width: 1.45rem !important;
	height: 1.45rem !important;
	max-width: none !important;
	display: block !important;
	stroke: currentColor !important;
}

.cns-home-hero__stat-body {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.cns-home-hero__stat-value {
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--hh-lime) !important;
}

.cns-home-hero__stat-label {
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.3;
	text-transform: lowercase;
	color: rgba(255, 255, 255, 0.8) !important;
}

/* Espace pour le bloc stats qui déborde sur la section suivante */
body.home .elementor-element:has(.cns-home-about),
body.page-id-3557 .elementor-element:has(.cns-home-about),
body.home .elementor-top-section:has(.cns-home-about),
body.page-id-3557 .elementor-top-section:has(.cns-home-about) {
	padding-top: 0 !important;
}

body.home .cns-home-about,
body.page-id-3557 .cns-home-about {
	padding-top: clamp(4.5rem, 8vw, 6rem) !important;
}

@media (max-width: 980px) {
	.cns-home-hero {
		padding-top: 6.5rem;
	}

	.cns-home-hero__tags {
		grid-template-columns: repeat(3, max-content);
	}

	.cns-home-hero__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.cns-home-hero__visual {
		order: -1;
		min-height: 0;
		max-width: 26rem;
		margin: 0 auto;
	}

	.cns-home-hero__note--top {
		right: 4%;
		top: 4%;
	}

	.cns-home-hero__note--mid {
		left: 0;
		bottom: 36%;
	}

	.cns-home-hero__badges {
		right: 0.25rem;
		bottom: 8%;
	}

	.cns-home-hero__stats {
		grid-template-columns: 1fr 1fr;
		margin-bottom: -2.6rem;
		padding: 1.15rem 0.75rem;
	}

	.cns-home-hero__stats li:nth-child(2) {
		border-right: 0;
	}

	.cns-home-hero__stats li:nth-child(1),
	.cns-home-hero__stats li:nth-child(2) {
		padding-bottom: 0.95rem;
		margin-bottom: 0.65rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.cns-home-hero__stat-value {
		font-size: clamp(1.7rem, 5vw, 2.1rem);
	}
}

@media (max-width: 640px) {
	.cns-home-hero {
		padding: 5.6rem 1.1rem 0;
	}

	.cns-home-hero__tags {
		grid-template-columns: repeat(2, max-content);
	}

	.cns-home-hero__features {
		grid-template-columns: 1fr;
	}

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

	.cns-home-hero__cta {
		width: 100%;
	}

	.cns-home-hero__link {
		text-align: center;
	}

	.cns-home-hero__note {
		font-size: 1.25rem !important;
	}

	.cns-home-hero__note--top {
		top: 2%;
		right: 0;
		max-width: 9.5rem;
	}

	.cns-home-hero__note--mid {
		left: 0;
		bottom: 34%;
		max-width: 9rem;
	}

	.cns-home-hero__badges {
		position: static;
		width: 100%;
		margin-top: 0.75rem;
	}

	.cns-home-hero__stats {
		grid-template-columns: 1fr 1fr;
		gap: 0;
		margin-bottom: -2.2rem;
		padding: 1rem 0.55rem;
	}

	.cns-home-hero__stats li,
	.cns-home-hero__stats li:nth-child(1),
	.cns-home-hero__stats li:nth-child(2) {
		border-right: 0;
		border-bottom: 0;
		padding: 0.45rem 0.4rem;
		margin: 0;
	}

	.cns-home-hero__stats li:nth-child(1),
	.cns-home-hero__stats li:nth-child(2) {
		padding-bottom: 0.75rem;
		margin-bottom: 0.45rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.cns-home-hero__stats li:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, 0.12);
	}
}
