/* Contact shared tokens */
:root {
	--cns-lime: #c8f000;
	--cns-green: #1f3a2a;
	--cns-green-deep: #16291e;
	--cns-ink: #111;
	--cns-muted: rgba(255, 255, 255, 0.78);
	--cns-font: "Poppins", system-ui, sans-serif;
}

.wpcursor-component[class*="wpcursor-contact-"] {
	font-family: var(--cns-font);
	color: var(--cns-ink);
	box-sizing: border-box;
}

.wpcursor-component[class*="wpcursor-contact-"] *,
.wpcursor-component[class*="wpcursor-contact-"] *::before,
.wpcursor-component[class*="wpcursor-contact-"] *::after {
	box-sizing: border-box;
}

/* —— Promise / Section 4 —— */
.cns-contact-promise {
	position: relative;
	background: var(--cns-green);
	color: #fff;
	padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
	overflow: hidden;
}

.cns-contact-promise::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.18;
	background:
		radial-gradient(ellipse 60% 80% at 12% 50%, rgba(255, 255, 255, 0.12), transparent 55%),
		radial-gradient(ellipse 50% 70% at 88% 40%, rgba(0, 0, 0, 0.18), transparent 50%),
		repeating-linear-gradient(
			90deg,
			transparent 0,
			transparent 48px,
			rgba(255, 255, 255, 0.03) 48px,
			rgba(255, 255, 255, 0.03) 50px
		);
}

.cns-contact-promise__inner {
	position: relative;
	z-index: 1;
	max-width: 1120px;
	margin: 0 auto;
}

.cns-contact-promise__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.cns-contact-promise__item {
	padding: 0.5rem clamp(1rem, 2.5vw, 2rem);
	text-align: center;
}

.cns-contact-promise__item:not(:last-child) {
	border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.cns-contact-promise__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1.1rem;
	border-radius: 50%;
	background: var(--cns-lime);
	color: var(--cns-green);
}

.cns-contact-promise__title {
	margin: 0 0 0.65rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.cns-contact-promise__text {
	margin: 0 auto;
	max-width: 18.5rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.cns-contact-promise__quote {
	margin: clamp(2.75rem, 5vw, 3.75rem) 0 0;
	padding: 0;
	text-align: center;
}

.cns-contact-promise__quote blockquote {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.cns-contact-promise__quote blockquote::before,
.cns-contact-promise__quote blockquote::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.35);
}

.cns-contact-promise__quote p {
	margin: 0;
	flex: 0 1 auto;
	max-width: 34rem;
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.45;
	color: #fff;
}

.cns-contact-promise__quote figcaption {
	margin-top: 0.85rem;
	font-size: 0.92rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
	.cns-contact-promise__grid {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}
	.cns-contact-promise__item {
		padding: 0 0.5rem;
	}
	.cns-contact-promise__item:not(:last-child) {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.16);
		padding-bottom: 1.75rem;
	}
	.cns-contact-promise__quote blockquote {
		flex-direction: column;
		gap: 0.85rem;
	}
	.cns-contact-promise__quote blockquote::before,
	.cns-contact-promise__quote blockquote::after {
		width: 3.5rem;
		flex: 0 0 auto;
	}
	.cns-contact-ways,
	.cns-contact-booking,
	.cns-contact-promise,
	.cns-contact-more,
	.cns-contact-faq {
		box-sizing: border-box;
		padding-right: 4rem;
	}
}

/* .wpcursor-contact-promise font lock */
.wpcursor-contact-promise,
.wpcursor-contact-promise p,
.wpcursor-contact-promise li,
.wpcursor-contact-promise h2,
.wpcursor-contact-promise h3,
.wpcursor-contact-promise a,
.wpcursor-contact-promise button,
.wpcursor-contact-promise input,
.wpcursor-contact-promise select,
.wpcursor-contact-promise textarea,
.wpcursor-contact-promise label {
	font-family: "Poppins", system-ui, sans-serif !important;
}

/* Contre les couleurs Elementor sur les titres */
.wpcursor-contact-promise,
.wpcursor-contact-promise .cns-contact-promise__inner {
	color: #fff !important;
}
.wpcursor-contact-promise .cns-contact-promise__title,
.wpcursor-contact-promise h3.cns-contact-promise__title,
.wpcursor-contact-promise h3 {
	color: #fff !important;
	font-weight: 700 !important;
}
.wpcursor-contact-promise .cns-contact-promise__text {
	color: rgba(255, 255, 255, 0.82) !important;
}
.wpcursor-contact-promise .cns-contact-promise__quote p,
.wpcursor-contact-promise .cns-contact-promise__quote blockquote,
.wpcursor-contact-promise .cns-contact-promise__quote figcaption {
	color: #fff !important;
}
