/* ════════════════════════════════════════════════
   bpc-faq-accordion — FAQ com <details>/<summary>
   ════════════════════════════════════════════════ */
.bpc-faq {
	--bpc-ink:     #2b2018;
	--bpc-muted:   #6a6053;
	--bpc-coral:   #e0623d;
	--bpc-line:    #ece4d8;
	--bpc-card-bg: #ffffff;

	box-sizing: border-box;
	width: 100%;
	max-width: 820px;
	margin-inline: auto;
}
.bpc-faq *, .bpc-faq *::before, .bpc-faq *::after { box-sizing: border-box; }

.bpc-faq__title {
	margin: 0 0 32px;
	text-align: center;
	font-size: clamp(1.7rem, 3.6vw, 2.4rem);
	font-weight: 800;
	color: var(--bpc-ink);
}

.bpc-faq__list { display: flex; flex-direction: column; gap: 16px; }

/* ── Item ──────────────────────────────────────── */
.bpc-faq__item {
	background: var(--bpc-card-bg);
	border: 1px solid var(--bpc-line);
	border-radius: 16px;
	box-shadow: 0 6px 22px rgba(43, 32, 24, 0.05);
	overflow: hidden;
}
.bpc-faq__item[open] {
	background: #fcf8ef;
	border-color: #ecddc2;
}

/* ── Pergunta (summary) ────────────────────────── */
.bpc-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 24px 26px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.bpc-faq__q::-webkit-details-marker { display: none; }
.bpc-faq__q-txt {
	font-size: 1.18rem;
	font-weight: 700;
	color: var(--bpc-ink);
	line-height: 1.35;
}
.bpc-faq__item:focus-within .bpc-faq__q-txt { text-decoration: none; }
.bpc-faq__q:focus-visible { outline: 3px solid var(--bpc-coral); outline-offset: -3px; border-radius: 16px; }

/* ── Ícone +/− ─────────────────────────────────── */
.bpc-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ece4d8;
	transition: background 0.2s ease;
}
.bpc-faq__icon::before,
.bpc-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--bpc-muted);
	border-radius: 2px;
	transition: transform 0.25s ease, background 0.2s ease, opacity 0.2s ease;
}
.bpc-faq__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }       /* — */
.bpc-faq__icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }       /* | */

.bpc-faq__item[open] .bpc-faq__icon { background: var(--bpc-coral); }
.bpc-faq__item[open] .bpc-faq__icon::before,
.bpc-faq__item[open] .bpc-faq__icon::after { background: #fff; }
.bpc-faq__item[open] .bpc-faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }   /* vira − */

/* ── Resposta ──────────────────────────────────── */
.bpc-faq__a {
	padding: 0 26px 26px;
}
.bpc-faq__a p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--bpc-muted);
}

/* ── Responsivo ────────────────────────────────── */
@media (max-width: 600px) {
	.bpc-faq__title { margin-bottom: 24px; }
	.bpc-faq__q { padding: 20px; gap: 12px; }
	.bpc-faq__q-txt { font-size: 1.05rem; }
	.bpc-faq__a { padding: 0 20px 20px; }
	/* Ícone +/- não encolhe e fica alinhado ao topo da pergunta longa */
	.bpc-faq__icon { width: 30px; height: 30px; align-self: flex-start; }
	.bpc-faq__q { align-items: flex-start; }
}

/* ── Acessibilidade — sem animação ─────────────── */
@media (prefers-reduced-motion: reduce) {
	.bpc-faq__icon::before,
	.bpc-faq__icon::after { transition: none; }
}
