/* —— Comment ça se passe —— */

.cns-dom-how {
	background: #fff;
	padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
	scroll-margin-top: 130px;
}

.cns-dom-how__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.cns-dom-how__head {
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cns-dom-how__title {
	margin: 0 0 0.7rem;
	max-width: 18em;
	font-size: clamp(1.6rem, 2.7vw, 2.15rem);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: -0.028em;
	color: var(--cns-ink);
}

.cns-dom-how__title-accent {
	color: #9cc000;
}

.cns-dom-how__lead {
	margin: 0;
	max-width: 36rem;
	font-size: 1.02rem;
	line-height: 1.55;
	color: #5a5a5a;
}

.cns-dom-how__body {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(15rem, 0.7fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
	align-items: end;
}

.cns-dom-how__steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.cns-dom-how__step {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 1.2rem 1.05rem 1.3rem;
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.07);
	border-radius: 0.55rem 1.55rem 0.55rem 1.55rem;
	box-shadow: 0 12px 28px rgba(17, 17, 17, 0.05);
}

.cns-dom-how__step:not(:last-child)::after {
	content: none;
}

.cns-dom-how__step-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.95rem;
}

.cns-dom-how__num {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #9cc000;
}

.cns-dom-how__icon {
	display: inline-flex;
	color: var(--cns-ink);
}

.cns-dom-how__step-title {
	margin: 0 0 0.65rem;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--cns-ink);
}

.cns-dom-how__step-text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.5;
	color: #666;
}

.cns-dom-how__coach {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cns-dom-how__hand {
	position: absolute;
	top: -0.35rem;
	right: -0.2rem;
	z-index: 2;
	max-width: 9.5rem;
	margin: 0;
	font-family: "Caveat", cursive;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--cns-ink);
	transform: rotate(5deg);
	text-align: right;
}

.cns-dom-how__hand-arrow {
	display: block;
	margin: 0.1rem auto 0 0;
	color: #9cc000;
}

.cns-dom-how__photo {
	position: relative;
	margin: 0;
	width: min(100%, 18rem);
}

.cns-dom-how__photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	filter: contrast(1.04);
}

.cns-dom-how__spark {
	position: absolute;
	top: 8%;
	left: 4%;
	width: 1.6rem;
	height: 1.6rem;
	background:
		linear-gradient(#9cc000, #9cc000) center / 100% 2px no-repeat,
		linear-gradient(#9cc000, #9cc000) center / 2px 100% no-repeat,
		linear-gradient(#9cc000, #9cc000) center / 70% 2px no-repeat;
	transform: rotate(18deg);
	opacity: 0.9;
	pointer-events: none;
}

.cns-dom-how__spark::before,
.cns-dom-how__spark::after {
	content: "";
	position: absolute;
	background: #9cc000;
	border-radius: 999px;
}

.cns-dom-how__spark::before {
	width: 0.85rem;
	height: 2px;
	top: -0.55rem;
	left: 0.35rem;
	transform: rotate(-28deg);
}

.cns-dom-how__spark::after {
	width: 0.65rem;
	height: 2px;
	bottom: -0.45rem;
	right: 0.2rem;
	transform: rotate(32deg);
}

.cns-dom-how__caption {
	margin-top: 0.65rem;
	text-align: center;
}

.cns-dom-how__caption strong {
	display: block;
	font-family: "Caveat", cursive;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1;
	color: var(--cns-ink);
}

.cns-dom-how__caption span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	font-weight: 500;
	color: #666;
}

@media (max-width: 1100px) {
	.cns-dom-how__steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 980px) {
	.cns-dom-how__body {
		grid-template-columns: 1fr;
		align-items: stretch;
	}

	.cns-dom-how__coach {
		order: -1;
		max-width: 18rem;
		margin: 0 auto 0.5rem;
	}

	.cns-dom-how__hand {
		right: 0;
		top: 0;
	}
}

@media (max-width: 600px) {
	.cns-dom-how__steps {
		grid-template-columns: 1fr;
	}

	.cns-dom-how__step:not(:last-child)::after {
		content: none;
	}

	.cns-dom-how__step {
		border-radius: 0.85rem 1.35rem 0.85rem 1.35rem;
	}
}

/* Anti-tokens.css — fond clair */
.wpcursor-component.wpcursor-domicile-how :is(h1,h2,h3,[class*="__title"],[class*="__name"],[class*="__card-title"],[class*="__step-title"],[class*="__faq-title"],[class*="__faq-text"]) {
	color: #111 !important;
	text-decoration: none !important;
}
.wpcursor-component.wpcursor-domicile-how [class*="__title-accent"],
.wpcursor-component.wpcursor-domicile-how [class*="__hook-accent"],
.wpcursor-component.wpcursor-domicile-how [class*="__card-accent"] {
	color: #9cc000 !important;
}
.wpcursor-component.wpcursor-domicile-how a.cns-dom-btn { text-decoration: none !important; }