/* =========================================================
   Portfólio BaseCore
   - .bc-vit  → vitrine na página inicial
   - .bc-pg-* → página portfolio.php
   - .bc-pf-* → cards, filtros e detalhe do projeto
   ========================================================= */
.bc-vit, .bc-pg-hero, .bc-pf, .bc-pf-modal, .bc-pg-cta {
	--pf-azul: #323F7C;
	--pf-azul-vivo: #0457EB;
	--pf-azul-claro: #5C6CD6;
	--pf-noite: #0B1030;
	--pf-noite-2: #141B45;
	--pf-titulo: #141D38;
	--pf-texto: #5F6577;
	--pf-linha: #E3E6F0;
	--pf-fundo: #F4F6FB;
	--pf-card: #FFFFFF;
	--pf-raio: 18px;
	--pf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Fundo escuro elegante (vitrine, topo da página, detalhe) ---------- */
.bc-vit, .bc-pg-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(900px 520px at 88% -8%, rgba(4,87,235,.28), transparent 62%),
		radial-gradient(800px 520px at -6% 108%, rgba(92,108,214,.22), transparent 60%),
		linear-gradient(180deg, #0D1336 0%, var(--pf-noite) 100%);
}
.bc-vit::before, .bc-pg-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(900px 560px at 70% 20%, #000, transparent 75%);
	mask-image: radial-gradient(900px 560px at 70% 20%, #000, transparent 75%);
	pointer-events: none;
}
.bc-vit > .container, .bc-pg-hero > .container { position: relative; }

.bc-vit-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--title-font); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
	color: #9FB4FF; margin-bottom: 22px;
}
.bc-vit-kicker img { width: 20px; height: auto; }

/* ---------- Vitrine (página inicial) ---------- */
.bc-vit-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 44px; }
.bc-vit-titulo { color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; font-weight: 700; letter-spacing: -.02em; margin: 0; text-transform: none; }
.bc-vit-titulo em, .bc-pg-titulo em {
	font-style: normal;
	background: linear-gradient(90deg, #8FA8FF 0%, #5C8BFF 45%, #B9C7FF 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.bc-vit-lado p { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; margin: 0 0 24px; }
.bc-vit-btn {
	display: inline-flex; align-items: center; gap: 12px;
	background: #fff; color: var(--pf-noite);
	font-family: var(--title-font); font-weight: 700; font-size: 16px;
	padding: 16px 26px; border-radius: 999px;
	transition: transform .3s var(--pf-ease), box-shadow .3s, background .3s, color .3s;
	box-shadow: 0 14px 34px rgba(4,87,235,.35);
}
.bc-vit-btn:hover { transform: translateY(-2px); background: var(--pf-azul-vivo); color: #fff; }
.bc-vit-btn i { transition: transform .3s var(--pf-ease); }
.bc-vit-btn:hover i { transform: translateX(4px); }

.bc-vit-numeros {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
	background: rgba(255,255,255,.035); backdrop-filter: blur(6px);
	margin-bottom: 34px;
}
.bc-vit-numeros > div { padding: 22px 26px; position: relative; }
.bc-vit-numeros > div + div::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: rgba(255,255,255,.1); }
.bc-vit-numeros strong { display: block; font-family: var(--title-font); font-size: 40px; line-height: 1; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.bc-vit-numeros span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.6); }

.bc-vit-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(2, 250px);
	gap: 18px;
}
.bc-vit-item {
	position: relative; display: block; overflow: hidden;
	border-radius: 20px;
	background: var(--pf-noite-2);
	border: 1px solid rgba(255,255,255,.1);
	isolation: isolate;
	transition: transform .5s var(--pf-ease), box-shadow .5s, border-color .5s;
}
.bc-vit-item.grande { grid-column: span 2; grid-row: span 2; }
.bc-vit-item:hover { transform: translateY(-6px); border-color: rgba(143,168,255,.45); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.bc-vit-img { position: absolute; inset: 0; z-index: -2; }
.bc-vit-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--pf-ease); }
.bc-vit-item:hover .bc-vit-img img { transform: scale(1.05); }
.bc-vit-sombra { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,16,48,0) 25%, rgba(11,16,48,.55) 55%, rgba(11,16,48,.96) 100%); }
.bc-vit-txt { position: absolute; left: 22px; right: 70px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.bc-vit-tag { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(4,87,235,.85); padding: 5px 10px; border-radius: 999px; margin-bottom: 8px; }
.bc-vit-txt strong { font-family: var(--title-font); color: #fff; font-size: 22px; line-height: 1.15; font-weight: 700; }
.bc-vit-item.grande .bc-vit-txt strong { font-size: 34px; }
.bc-vit-sub { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.5; }
.bc-vit-item.grande .bc-vit-sub { font-size: 16px; max-width: 520px; }
.bc-vit-seta { position: absolute; right: 18px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .3s var(--pf-ease); }
.bc-vit-item:hover .bc-vit-seta { background: #fff; color: var(--pf-noite); transform: rotate(45deg); }

.bc-vit-nichos { margin-top: 56px; }
.bc-vit-nichos h3 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 18px; }
.bc-vit-nichos-grade { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.bc-vit-nicho {
	display: flex; align-items: center; gap: 12px;
	padding: 16px 16px; border-radius: 14px;
	border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
	color: #fff; font-family: var(--title-font); font-weight: 600; font-size: 15px; line-height: 1.25;
	transition: background .3s, border-color .3s, transform .3s var(--pf-ease);
}
.bc-vit-nicho i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(4,87,235,.22); color: #9FB4FF; font-size: 15px; transition: background .3s, color .3s; }
.bc-vit-nicho em { margin-left: auto; font-style: normal; font-size: 13px; color: rgba(255,255,255,.55); }
.bc-vit-nicho:hover { background: rgba(255,255,255,.08); border-color: rgba(143,168,255,.4); transform: translateY(-2px); color: #fff; }
.bc-vit-nicho:hover i { background: var(--pf-azul-vivo); color: #fff; }

/* ---------- Página portfolio.php ---------- */
.bc-pg-hero { padding: 190px 0 80px; }
.bc-pg-trilha { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 34px; }
.bc-pg-trilha a { color: rgba(255,255,255,.8); }
.bc-pg-trilha a:hover { color: #fff; }
.bc-pg-trilha i { font-size: 10px; }
.bc-pg-hero-grade { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.bc-pg-titulo { color: #fff; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; margin: 0 0 22px; text-transform: none; }
.bc-pg-lead { color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.7; margin: 0; max-width: 640px; }
.bc-pg-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.bc-pg-numeros > div:nth-child(3)::before { display: none; }
.bc-pg-numeros > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }

.bc-pf { position: relative; background: var(--pf-fundo); }
.bc-pg-lista { padding: 56px 0 100px; }
.bc-pg-barra { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; }
.bc-pg-busca { position: relative; flex: 1 1 380px; max-width: 560px; }
.bc-pg-busca i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--pf-azul); font-size: 16px; pointer-events: none; }
.bc-pg-busca input {
	width: 100%; height: 56px; border-radius: 999px; border: 1px solid var(--pf-linha); background: #fff;
	padding: 0 22px 0 50px; font-size: 16px; color: var(--pf-titulo); box-shadow: 0 6px 20px rgba(27,34,80,.05);
	transition: border-color .25s, box-shadow .25s;
}
.bc-pg-busca input:focus { outline: none; border-color: var(--pf-azul-claro); box-shadow: 0 0 0 4px rgba(92,108,214,.18); }
.bc-pg-dono { display: inline-flex; background: #fff; border: 1px solid var(--pf-linha); border-radius: 999px; padding: 5px; gap: 4px; box-shadow: 0 6px 20px rgba(27,34,80,.05); }
.bc-pg-dono button { border: 0; background: transparent; color: var(--pf-titulo); font-family: var(--title-font); font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.bc-pg-dono button em { font-style: normal; font-size: 12px; color: var(--pf-texto); margin-left: 4px; }
.bc-pg-dono button.ativo { background: var(--pf-noite); color: #fff; }
.bc-pg-dono button.ativo em { color: rgba(255,255,255,.65); }
.bc-pg-resultado { color: var(--pf-texto); font-size: 14px; margin: 0 0 18px; }
.bc-pg-resultado strong { color: var(--pf-titulo); }
.bc-pg-vazio { text-align: center; padding: 70px 20px; color: var(--pf-texto); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bc-pg-vazio[hidden] { display: none; }
.bc-pg-vazio i { font-size: 30px; color: var(--pf-azul-claro); }
.bc-pg-vazio strong { font-size: 20px; color: var(--pf-titulo); font-family: var(--title-font); }
.bc-pg-vazio button { border: 0; background: none; color: var(--pf-azul-vivo); font-weight: 600; padding: 0; text-decoration: underline; cursor: pointer; }

.bc-pg-cta { background: var(--pf-fundo); padding: 0 0 110px; }
.bc-pg-cta-caixa {
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
	padding: 56px 60px; border-radius: 26px; color: #fff;
	background: radial-gradient(700px 360px at 90% 0%, rgba(4,87,235,.45), transparent 60%), linear-gradient(135deg, #1B2250, var(--pf-noite));
}
.bc-pg-cta-caixa h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 0 0 10px; text-transform: none; }
.bc-pg-cta-caixa p { color: rgba(255,255,255,.72); margin: 0; font-size: 17px; }
.bc-pg-cta-botoes { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.bc-pg-cta-botoes .th-btn { margin-top: 0; background: #fff; color: var(--pf-noite); }
.bc-pg-cta-botoes .th-btn:hover { color: #fff; }
.bc-pg-wpp { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-family: var(--title-font); border: 1px solid rgba(255,255,255,.35); padding: 16px 24px; border-radius: 999px; transition: background .3s, border-color .3s; }
.bc-pg-wpp:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* ---------- Filtros por nicho ---------- */
.bc-pf-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.bc-pf-filtro {
	display: inline-flex; align-items: center; gap: 9px;
	border: 1px solid var(--pf-linha); background: var(--pf-card); color: var(--pf-titulo);
	font-family: var(--title-font); font-weight: 600; font-size: 14.5px;
	padding: 9px 15px 9px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap;
	transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.bc-pf-filtro i { color: var(--pf-azul); font-size: 13px; transition: color .25s; }
.bc-pf-filtro em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pf-texto); background: var(--pf-fundo); border-radius: 999px; padding: 2px 8px; transition: background .25s, color .25s; }
.bc-pf-filtro:hover { border-color: rgba(50,63,124,.35); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(27,34,80,.08); }
.bc-pf-filtro.ativo { background: var(--pf-azul); border-color: var(--pf-azul); color: #fff; box-shadow: 0 10px 24px rgba(50,63,124,.28); }
.bc-pf-filtro.ativo i { color: #fff; }
.bc-pf-filtro.ativo em { background: rgba(255,255,255,.18); color: #fff; }
.bc-pf-filtro:focus-visible, .bc-pf-card:focus-visible, .bc-pf-mais button:focus-visible, .bc-pg-dono button:focus-visible, .bc-vit-item:focus-visible, .bc-vit-nicho:focus-visible { outline: 3px solid var(--pf-azul-claro); outline-offset: 3px; }

/* ---------- Grade e cards ---------- */
.bc-pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bc-pf-card {
	display: flex; flex-direction: column; text-align: left;
	background: var(--pf-card); border: 1px solid var(--pf-linha); border-radius: var(--pf-raio);
	padding: 12px 12px 0; cursor: pointer; color: inherit;
	box-shadow: 0 2px 6px rgba(27,34,80,.03);
	transition: transform .45s var(--pf-ease), box-shadow .45s, border-color .45s;
}
.bc-pf-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -18px rgba(27,34,80,.28); border-color: rgba(50,63,124,.25); }
.bc-pf-card.oculto { display: none; }
.bc-pf-card.entrando { animation: bcPfEntra .5s var(--pf-ease) both; }
@keyframes bcPfEntra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.bc-pf-janela { position: relative; border-radius: 11px; overflow: hidden; background: #0F1430; box-shadow: inset 0 0 0 1px rgba(20,29,56,.08); }
.bc-pf-barra { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #EEF0F6; border-bottom: 1px solid #E1E4EE; }
.bc-pf-barra i { width: 8px; height: 8px; border-radius: 50%; background: #CBD0DF; display: block; }
.bc-pf-barra i:nth-child(1) { background: #F26D5B; } .bc-pf-barra i:nth-child(2) { background: #F5BD4F; } .bc-pf-barra i:nth-child(3) { background: #5CC46F; }
.bc-pf-barra span { margin-left: 10px; flex: 1; height: 16px; border-radius: 6px; background: #fff; font-size: 10px; line-height: 16px; color: #8A90A3; padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--body-font); }
.bc-pf-tela { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E9ECF4; }
.bc-pf-tela img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; transition: transform .8s var(--pf-ease); }
.bc-pf-card:hover .bc-pf-tela img { transform: scale(1.035); }
.bc-pf-tela.rola img { transition: object-position 8s cubic-bezier(.45,.05,.35,1); }
.bc-pf-card:hover .bc-pf-tela.rola img { transform: none; object-position: 50% 100%; }
.bc-pf-dica { position: absolute; right: 10px; bottom: 10px; background: rgba(15,20,48,.78); color: #fff; font-size: 11px; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); transition: opacity .3s; pointer-events: none; }
.bc-pf-card:hover .bc-pf-dica { opacity: 0; }
.bc-pf-selo {
	position: absolute; left: 12px; top: 40px; z-index: 2;
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(255,255,255,.95); color: var(--pf-azul);
	font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
	padding: 5px 11px 5px 7px; border-radius: 999px;
	box-shadow: 0 6px 16px rgba(15,20,48,.18); backdrop-filter: blur(6px);
}
.bc-pf-selo img { width: 14px; height: auto; }

.bc-pf-corpo { padding: 20px 8px 0; display: flex; flex-direction: column; flex: 1; }
.bc-pf-nicho { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pf-azul-claro); margin-bottom: 8px; }
.bc-pf-corpo h3 { font-size: 22px; line-height: 1.2; margin: 0 0 6px; color: var(--pf-titulo); font-weight: 700; }
.bc-pf-cliente { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--pf-texto); margin-bottom: 12px; }
.bc-pf-cliente i { color: var(--pf-azul); font-size: 12px; }
.bc-pf-resumo { font-size: 15px; line-height: 1.6; color: var(--pf-texto); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-pf-rodape { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 16px; border-top: 1px dashed var(--pf-linha); }
.bc-pf-tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.bc-pf-tags span { font-size: 11.5px; font-weight: 600; color: var(--pf-azul); background: #EEF0FA; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.bc-pf-ver { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pf-fundo); color: var(--pf-azul); transition: background .3s, color .3s, transform .3s; }
.bc-pf-card:hover .bc-pf-ver { background: var(--pf-azul); color: #fff; transform: rotate(-45deg); }

.bc-pf-mais { display: flex; justify-content: center; margin-top: 46px; }
.bc-pf-carregar {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--pf-noite); color: #fff; border: 0;
	font-family: var(--title-font); font-weight: 600; font-size: 16px;
	padding: 17px 30px; border-radius: 999px; cursor: pointer;
	transition: background .3s, transform .3s;
}
.bc-pf-carregar:hover { background: var(--pf-azul-vivo); transform: translateY(-2px); }
.bc-pf-carregar[hidden] { display: none; }

/* ---------- Detalhe do projeto ---------- */
.bc-pf-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 28px; }
.bc-pf-modal[hidden] { display: none; }
.bc-pf-fundo { position: absolute; inset: 0; background: rgba(8,11,32,.78); backdrop-filter: blur(8px); animation: bcPfFade .3s both; }
@keyframes bcPfFade { from { opacity: 0; } to { opacity: 1; } }
.bc-pf-caixa {
	position: relative; z-index: 1;
	width: min(1260px, 100%); max-height: calc(100vh - 56px);
	background: #fff; border-radius: 24px; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	box-shadow: 0 40px 100px rgba(0,0,0,.45);
	animation: bcPfSobe .45s var(--pf-ease) both;
}
@keyframes bcPfSobe { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
.bc-pf-vitrine {
	position: relative; padding: 34px;
	background: radial-gradient(700px 400px at 20% 0%, rgba(4,87,235,.35), transparent 60%), linear-gradient(160deg, #1B2250 0%, #0B1030 100%);
	display: flex; flex-direction: column; justify-content: center; min-height: 0;
}
.bc-pf-vitrine .bc-pf-janela { box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.bc-pf-vitrine .bc-pf-barra { background: #1F2649; border-bottom-color: #2A325C; }
.bc-pf-vitrine .bc-pf-barra span { background: #2A325C; color: #AEB6D8; }
.bc-pf-rolagem { max-height: min(62vh, 640px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; background: #0F1430; }
.bc-pf-rolagem img { display: block; width: 100%; height: auto; }
.bc-pf-celular { position: absolute; right: 18px; bottom: 22px; width: 150px; border-radius: 26px; padding: 7px; background: #0B0F26; box-shadow: 0 24px 50px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.12); }
.bc-pf-celular img { display: block; width: 100%; border-radius: 20px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.bc-pf-celular[hidden] { display: none; }

.bc-pf-info { padding: 36px 36px 0; overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: #C5CBE0 transparent; }
.bc-pf-info::-webkit-scrollbar { width: 8px; }
.bc-pf-info::-webkit-scrollbar-thumb { background: #C5CBE0; border-radius: 8px; }
.bc-pf-info .bc-pf-nicho { margin-bottom: 10px; }
.bc-pf-info h3 { font-size: 34px; line-height: 1.1; margin: 0 0 6px; color: var(--pf-titulo); font-weight: 800; letter-spacing: -.01em; padding-right: 40px; }
.bc-pf-sub { font-size: 17px; color: var(--pf-azul); font-weight: 600; margin: 0 0 14px; font-family: var(--title-font); }
.bc-pf-info .bc-pf-cliente { margin-bottom: 16px; }
.bc-pf-tecs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--pf-linha); }
.bc-pf-tecs-rotulo { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--pf-texto); }
.bc-pf-info p.bc-pf-texto { color: var(--pf-texto); font-size: 15.5px; line-height: 1.75; margin: 0 0 18px; }
.bc-pf-multi { display: flex; gap: 10px; align-items: center; background: #EEF3FF; color: var(--pf-azul); border: 1px solid #D9E3FF; border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.bc-pf-multi[hidden] { display: none; }
.bc-pf-multi i { color: var(--pf-azul-vivo); }
.bc-pf-info h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pf-titulo); margin: 0 0 12px; font-weight: 700; }
.bc-pf-entregas { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.bc-pf-entregas li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--pf-titulo); line-height: 1.45; }
.bc-pf-entregas li i { color: #fff; background: var(--pf-azul); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; margin-top: 1px; }
.bc-pf-info .bc-pf-tags span { font-size: 12.5px; padding: 5px 10px; }
.bc-pf-acoes { position: sticky; bottom: 0; z-index: 2; margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: #fff; padding: 16px 0 22px; border-top: 1px solid var(--pf-linha); box-shadow: 0 -18px 24px -6px rgba(255,255,255,.95); }
.bc-pf-acoes .th-btn { margin-top: 0; }
.bc-pf-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pf-azul); font-size: 15px; }
.bc-pf-link:hover { color: var(--pf-titulo); }
.bc-pf-link[hidden] { display: none; }

.bc-pf-fechar, .bc-pf-nav { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; transition: background .25s, color .25s, transform .25s; }
.bc-pf-fechar { position: absolute; z-index: 3; top: 16px; right: 16px; background: var(--pf-fundo); color: var(--pf-titulo); }
.bc-pf-fechar:hover { background: var(--pf-titulo); color: #fff; transform: rotate(90deg); }
.bc-pf-navs { position: absolute; left: 24px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
.bc-pf-nav { background: rgba(255,255,255,.12); color: #fff; }
.bc-pf-nav:hover { background: #fff; color: var(--pf-titulo); }
.bc-pf-contador { color: rgba(255,255,255,.65); font-size: 12.5px; align-self: center; margin-left: 6px; }
body.bc-pf-travado { overflow: hidden !important; }
body.bc-pf-travado .scroll-top, body.bc-pf-travado .cursor, body.bc-pf-travado .cursor2 { display: none !important; }

/* O painel de texto rola dentro da janela, com o botão sempre visível */
@media (min-width: 1200px) {
	.bc-pf-info { max-height: calc(100vh - 56px); }
}

/* Telas baixas (notebooks): detalhe mais compacto */
@media (min-width: 1200px) and (max-height: 800px) {
	.bc-pf-caixa { max-height: calc(100vh - 32px); }
	.bc-pf-info { max-height: calc(100vh - 32px); }
	.bc-pf-modal { padding: 16px 28px; }
	.bc-pf-vitrine { padding: 26px; }
	.bc-pf-rolagem { max-height: calc(100vh - 190px); }
	.bc-pf-info { padding: 28px 30px 0; }
	.bc-pf-info h3 { font-size: 28px; }
	.bc-pf-sub { font-size: 15.5px; margin-bottom: 10px; }
	.bc-pf-info .bc-pf-cliente { margin-bottom: 12px; }
	.bc-pf-tecs { padding-bottom: 14px; margin-bottom: 14px; }
	.bc-pf-info p.bc-pf-texto { font-size: 14.5px; line-height: 1.65; margin-bottom: 14px; }
	.bc-pf-multi { margin-bottom: 16px; padding: 9px 12px; font-size: 13px; }
	.bc-pf-entregas { gap: 7px; }
	.bc-pf-entregas li { font-size: 14px; }
	.bc-pf-acoes { padding: 12px 0 16px; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
	.bc-pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bc-vit-head, .bc-pg-hero-grade { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
	.bc-vit-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 340px 220px 220px; }
	.bc-vit-item.grande { grid-row: span 1; }
	.bc-vit-nichos-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bc-pf-caixa { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
	.bc-pf-info { overflow: visible; }
	.bc-pf-rolagem { max-height: 52vh; }
}
@media (max-width: 767px) {
	.bc-pf-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.bc-vit-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bc-vit-numeros > div:nth-child(3)::before { display: none; }
	.bc-vit-numeros > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
	.bc-vit-numeros > div { padding: 18px 18px; }
	.bc-vit-numeros strong { font-size: 32px; }
	.bc-vit-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 240px; }
	.bc-vit-item.grande { grid-column: span 1; }
	.bc-vit-item.grande .bc-vit-txt strong { font-size: 26px; }
	.bc-vit-item.grande .bc-vit-sub { font-size: 14px; }
	.bc-vit-nichos-grade { grid-template-columns: minmax(0, 1fr); }
	.bc-pg-hero { padding: 150px 0 56px; }
	.bc-pg-lead { font-size: 16px; }
	.bc-pg-barra { flex-direction: column; align-items: stretch; }
	.bc-pg-busca { flex: 0 0 auto; max-width: none; }
	.bc-pg-dono { overflow-x: auto; scrollbar-width: none; }
	.bc-pg-dono button { padding: 10px 14px; font-size: 14px; }
	.bc-pf-filtros { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 4px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.bc-pf-filtros::-webkit-scrollbar { display: none; }
	.bc-pg-cta-caixa { padding: 36px 24px; }
	.bc-pf-modal { padding: 0; align-items: stretch; }
	.bc-pf-caixa { display: block; max-height: none; height: 100%; border-radius: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
	.bc-pf-vitrine { padding: 64px 16px 70px; }
	.bc-pf-rolagem { max-height: 46vh; }
	.bc-pf-celular { width: 96px; right: 10px; bottom: 58px; border-radius: 18px; padding: 5px; }
	.bc-pf-celular img { border-radius: 14px; }
	.bc-pf-info { padding: 28px 20px 32px; }
	.bc-pf-info h3 { font-size: 28px; }
	.bc-pf-navs { left: 16px; bottom: 16px; }
	.bc-pf-fechar { position: fixed; top: 12px; right: 12px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
	.bc-pf-corpo h3 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.bc-pf-card, .bc-pf-tela img, .bc-pf-tela.rola img, .bc-pf-caixa, .bc-pf-fundo, .bc-vit-item, .bc-vit-img img { transition: none !important; animation: none !important; }
}

/* Base legal do sistema */
.bc-pf-lei { background: #FFF8E6; border: 1px solid #F3DFA8; border-radius: 12px; padding: 14px 16px; margin: 0 0 22px; }
.bc-pf-lei[hidden] { display: none; }
.bc-pf-lei h4 { margin: 0 0 8px !important; font-size: 15px; display: flex; align-items: center; gap: 8px; color: #7A5300; }
.bc-pf-lei h4 i { color: #B57A00; }
.bc-pf-lei ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.bc-pf-lei li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.45; color: #4A3A12; }
.bc-pf-lei li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #D99A00; }
@media (max-width: 767px) { .bc-pf-lei { padding: 11px 12px; margin-bottom: 16px; } .bc-pf-lei li { font-size: 13px; } }
