/**
 * FAQ premium — landing vitrine Troyes (no deps).
 */
.ws-faq-section {
	background: #0b0b0b;
	padding: clamp(48px, 8vw, 96px) 0;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ws-faq-section__inner {
	max-width: 800px;
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 28px);
}

.ws-faq-section__title {
	margin: 0 0 12px;
	font-size: clamp(1.4rem, 3.5vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	letter-spacing: -0.02em;
}

.ws-faq-section__intro {
	margin: 0 0 clamp(28px, 5vw, 40px);
	font-size: clamp(0.95rem, 2.2vw, 1.05rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
	max-width: 54ch;
}

.ws-faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ws-faq-item {
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.02);
	overflow: hidden;
	transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.ws-faq-item:hover {
	border-color: rgba(255, 41, 208, 0.35);
	background: rgba(255, 255, 255, 0.04);
}

.ws-faq-item.is-open {
	border-color: rgba(255, 41, 208, 0.55);
	box-shadow: 0 0 0 1px rgba(255, 41, 208, 0.12);
	background: rgba(255, 255, 255, 0.035);
}

.ws-faq-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 18px 20px;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: #ffffff;
	border-radius: 14px;
	min-height: 56px;
	-webkit-tap-highlight-color: transparent;
}

.ws-faq-trigger:focus {
	outline: none;
}

.ws-faq-trigger:focus-visible {
	outline: 2px solid #ff29d0;
	outline-offset: 3px;
}

.ws-faq-trigger__text {
	flex: 1;
	font-size: clamp(0.95rem, 2.1vw, 1.05rem);
	font-weight: 600;
	line-height: 1.45;
	padding-right: 8px;
}

.ws-faq-trigger__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255, 41, 208, 0.12);
	transition: background 0.28s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.ws-faq-item.is-open .ws-faq-trigger__icon {
	background: rgba(255, 41, 208, 0.22);
}

.ws-faq-trigger__icon svg {
	width: 14px;
	height: 14px;
	display: block;
	color: #ff29d0;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.ws-faq-item.is-open .ws-faq-trigger__icon svg {
	transform: rotate(180deg);
}

.ws-faq-panel {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition:
		grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.28s ease;
}

.ws-faq-item.is-open .ws-faq-panel {
	grid-template-rows: 1fr;
	opacity: 1;
}

.ws-faq-panel__inner {
	overflow: hidden;
	min-height: 0;
}

.ws-faq-answer {
	margin: 0;
	padding: 0 20px 20px;
	font-size: clamp(0.9rem, 2vw, 1rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.75);
	max-width: 65ch;
}

@media (max-width: 480px) {
	.ws-faq-trigger {
		padding: 16px 16px;
	}

	.ws-faq-answer {
		padding: 0 16px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws-faq-item,
	.ws-faq-trigger__icon,
	.ws-faq-trigger__icon svg,
	.ws-faq-panel {
		transition: none;
	}
}
