/* CNS Coach perte de poids en ligne — pel-rdv */

.cns-pel-rdv {
	--cns-ink: #111;
	--cns-muted: #3d463f;
	--cns-lime: #c8f000;
	--cns-mint: #dcefdc;
	--cns-font: "Poppins", system-ui, sans-serif;
	background: #fff;
	color: var(--cns-ink);
	font-family: var(--cns-font);
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.1rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 3.75rem);
	box-sizing: border-box;
}

.cns-pel-rdv__shell {
	overflow: hidden;
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(210px, 260px);
	gap: clamp(1rem, 2.5vw, 1.75rem);
	align-items: center;
	background: var(--cns-mint);
	border-radius: 1.75rem;
	padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.9rem);
	box-sizing: border-box;
}

.cns-pel-rdv__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	background: #fff;
	color: #111;
	box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
	flex: 0 0 auto;
}

.cns-pel-rdv__copy {
	min-width: 0;
}

.cns-pel-rdv__title {
	margin: 0 0 0.55rem;
	font-size: clamp(1.05rem, 1.7vw, 1.35rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #111;
	max-width: 38rem;
}

.cns-pel-rdv__lead {
	margin: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--cns-muted);
	max-width: 38rem;
}

.cns-pel-rdv__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.78rem 1.35rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: #111;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.cns-pel-rdv__cta:hover,
.cns-pel-rdv__cta:focus {
	transform: translateY(-1px);
	filter: brightness(0.97);
	color: #111;
	text-decoration: none;
}

.cns-pel-rdv__preview {
	justify-self: end;
	width: 100%;
	max-width: 240px;
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	border-radius: 1.15rem;
	transition: transform 0.2s ease;
}

.cns-pel-rdv__preview:hover,
.cns-pel-rdv__preview:focus {
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
	outline: none;
}

.cns-pel-rdv__preview:focus-visible .cns-pel-rdv__cal {
	box-shadow: 0 0 0 3px rgba(200, 240, 0, 0.55), 0 12px 28px rgba(17, 17, 17, 0.08);
}

.cns-pel-rdv__cal {
	background: #fff;
	border-radius: 1.15rem;
	padding: 0.85rem 0.9rem 1rem;
	box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
	pointer-events: none;
}

.cns-pel-rdv__cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.65rem;
	color: #111;
	font-size: 0.82rem;
	font-weight: 700;
}

.cns-pel-rdv__cal-nav {
	width: 1.35rem;
	text-align: center;
	opacity: 0.55;
	font-weight: 600;
}

.cns-pel-rdv__cal-days,
.cns-pel-rdv__cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.2rem;
	text-align: center;
}

.cns-pel-rdv__cal-days {
	margin-bottom: 0.35rem;
	font-size: 0.62rem;
	font-weight: 600;
	color: #6b716c;
}

.cns-pel-rdv__cal-grid span {
	display: grid;
	place-items: center;
	min-height: 1.45rem;
	font-size: 0.68rem;
	font-weight: 600;
	color: #222;
	border-radius: 999px;
}

.cns-pel-rdv__cal-grid span.is-active {
	background: var(--cns-lime);
	color: #111;
	font-weight: 800;
}

.wpcursor-component.wpcursor-pel-rdv .cns-pel-rdv__title,
.wpcursor-component.wpcursor-pel-rdv .cns-pel-rdv__cta {
	color: #111 !important;
}

@media (max-width: 900px) {
	.cns-pel-rdv__shell {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.cns-pel-rdv__preview {
		grid-column: 1 / -1;
		justify-self: start;
		max-width: 280px;
	}
}

@media (max-width: 640px) {
	.cns-pel-rdv {
		padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
	}

	.cns-pel-rdv__shell {
		grid-template-columns: 1fr;
		border-radius: 1.45rem;
		padding: 1.25rem 1.15rem 1.35rem;
	}

	.cns-pel-rdv__icon {
		width: 3.1rem;
		height: 3.1rem;
	}

	.cns-pel-rdv__title {
		overflow-wrap: anywhere;
		max-width: none;
	}

	.cns-pel-rdv__cta {
		width: 100%;
	}

	.cns-pel-rdv__preview {
		max-width: none;
	}
}