/* ════════════════════════════════════════════════
   bpc-company-header — capa + identidade da empresa
   ════════════════════════════════════════════════ */
.bpc-ch {
	--bpc-ink:    #2b2018;
	--bpc-muted:  #7a6f60;
	--bpc-green:  #2f6b46;
	--bpc-accent: #c8861a;          /* tier ouro (padrão) */
	--bpc-line:   #ece4d8;
	--bpc-avatar: #3a2415;
	--bpc-cover:  #2b1a0e;

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

/* Temas por tier */
.bpc-ch--ouro   { --bpc-accent: #c8861a; --bpc-avatar: #3a2415; --bpc-cover: #2b1a0e; }
.bpc-ch--prata  { --bpc-accent: #8a9ba8; --bpc-avatar: #2a323b; --bpc-cover: #1b2027; }
.bpc-ch--bronze { --bpc-accent: #a0684a; --bpc-avatar: #3a201a; --bpc-cover: #2a1410; }

/* ── Capa ──────────────────────────────────────── */
.bpc-ch__cover {
	position: relative;
	height: 200px;
	border-radius: 18px;
	overflow: hidden;
	background-color: var(--bpc-cover);
	background-size: cover;
	background-position: center;
}
.bpc-ch__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.28) 100%);
}
.bpc-ch__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(255, 248, 230, 0.95);
	color: var(--bpc-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.bpc-ch__caption {
	position: absolute;
	left: 16px;
	bottom: 12px;
	z-index: 1;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.82);
}

/* ── Barra de identidade ───────────────────────── */
.bpc-ch__bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 8px;
	margin-top: -36px;        /* avatar sobe sobre a capa */
}
.bpc-ch__avatar {
	flex-shrink: 0;
	z-index: 2;
	width: 86px;
	height: 86px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	background: var(--bpc-avatar);
	color: #f0c98a;
	font-size: 1.5rem;
	font-weight: 800;
	border: 4px solid #fff;
	overflow: hidden;
}
.bpc-ch__avatar img { width: 100%; height: 100%; object-fit: cover; }

.bpc-ch__id {
	flex: 1;
	min-width: 0;
	padding-top: 40px;        /* alinha o texto abaixo da capa */
}
.bpc-ch__name {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 5px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--bpc-ink);
}
.bpc-ch__tier {
	font-family: inherit;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 999px;
	background: #faf2e0;
	color: var(--bpc-accent);
	border: 1px solid currentColor;
}
.bpc-ch__meta {
	margin: 0;
	font-size: 0.92rem;
	color: var(--bpc-muted);
}
.bpc-ch__cat { color: var(--bpc-accent); font-weight: 700; }
.bpc-ch__status {
	color: var(--bpc-green);
	font-weight: 600;
}
.bpc-ch__status::before {
	content: "●";
	margin-right: 4px;
	font-size: 0.7em;
	vertical-align: middle;
}

/* ── Ações ─────────────────────────────────────── */
.bpc-ch__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 40px;
	flex-shrink: 0;
}
.bpc-ch__wa {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--bpc-green);
	color: #fff;
	font-size: 0.96rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.15s ease;
}
.bpc-ch__wa:hover { background: #25603f; transform: translateY(-1px); color: #fff; }
.bpc-ch__wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.bpc-ch__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--bpc-line);
	background: #fff;
	color: var(--bpc-muted);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.bpc-ch__icon:hover { background: #faf6ee; color: var(--bpc-ink); border-color: var(--bpc-accent); }

/* ── Responsivo ────────────────────────────────── */
@media (max-width: 768px) {
	.bpc-ch__bar { flex-wrap: wrap; gap: 14px; }
	.bpc-ch__id { flex: 1 1 auto; padding-top: 8px; }
	.bpc-ch__actions { width: 100%; padding-top: 4px; }
	.bpc-ch__wa { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
	.bpc-ch__cover { height: 150px; }
	.bpc-ch__bar { margin-top: -30px; }
	.bpc-ch__avatar { width: 70px; height: 70px; font-size: 1.25rem; }
	.bpc-ch__name { font-size: 1.5rem; }
	.bpc-ch__meta { font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
	.bpc-ch__wa, .bpc-ch__icon { transition: none; }
}
