/**
 * Section page Sophrologie — Bienfaits + déroulé (2 colonnes).
 * Shortcode : [wpcursor name="sophrologie-bienfaits"]
 */

.wpcursor-sophrologie-bienfaits {
	--wpcursor-sophro-ben-bg: #ffffff;
	--wpcursor-sophro-ben-heading: #4a2d5c;
	--wpcursor-sophro-ben-accent: #e8a598;
	--wpcursor-sophro-ben-body: #5f5f6a;
	--wpcursor-sophro-ben-muted: #7a7a85;
	--wpcursor-sophro-ben-cta: #5e3a71;
	--wpcursor-sophro-ben-cta-hover: #8f689a;
	--wpcursor-sophro-ben-check-bg: #5e3a71;
	--wpcursor-sophro-ben-purple: #5e3a71;
	--wpcursor-sophro-ben-pink: #d48f7f;
	--wpcursor-sophro-ben-teal: #5e9fa3;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
	background: var(--wpcursor-sophro-ben-bg);
	color: var(--wpcursor-sophro-ben-body);
	overflow: hidden;
}

.wpcursor-sophrologie-bienfaits__deco {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.wpcursor-sophrologie-bienfaits__deco--left {
	left: -4%;
	top: 8%;
	width: min(28vw, 220px);
	height: min(55vh, 420px);
	opacity: 0.35;
	background: linear-gradient(135deg, rgba(235, 228, 242, 0.9) 0%, rgba(250, 236, 232, 0.4) 100%);
	border-radius: 58% 42% 48% 52% / 48% 52% 45% 55%;
}

.wpcursor-sophrologie-bienfaits__deco--right {
	right: -3%;
	bottom: 6%;
	width: min(24vw, 180px);
	height: min(50vh, 380px);
	opacity: 0.2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 200' fill='none'%3E%3Cpath d='M70 20c-15 35-20 75-10 110M55 40c-10 25-12 55-5 80M85 50c8 20 10 45 5 65' stroke='%234a2d5c' stroke-width='1.5' stroke-linecap='round' opacity='.25'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center;
}

.wpcursor-sophrologie-bienfaits__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
	gap: clamp(2rem, 4vw, 3.25rem);
	align-items: start;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.wpcursor-sophrologie-bienfaits__col {
	min-width: 0;
}

.wpcursor-sophrologie-bienfaits__col--deroule {
	position: relative;
	padding-left: clamp(1.25rem, 2.5vw, 2rem);
	border-left: 1px solid rgba(74, 45, 92, 0.08);
}

.wpcursor-sophrologie-bienfaits__heading,
.wpcursor-sophrologie-bienfaits__deroule-heading {
	margin: 0;
	font-family: var(--wpcursor-font-title);
	font-size: clamp(1.55rem, 2.6vw, 2rem);
	font-weight: var(--wpcursor-title-weight, 700);
	line-height: 1.2;
	letter-spacing: var(--wpcursor-title-letter-spacing, -0.027em);
	color: var(--wpcursor-sophro-ben-heading);
}

.wpcursor-sophrologie-bienfaits__deroule-heading {
	text-align: center;
}

.wpcursor-sophrologie-bienfaits__divider,
.wpcursor-sophrologie-bienfaits__deroule-divider {
	width: 3.25rem;
	height: 2px;
	margin: 1rem 0 1.15rem;
	border-radius: 999px;
	background: var(--wpcursor-sophro-ben-accent);
}

.wpcursor-sophrologie-bienfaits__deroule-divider {
	margin-left: auto;
	margin-right: auto;
}

.wpcursor-sophrologie-bienfaits__intro {
	margin: 0 0 1.15rem;
	font-family: var(--wpcursor-font-body);
	font-size: clamp(0.92rem, 1.35vw, 1rem);
	font-weight: 400;
	line-height: 1.65;
	color: var(--wpcursor-sophro-ben-body);
}

.wpcursor-sophrologie-bienfaits__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpcursor-sophrologie-bienfaits__item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 0.5rem 0;
}

.wpcursor-sophrologie-bienfaits__item + .wpcursor-sophrologie-bienfaits__item {
	border-top: 1px solid rgba(74, 45, 92, 0.06);
}

.wpcursor-sophrologie-bienfaits__check {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	margin-top: 0.1rem;
	border-radius: 50%;
	background: var(--wpcursor-sophro-ben-check-bg);
	color: #ffffff;
}

.wpcursor-sophrologie-bienfaits__item-text {
	margin: 0;
	font-family: var(--wpcursor-font-body);
	font-size: 0.9rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wpcursor-sophro-ben-heading);
}

.wpcursor-sophrologie-bienfaits__note {
	margin: 1.25rem 0 0;
	padding: 0.85rem 1rem;
	border-left: 3px solid var(--wpcursor-sophro-ben-accent);
	border-radius: 0 10px 10px 0;
	background: rgba(94, 58, 113, 0.04);
	font-family: var(--wpcursor-font-body);
	font-size: 0.82rem;
	font-weight: 400;
	font-style: italic;
	line-height: 1.55;
	color: var(--wpcursor-sophro-ben-muted);
}

.wpcursor-sophrologie-bienfaits__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.65rem, 1.5vw, 1rem);
	align-items: stretch;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	width: 100%;
	box-sizing: border-box;
}

.wpcursor-sophrologie-bienfaits__step {
	position: relative;
	display: flex;
	min-width: 0;
	opacity: 0;
	transform: translateX(-32px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.wpcursor-sophrologie-bienfaits__steps.is-inview .wpcursor-sophrologie-bienfaits__step {
	opacity: 1;
	transform: translateX(0);
}

.wpcursor-sophrologie-bienfaits__steps.is-inview .wpcursor-sophrologie-bienfaits__step:nth-child(1) {
	transition-delay: 0ms;
}

.wpcursor-sophrologie-bienfaits__steps.is-inview .wpcursor-sophrologie-bienfaits__step:nth-child(2) {
	transition-delay: 200ms;
}

.wpcursor-sophrologie-bienfaits__steps.is-inview .wpcursor-sophrologie-bienfaits__step:nth-child(3) {
	transition-delay: 400ms;
}

.wpcursor-sophrologie-bienfaits[data-wpcursor-runtime="admin_preview"] .wpcursor-sophrologie-bienfaits__step {
	opacity: 1;
	transform: none;
}

.wpcursor-sophrologie-bienfaits__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 2.85rem;
	right: calc(-0.5 * clamp(0.65rem, 1.5vw, 1rem) - 0.2rem);
	width: clamp(0.65rem, 1.5vw, 1rem);
	height: 2px;
	border-top: 2px dotted rgba(94, 58, 113, 0.28);
	pointer-events: none;
}

.wpcursor-sophrologie-bienfaits__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	min-height: 100%;
	padding: 1.1rem 0.85rem 1.15rem;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(74, 45, 92, 0.08);
	box-sizing: border-box;
	text-align: center;
}

.wpcursor-sophrologie-bienfaits__badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.75rem;
	height: 3.75rem;
	margin: 0 0 0.85rem;
	border-radius: 50%;
	color: #ffffff;
}

.wpcursor-sophrologie-bienfaits__badge--purple {
	background: var(--wpcursor-sophro-ben-purple);
	box-shadow: 0 6px 18px rgba(94, 58, 113, 0.22);
}

.wpcursor-sophrologie-bienfaits__badge--pink {
	background: var(--wpcursor-sophro-ben-pink);
	box-shadow: 0 6px 18px rgba(212, 143, 127, 0.28);
}

.wpcursor-sophrologie-bienfaits__badge--teal {
	background: var(--wpcursor-sophro-ben-teal);
	box-shadow: 0 6px 18px rgba(94, 159, 163, 0.28);
}

.wpcursor-sophrologie-bienfaits__badge-number {
	position: absolute;
	top: -0.15rem;
	right: -0.15rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	font-family: var(--wpcursor-font-body);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1;
}

.wpcursor-sophrologie-bienfaits__badge-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wpcursor-sophrologie-bienfaits__badge-icon svg,
.wpcursor-sophrologie-bienfaits__badge-icon-image {
	width: 1.55rem;
	height: 1.55rem;
}

.wpcursor-sophrologie-bienfaits__badge-icon-image {
	display: block;
	object-fit: contain;
}

.wpcursor-sophrologie-bienfaits__step-title {
	margin: 0 0 0.65rem;
	font-family: var(--wpcursor-font-body);
	font-size: clamp(0.82rem, 1.2vw, 0.92rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--wpcursor-sophro-ben-heading);
}

.wpcursor-sophrologie-bienfaits__step-index {
	color: var(--wpcursor-sophro-ben-muted);
}

.wpcursor-sophrologie-bienfaits__step-text {
	margin: 0;
	font-family: var(--wpcursor-font-body);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wpcursor-sophro-ben-body);
}

.wpcursor-sophrologie-bienfaits__step-list {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	text-align: left;
}

.wpcursor-sophrologie-bienfaits__step-item {
	position: relative;
	padding: 0.35rem 0 0.35rem 1rem;
	font-family: var(--wpcursor-font-body);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--wpcursor-sophro-ben-body);
}

.wpcursor-sophrologie-bienfaits__step-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.68rem;
	width: 0.3rem;
	height: 0.3rem;
	border-radius: 50%;
	background: var(--wpcursor-sophro-ben-accent);
	opacity: 0.85;
}

.wpcursor-sophrologie-bienfaits__cta-block {
	display: flex;
	justify-content: center;
	margin-top: 1.35rem;
}

.wpcursor-sophrologie-bienfaits__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.82rem 1.35rem;
	border: none;
	border-radius: 999px;
	background: var(--wpcursor-sophro-ben-cta);
	color: #ffffff;
	font-family: var(--wpcursor-font-body);
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(94, 58, 113, 0.22);
	transition: background 0.2s ease, transform 0.15s ease;
}

.wpcursor-sophrologie-bienfaits__cta:hover,
.wpcursor-sophrologie-bienfaits__cta:focus-visible {
	background: var(--wpcursor-sophro-ben-cta-hover);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

.wpcursor-sophrologie-bienfaits__cta-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
}

@media (max-width: 960px) {
	.wpcursor-sophrologie-bienfaits__inner {
		grid-template-columns: 1fr;
		gap: clamp(2.5rem, 6vw, 3.5rem);
	}

	.wpcursor-sophrologie-bienfaits__col--deroule {
		padding-left: 0;
		border-left: none;
		padding-top: clamp(1.5rem, 4vw, 2rem);
		border-top: 1px solid rgba(74, 45, 92, 0.08);
	}

	.wpcursor-sophrologie-bienfaits__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: none;
		margin: 0;
	}
}

@media (max-width: 640px) {
	.wpcursor-sophrologie-bienfaits__col--deroule {
		width: 100%;
	}

	.wpcursor-sophrologie-bienfaits__steps {
		grid-template-columns: minmax(0, 1fr);
		max-width: none;
		width: 100%;
		margin-inline: auto;
	}

	.wpcursor-sophrologie-bienfaits__step {
		transform: translateY(16px);
	}

	.wpcursor-sophrologie-bienfaits__steps.is-inview .wpcursor-sophrologie-bienfaits__step {
		transform: translateY(0);
	}

	.wpcursor-sophrologie-bienfaits__step:not(:last-child)::after {
		display: none;
	}

	.wpcursor-sophrologie-bienfaits__cta-block {
		width: 100%;
	}
}

@media (max-width: 560px) {
	.wpcursor-sophrologie-bienfaits {
		padding: clamp(2.5rem, 7vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
	}

	.wpcursor-sophrologie-bienfaits__cta {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-sophrologie-bienfaits__step {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
