/**
 * Section page Sophrologie — FAQ SEO.
 * Shortcode : [wpcursor name="sophrologie-faq"]
 */

.wpcursor-sophrologie-faq {
	--wpcursor-sophro-faq-bg: #ffffff;
	--wpcursor-sophro-faq-heading: #4a2d5c;
	--wpcursor-sophro-faq-accent: #e8a598;
	--wpcursor-sophro-faq-body: #5f5f6a;
	--wpcursor-sophro-faq-border: rgba(74, 45, 92, 0.1);

	box-sizing: border-box;
	width: 100%;
	padding: clamp(4.5rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2rem);
	background: var(--wpcursor-sophro-faq-bg);
	color: var(--wpcursor-sophro-faq-body);
	overflow: hidden;
}

.wpcursor-sophrologie-faq__inner {
	max-width: 1180px;
	margin: 0 auto;
	box-sizing: border-box;
}

.wpcursor-sophrologie-faq__header {
	margin: 0 0 clamp(2rem, 4vw, 2.75rem);
	text-align: center;
}

.wpcursor-sophrologie-faq__heading {
	margin: 0;
	font-family: var(--wpcursor-font-title);
	font-size: clamp(1.65rem, 3vw, 2.2rem);
	font-weight: var(--wpcursor-title-weight, 700);
	line-height: 1.22;
	letter-spacing: var(--wpcursor-title-letter-spacing, -0.027em);
	color: var(--wpcursor-sophro-faq-heading);
}

.wpcursor-sophrologie-faq__divider {
	width: 3.25rem;
	height: 2px;
	margin: 1.15rem auto 0;
	border-radius: 999px;
	background: var(--wpcursor-sophro-faq-accent);
}

.wpcursor-sophrologie-faq__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.55fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}

.wpcursor-sophrologie-faq__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	align-items: start;
}

.wpcursor-sophrologie-faq__column {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
}

.wpcursor-sophrologie-faq__item {
	border: 1px solid var(--wpcursor-sophro-faq-border);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 4px 18px rgba(74, 45, 92, 0.04);
	overflow: hidden;
}

.wpcursor-sophrologie-faq__question-wrap {
	margin: 0;
}

.wpcursor-sophrologie-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.95rem 1rem;
	border: none;
	background: transparent;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
}

.wpcursor-sophrologie-faq__question:hover,
.wpcursor-sophrologie-faq__question:focus-visible {
	outline: none;
	background: rgba(94, 58, 113, 0.03);
}

.wpcursor-sophrologie-faq__question-text {
	font-family: var(--wpcursor-font-body);
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wpcursor-sophro-faq-heading);
}

.wpcursor-sophrologie-faq__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: rgba(235, 228, 242, 0.7);
	color: #7a5f96;
	transition: transform 0.2s ease-out, background 0.2s ease-out;
}

.wpcursor-sophrologie-faq__question[aria-expanded="true"] .wpcursor-sophrologie-faq__icon {
	transform: rotate(45deg);
	background: rgba(232, 165, 152, 0.25);
	color: #9a5f52;
}

.wpcursor-sophrologie-faq__answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 1rem;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.wpcursor-sophrologie-faq__answer--open {
	max-height: 24rem;
	padding: 0 1rem 1rem;
}

.wpcursor-sophrologie-faq__answer-text {
	margin: 0;
	font-family: var(--wpcursor-font-body);
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--wpcursor-sophro-faq-body);
}

.wpcursor-sophrologie-faq__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

.wpcursor-sophrologie-faq__blob {
	position: absolute;
	top: 10%;
	right: 0;
	width: min(100%, 220px);
	height: min(100%, 220px);
	border-radius: 58% 42% 48% 52% / 48% 52% 45% 55%;
	background: linear-gradient(135deg, rgba(250, 236, 232, 0.95) 0%, rgba(235, 228, 242, 0.55) 100%);
	opacity: 0.9;
}

.wpcursor-sophrologie-faq__figure,
.wpcursor-sophrologie-faq__illustration {
	position: relative;
	z-index: 1;
	width: min(100%, 200px);
	height: auto;
	opacity: 0.88;
}

.wpcursor-sophrologie-faq__illustration {
	object-fit: contain;
}

@media (max-width: 960px) {
	.wpcursor-sophrologie-faq__layout {
		grid-template-columns: 1fr;
	}

	.wpcursor-sophrologie-faq__visual {
		display: none;
	}
}

@media (max-width: 720px) {
	.wpcursor-sophrologie-faq__columns {
		grid-template-columns: 1fr;
	}
}

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

@media (prefers-reduced-motion: reduce) {
	.wpcursor-sophrologie-faq__answer {
		transition: none;
	}

	.wpcursor-sophrologie-faq__icon {
		transition: none;
	}
}
