/* CNS Coach sportif à distance — csd-faq (FAQ + transformations + RDV) */

.cns-csd-faq {
	--cns-ink: #111;
	--cns-muted: #555;
	--cns-lime: #c8f000;
	--cns-mint: #e8f5e9;
	--cns-mint-soft: #f0f8f1;
	--cns-green: #12281c;
	--cns-font: "Poppins", system-ui, sans-serif;
	background: #fff;
	color: var(--cns-ink);
	font-family: var(--cns-font);
	padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.75rem);
	box-sizing: border-box;
}

.cns-csd-faq__inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.75rem, 4vw, 2.75rem);
	align-items: start;
	box-sizing: border-box;
	min-width: 0;
}

/* —— FAQ (gauche) —— */
.cns-csd-faq__left {
	min-width: 0;
	max-width: 100%;
}

.cns-csd-faq__title {
	margin: 0 0 clamp(1.15rem, 2.5vw, 1.65rem);
	font-size: clamp(1.4rem, 2.4vw, 1.95rem);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.03em;
	color: #111;
	max-width: 22rem;
}

.cns-csd-faq__list {
	display: grid;
	gap: 0.7rem;
}

.cns-csd-faq__item {
	margin: 0;
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.1);
	border-radius: 1rem;
	overflow: hidden;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.cns-csd-faq__item[open] {
	background: var(--cns-mint);
	border-color: transparent;
}

.cns-csd-faq__question {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.75rem 0.9rem;
	padding: 1rem 1.1rem;
	cursor: pointer;
	list-style: none;
	color: #111;
}

.cns-csd-faq__question::-webkit-details-marker {
	display: none;
}

.cns-csd-faq__question::marker {
	content: "";
}

.cns-csd-faq__mark-wrap,
.cns-csd-faq__toggle-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cns-csd-faq__mark-wrap {
	width: 1.85rem;
	height: 1.85rem;
}

.cns-csd-faq__toggle-wrap {
	width: 1.1rem;
	height: 1.1rem;
}

.cns-csd-faq__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	flex-shrink: 0;
	color: #111;
}

.cns-csd-faq__mark--check {
	display: none;
	background: #fff;
	border: 1.5px solid rgba(17, 17, 17, 0.2);
	color: #1f3a2a;
}

.cns-csd-faq__mark--plus {
	background: #fff;
	border: 1.5px solid rgba(17, 17, 17, 0.55);
}

.cns-csd-faq__item[open] .cns-csd-faq__mark--check {
	display: inline-flex;
}

.cns-csd-faq__item[open] .cns-csd-faq__mark--plus {
	display: none;
}

.cns-csd-faq__q {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
}

.cns-csd-faq__toggle {
	flex-shrink: 0;
	color: #333;
}

.cns-csd-faq__toggle--minus {
	display: none;
	align-items: center;
	justify-content: center;
}

.cns-csd-faq__toggle--chev {
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid #333;
	border-bottom: 2px solid #333;
	transform: rotate(-45deg);
	margin-right: 0.15rem;
}

.cns-csd-faq__item[open] .cns-csd-faq__toggle--minus {
	display: inline-flex;
}

.cns-csd-faq__item[open] .cns-csd-faq__toggle--chev {
	display: none;
}

.cns-csd-faq__answer {
	padding: 0 1.1rem 1.1rem 3.75rem;
}

.cns-csd-faq__answer p {
	margin: 0 0 0.65rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--cns-muted);
}

.cns-csd-faq__answer p:last-child {
	margin-bottom: 0;
}

/* —— Droite —— */
.cns-csd-faq__right {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2rem);
	min-width: 0;
	max-width: 100%;
}

.cns-csd-faq__transf {
	min-width: 0;
	max-width: 100%;
}

.cns-csd-faq__transf-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 0.9rem;
}

.cns-csd-faq__transf-title {
	margin: 0;
	font-size: clamp(1.15rem, 1.9vw, 1.45rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #111;
	max-width: 18rem;
}

.cns-csd-faq__transf-nav {
	display: inline-flex;
	gap: 0.4rem;
	flex-shrink: 0;
}

.cns-csd-faq__transf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	border: 1px solid rgba(17, 17, 17, 0.14);
	background: #fff;
	color: #111;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
	touch-action: manipulation;
}

.cns-csd-faq__transf-btn:hover:not(:disabled),
.cns-csd-faq__transf-btn:focus-visible {
	background: var(--cns-mint);
	border-color: transparent;
	outline: none;
}

.cns-csd-faq__transf-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.cns-csd-faq__transf-viewport {
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	outline: none;
	touch-action: pan-y;
}

.cns-csd-faq__transf-track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.85rem;
	transition: transform 0.35s ease;
	will-change: transform;
}

.cns-csd-faq__card {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 0.95rem;
	overflow: hidden;
	background: var(--cns-green);
	box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

.cns-csd-faq__media {
	margin: 0;
	aspect-ratio: 1 / 1;
	background: #0c1c14;
	overflow: hidden;
	display: grid;
	place-items: center;
	min-width: 0;
}

.cns-csd-faq__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center;
}

.cns-csd-faq__badge {
	margin: 0;
	padding: 0.65rem 0.5rem;
	text-align: center;
	background: var(--cns-green);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
}

/* —— RDV —— */
.cns-csd-faq__rdv {
	scroll-margin-top: 6.5rem;
}

.cns-csd-faq__rdv-shell {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(160px, 200px);
	gap: 0.9rem 1rem;
	align-items: center;
	background: #fff;
	border-radius: 1.35rem;
	padding: 1.15rem 1.2rem;
	box-shadow: 0 14px 36px rgba(17, 17, 17, 0.08);
	border: 1px solid rgba(17, 17, 17, 0.06);
	box-sizing: border-box;
}

.cns-csd-faq__rdv-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.1rem;
	height: 3.1rem;
	border-radius: 999px;
	background: var(--cns-mint-soft);
	color: #111;
	flex: 0 0 auto;
}

.cns-csd-faq__rdv-copy {
	min-width: 0;
}

.cns-csd-faq__rdv-title {
	margin: 0 0 0.45rem;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #111;
}

.cns-csd-faq__rdv-lead {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #5c5c5c;
}

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

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

.cns-csd-faq__rdv-preview {
	justify-self: end;
	width: 100%;
	max-width: 200px;
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	border-radius: 1rem;
	transition: transform 0.2s ease;
}

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

.cns-csd-faq__rdv-preview:focus-visible .cns-csd-faq__cal {
	box-shadow: 0 0 0 3px rgba(200, 240, 0, 0.55), 0 10px 24px rgba(17, 17, 17, 0.08);
}

.cns-csd-faq__cal {
	background: #f7faf6;
	border-radius: 1rem;
	padding: 0.7rem 0.75rem 0.85rem;
	box-shadow: 0 8px 20px rgba(17, 17, 17, 0.06);
	pointer-events: none;
}

.cns-csd-faq__cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	color: #111;
	font-size: 0.72rem;
	font-weight: 700;
}

.cns-csd-faq__cal-nav {
	width: 1.1rem;
	text-align: center;
	opacity: 0.5;
}

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

.cns-csd-faq__cal-days {
	margin-bottom: 0.25rem;
	font-size: 0.52rem;
	font-weight: 600;
	color: #6b716c;
}

.cns-csd-faq__cal-grid span {
	display: grid;
	place-items: center;
	min-height: 1.2rem;
	font-size: 0.58rem;
	font-weight: 600;
	color: #222;
	border-radius: 999px;
}

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

/* Anti-tokens */
.wpcursor-component.wpcursor-csd-faq .cns-csd-faq__title,
.wpcursor-component.wpcursor-csd-faq .cns-csd-faq__q,
.wpcursor-component.wpcursor-csd-faq .cns-csd-faq__transf-title,
.wpcursor-component.wpcursor-csd-faq .cns-csd-faq__rdv-title,
.wpcursor-component.wpcursor-csd-faq .cns-csd-faq__rdv-cta {
	color: #111 !important;
}

.wpcursor-component.wpcursor-csd-faq .cns-csd-faq__badge {
	color: #fff !important;
}

@media (max-width: 1024px) {
	.cns-csd-faq__rdv-shell {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.cns-csd-faq__rdv-preview {
		grid-column: 1 / -1;
		justify-self: start;
		max-width: 240px;
	}
}

@media (max-width: 900px) {
	.cns-csd-faq__inner {
		grid-template-columns: 1fr;
	}

	.cns-csd-faq__title {
		max-width: none;
	}

	.cns-csd-faq__answer {
		padding-left: 1.1rem;
	}

	.cns-csd-faq__transf-title {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.cns-csd-faq__rdv-shell {
		grid-template-columns: 1fr;
		padding: 1.1rem 1rem 1.2rem;
	}

	.cns-csd-faq__rdv-cta {
		width: 100%;
	}

	.cns-csd-faq__rdv-preview {
		max-width: none;
	}

	.cns-csd-faq__q {
		overflow-wrap: anywhere;
	}
}