/* Central de Ajuda — extensões do design system (style.css + FAQ passeio) */

.help-center-section {
	padding-top: 8rem;
	padding-bottom: 8rem;
}

.help-center-section .title-with-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 0;
}

.help-center-section .title-with-button h1 {
	font-size: 3.4rem;
	line-height: 120%;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: #1a1a1a;
	margin: 0;
	flex: 1;
}

.help-center-section .help-center-subtitle {
	font-size: 1.6rem;
	line-height: 150%;
	font-weight: 400;
	color: #7a7a7a;
	margin: 1.5rem 0 3rem;
	max-width: 72rem;
}

.help-center-section .back-to-top-btn {
	width: 3.5rem;
	height: 3.5rem;
	flex-shrink: 0;
	background-color: rgba(8, 66, 176, 0.85);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.4rem;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.help-center-section .back-to-top-btn:hover {
	opacity: 1;
}

/* Busca — apenas o campo, sem card ao redor */
.help-center-search-block {
	margin-bottom: 4rem;
	max-width: 75rem;
}

.help-center-search-input-wrapper {
	position: relative;
	display: block;
	width: 100%;
}

.help-center-search-icon {
	position: absolute;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	pointer-events: none;
	font-size: 1.7rem;
	color: #1a1a1a;
	opacity: 0.75;
	transition: color 0.25s ease, opacity 0.25s ease;
}

.help-center-search-input-wrapper:focus-within .help-center-search-icon {
	color: #0842b0;
	opacity: 1;
}

.help-center-search-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 1.5rem 4.5rem 1.5rem 5rem;
	border: none;
	border-radius: 10px;
	font-family: "Lato", sans-serif;
	font-size: 1.6rem;
	color: #1a1a1a;
	background-color: #f2f5fc;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.help-center-search-input:focus {
	background-color: #ffffff;
	outline: none;
	box-shadow: 0 2px 8px rgba(8, 66, 176, 0.1);
}

.help-center-search-input::placeholder {
	color: #7a7a7a;
	font-weight: 400;
}

.help-center-search-input::-webkit-search-cancel-button,
.help-center-search-input::-ms-clear {
	display: none;
}

.help-center-search-meta {
	margin: 1rem 0 0 0.2rem;
	font-size: 1.4rem;
	color: #7a7a7a;
	min-height: 1.4rem;
}

.help-center-search-meta:empty {
	display: none;
}

.help-center-search-clear {
	position: absolute;
	right: 1.2rem;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.8rem;
	height: 2.8rem;
	border: none;
	border-radius: 8px;
	background: #e8edf8;
	color: #0842b0;
	cursor: pointer;
	font-size: 1.3rem;
	z-index: 3;
	transition: background 0.2s ease;
}

.help-center-search-clear.visible {
	display: flex;
}

.help-center-search-clear:hover {
	background: #dce4f5;
}

/* FAQ — mesmo padrão visual das páginas de passeio/transfer */
.help-center-faq-section.faq-section {
	min-height: auto;
	max-width: 127.8rem;
	width: 100%;
	margin: 0 auto 4rem;
	display: flex;
	flex-direction: column;
	padding: 0;
	text-align: start;
}

.help-center-faq-section .faq-title {
	font-size: 3rem;
	text-align: start;
	margin-bottom: 2.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.help-center-faq-section .faq {
	background-color: #f3f2f7;
	min-width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 1.5rem 1.75rem;
	margin-top: 1.25rem;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.help-center-faq-section .faq:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transform: translateY(-1px);
}

.help-center-faq-section .faq.active {
	background-color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.help-center-faq-section .faq-question-title {
	font-size: 1.55rem;
	font-weight: 500;
	line-height: 1.55;
	color: #1a1a1a;
	flex: 1;
	margin: 0;
}

.help-center-faq-section .faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
	opacity: 0;
}

.help-center-faq-section .faq.active .faq-answer {
	grid-template-rows: 1fr;
	opacity: 1;
}

.help-center-faq-section .faq-answer > p {
	overflow: hidden;
	min-height: 0;
	padding-top: 1.6rem;
	padding-left: 0;
	line-height: 1.9;
	font-size: 1.7rem;
	color: #1a1a1a;
	margin: 0;
	font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
	.help-center-faq-section .faq-answer {
		transition: opacity 0.15s ease;
	}
}

.help-center-faq-section .faq-question svg {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	transition: transform 0.25s ease;
	color: #666;
}

.help-center-faq-section .faq.active .faq-question svg {
	transform: rotate(45deg);
	color: #cf2200;
}

.help-center-faq-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 0;
}

.help-center-faq-count {
	font-size: 1.4rem;
	color: #7a7a7a;
	font-weight: 500;
}

.help-center-faq-section button.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 1rem;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
}

.help-center-faq-section button.faq-question:focus-visible {
	outline: 2px solid #0842b0;
	outline-offset: 2px;
	border-radius: 4px;
}

.help-center-faq-section .faq-question-title {
	display: block;
}

.help-center-faq-section .faq.hidden {
	display: none;
}

.help-center-faq-section .faq.fade-out {
	opacity: 0;
	transform: translateY(-4px);
	pointer-events: none;
}

.help-center-empty-state {
	text-align: center;
	padding: 3rem 2rem;
	background: #f3f2f7;
	border-radius: 12px;
	color: #7a7a7a;
	font-size: 1.6rem;
	line-height: 150%;
	margin-top: 1.25rem;
}

.help-center-empty-state-icon {
	display: block;
	font-size: 2.4rem;
	color: #0842b0;
	opacity: 0.35;
	margin-bottom: 1rem;
}

/* Contato — transfer-promo-section */
.help-center-contact.transfer-promo-section {
	margin-top: 2rem;
	margin-bottom: 0;
}

.help-center-contact .transfer-promo-title {
	text-transform: none;
	letter-spacing: -0.02em;
	color: #0842b0;
}

.help-center-whatsapp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	background-color: #25d366;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 120%;
	padding: 1.1rem 2.4rem 1.3rem;
	border: 2px solid #25d366;
	border-radius: 5px;
	text-decoration: none;
	transition: 0.1s ease;
}

.help-center-whatsapp-btn:hover {
	background-color: #20ba5a;
	border-color: #20ba5a;
	color: #fff;
}

.help-center-whatsapp-btn:focus-visible {
	outline: 2px solid #0842b0;
	outline-offset: 2px;
}

.help-center-whatsapp-btn i {
	font-size: 2rem;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media screen and (max-width: 768px) {
	.help-center-section {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.help-center-section .title-with-button h1 {
		font-size: 2.4rem;
	}

	.help-center-section .help-center-subtitle {
		font-size: 1.5rem;
		margin-bottom: 2.5rem;
	}

	.help-center-search-block {
		margin-bottom: 3rem;
	}
}

@media screen and (max-width: 530px) {
	.help-center-section .title-with-button {
		flex-wrap: wrap;
	}

	.help-center-faq-section.faq-section {
		width: 95%;
		padding: 0;
	}

	.help-center-faq-section .faq-title {
		font-size: 2rem;
		margin-bottom: 1.5rem;
	}

	.help-center-faq-section .faq {
		padding: 1.25rem 1.5rem;
	}

	.help-center-faq-section .faq-question-title {
		font-size: 1.35rem;
		line-height: 1.5;
	}

	.help-center-faq-section .faq-answer > p {
		font-size: 1.5rem;
		line-height: 1.8;
	}
}
