@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

.wpcursor-cns-footer,
.wpcursor-cns-footer * {
	box-sizing: border-box;
}

.wpcursor-cns-footer,
.wpcursor-cns-footer p,
.wpcursor-cns-footer a,
.wpcursor-cns-footer li,
.wpcursor-cns-footer span,
.wpcursor-cns-footer nav {
	font-family: "Poppins", system-ui, sans-serif !important;
}

/* Le shortcode vit DANS le footer Elementor Theme Builder : ne pas le masquer.
   On neutralise seulement le chrome Elementor autour du composant. */
.elementor-location-footer:has(.cns-ft),
.elementor-location-footer:has(.cns-ft) > .elementor-section,
.elementor-location-footer:has(.cns-ft) .elementor-container,
.elementor-location-footer:has(.cns-ft) .elementor-column,
.elementor-location-footer:has(.cns-ft) .elementor-widget-wrap,
.elementor-location-footer:has(.cns-ft) .elementor-widget,
.elementor-location-footer:has(.cns-ft) .elementor-widget-container,
.elementor-location-footer:has(.cns-ft) .elementor-shortcode {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.elementor-location-footer:has(.cns-ft) {
	display: block !important;
}

.cns-ft {
	--csl-lime: #c8f000;
	--csl-ink: #111;
	position: relative;
	width: 100%;
	margin: 0;
	padding: clamp(2.8rem, 5vw, 4rem) clamp(1.2rem, 4vw, 2.4rem) 1.4rem;
	color: #fff;
	background-color: #0b1711;
	background-image: var(--cns-ft-bg, url("https://coachnutrisport.fr/wp-content/uploads/2026/10/coachnutrisport-fond-footer-filigrane.webp"));
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: cover;
	overflow: hidden;
}

.cns-ft__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
}

.cns-ft__grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(1.6rem, 3vw, 2.6rem);
	align-items: start;
}

.cns-ft__logo {
	display: inline-flex;
	margin: 0 0 1rem;
	text-decoration: none;
}

.cns-ft__logo img {
	display: block;
	width: auto;
	height: 5.2rem;
	max-width: 16.5rem;
	object-fit: contain;
}

.cns-ft__tagline {
	margin: 0 0 1.25rem;
	max-width: 22rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.86) !important;
}

.cns-ft__meta {
	display: grid;
	gap: 0.7rem;
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.cns-ft__meta li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem;
	align-items: start;
	font-size: 0.88rem;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92) !important;
}

.cns-ft__meta-icon {
	display: grid;
	place-items: center;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.1rem;
	color: var(--csl-lime);
}

.cns-ft__meta-icon svg,
.cns-ft__meta-icon svg path,
.cns-ft__meta-icon svg circle {
	fill: none !important;
	stroke: currentColor !important;
}

.cns-ft__phone {
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.15;
	color: var(--csl-lime) !important;
	text-decoration: none !important;
	letter-spacing: -0.02em;
}

.cns-ft__phone:hover {
	color: #e4ff66 !important;
}

.cns-ft__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0 0 1.15rem;
}

.cns-ft__social-btn {
	display: grid;
	place-items: center;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 50%;
	background: var(--csl-lime);
	color: #111 !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.cns-ft__social-btn:hover {
	background: #d4ff1a;
	transform: translateY(-1px);
}

.cns-ft__social-btn svg {
	display: block;
}

.cns-ft__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 3.1rem;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	background: var(--csl-lime);
	color: #111 !important;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(200, 240, 0, 0.25);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.cns-ft__cta:hover {
	background: #d4ff1a;
	transform: translateY(-1px);
}

.cns-ft__cta-icon {
	display: grid;
	place-items: center;
	color: #111;
}

.cns-ft__cta-icon svg,
.cns-ft__cta-icon svg path,
.cns-ft__cta-icon svg rect {
	fill: none !important;
	stroke: currentColor !important;
}

.cns-ft__cta-arrow {
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 700;
}

.cns-ft__heading {
	position: relative;
	margin: 0 0 1.1rem !important;
	padding-bottom: 0.55rem;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--csl-lime) !important;
}

.cns-ft__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2.1rem;
	height: 2px;
	background: var(--csl-lime);
}

.cns-ft__links {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cns-ft__links a {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.cns-ft__links a span {
	color: var(--csl-lime) !important;
	font-weight: 700;
	line-height: 1.2;
}

.cns-ft__links a:hover {
	color: var(--csl-lime) !important;
}

.cns-ft__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-top: 2.2rem;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cns-ft__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
}

.cns-ft__legal a {
	font-size: 0.84rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88) !important;
	text-decoration: none !important;
}

.cns-ft__legal a:hover {
	color: var(--csl-lime) !important;
}

.cns-ft__sep {
	color: rgba(255, 255, 255, 0.35);
	font-size: 0.84rem;
}

.cns-ft__copy {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78) !important;
}

@media (max-width: 1100px) {
	.cns-ft__grid {
		grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
	}

	.cns-ft__col--blog {
		grid-column: 2 / span 2;
	}
}

@media (max-width: 820px) {
	.cns-ft__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cns-ft__brand {
		grid-column: 1 / -1;
	}

	.cns-ft__col--blog {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.cns-ft {
		padding: 2.2rem 1.1rem 1.2rem;
		background-position: 70% bottom;
	}

	.cns-ft__grid {
		grid-template-columns: 1fr;
		gap: 1.8rem;
	}

	.cns-ft__brand {
		grid-column: auto;
	}

	.cns-ft__cta {
		width: 100%;
	}

	.cns-ft__bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.cns-ft__phone {
		font-size: 1.25rem;
	}
}

/* Fix site-wide : scroll horizontal mobile (PowerPack Dual Heading en nowrap) */
@media (max-width: 767px) {
	.pp-dual-heading,
	.pp-dual-heading .pp-first-text,
	.pp-dual-heading .pp-second-text {
		max-width: 100% !important;
		width: auto !important;
		white-space: normal !important;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.elementor-widget-pp-dual-heading,
	.pp-dual-heading-block,
	.elementor-element.pp-dual-heading-block {
		max-width: 100% !important;
		overflow-x: clip;
	}
}
