/* ════════════════════════════════════════════════
   bpc-how-it-works — passos horizontais "Como funciona"
   ════════════════════════════════════════════════ */
.bpc-hiw {
	--bpc-ink:     #2b2018;
	--bpc-muted:   #7a6f60;
	--bpc-green:   #2f6b46;
	--bpc-line:    #ece4d8;
	--bpc-card-bg: #ffffff;

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

/* ── Cabeçalho ─────────────────────────────────── */
.bpc-hiw__head { text-align: center; margin-bottom: 40px; }
.bpc-hiw__eyebrow {
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bpc-green);
}
.bpc-hiw__title {
	margin: 0 auto 14px;
	max-width: 640px;
	font-size: clamp(1.7rem, 3.6vw, 2.4rem);
	line-height: 1.16;
	font-weight: 800;
	color: var(--bpc-ink);
}
.bpc-hiw__subtitle {
	margin: 0 auto;
	max-width: 560px;
	font-size: 1.04rem;
	line-height: 1.55;
	color: var(--bpc-muted);
}

/* ── Passos ────────────────────────────────────── */
.bpc-hiw__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	counter-reset: bpc-hiw;
}
.bpc-hiw__step {
	position: relative;
	padding: 32px 28px;
	background: var(--bpc-card-bg);
	border: 1px solid var(--bpc-line);
	border-radius: 20px;
	box-shadow: 0 8px 30px rgba(43, 32, 24, 0.05);
}

/* Linha conectora entre os passos (desktop) */
.bpc-hiw__step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 56px;
	right: -24px;
	width: 24px;
	height: 2px;
	background: repeating-linear-gradient(90deg, #d8ccb8 0 6px, transparent 6px 11px);
}

.bpc-hiw__num {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--bpc-green);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 800;
	box-shadow: 0 6px 16px rgba(47, 107, 70, 0.28);
}
.bpc-hiw__step-title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--bpc-ink);
}
.bpc-hiw__step-desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--bpc-muted);
}

/* ── Responsivo ────────────────────────────────── */
@media (max-width: 820px) {
	.bpc-hiw__steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
	.bpc-hiw__step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
	.bpc-hiw__head { margin-bottom: 28px; }
	.bpc-hiw__step { padding: 26px 22px; }
	.bpc-hiw__num { width: 42px; height: 42px; margin-bottom: 14px; }
}
