/**
 * FAQ Cool Roof — recherche, index, accordéon.
 * Navy #022b60 · orange #fbaf3f · Poppins.
 */
html:has(.wpcursor-faq-hub) {
	overflow-x: clip;
}

.entry-content > .wpcursor-component.wpcursor-faq-hub,
.entry-content[data-ast-blocks-layout] > .wpcursor-component.wpcursor-faq-hub,
.wpcursor-component.wpcursor-faq-hub.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wpcursor-component.wpcursor-faq-hub {
	--sr-navy: #022b60;
	--sr-navy-deep: #011833;
	--sr-orange: #fbaf3f;
	--sr-orange-hover: #e09a2e;
	--sr-bg: #f4f6f8;
	--sr-white: #ffffff;
	--sr-line: rgba(2, 43, 96, 0.12);
	--sr-muted: #5b6b82;
	--sr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--sr-pad: max(1.5rem, env(safe-area-inset-left), env(safe-area-inset-right));
	--sr-content: 76rem;
	background: var(--sr-white);
	box-sizing: border-box;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	width: 100%;
}

.wpcursor-component.wpcursor-faq-hub *,
.wpcursor-component.wpcursor-faq-hub *::before,
.wpcursor-component.wpcursor-faq-hub *::after {
	box-sizing: border-box;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__sr {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/* ---------- Recherche et ancres ---------- */
.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__finder {
	background: var(--sr-bg);
	padding: 1.75rem 0 0;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__finder-inner,
.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__layout {
	margin: 0 auto;
	width: min(var(--sr-content), calc(100% - 2 * var(--sr-pad)));
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__search {
	margin: 0;
	position: relative;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__search-icon {
	color: var(--sr-muted);
	left: 1.15rem;
	pointer-events: none;
	position: absolute;
	top: 1.05rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__input {
	appearance: none;
	background: var(--sr-white);
	border: 1px solid rgba(2, 43, 96, 0.12);
	border-radius: 999px;
	color: var(--sr-navy);
	font-family: var(--sr-font);
	font-size: 1rem;
	line-height: 1.4;
	padding: 0.95rem 1.25rem 0.95rem 3.15rem;
	width: 100%;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__input::placeholder {
	color: #8b97a8;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__input:focus {
	border-color: var(--sr-orange);
	outline: 2px solid var(--sr-orange);
	outline-offset: 2px;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__input::-webkit-search-cancel-button {
	appearance: none;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__suggest {
	background: var(--sr-white);
	border: 1px solid var(--sr-line);
	border-radius: 0.85rem;
	box-shadow: 0 16px 40px rgba(2, 43, 96, 0.08);
	left: 0;
	list-style: none;
	margin: 0.45rem 0 0;
	max-height: 18rem;
	overflow: auto;
	padding: 0.35rem;
	position: absolute;
	right: 0;
	z-index: 5;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__suggest-item,
.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__suggest-empty {
	border-radius: 0.55rem;
	color: var(--sr-navy);
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.4;
	padding: 0.7rem 0.85rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__suggest-empty {
	color: var(--sr-muted);
	cursor: default;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__suggest-item.is-active,
.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__suggest-item:hover {
	background: rgba(251, 175, 63, 0.16);
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__tabs {
	display: flex;
	gap: 0.35rem 1.55rem;
	margin-top: 1.35rem;
	overflow-x: auto;
	padding-bottom: 0;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__tabs::-webkit-scrollbar {
	display: none;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__tab {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	color: var(--sr-muted) !important;
	cursor: pointer;
	flex: 0 0 auto;
	font-family: var(--sr-font);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	padding: 0.85rem 0.1rem 0.95rem;
	text-align: left;
	white-space: nowrap;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__tab.is-active {
	border-bottom-color: var(--sr-orange);
	color: var(--sr-navy) !important;
	font-weight: 600;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__tab:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

/* ---------- Corps ---------- */
.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__body {
	background: var(--sr-white);
	padding: 2.5rem 0 4.5rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__main {
	min-width: 0;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index {
	display: none;
}

.wpcursor-component.wpcursor-faq-hub.is-tabbed .wpcursor-faq-hub__cat:not(.is-current) {
	display: none;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat {
	scroll-margin-top: 6.25rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat + .wpcursor-faq-hub__cat {
	margin-top: 3.5rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat-num {
	color: var(--sr-orange);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 0.35rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat-title {
	color: var(--sr-navy) !important;
	font-family: var(--sr-font);
	font-size: clamp(1.55rem, 2.4vw, 2.05rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.2;
	margin: 0;
	max-width: 18em;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat-rule {
	background: var(--sr-orange);
	display: block;
	height: 2px;
	margin: 0.85rem 0 0.9rem;
	width: 2.75rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat-lead {
	color: var(--sr-muted);
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 0 0 1.35rem;
	max-width: 40rem;
}

.wpcursor-component.wpcursor-faq-hub[data-enhanced="1"] .wpcursor-faq-hub__cat-head {
	opacity: 0;
	transform: translateY(0.7rem);
	transition: opacity 0.55s var(--sr-ease), transform 0.55s var(--sr-ease);
}

.wpcursor-component.wpcursor-faq-hub[data-enhanced="1"] .wpcursor-faq-hub__cat.is-inview .wpcursor-faq-hub__cat-head {
	opacity: 1;
	transform: none;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__item {
	border-top: 1px solid var(--sr-line);
	scroll-margin-top: 6.25rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__list .wpcursor-faq-hub__item:last-child {
	border-bottom: 1px solid var(--sr-line);
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__q {
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__question {
	align-items: flex-start;
	background: transparent;
	border: 0;
	color: var(--sr-navy);
	cursor: pointer;
	display: flex;
	font-family: var(--sr-font);
	gap: 1rem;
	justify-content: space-between;
	padding: 1.05rem 0.15rem;
	text-align: left;
	width: 100%;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__question:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__question-text {
	font-size: clamp(0.98rem, 1.2vw, 1.05rem);
	font-weight: 600;
	line-height: 1.4;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__item.is-open .wpcursor-faq-hub__question-text {
	color: var(--sr-navy);
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__chevron {
	border-bottom: 2px solid var(--sr-navy);
	border-right: 2px solid var(--sr-navy);
	flex: 0 0 auto;
	height: 0.5rem;
	margin-top: 0.4rem;
	transform: rotate(45deg);
	transition: transform 0.25s var(--sr-ease);
	width: 0.5rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__item.is-open .wpcursor-faq-hub__chevron {
	margin-top: 0.55rem;
	transform: rotate(-135deg);
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.32s var(--sr-ease);
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__item.is-open .wpcursor-faq-hub__answer {
	grid-template-rows: 1fr;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__answer-inner {
	min-height: 0;
	overflow: hidden;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__answer p {
	color: var(--sr-muted);
	font-size: 0.96rem;
	line-height: 1.65;
	margin: 0;
	max-width: 44rem;
	padding: 0 2.2rem 1.15rem 0.15rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__more {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__more a {
	color: var(--sr-navy) !important;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--sr-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__more a:hover {
	color: var(--sr-navy-deep) !important;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__more a:focus-visible {
	outline: 2px solid var(--sr-orange);
	outline-offset: 3px;
}

/* ---------- Carte ---------- */
.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__aside {
	margin-top: 2.75rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card {
	background: var(--sr-navy);
	border-radius: 0.35rem;
	color: #fff;
	padding: 1.6rem 1.4rem 1.45rem;
	position: relative;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-mark {
	background: var(--sr-orange);
	display: block;
	height: 2px;
	margin-bottom: 1.1rem;
	transform: rotate(-32deg);
	transform-origin: left center;
	width: 1.35rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-title {
	color: #fff !important;
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.75rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-text {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 1.25rem;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-btn {
	align-items: center;
	background: var(--sr-orange);
	border-radius: 999px;
	color: var(--sr-navy) !important;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 650;
	gap: 0.4rem;
	line-height: 1.2;
	padding: 0.8rem 1.15rem;
	text-decoration: none !important;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-btn:hover {
	background: var(--sr-orange-hover);
	color: var(--sr-navy) !important;
}

.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (min-width: 1100px) {
	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__layout {
		align-items: start;
		display: grid;
		gap: 2.5rem 2.25rem;
		grid-template-columns: 12.5rem minmax(0, 1fr) 16.75rem;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index,
	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__aside {
		position: sticky;
		top: 5.75rem;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__aside {
		margin-top: 0;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index {
		display: block;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__progress {
		color: var(--sr-muted);
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.08em;
		margin: 0 0 1.15rem;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__progress [data-sr-faq-current] {
		color: var(--sr-navy);
		font-size: 0.95rem;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__progress-sep {
		margin: 0 0.2rem;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-list {
		list-style: none;
		margin: 0;
		padding: 0 0 0 0.15rem;
		position: relative;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-list::before {
		background: var(--sr-line);
		bottom: 0.6rem;
		content: "";
		left: 0.42rem;
		position: absolute;
		top: 0.55rem;
		width: 1px;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-link {
		align-items: center;
		background: transparent;
		border: 0;
		color: var(--sr-muted) !important;
		cursor: pointer;
		display: grid;
		font-family: var(--sr-font);
		gap: 0.15rem 0.45rem;
		grid-template-columns: 0.7rem auto 1fr;
		padding: 0.42rem 0;
		position: relative;
		text-align: left;
		width: 100%;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-dot {
		background: var(--sr-white);
		border: 2px solid #c5ced8;
		border-radius: 50%;
		height: 0.7rem;
		margin-top: 0.2rem;
		position: relative;
		width: 0.7rem;
		z-index: 1;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-link.is-active {
		color: var(--sr-navy) !important;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-link.is-active .wpcursor-faq-hub__index-dot {
		background: var(--sr-orange);
		border-color: var(--sr-orange);
		box-shadow: 0 0 0 4px rgba(251, 175, 63, 0.2);
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-num {
		font-size: 0.72rem;
		font-weight: 600;
		letter-spacing: 0.02em;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-label {
		font-size: 0.9rem;
		font-weight: 500;
		line-height: 1.3;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-link.is-active .wpcursor-faq-hub__index-label {
		font-weight: 650;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__index-link:focus-visible {
		outline: 2px solid var(--sr-orange);
		outline-offset: 3px;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__next {
		background: transparent;
		border: 0;
		color: var(--sr-muted) !important;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		font-family: var(--sr-font);
		font-size: 0.68rem;
		font-weight: 650;
		gap: 0.35rem;
		letter-spacing: 0.12em;
		line-height: 1.35;
		margin-top: 1.75rem;
		max-width: 9rem;
		padding: 0;
		text-align: left;
		text-transform: uppercase;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__next[hidden] {
		display: none;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__next span {
		color: var(--sr-orange);
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__next:focus-visible {
		outline: 2px solid var(--sr-orange);
		outline-offset: 3px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__cat-head,
	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__answer,
	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__chevron,
	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__card-btn {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.wpcursor-component.wpcursor-faq-hub .wpcursor-faq-hub__item.is-open .wpcursor-faq-hub__chevron {
		transform: rotate(-135deg);
	}
}
