/* ===========================================================
// Central de Ajuda — Estilos específicos
=========================================================== */
/* ===========================================================
// Hero
=========================================================== */
.help-hero {
	padding: 100px 0 60px;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}
.help-hero-inner {
	max-width: 680px;
	margin: 0 auto;
	text-align: center;
}
.help-hero-title {
	font-size: clamp(28px, 5vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--text);
	margin: 12px 0 16px;
}
.help-hero-desc {
	font-size: 17px;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 32px;
}
/* ===========================================================
// Search
=========================================================== */
.help-search-wrap {
	max-width: 520px;
	margin: 0 auto;
}
.help-search {
	position: relative;
	display: flex;
	align-items: center;
}
.help-search-icon {
	position: absolute;
	left: 16px;
	color: var(--text-subtle);
	pointer-events: none;
}
.help-search input {
	width: 100%;
	padding: 14px 16px 14px 48px;
	border: 1.5px solid var(--border-strong);
	border-radius: var(--radius);
	background: var(--bg-card);
	font-family: var(--font);
	font-size: 15px;
	color: var(--text);
	outline: none;
	transition: border-color 0.2s;
}
.help-search input:focus {
	border-color: var(--primary);
}
.help-search input::placeholder {
	color: var(--text-subtle);
}
/* ===========================================================
// Nav Cards (atalhos de seção)
=========================================================== */
.help-nav-section {
	padding-top: 40px;
	padding-bottom: 0;
}
.help-nav-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 20px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
	text-decoration: none;
}
.help-nav-card:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 16px rgba(18, 104, 223, 0.1);
	transform: translateY(-2px);
}
.help-nav-icon {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-light);
	color: var(--primary);
	border-radius: var(--radius);
	margin-bottom: 4px;
}
.help-nav-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
}
.help-nav-desc {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.5;
}
/* ===========================================================
// Seção Sobre
=========================================================== */

.help-about-desc {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.75;
	max-width: 720px;
}
/* Perfis de usuário */
.help-profile-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 24px;
}
.help-profile-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.help-profile-badge.admin {
	background: var(--primary-light);
	color: var(--primary);
}
.help-profile-badge.staff {
	background: rgba(22, 163, 74, 0.12);
	color: #15803d;
}
.help-profile-badge.client {
	background: rgba(217, 119, 6, 0.12);
	color: #b45309;
}
.help-profile-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 8px;
}
.help-profile-desc {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 16px;
}
.help-profile-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.help-profile-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
}
.help-profile-list li svg {
	color: var(--primary);
	flex-shrink: 0;
}
/* ===========================================================
// Jornadas (passos numerados)
=========================================================== */
.help-journeys {
	background: var(--bg-card);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.help-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 24px;
	counter-reset: none;
	list-style: none;
}
.help-step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--border);
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.6;
}
.help-step:last-child {
	border-bottom: none;
}
.help-step strong {
	color: var(--text);
}
.help-step-num {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-light);
	color: var(--primary);
	font-size: 13px;
	font-weight: 700;
	border-radius: 50%;
	margin-top: 1px;
}
/* ===========================================================
// FAQ — Abas horizontais
=========================================================== */
/* Barra de abas */
.faq-tabs {
	display: flex;
	justify-content: space-between;
	gap: 0;
	border-bottom: 2px solid var(--border);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	margin-bottom: 32px;
}
.faq-tabs::-webkit-scrollbar {
	display: none;
}
.faq-tab {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	scroll-snap-align: start;
	transition: color 0.15s, border-color 0.15s;
	background: none;
	cursor: pointer;
}
.faq-tab:hover {
	color: var(--text);
}
.faq-tab.active {
	color: var(--primary);
	border-bottom-color: var(--primary);
}
.faq-tab svg {
	flex-shrink: 0;
}
/* Painéis */
.faq-panel {
	display: none;
}
.faq-panel.active {
	display: block;
}
/* Modo busca — mostra todos os painéis, esmaece abas */
.faq-tabs.search-mode .faq-tab {
	opacity: 0.4;
	pointer-events: none;
}
.faq-panel.search-visible {
	display: block;
}
/* Grupo de FAQ */
.help-faq-group {
	scroll-margin-top: 90px;
}
.help-faq-group-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.help-faq-group-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-light);
	color: var(--primary);
	border-radius: var(--radius);
	flex-shrink: 0;
}
.help-faq-group-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--text);
}
[data-panel] .help-faq-group-header {
	display: none;
}
/* Itens do FAQ (accordion) */
.faq-list {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-card);
}
.faq-item {
	border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
	border-bottom: none;
}
.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	transition: background 0.15s;
}
.faq-question:hover {
	background: var(--bg-card-hover);
}
.faq-question[aria-expanded="true"] {
	color: var(--primary);
}
.faq-chevron {
	flex-shrink: 0;
	color: var(--text-subtle);
	transition: transform 0.2s;
}
.faq-question[aria-expanded="true"] .faq-chevron {
	transform: rotate(180deg);
	color: var(--primary);
}
.faq-answer {
	display: none;
	padding: 0 20px 18px;
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.75;
}
.faq-answer.open {
	display: block;
}
.faq-answer p+p {
	margin-top: 10px;
}
.faq-list-styled {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-left: 4px;
}
.faq-list-styled li {
	display: flex;
	align-items: baseline;
	gap: 6px;
	font-size: 14px;
	color: var(--text-muted);
}
.faq-list-styled li::before {
	content: "–";
	color: var(--text-subtle);
	flex-shrink: 0;
}
/* Status badges no FAQ */
.faq-status-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}
.faq-status-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--text-muted);
}
.status-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 999px;
	flex-shrink: 0;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.status-badge.pending {
	background: rgba(217, 119, 6, 0.12);
	color: #b45309;
}
.status-badge.processed {
	background: rgba(22, 163, 74, 0.12);
	color: #15803d;
}
.status-badge.archived {
	background: rgba(100, 116, 139, 0.12);
	color: #475569;
}
/* ===========================================================
// CTA de suporte
=========================================================== */
.help-cta {
	padding: 80px 0;
	background: var(--bg-card);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.help-cta-inner {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}
.help-cta-icon {
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-light);
	color: var(--primary);
	border-radius: var(--radius-lg);
	margin: 0 auto 20px;
}
.help-cta-title {
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 700;
	color: var(--text);
	margin-bottom: 12px;
}
.help-cta-desc {
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 28px;
}
.help-cta-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}
/* ===========================================================
// Search highlight
=========================================================== */
.faq-highlight {
	background: rgba(18, 104, 223, 0.12);
	color: var(--primary);
	border-radius: 3px;
	padding: 0 2px;
}
/* Ocultar item ao filtrar por busca */
.faq-item.hidden {
	display: none;
}
/* ===========================================================
// Scroll margin para âncoras com navbar fixa
=========================================================== */
[id] {
	scroll-margin-top: 80px;
}
/* ===========================================================
// Responsivo
=========================================================== */
@media (max-width: 991px) {
	button.faq-tab {
		font-size: 12px;
		font-weight: 500;
	}
}
@media (max-width: 768px) {
	.help-hero {
		padding: 80px 0 48px;
	}
	.help-hero-title {
		font-size: clamp(24px, 7vw, 36px);
	}
	.help-nav-section {
		padding-top: 32px;
	}
}