/**
 * CSS Dedicado para o Bloco: FAQ / Acordeão
 */

.escs-faq-block {
	width: 100%;
	background-color: #fff;
	border-radius: 0.75rem;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	border: 1px solid #e2e8f0;
	overflow: hidden;
	margin: 1rem 0rem;
}

.escs-faq-header {
	padding: 2rem 2rem 1rem;
}

.escs-faq-label-wrapper {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.escs-faq-label-line {
	height: 0.25rem;
	width: 3rem;
	background-color: var(--cor-primaria, #0056b3);
	border-radius: 9999px;
}

.escs-faq-label-text {
	color: var(--cor-primaria, #0056b3);
	font-weight: 600;
	letter-spacing: 0.05em;
	font-size: 0.875rem;
	text-transform: uppercase;
}

.escs-faq-title {
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: var(--cor-texto-claro, #0d0d0d);
	letter-spacing: -0.025em;
	margin: 0;
}

.escs-faq-body {
	padding: 0 2rem 2rem;
}

.escs-faq-items {
	margin-top: 1rem;
}

/* Estilos herdados do pattern original com melhorias */
.escs-faq-details {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	margin-top: 1rem;
	margin-bottom: 1rem;
	overflow: hidden;
	transition: all 0.3s ease;
}

.escs-faq-details[open] {
	border-color: var(--cor-primaria, #e37d42);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.escs-faq-details summary {
	padding: 1.25rem 1.5rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 3.5rem;
	color: var(--cor-primaria);
	display: block; /* Garante comportamento de bloco */
}

.escs-faq-details summary::-webkit-details-marker {
	display: none;
}

.escs-faq-details summary::after {
	content: "\F2E2"; /* Bootstrap Icon plus-circle or similar if icon font is loaded, using text fallback for now */
	content: "+";
	position: absolute;
	right: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	color: var(--cor-primaria, #e37d42);
	font-weight: 400;
	transition: transform 0.3s ease;
}

.escs-faq-details[open] summary::after {
	content: "-";
	transform: translateY(-50%) rotate(180deg);
}

.escs-faq-content {
	padding: 0 1.5rem 1.5rem 1.5rem;
	border-top: 1px solid transparent;
	transition: all 0.3s ease;
}

.escs-faq-details[open] .escs-faq-content {
	border-top-color: #f0f0f0;
	padding-top: 1rem;
}

.escs-faq-content p {
	margin: 0;
	color: #555;
	line-height: 1.6;
}

.escs-faq-empty-state {
	padding: 2rem;
	text-align: center;
	border: 1px dashed #cbd5e1;
	border-radius: 0.5rem;
	color: #64748b;
	margin-top: 1rem;
}
