/**
 * DROPE Store — blocos da home
 *
 * DIREÇÃO
 * -------
 * Editorial quente, na mesma família visual da página do Drope CRM: papel
 * creme em vez de branco, tipografia display grande e apertada, e o laranja
 * usado como *pontuação* — marca-texto, tarja, régua — nunca como enchimento.
 *
 * A home anterior falhou porque vestiu a paleta do painel: cinza sobre branco.
 * Painel é ferramenta e some para dar lugar ao dado. Home é vitrine e precisa
 * ter temperatura.
 *
 * ASSINATURA
 * ----------
 * O marca-texto laranja inclinado sob a segunda linha do título, e a régua de
 * grão sobre todo o fundo. É o que a página deve ser lembrada por; o resto
 * fica quieto para não competir.
 *
 * TIPOGRAFIA
 * ----------
 *   Bricolage Grotesque  títulos (variável em `opsz` — o mesmo arquivo serve
 *                        o h1 de 58px e o h3 de 17px sem afrouxar)
 *   Manrope              texto corrido
 *   JetBrains Mono       versão, cota, rótulo técnico. Número em mono não
 *                        dança entre estados e dá o tom de ferramenta.
 *
 * MOVIMENTO
 * ---------
 * Entrada sempre `animation … both` ou `forwards` — nunca `opacity:0`
 * esperando classe de JavaScript. Com o cache adiando o script a página
 * ficaria em branco até o primeiro clique; já aconteceu na página de produto.
 *
 * ESPECIFICIDADE
 * --------------
 * O kit do Elementor traz `.elementor-kit-250808 a { color:#0084B4 }` (0,2,0),
 * que ganha de qualquer `.hb-btn` (0,1,0) e pinta os botões de azul. Por isso
 * todo link daqui é escrito como `.hb a.classe` (0,2,1) — vence sem !important.
 */

/* ============================================================
 * Tokens
 * ============================================================ */

.hb {
	/* Papel, não tela. É o que tira a página do "tudo branco". */
	--hb-bg: #fbf6ec;
	--hb-bg-warm: #f5ecdb;
	--hb-surface: #fffdf9;
	--hb-surface-2: #fff4dd;

	/*
	 * O escuro da página é o MESMO do rodapé do site (#222). A chamada final
	 * encosta no footer; com um carvão mais fundo aparecia uma emenda entre as
	 * duas faixas, como se fossem dois sites colados. Igualando a cor, a página
	 * termina no rodapé sem costura.
	 * Creme sobre #222 dá 14:1 — sobra contraste.
	 */
	--hb-deep: #222;
	--hb-deep-2: #1a1a1a;

	/*
	 * Texto puxado para o marrom, não para o azul. Cinza neutro sobre creme
	 * lê como sujeira; um preto levemente quente assenta no papel.
	 * Contraste medido: text 17,9:1 · dim 8,3:1 · muted 4,6:1 sobre --hb-bg.
	 */
	--hb-text: #100b08;
	--hb-dim: #4d423a;
	--hb-muted: #75695e;

	--hb-accent: #ff7e01;
	--hb-accent-hover: #ff8e1c;
	--hb-accent-deep: #b45309;
	--hb-accent-soft: #ffe4c2;
	--hb-accent-bg: #fff1de;

	/*
	 * Verde de dinheiro: o que já está garantido, incluso, resolvido.
	 * --hb-money é tom de ícone (3:1 basta); --hb-money-ink é a versão que
	 * carrega texto e precisa dos 4,5:1.
	 */
	--hb-money: #0f9d58;
	--hb-money-ink: #0a7040;
	--hb-money-bg: #e6f7ed;
	--hb-warn: #b4231c;
	--hb-warn-bg: #fdf0ee;

	/*
	 * Texto sobre o laranja é quase-preto. Branco sobre #ff7e01 dá 2,6:1 e
	 * reprova AA em qualquer tamanho; #1a0f06 dá 7,2:1 e mantém a cor exata.
	 */
	--hb-on-accent: #1a0f06;

	--hb-line: rgba(16, 11, 8, 0.09);
	--hb-line-2: rgba(16, 11, 8, 0.16);

	/* Sombras com o marrom do papel dentro — sombra cinza sobre creme suja. */
	--hb-sh-sm: 0 1px 2px rgba(16, 11, 8, 0.04), 0 4px 12px rgba(16, 11, 8, 0.04);
	--hb-sh: 0 4px 12px rgba(16, 11, 8, 0.06), 0 24px 48px rgba(16, 11, 8, 0.06);
	--hb-sh-lg: 0 10px 30px rgba(16, 11, 8, 0.08), 0 40px 80px rgba(16, 11, 8, 0.09);
	--hb-sh-accent: 0 16px 40px -16px rgba(255, 126, 1, 0.55);

	--hb-r-sm: 8px;
	--hb-r: 14px;
	--hb-r-lg: 20px;
	--hb-r-xl: 26px;
	--hb-pill: 999px;

	--hb-pad: clamp(52px, 5.6vw, 88px);

	/*
	 * As três chegam pelas fontes customizadas do Elementor. A reserva é
	 * San Francisco, a fonte padrão do site — se o Google Fonts falhar, a
	 * página cai no que o resto do site já usa, não numa Arial genérica.
	 */
	--hb-display: "Bricolage Grotesque", "San Francisco", -apple-system, BlinkMacSystemFont, sans-serif;
	--hb-body: "Manrope", "San Francisco", -apple-system, BlinkMacSystemFont, sans-serif;
	--hb-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	box-sizing: border-box;
	position: relative;
	z-index: 0;
	padding: var(--hb-pad) 20px;
	background: var(--hb-bg);
	color: var(--hb-text);
	font-family: var(--hb-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Uma seção depois da outra respira menos no topo: o espaço entre duas delas
 * é a SOMA do padding de baixo da primeira com o de cima da segunda. Com o
 * mesmo valor dos dois lados, a emenda chegava a 236px e abria um buraco no
 * meio da página.
 *
 * A faixa de números é exceção: ela encosta no herói de propósito e traz o
 * próprio padding zerado.
 */
.hb + .hb:not(.hb-trust) {
	padding-top: clamp(30px, 3vw, 46px);
}

.hb *,
.hb *::before,
.hb *::after {
	box-sizing: border-box;
}

/*
 * Grão. Uma folha de ruído em SVG por cima de tudo, em multiply — é o que
 * impede o creme de parecer um retângulo de tinta digital.
 */
.hb::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.05;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hb-wrap {
	position: relative;
	z-index: 2;
	max-width: 1240px;
	margin: 0 auto;
	width: 100%;
}

.hb [hidden] { display: none !important; }

.hb img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hb-i {
	width: 1em;
	height: 1em;
	flex: none;
}

/* ============================================================
 * Movimento
 * ============================================================ */

@keyframes hb-rise {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: none; }
}

@keyframes hb-in {
	from { opacity: 0; transform: translateY(14px) scale(0.985); }
	to   { opacity: 1; transform: none; }
}

@keyframes hb-pulse-dot {
	0%, 100% { box-shadow: 0 0 0 0 var(--hb-accent-bg); }
	50%      { box-shadow: 0 0 0 7px transparent; }
}

@keyframes hb-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-12px); }
}

@keyframes hb-sweep { to { left: 118%; } }

/* ============================================================
 * Tipografia
 * ============================================================ */

.hb-head {
	max-width: 760px;
	margin: 0 0 clamp(38px, 4.5vw, 60px);
	animation: hb-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	max-width: none;
}

.hb-head h2,
.hb-upd-txt h2,
.hb-cta h2 {
	margin: 0 0 14px;
	font-family: var(--hb-display);
	font-size: clamp(2rem, 4.4vw, 3.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.038em;
	font-variation-settings: "opsz" 72;
	text-wrap: balance;
	color: var(--hb-text);
}

.hb-head p {
	margin: 0;
	font-size: clamp(15px, 1.5vw, 17.5px);
	line-height: 1.6;
	color: var(--hb-dim);
	max-width: 60ch;
}

/* Eyebrow: mono, caixa alta, com o ponto pulsando. Tom de status, não de título. */
.hb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 15px 7px 11px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-pill);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh-sm);
	font-family: var(--hb-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hb-dim);
	white-space: nowrap;
}

.hb-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--hb-pill);
	background: var(--hb-accent-bg);
	border: 1px solid var(--hb-accent-soft);
	color: var(--hb-accent-deep);
	font-family: var(--hb-mono);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.hb-tag .hb-i { width: 13px; height: 13px; }

.hb-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hb-accent);
	flex: none;
	box-shadow: 0 0 0 4px var(--hb-accent-bg);
	animation: hb-pulse-dot 2s ease-in-out infinite;
}

.hb-empty {
	margin: 0;
	padding: 56px 20px;
	text-align: center;
	color: var(--hb-muted);
	font-size: 15px;
	border: 1px dashed var(--hb-line-2);
	border-radius: var(--hb-r-lg);
}

/* ============================================================
 * Botões
 * ============================================================
 * Sempre `.hb a.hb-btn` — ver a nota de especificidade no topo.
 */

.hb a.hb-btn,
.hb .hb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: var(--hb-pill);
	background: var(--hb-surface);
	color: var(--hb-text);
	font-family: var(--hb-body);
	font-size: 0.97rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.25s ease,
		border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.hb .hb-btn .hb-i {
	width: 17px;
	height: 17px;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hb a.hb-btn--lg,
.hb .hb-btn--lg {
	min-height: 56px;
	padding: 17px 30px;
	font-size: 1.02rem;
}

/* Principal: laranja cheio, texto quase-preto, sombra laranja funda. */
.hb a.hb-btn--main,
.hb .hb-btn--main {
	position: relative;
	overflow: hidden;
	background: var(--hb-accent);
	border-color: var(--hb-accent);
	color: var(--hb-on-accent);
	box-shadow: var(--hb-sh-accent), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Reflexo atravessando o botão. Passa por cima do texto — é o efeito. */
.hb .hb-btn--main::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 42%;
	z-index: 1;
	pointer-events: none;
	transform: skewX(-22deg);
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.hb a.hb-btn--soft,
.hb .hb-btn--soft {
	background: var(--hb-accent-bg);
	border-color: var(--hb-accent-soft);
	color: var(--hb-accent-deep);
}

/* Sobre fundo escuro. */
.hb a.hb-btn--light,
.hb .hb-btn--light {
	background: var(--hb-bg);
	border-color: var(--hb-bg);
	color: var(--hb-text);
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5);
}

.hb a.hb-btn--outline,
.hb .hb-btn--outline {
	background: transparent;
	border-color: rgba(251, 246, 236, 0.28);
	color: #fbf6ec;
}

.hb a.hb-btn--ghost,
.hb .hb-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--hb-accent-deep);
	padding-inline: 10px;
	min-height: 44px;
}

@media (hover: hover) {
	.hb .hb-btn:hover .hb-i { transform: translateX(4px); }

	.hb .hb-btn--main:hover {
		background: var(--hb-accent-hover);
		border-color: var(--hb-accent-hover);
		transform: translateY(-2px);
	}

	.hb .hb-btn--main:hover::before { animation: hb-sweep 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

	.hb .hb-btn--soft:hover {
		background: var(--hb-accent-soft);
		transform: translateY(-2px);
	}

	.hb .hb-btn--light:hover { transform: translateY(-2px); }

	.hb .hb-btn--outline:hover {
		background: rgba(251, 246, 236, 0.1);
		border-color: rgba(251, 246, 236, 0.6);
	}

	.hb .hb-btn--ghost:hover { background: var(--hb-accent-bg); }
}

.hb .hb-btn:active { transform: translateY(0); }

/* --- Botão que troca o rótulo pelo preço ----------------- */

/*
 * Duas linhas empilhadas na MESMA célula de grid, com a caixa recortada na
 * altura de uma. No hover as duas sobem juntas: a de cima sai, a de baixo
 * entra. É por isso que a largura do botão não muda — ele já nasce com a
 * largura da frase mais longa, e nada salta durante a troca.
 */
.hb-roll {
	display: grid;
	overflow: hidden;
	height: 1.25em;
	align-items: center;
}

.hb-roll > span {
	grid-area: 1 / 1;
	display: block;
	white-space: nowrap;
	transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s ease;
}

.hb-roll-b {
	transform: translateY(115%);
	opacity: 0;
	font-variant-numeric: tabular-nums;
}

@media (hover: hover) {
	.hb .hb-btn--roll:hover .hb-roll-a {
		transform: translateY(-115%);
		opacity: 0;
	}

	.hb .hb-btn--roll:hover .hb-roll-b {
		transform: none;
		opacity: 1;
	}
}

/* --- Botão que se enche de tinta ------------------------- */

/*
 * A tinta escura sobe da esquerda por baixo do texto, que inverte para o
 * creme. O conteúdo precisa de z-index próprio, senão some sob a tinta.
 */
.hb a.hb-btn--wipe,
.hb .hb-btn--wipe {
	position: relative;
	overflow: hidden;
	border-color: var(--hb-line-2);
	background: transparent;
	isolation: isolate;
}

.hb .hb-btn--wipe::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--hb-text);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hb .hb-btn--wipe > span,
.hb .hb-btn--wipe > .hb-i {
	position: relative;
	z-index: 1;
	transition: color 0.3s ease 0.06s, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) {
	.hb .hb-btn--wipe:hover {
		background: transparent;
		border-color: var(--hb-text);
		color: var(--hb-bg);
	}

	.hb .hb-btn--wipe:hover::before { transform: scaleX(1); }

	/* A grade gira um oitavo — o ícone reage junto, não fica de enfeite. */
	.hb .hb-btn--wipe:hover > .hb-i { transform: rotate(45deg) scale(1.05); }
}

/*
 * Botão da última chamada: um anel de luz que sai dele a cada 2,6s.
 * O anel é um pseudo-elemento separado, então a pulsação não mexe no botão em
 * si — o alvo do clique fica parado enquanto a atenção se move.
 */
/*
 * `a.` aqui não é enfeite: .hb a.hb-btn--main define overflow:hidden com a
 * mesma especificidade (0,2,1) e recortaria o anel. Empatando e vindo depois
 * no arquivo, esta regra ganha.
 */
.hb a.hb-btn--beat,
.hb .hb-btn--beat { position: relative; overflow: visible; }

.hb .hb-btn--beat::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--hb-accent);
	animation: hb-beat 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
	pointer-events: none;
}

@keyframes hb-beat {
	0%       { transform: scale(1); opacity: 0.55; }
	60%, 100% { transform: scale(1.32); opacity: 0; }
}

/* O reflexo do --main é recortado; neste o anel precisa escapar da caixa. */
.hb .hb-btn--beat::before { display: none; }

.hb a:focus-visible,
.hb label:focus-visible,
.hb summary:focus-visible {
	outline: 2px solid var(--hb-accent);
	outline-offset: 3px;
	border-radius: var(--hb-r-sm);
}

/* ============================================================
 * 1. HERÓI
 * ============================================================ */

.hb-hero {
	overflow: hidden;
	/* clip nao cria contexto de rolagem; hidden sozinho ancoraria position:sticky */
	overflow-x: clip;
	padding-top: clamp(52px, 6vw, 92px);
	padding-bottom: clamp(64px, 7vw, 104px);
}

/* Dois halos: laranja quente no alto, verde de dinheiro embaixo. */
.hb-hero-glow {
	position: absolute;
	top: -340px;
	right: -260px;
	width: 780px;
	height: 780px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 126, 1, 0.18) 0%, transparent 62%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
}

/*
 * Coluna única e centrada. A versão em duas colunas existia para acomodar um
 * enfeite ao lado do texto; sem ele, centralizar dá ao título e à busca a
 * largura inteira e deixa a página com cara de ferramenta, não de panfleto.
 */
.hb-hero-in {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(36px, 4.5vw, 62px);
	align-items: center;
}

.hb-hero-txt { min-width: 0; }

/*
 * Cascata de entrada. Cada peça sobe 0,16s depois da anterior — a ordem em
 * que a página deve ser lida, encenada. `forwards` com `opacity:0` no CSS
 * base seria armadilha; aqui a keyframe começa em opacidade zero e o `both`
 * garante que o primeiro quadro já é o correto mesmo sem JavaScript.
 */
.hb-hero-txt > .hb-eyebrow { animation: hb-rise 0.9s 0.05s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hb-sub                    { animation: hb-rise 1s 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hb-hero-actions           { animation: hb-rise 1s 0.62s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hb-hero-trust             { animation: hb-rise 1s 0.74s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

.hb-h1 {
	margin: 26px 0 0;
	font-family: var(--hb-display);
	font-size: clamp(2.35rem, 5.4vw, 4rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.042em;
	font-variation-settings: "opsz" 96;
	color: var(--hb-text);
	text-wrap: balance;
}

/*
 * Cada palavra numa caixa recortada, subindo depois da anterior.
 * A caixa externa é inline-block com overflow escondido; a interna é a que
 * se move. Sem as duas camadas a palavra apareceria deslizando por cima do
 * resto do texto em vez de surgir de trás de uma linha.
 */
.hb-w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	/* Descendentes (p, g, ç) seriam cortados pelo overflow sem esta folga. */
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}

.hb-w > span {
	display: inline-block;
	animation: hb-word 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--w, 0) * 70ms + 120ms);
}

@keyframes hb-word {
	from { transform: translateY(108%); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

/* --- Frase que se digita e troca -------------------------- */

/*
 * Quatro frases empilhadas na MESMA célula de grid. Só uma tem largura por
 * vez, e como todas ocupam a mesma célula a altura do título não muda quando
 * a frase troca: nada salta na página.
 *
 * Cada frase roda o ciclo inteiro (--f × 4,5s) e só age na fatia que lhe cabe,
 * atrasada por --k. É o mesmo princípio da janela do herói: uma duração
 * comum, porcentagens diferentes, sincronia de graça.
 */
.hb-type {
	--hb-type-t: 4.6s;

	display: inline-grid;
	position: relative;
	vertical-align: top;
	margin-top: 6px;
	/* O cursor fica em left:100%; sem este limite ele empurra a largura do
	   título e a página ganha rolagem horizontal em telas estreitas. */
	max-width: 100%;
}

.hb-type-l {
	grid-area: 1 / 1;
	display: block;
	white-space: nowrap;
	color: var(--hb-accent);
	/*
	 * A revelação é por clip-path, não por largura.
	 *
	 * A versão anterior animava `width` em `ch`, e `ch` mede a largura do
	 * caractere "0". Numa fonte proporcional como a Bricolage, a soma dos
	 * caracteres nunca bate com isso: a frase era cortada no meio. O clip é
	 * relativo à caixa do PRÓPRIO elemento, então revela exatamente o texto
	 * que existe, seja qual for a fonte ou o tamanho da tela.
	 *
	 * O steps(--n) mantém o pulo caractere a caractere que dá cara de
	 * digitação em vez de cortina deslizando.
	 */
	clip-path: inset(0 100% 0 0);
	animation: hb-type calc(var(--hb-type-t) * var(--f)) steps(var(--n), end) infinite;
	animation-delay: calc(var(--hb-type-t) * var(--k));
}

.hb-type-l i {
	position: relative;
	font-style: normal;
	display: inline-block;
	/* Descendentes (p, g) precisam de folga para não encostarem no corte. */
	padding-bottom: 0.1em;
	/* Espaço reservado para o cursor, para ele não colar na última letra. */
	padding-right: 0.68em;
}

/*
 * O cursor vive DENTRO da caixa recortada, logo após a última letra. Assim
 * ele acompanha o fim de cada frase sozinho, sem precisar medir texto em
 * JavaScript, e é revelado no fim da digitação como num terminal de verdade.
 *
 * É um retângulo e não o caractere "_": desenhado, ele mantém a mesma
 * espessura e o mesmo alinhamento em qualquer corpo de fonte.
 */
.hb-type-l i::after {
	content: "";
	position: absolute;
	right: 0.06em;
	bottom: 0.22em;
	width: 0.5em;
	height: 0.075em;
	min-height: 3px;
	border-radius: 2px;
	background: var(--hb-accent);
	animation: hb-caret-blink 1.05s steps(1) infinite;
}

@keyframes hb-caret-blink {
	0%, 50%   { opacity: 1; }
	51%, 100% { opacity: 0; }
}

/*
 * Cada frase manda numa fatia do ciclo: escreve, segura, apaga, some e passa a
 * vez. Como seletor de keyframe não aceita calc(), os cortes NÃO podem ser
 * escritos aqui em função da quantidade de frases.
 *
 * Por isso o PHP recalcula e reescreve esta keyframe conforme o número de
 * frases que existir (render_hero). Esta versão é a reserva para quatro, e
 * vale se o bloco for usado sem o <style> que acompanha o herói.
 */
@keyframes hb-type {
	0%        { clip-path: inset(0 100% 0 0); }
	8%        { clip-path: inset(0 0 0 0); }
	20%       { clip-path: inset(0 0 0 0); }
	25%       { clip-path: inset(0 100% 0 0); }
	100%      { clip-path: inset(0 100% 0 0); }
}

/*
 * A ASSINATURA: marca-texto laranja inclinado sob a segunda linha.
 * Vai atrás do texto (z-index -1 num contexto próprio) e é levemente torto
 * de propósito — traço de caneta, não retângulo de software.
 */
.hb-mark {
	position: relative;
	display: inline-block;
	z-index: 0;
	margin-top: 4px;
	font-weight: 700;
}

.hb-mark::after {
	content: "";
	position: absolute;
	left: -0.06em;
	right: -0.06em;
	bottom: 0.07em;
	height: 0.3em;
	z-index: -1;
	border-radius: 4px;
	background: var(--hb-accent);
	opacity: 0.88;
	transform: skew(-4deg) translateY(2px);
	box-shadow: 0 6px 18px -6px rgba(255, 126, 1, 0.6);
}

.hb-sub {
	margin: 24px 0 0;
	max-width: 52ch;
	font-size: clamp(1.02rem, 1.4vw, 1.18rem);
	line-height: 1.58;
	color: var(--hb-dim);
}

/*
 * z-index alto e contexto próprio: a lista de sugestões da busca é absoluta e
 * cai por cima dos botões e da lista de garantias que vêm depois no HTML.
 * Sem isto ela fica ATRÁS deles — os elementos seguintes têm `animation` com
 * transform, o que cria contexto de empilhamento e os põe na frente.
 */
/* Os irmãos que vêm depois precisam ficar abaixo dela, explicitamente. */
.hb-hero-actions,
.hb-hero-trust {
	position: relative;
	z-index: 1;
}

.hb-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

/*
 * As quatro garantias ficam SEMPRE numa linha só — quebradas em duas viram
 * uma listinha e perdem a leitura de "faixa de selos". O tamanho e o respiro
 * encolhem com a tela em vez de a linha quebrar.
 */
.hb-hero-trust {
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(9px, 2vw, 26px);
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.hb-hero-trust li {
	display: inline-flex;
	align-items: center;
	gap: clamp(4px, 0.6vw, 8px);
	font-size: clamp(0.67rem, 1.05vw, 0.88rem);
	font-weight: 500;
	color: var(--hb-dim);
	white-space: nowrap;
}

.hb-hero-trust .hb-i {
	width: clamp(13px, 1.5vw, 17px);
	height: clamp(13px, 1.5vw, 17px);
	color: var(--hb-money);
}

/* --- A vitrine no herói ---------------------------------- */

/*
 * O caminho que todo SaaS bom usa no herói: mostrar o produto funcionando.
 * Uma janela com a busca preenchida e resultados reais diz o que a DROPE faz
 * mais rápido do que qualquer efeito 3D.
 */
.hb-hero-app {
	min-width: 0;
	animation: hb-in 0.9s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-app {
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-lg);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh-lg);
	overflow: hidden;
	transform: perspective(1600px) rotateY(-5deg) rotateX(2deg);
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) {
	.hb-hero-app:hover .hb-app {
		transform: perspective(1600px) rotateY(-1.5deg) rotateX(0.5deg) translateY(-4px);
	}
}

.hb-app-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 11px 14px;
	background: var(--hb-bg-warm);
	border-bottom: 1px solid var(--hb-line);
}

.hb-app-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex: none;
	background: var(--hb-line-2);
}

.hb-app-dot:nth-child(1) { background: #ff5f57; }
.hb-app-dot:nth-child(2) { background: #febc2e; }
.hb-app-dot:nth-child(3) { background: #28c840; }

.hb-app-url {
	flex: 1;
	margin-left: 10px;
	padding: 5px 12px;
	border-radius: var(--hb-pill);
	background: var(--hb-surface);
	border: 1px solid var(--hb-line);
	font-family: var(--hb-mono);
	font-size: 0.64rem;
	color: var(--hb-muted);
	text-align: center;
}

/*
 * LINHA DO TEMPO
 * --------------
 * Uma volta completa dura --hb-app-t. Todo elemento animado usa essa mesma
 * duração e só muda a porcentagem em que age, então as etapas ficam presas
 * umas às outras sem nenhum relógio em JavaScript:
 *
 *    0–14%   digitando "elementor pro"
 *   14–20%   procurando (roda girando)
 *   20–34%   resultados entram em cascata
 *   36–52%   barra de download enchendo
 *   52–66%   instalando
 *   66–88%   ativo
 *   88–100%  limpa e recomeça
 */
.hb-app { --hb-app-t: 11s; }

.hb-app-search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 18px 6px;
	padding: 12px 15px;
	border: 1px solid var(--hb-accent-soft);
	border-radius: var(--hb-pill);
	background: var(--hb-bg);
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--hb-text);
}

.hb-app-search > .hb-i {
	width: 16px;
	height: 16px;
	color: var(--hb-accent-deep);
	flex: none;
}

/*
 * O texto é revelado por uma caixa que cresce, não por letras trocadas: o
 * `steps(13)` faz a largura pular caractere a caractere, então parece
 * digitação de verdade. Sem animação a frase simplesmente já está escrita.
 */
.hb-app-q {
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	max-width: 100%;
	/* --n vem do PHP: a quantidade de letras do termo realmente buscado. */
	animation: hb-app-type var(--hb-app-t) steps(var(--n, 13), end) infinite;
}

.hb-app-q i { font-style: normal; }

/*
 * A largura vai em `ch`, a medida da largura do "0" na fonte corrente, e não
 * num `em` chutado: assim a caixa acompanha exatamente o texto, seja qual for
 * o termo que o PHP colocar ali.
 */
@keyframes hb-app-type {
	0%        { width: 0; }
	14%, 88%  { width: calc(var(--n, 13) * 1ch); }
	95%, 100% { width: 0; }
}

/* Cursor piscando, que some enquanto os resultados estão na tela. */
.hb-app-caret {
	width: 1.5px;
	height: 15px;
	flex: none;
	background: var(--hb-accent);
	border-radius: 1px;
	animation: hb-app-caret var(--hb-app-t) steps(1) infinite;
}

@keyframes hb-app-caret {
	0%, 6%, 12%, 18%, 90%, 96% { opacity: 1; }
	3%, 9%, 15%, 93%, 99%      { opacity: 0; }
	20%, 88%                   { opacity: 0; }
}

/* Roda de "procurando", só entre a digitação e a chegada dos resultados. */
.hb-app-spin {
	width: 14px;
	height: 14px;
	margin-left: auto;
	flex: none;
	border: 2px solid var(--hb-accent-soft);
	border-top-color: var(--hb-accent);
	border-radius: 50%;
	opacity: 0;
	animation:
		hb-app-spin-show var(--hb-app-t) linear infinite,
		hb-app-spin 0.7s linear infinite;
}

@keyframes hb-app-spin-show {
	0%, 13%   { opacity: 0; }
	15%, 19%  { opacity: 1; }
	21%, 100% { opacity: 0; }
}

@keyframes hb-app-spin {
	to { transform: rotate(360deg); }
}

.hb-app-list {
	list-style: none;
	margin: 0;
	padding: 8px 18px 0;
}

.hb-app-list li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--hb-line);
	animation: hb-app-row var(--hb-app-t) cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
	/* Cada linha entra 2,5% do ciclo depois da anterior. */
	animation-delay: calc(var(--hb-i, 0) * (var(--hb-app-t) * 0.025));
}

@keyframes hb-app-row {
	0%, 19%   { opacity: 0; transform: translateY(10px); }
	26%, 90%  { opacity: 1; transform: none; }
	96%, 100% { opacity: 0; transform: translateY(6px); }
}

/* --- O item que baixa e instala --------------------------- */

.hb-app-state {
	position: relative;
	flex: none;
	display: grid;
	min-width: 92px;
	height: 26px;
	place-items: center end;
}

.hb-app-state em {
	grid-area: 1 / 1;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: var(--hb-pill);
	font-style: normal;
	font-family: var(--hb-mono);
	font-size: 0.6rem;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	animation: var(--hb-app-t) steps(1) infinite;
}

.hb-app-state .hb-i { width: 11px; height: 11px; stroke-width: 3; }

.hb-app-state .s1 {
	border: 1px solid var(--hb-accent-soft);
	background: var(--hb-accent-bg);
	color: var(--hb-accent-deep);
	animation-name: hb-app-s1;
}

.hb-app-state .s2,
.hb-app-state .s3 {
	background: var(--hb-accent);
	color: var(--hb-on-accent);
}

.hb-app-state .s2 { animation-name: hb-app-s2; }
.hb-app-state .s3 { animation-name: hb-app-s3; }

.hb-app-state .s4 {
	background: var(--hb-money-bg);
	color: var(--hb-money-ink);
	animation-name: hb-app-s4;
}

@keyframes hb-app-s1 { 0%, 35% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes hb-app-s2 { 0%, 35% { opacity: 0; } 36%, 52% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes hb-app-s3 { 0%, 52% { opacity: 0; } 53%, 66% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes hb-app-s4 { 0%, 66% { opacity: 0; } 67%, 90% { opacity: 1; } 91%, 100% { opacity: 0; } }

/* Barra de progresso na base da linha, enquanto baixa e instala. */
.hb-app-prog {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	border-radius: 2px;
	background: var(--hb-accent-soft);
	opacity: 0;
	overflow: hidden;
	animation: hb-app-prog-show var(--hb-app-t) steps(1) infinite;
}

.hb-app-prog i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 2px;
	background: var(--hb-accent);
	animation: hb-app-fill var(--hb-app-t) linear infinite;
}

@keyframes hb-app-prog-show {
	0%, 35%   { opacity: 0; }
	36%, 66%  { opacity: 1; }
	67%, 100% { opacity: 0; }
}

@keyframes hb-app-fill {
	0%, 36%   { width: 0; }
	52%       { width: 72%; }
	66%, 100% { width: 100%; }
}

@media (hover: hover) {
	.hb-hero-app:hover .hb-app * { animation-play-state: paused; }
}

.hb-app-list li:last-child { border-bottom: 0; }

.hb-app-list img {
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 9px;
	object-fit: cover;
	border: 1px solid var(--hb-line);
	background: var(--hb-bg-warm);
}

.hb-app-txt {
	display: grid;
	gap: 1px;
	min-width: 0;
	flex: 1;
}

.hb-app-txt strong {
	font-family: var(--hb-display);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hb-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hb-app-txt span {
	font-family: var(--hb-mono);
	font-size: 0.58rem;
	color: var(--hb-muted);
}

.hb-app-ver {
	flex: none;
	padding: 3px 9px;
	border-radius: 7px;
	background: var(--hb-accent-bg);
	border: 1px solid var(--hb-accent-soft);
	font-family: var(--hb-mono);
	font-size: 0.6rem;
	font-weight: 700;
	color: var(--hb-accent-deep);
}

.hb-app-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding: 13px 18px;
	border-top: 1px solid var(--hb-line);
	background: var(--hb-bg-warm);
	font-family: var(--hb-mono);
	font-size: 0.62rem;
	color: var(--hb-muted);
}

.hb-app-foot b { color: var(--hb-text); font-weight: 700; }

/* --- Esteira de nomes ------------------------------------ */

/*
 * Uma faixa só, correndo devagar sob as duas colunas. Prova o tamanho do
 * acervo sem disputar com o título: é ambiente, não espetáculo. As pontas
 * somem por máscara para o corte não parecer defeito.
 */
.hb-hero-strip {
	position: relative;
	z-index: 2;
	max-width: 1240px;
	margin: clamp(44px, 5vw, 66px) auto 0;
	padding-top: 26px;
	border-top: 1px solid var(--hb-line);
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	animation: hb-rise 1s 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-strip-track {
	display: flex;
	width: max-content;
	animation: hb-strip 58s linear infinite;
	will-change: transform;
}

/* A lista está duplicada no HTML, então -50% cai exatamente sobre o clone. */
@keyframes hb-strip {
	to { transform: translateX(-50%); }
}

@media (hover: hover) {
	.hb-hero-strip:hover .hb-strip-track { animation-play-state: paused; }
}

.hb-strip-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	padding-right: 34px;
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--hb-muted);
	white-space: nowrap;
}

.hb-strip-item img {
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 7px;
	object-fit: cover;
	border: 1px solid var(--hb-line);
	background: var(--hb-bg-warm);
}

.hb-float-badge {
	position: absolute;
	bottom: -18px;
	left: 50%;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 18px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-pill);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh);
	font-size: 0.8rem;
	color: var(--hb-dim);
	white-space: nowrap;
	z-index: 5;
	animation: hb-float 7s ease-in-out infinite;
}

.hb-float-badge b {
	font-family: var(--hb-mono);
	color: var(--hb-text);
	font-weight: 700;
}

/* ============================================================
 * 2. CONFIANÇA — tarja escura
 * ============================================================
 * Primeira quebra de temperatura da página. Sai do papel e entra no
 * carvão para os números baterem com peso de manchete.
 */

.hb-trust {
	padding-block: 0;
	background: var(--hb-bg);
}

.hb-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-radius: var(--hb-r-xl);
	background: var(--hb-deep);
	/*
	 * Sombra curta e presa ao cartao. A --hb-sh-lg tem uma camada de 80px de
	 * desfoque deslocada 40px para baixo: sobre o creme ela nao le como
	 * profundidade, le como sujeira em volta do bloco.
	 */
	box-shadow: 0 4px 14px -6px rgba(16, 11, 8, 0.28);
	overflow: hidden;
}

.hb-trust-item {
	display: grid;
	justify-items: center;
	gap: 5px;
	padding: 38px 20px;
	text-align: center;
	border-right: 1px solid rgba(251, 246, 236, 0.09);
	animation: hb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 90ms);
}

.hb-trust-item:last-child { border-right: 0; }

.hb-trust-ico {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-bottom: 6px;
	border-radius: 11px;
	background: rgba(255, 126, 1, 0.14);
	color: var(--hb-accent);
}

.hb-trust-ico .hb-i { width: 17px; height: 17px; }

.hb-trust-n {
	font-family: var(--hb-display);
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: #fbf6ec;
	font-variant-numeric: tabular-nums;
}

.hb-trust-k {
	font-family: var(--hb-mono);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: rgba(251, 246, 236, 0.55);
}

/* ============================================================
 * 3. CATEGORIAS
 * ============================================================
 * Cada categoria tem sua cor. Não é enfeite: numa vitrine com nove tipos de
 * produto, a cor é o que deixa o olho voltar ao mesmo lugar na segunda visita.
 */

.hb-cats { background: var(--hb-bg); }

.hb-cats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.hb .hb-cat {
	--hb-cc: var(--hb-accent);
	--hb-cc-bg: var(--hb-accent-bg);

	position: relative;
	display: flex;
	gap: 18px;
	padding: 26px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-lg);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh-sm);
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease,
		border-color 0.28s ease;
	animation: hb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 70ms);
}

/* Régua da cor da categoria, cresce da esquerda no hover. */
.hb-cat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--hb-cc);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/*
 * Os seis matizes ficam no tom 700, não no 500. O 500 é mais bonito isolado,
 * mas aqui a cor também é TEXTO — o número de produtos e o "Ver categoria".
 * Medido sobre a superfície: 4,5:1 para baixo nenhum entra.
 * Extras usa oliva, não laranja: laranja é da marca e brigaria com o CTA.
 */
.hb-cat--877  { --hb-cc: #2563eb; --hb-cc-bg: #eaf1fe; } /* 5,1:1 */
.hb-cat--880  { --hb-cc: #7c3aed; --hb-cc-bg: #f2ecfe; } /* 5,6:1 */
.hb-cat--882  { --hb-cc: #db2777; --hb-cc-bg: #fdecf4; } /* 4,5:1 */
.hb-cat--879  { --hb-cc: #0e7490; --hb-cc-bg: #e6f6fa; } /* 5,3:1 */
.hb-cat--2680 { --hb-cc: #4d7c0f; --hb-cc-bg: #f1f7e4; } /* 4,9:1 */
.hb-cat--1068 { --hb-cc: #15803d; --hb-cc-bg: #e6f7ed; } /* 4,9:1 */

.hb-cat-ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	flex: none;
	border-radius: 15px;
	background: var(--hb-cc-bg);
	color: var(--hb-cc);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
		background-color 0.35s ease;
}

.hb-cat-ico .hb-i {
	width: 22px;
	height: 22px;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

/* --- Leque de capas ------------------------------------- */

/*
 * No hover o ícone recua e três capas reais daquela categoria abrem como
 * cartas na mão. Cada uma tem ângulo, deslocamento e atraso próprios — sem
 * isso as três saem juntas e viram um borrão em vez de um leque.
 *
 * O leque escapa da caixa do ícone (é maior que 50px), então o cartão não
 * pode ter overflow hidden nessa área: quem recorta é o próprio .hb-cat, por
 * isso o leque abre para dentro e para cima, nunca para a borda esquerda.
 */
.hb-cat-fan {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hb-cat-fan img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	border: 2px solid var(--hb-surface);
	box-shadow: 0 6px 16px -6px rgba(16, 11, 8, 0.5);
	background: var(--hb-bg-warm);
	opacity: 0;
	transform: scale(0.55) rotate(0deg);
	transform-origin: 50% 100%;
	transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.28s ease;
	/* A primeira carta é a que fica por cima. */
	z-index: calc(3 - var(--k));
	transition-delay: calc(var(--k) * 55ms);
}

@media (hover: hover) {
	.hb-cat:hover .hb-cat-ico {
		transform: scale(1.06);
		background: transparent;
	}

	/* O ícone sai de cena para a carta ocupar o lugar dele. */
	.hb-cat:hover .hb-cat-ico .hb-i {
		opacity: 0;
		transform: scale(0.4);
	}

	.hb-cat:hover .hb-cat-fan img { opacity: 1; }

	.hb-cat:hover .hb-cat-fan img:nth-child(1) {
		transform: scale(1) rotate(-9deg) translate(-5px, -2px);
	}

	.hb-cat:hover .hb-cat-fan img:nth-child(2) {
		transform: scale(0.94) rotate(6deg) translate(7px, -7px);
	}

	.hb-cat:hover .hb-cat-fan img:nth-child(3) {
		transform: scale(0.88) rotate(20deg) translate(16px, -13px);
	}
}

.hb-cat-body {
	display: grid;
	gap: 5px;
	min-width: 0;
	flex: 1;
	align-content: start;
}

.hb-cat-name {
	font-family: var(--hb-display);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: -0.022em;
	color: var(--hb-text);
}

.hb-cat-desc {
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--hb-muted);
}

.hb-cat-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--hb-line);
}

.hb-cat-n {
	font-family: var(--hb-mono);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
	color: var(--hb-muted);
}

.hb-cat-n b {
	color: var(--hb-cc);
	font-weight: 700;
	font-size: 0.95rem;
}

.hb-cat-go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--hb-cc);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	white-space: nowrap;
}

.hb-cat-go .hb-i { width: 15px; height: 15px; }

@media (hover: hover) {
	.hb .hb-cat:hover {
		transform: translateY(-4px);
		box-shadow: var(--hb-sh);
		border-color: var(--hb-cc);
	}

	.hb-cat:hover::before { transform: scaleY(1); }
	.hb-cat:hover .hb-cat-ico { transform: scale(1.08) rotate(-4deg); }

	.hb-cat:hover .hb-cat-go {
		opacity: 1;
		transform: none;
	}
}

/* Sem hover (toque), a seta fica sempre visível. */
@media (hover: none) {
	.hb-cat-go { opacity: 1; transform: none; }
}

.hb .hb-cat:active { transform: translateY(-1px); }

/* ============================================================
 * 4. PRODUTOS + ABAS EM CSS
 * ============================================================ */

.hb-prods {
	background: var(--hb-bg-warm);
	scroll-margin-top: 90px;
}

.hb-tabs { position: relative; }

/* O radio guarda o estado; fica fora da tela mas continua focável. */
.hb-tab-in {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	margin: 0;
}

/*
 * Abas como índice de revista: só texto, apoiado numa linha fina, e a ativa
 * recebe o mesmo marca-texto laranja que assina o título da página.
 *
 * A versão com cápsula branca e pontinhos foi descartada — decorava em vez de
 * usar a linguagem que a página já tem, e o ponto aceso sobre o bloco escuro
 * lia como LED.
 */
.hb-tab-bar {
	display: flex;
	gap: clamp(18px, 3vw, 38px);
	padding: 0 0 12px;
	margin-bottom: 30px;
	width: 100%;
	border-bottom: 1px solid var(--hb-line);
	background: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.hb-tab-bar::-webkit-scrollbar { display: none; }

.hb-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 4px 2px;
	font-family: var(--hb-display);
	font-size: clamp(0.98rem, 1.6vw, 1.22rem);
	font-weight: 500;
	letter-spacing: -0.028em;
	color: var(--hb-muted);
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	transition: color 0.25s ease;
}

/*
 * O traço da assinatura. Nasce estreito e cresce a partir da esquerda; na
 * inativa ele existe com largura zero, então a transição tem de onde partir.
 */
.hb-tab::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -13px;
	height: 3px;
	border-radius: 3px;
	background: var(--hb-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) {
	.hb-tab:hover { color: var(--hb-text); }
	.hb-tab:hover::after { transform: scaleX(0.4); }
}

.hb-tab-panel { display: none; }

/*
 * Aba 1/2/3: o radio marcado pinta o rótulo e mostra o painel.
 * A barra é <nav> justamente para não entrar na contagem nth-of-type
 * dos painéis, que são os únicos <div> filhos de .hb-tabs.
 */
.hb-tab-in:nth-of-type(1):checked ~ .hb-tab-bar .hb-tab:nth-child(1),
.hb-tab-in:nth-of-type(2):checked ~ .hb-tab-bar .hb-tab:nth-child(2),
.hb-tab-in:nth-of-type(3):checked ~ .hb-tab-bar .hb-tab:nth-child(3) {
	color: var(--hb-text);
	font-weight: 700;
}

.hb-tab-in:nth-of-type(1):checked ~ .hb-tab-bar .hb-tab:nth-child(1)::after,
.hb-tab-in:nth-of-type(2):checked ~ .hb-tab-bar .hb-tab:nth-child(2)::after,
.hb-tab-in:nth-of-type(3):checked ~ .hb-tab-bar .hb-tab:nth-child(3)::after {
	transform: scaleX(1);
}

.hb-tab-in:nth-of-type(1):checked ~ .hb-tab-panel:nth-of-type(1),
.hb-tab-in:nth-of-type(2):checked ~ .hb-tab-panel:nth-of-type(2),
.hb-tab-in:nth-of-type(3):checked ~ .hb-tab-panel:nth-of-type(3) {
	display: block;
	animation: hb-in 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* Foco pelo teclado: o anel aparece no rótulo, não no input escondido. */
.hb-tab-in:nth-of-type(1):focus-visible ~ .hb-tab-bar .hb-tab:nth-child(1),
.hb-tab-in:nth-of-type(2):focus-visible ~ .hb-tab-bar .hb-tab:nth-child(2),
.hb-tab-in:nth-of-type(3):focus-visible ~ .hb-tab-bar .hb-tab:nth-child(3) {
	outline: 2px solid var(--hb-accent);
	outline-offset: 2px;
}

/*
 * Cinco por linha, não quatro. O cartão menor mostra mais catálogo na mesma
 * altura de tela — numa vitrine de 16 mil itens, quantidade visível é o
 * argumento, e cada cartão isolado não precisa de destaque.
 */
.hb-prod-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.hb .hb-prod {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-lg);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh-sm);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease,
		border-color 0.28s ease;
	animation: hb-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 55ms);
}

.hb-prod-shot {
	position: relative;
	display: block;
	background: var(--hb-bg-warm);
	overflow: hidden;
}

/* Proporção fixa: o espaço da imagem já está reservado, sem pulo de layout. */
.hb-prod-shot img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hb-prod-flag {
	position: absolute;
	top: 11px;
	left: 11px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: var(--hb-pill);
	/* Verde mais fundo que o --hb-money: aqui carrega texto de 10px, e o tom
	   claro daria 3,5:1. Este dá 5,4:1 com o branco. */
	background: #097a43;
	color: #fff;
	font-family: var(--hb-mono);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px -4px rgba(9, 122, 67, 0.7);
}

.hb-prod-flag .hb-i { width: 11px; height: 11px; }

.hb-prod-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 12px 13px 13px;
	flex: 1;
}

.hb-prod-cat {
	font-family: var(--hb-mono);
	font-size: 0.55rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hb-accent-deep);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hb-prod-name {
	font-family: var(--hb-display);
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: var(--hb-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.22s ease;
}

.hb-prod-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 9px;
	border-top: 1px solid var(--hb-line);
}

.hb-prod-ver {
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--hb-accent-bg);
	border: 1px solid var(--hb-accent-soft);
	font-family: var(--hb-mono);
	font-size: 0.6rem;
	font-weight: 700;
	color: var(--hb-accent-deep);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Downloads: a prova social mais direta que existe numa vitrine. */
.hb-prod-dl {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	font-family: var(--hb-mono);
	font-size: 0.6rem;
	font-weight: 700;
	color: var(--hb-money-ink);
	white-space: nowrap;
}

.hb-prod-dl .hb-i {
	width: 11px;
	height: 11px;
	stroke-width: 2.2;
}

.hb-prod-when {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	font-family: var(--hb-mono);
	font-size: 0.6rem;
	color: var(--hb-muted);
	white-space: nowrap;
}

.hb-prod-when .hb-i { width: 11px; height: 11px; }

@media (hover: hover) {
	.hb .hb-prod:hover {
		transform: translateY(-5px);
		box-shadow: var(--hb-sh);
		border-color: var(--hb-accent-soft);
	}

	.hb-prod:hover .hb-prod-shot img { transform: scale(1.07); }
	.hb-prod:hover .hb-prod-name { color: var(--hb-accent-deep); }
}

.hb .hb-prod:active { transform: translateY(-1px); }

/* ============================================================
 * 5. ATUALIZAÇÕES
 * ============================================================ */

.hb-upd { background: var(--hb-bg); }

.hb-upd-in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(38px, 5vw, 68px);
	align-items: center;
}

.hb-upd-txt {
	min-width: 0;
	animation: hb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-upd-txt > p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--hb-dim);
	max-width: 50ch;
}

/* Reforço: mesma medida, um degrau abaixo no peso da voz. */
.hb-upd-txt > p.hb-upd-reforco {
	margin-top: 14px;
	font-size: 0.95rem;
	color: var(--hb-muted);
}

.hb-upd-list {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 13px;
}

.hb-upd-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.97rem;
	line-height: 1.5;
	color: var(--hb-muted);
}

/* Título numa linha, o ganho na de baixo. */
.hb-upd-item {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.hb-upd-item strong {
	font-family: var(--hb-display);
	font-size: 1rem;
	font-weight: 650;
	letter-spacing: -0.018em;
	line-height: 1.3;
	color: var(--hb-text);
}

.hb-upd-item > span {
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--hb-muted);
}

.hb-upd-list li + li { margin-top: 3px; }

.hb-upd-list .hb-i {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	padding: 4px;
	border-radius: 50%;
	background: var(--hb-money-bg);
	color: var(--hb-money);
	stroke-width: 2.6;
}

/*
 * Botão e aviso lado a lado. O aviso pode encolher (min-width:0), então em
 * telas apertadas ele quebra o próprio texto em vez de empurrar o botão para
 * a linha de baixo.
 */
.hb-upd-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
}

.hb-upd-actions .hb-btn { flex: none; }

.hb-upd-count { font-size: 0.86rem; color: var(--hb-muted); }

.hb-upd-count b {
	font-family: var(--hb-mono);
	color: var(--hb-text);
	font-weight: 700;
}

/* --- O plugin rodando no site do cliente ------------------ */

/*
 * Uma janela de navegador inclinada, mostrando o painel do plugin com a marca
 * do REVENDEDOR. Contar que existe whitelabel é fraco; mostrar "Painel do
 * Estúdio" no topo e a URL do cliente na barra faz o argumento sozinho.
 */
.hb-upd-mock {
	border-radius: var(--hb-r-lg);
	background: var(--hb-surface);
	border: 1px solid var(--hb-line);
	box-shadow: var(--hb-sh-lg);
	overflow: hidden;
	transform: perspective(1500px) rotateY(-6deg) rotateX(2deg);
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
	animation: hb-in 0.9s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@media (hover: hover) {
	.hb-upd-mock:hover {
		transform: perspective(1500px) rotateY(-2deg) rotateX(1deg) translateY(-5px);
	}
}

.hb-mock-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 11px 14px;
	background: var(--hb-bg-warm);
	border-bottom: 1px solid var(--hb-line);
}

.hb-mock-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--hb-line-2);
	flex: none;
}

.hb-mock-dot:nth-child(1) { background: #ff5f57; }
.hb-mock-dot:nth-child(2) { background: #febc2e; }
.hb-mock-dot:nth-child(3) { background: #28c840; }

.hb-mock-url {
	flex: 1;
	margin-left: 10px;
	padding: 5px 12px;
	border-radius: var(--hb-pill);
	background: var(--hb-surface);
	border: 1px solid var(--hb-line);
	font-family: var(--hb-mono);
	font-size: 0.64rem;
	color: var(--hb-muted);
	text-align: center;
}

/* --- Painel do WordPress --------------------------------- */

/*
 * As cores são as do wp-admin de verdade (#1d2327 no menu, #f0f0f1 no fundo,
 * #2271b1 no item ativo). Um painel "inspirado" faria o visitante duvidar;
 * reproduzido, ele reconhece na hora onde o plugin vai rodar.
 *
 * Os itens do submenu são os que o plugin registra mesmo: Dashboard,
 * Repositório, Templates, Template Kit, Whitelabel e Auto-Updates.
 */
.hb-wp-top {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 12px;
	height: 30px;
	background: #1d2327;
	color: #f0f0f1;
	font-size: 0.64rem;
}

.hb-wp-logo {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #a7aaad;
	flex: none;
}

.hb-wp-top-r { margin-left: auto; color: #a7aaad; }

.hb-wp {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	background: #f0f0f1;
	min-height: 300px;
}

.hb-wp-menu {
	display: flex;
	flex-direction: column;
	padding: 6px 0;
	background: #1d2327;
	font-size: 0.64rem;
}

.hb-wp-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	color: #c3c4c7;
	white-space: nowrap;
}

.hb-wp-item i {
	width: 13px;
	height: 13px;
	flex: none;
	border-radius: 3px;
	background: #82878c;
	display: grid;
	place-items: center;
	font-size: 0.5rem;
	font-style: normal;
	font-weight: 700;
	color: #1d2327;
}

/* O menu do plugin com a marca do revendedor: o ponto da seção inteira. */
.hb-wp-item.is-on {
	background: #2271b1;
	color: #fff;
	font-weight: 600;
}

.hb-wp-item i.is-brand {
	background: var(--hb-accent);
	color: var(--hb-on-accent);
}

.hb-wp-sub {
	padding: 5px 10px 5px 31px;
	background: #2c3338;
	color: #b4b9be;
	font-size: 0.6rem;
	white-space: nowrap;
}

.hb-wp-sub.is-cur { color: #72aee6; font-weight: 600; }

.hb-wp-main { padding: 16px 18px 18px; min-width: 0; }

.hb-wp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.hb-wp-head h4 {
	margin: 0;
	font-family: var(--hb-body);
	font-size: 1.05rem;
	font-weight: 400;
	color: #1d2327;
}

.hb-wp-tabs {
	display: flex;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dcdcde;
	overflow: hidden;
}

.hb-wp-tabs span {
	position: relative;
	font-size: 0.72rem;
	color: #646970;
	white-space: nowrap;
}

.hb-wp-tabs .is-on { color: #1d2327; font-weight: 600; }

.hb-wp-tabs .is-on::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -11px;
	height: 2px;
	background: #2271b1;
}

/* O selo que entrega o ponto: a marca ali é sua, não nossa. */
.hb-mock-badge {
	padding: 4px 11px;
	border-radius: var(--hb-pill);
	background: var(--hb-accent-bg);
	border: 1px dashed var(--hb-accent);
	font-family: var(--hb-mono);
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hb-accent-deep);
	white-space: nowrap;
}

.hb-mock-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin-top: 12px;
}

.hb-mock-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 12px;
	border-bottom: 1px solid #f0f0f1;
	animation: hb-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 90ms + 400ms);
}

.hb-mock-list li:last-child { border-bottom: 0; }

.hb-mock-list img {
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid var(--hb-line);
	background: var(--hb-bg-warm);
}

.hb-mock-txt {
	display: grid;
	gap: 1px;
	min-width: 0;
	flex: 1;
}

	.hb-mock-txt strong {
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--hb-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hb-mock-txt span {
	font-family: var(--hb-mono);
	font-size: 0.58rem;
	color: var(--hb-muted);
}

.hb-mock-act em {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 3px;
	border: 1px solid #2271b1;
	font-style: normal;
	font-size: 0.64rem;
	font-weight: 500;
	color: #2271b1;
	background: #f6f7f7;
	white-space: nowrap;
}

/* O primeiro item está instalando: mostra o plugin em uso, não parado. */
.hb-mock-act .is-doing {
	position: relative;
	border-color: transparent;
	background: var(--hb-accent);
	color: var(--hb-on-accent);
	overflow: hidden;
}

.hb-mock-act .is-doing::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: translateX(-100%);
	animation: hb-mock-load 1.9s ease-in-out infinite;
}

@keyframes hb-mock-load {
	to { transform: translateX(100%); }
}

.hb-mock-foot {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 12px;
	font-family: var(--hb-mono);
	font-size: 0.64rem;
	color: var(--hb-muted);
}

.hb-mock-foot b { color: var(--hb-text); font-weight: 700; }

/* --- Lista de atualizações ------------------------------- */

.hb-upd-feed {
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-xl);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh);
	overflow: hidden;
	animation: hb-in 0.8s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-upd-feed-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 22px;
	border-bottom: 1px solid var(--hb-line);
	background: var(--hb-bg-warm);
	font-family: var(--hb-mono);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--hb-dim);
}

.hb-upd-feed ul { list-style: none; margin: 0; padding: 0; }

.hb-upd-feed li {
	border-bottom: 1px solid var(--hb-line);
	animation: hb-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 70ms + 240ms);
}

.hb-upd-feed li:last-child { border-bottom: 0; }

.hb .hb-upd-feed a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 22px;
	text-decoration: none;
	color: inherit;
	min-height: 62px;
	transition: background-color 0.22s ease;
}

.hb-upd-feed img {
	width: 64px;
	height: 36px;
	flex: none;
	object-fit: cover;
	border-radius: 7px;
	border: 1px solid var(--hb-line);
	background: var(--hb-bg-warm);
}

.hb-upd-item-txt {
	display: grid;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.hb-upd-item-txt strong {
	font-family: var(--hb-display);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.018em;
	color: var(--hb-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.22s ease;
}

.hb-upd-item-txt span {
	font-family: var(--hb-mono);
	font-size: 0.62rem;
	color: var(--hb-muted);
}

.hb-upd-item-v {
	display: grid;
	gap: 2px;
	justify-items: end;
	text-align: right;
	flex: none;
}

.hb-upd-item-v b {
	font-family: var(--hb-mono);
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--hb-accent-deep);
}

.hb-upd-item-v em {
	font-family: var(--hb-mono);
	font-size: 0.62rem;
	font-style: normal;
	color: var(--hb-muted);
}

@media (hover: hover) {
	.hb .hb-upd-feed a:hover { background: var(--hb-accent-bg); }
	.hb-upd-feed a:hover .hb-upd-item-txt strong { color: var(--hb-accent-deep); }
}

/* ============================================================
 * 6. COMPARAÇÃO DE VALOR
 * ============================================================ */

.hb-value { background: var(--hb-bg-warm); }

.hb-value-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.hb-vcard {
	position: relative;
	padding: 30px 30px 32px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-xl);
	background: var(--hb-surface);
	animation: hb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* O lado ruim fica de propósito mais apagado e sem elevação. */
.hb-vcard.is-bad {
	background: transparent;
	box-shadow: none;
}

.hb-vcard.is-good {
	border-color: var(--hb-accent-soft);
	box-shadow: var(--hb-sh);
	animation-delay: 110ms;
}

.hb-vcard h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-family: var(--hb-display);
	font-size: 1.2rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--hb-text);
}

.hb-vcard h3 .hb-i {
	width: 30px;
	height: 30px;
	padding: 7px;
	border-radius: 50%;
	flex: none;
	stroke-width: 2.6;
}

.hb-vcard.is-bad h3 .hb-i  { background: var(--hb-warn-bg); color: var(--hb-warn); }
.hb-vcard.is-good h3 .hb-i { background: var(--hb-money-bg); color: var(--hb-money); }

.hb-vcard ul { list-style: none; margin: 0; padding: 0; }

.hb-vcard li {
	position: relative;
	padding: 13px 0 13px 24px;
	border-bottom: 1px solid var(--hb-line);
	font-size: 0.94rem;
	line-height: 1.5;
	color: var(--hb-dim);
}

.hb-vcard li:last-child { border-bottom: 0; }

.hb-vcard li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 21px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
}

.hb-vcard.is-bad li::before  { background: #d9b5b1; }
.hb-vcard.is-good li::before { background: var(--hb-money); }
.hb-vcard.is-bad li          { color: var(--hb-muted); }

.hb-vcard-foot {
	margin: 24px 0 0;
	padding: 16px 18px;
	border-radius: var(--hb-r);
	background: var(--hb-accent-bg);
	border: 1px solid var(--hb-accent-soft);
	font-size: 0.94rem;
	color: var(--hb-accent-deep);
}

.hb-vcard-foot strong {
	font-family: var(--hb-display);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.hb-value-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 26px auto 0;
	max-width: 780px;
	padding: 16px 20px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r);
	background: var(--hb-surface);
	font-size: 0.86rem;
	line-height: 1.55;
	color: var(--hb-muted);
}

.hb-value-note .hb-i {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: none;
	color: var(--hb-dim);
}

/* ============================================================
 * 6b. CALCULADORA
 * ============================================================ */

.hb-calc { background: var(--hb-bg-warm); }

.hb-calc .hb-head { margin-inline: auto; text-align: center; }
.hb-calc .hb-head p { margin-inline: auto; }

/*
 * Carvão de um lado, brasa do outro. A conta que dói fica no escuro; o
 * resultado que alivia fica na luz. É a mesma virada que a seção conta.
 */
.hb-calc-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	border-radius: var(--hb-r-xl);
	overflow: hidden;
	background: var(--hb-deep);
	color: #fbf6ec;
	box-shadow: var(--hb-sh-lg);
	animation: hb-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-calc-in { padding: clamp(28px, 3.4vw, 44px); }

.hb-calc-field { margin-bottom: 24px; }

.hb-calc-label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
	font-size: 0.88rem;
	color: rgba(251, 246, 236, 0.7);
}

.hb-calc-label b {
	font-family: var(--hb-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/*
 * A trilha preenchida usa --p, escrita pelo JavaScript. Sem script a variável
 * não existe e o `0%` de reserva deixa a trilha vazia, que continua um
 * controle perfeitamente utilizável.
 */
.hb-calc-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: var(--hb-pill);
	outline: none;
	cursor: pointer;
	background:
		linear-gradient(var(--hb-accent), var(--hb-accent)) 0 / var(--p, 0%) 100% no-repeat,
		rgba(251, 246, 236, 0.16);
}

.hb-calc-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--hb-accent);
	cursor: grab;
	box-shadow: 0 0 0 4px rgba(255, 126, 1, 0.22), 0 4px 12px rgba(255, 126, 1, 0.45);
	transition: transform 0.2s ease;
}

.hb-calc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }

.hb-calc-range::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border: none;
	border-radius: 50%;
	background: var(--hb-accent);
	cursor: grab;
	box-shadow: 0 0 0 4px rgba(255, 126, 1, 0.22), 0 4px 12px rgba(255, 126, 1, 0.45);
}

.hb-calc-range:focus-visible {
	outline: 2px solid var(--hb-accent);
	outline-offset: 4px;
}

.hb-calc-note {
	margin: 26px 0 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: rgba(251, 246, 236, 0.5);
}

.hb-calc-out {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 3.4vw, 44px);
	background: linear-gradient(135deg, rgba(255, 126, 1, 0.14), rgba(255, 126, 1, 0));
	border-left: 1px solid rgba(251, 246, 236, 0.08);
}

.hb-calc-out-lbl {
	font-family: var(--hb-mono);
	font-size: 0.66rem;
	font-weight: 500;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(251, 246, 236, 0.6);
	margin-bottom: 10px;
}

.hb-calc-big {
	display: flex;
	align-items: baseline;
	gap: 4px;
	font-family: var(--hb-display);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1;
	color: #fff;
}

.hb-calc-big i {
	font-style: normal;
	font-size: 1.3rem;
	color: var(--hb-accent);
	align-self: flex-start;
	margin-top: 6px;
}

.hb-calc-big b {
	font-size: clamp(2.6rem, 5vw, 3.9rem);
	font-variant-numeric: tabular-nums;
}

.hb-calc-big em {
	font-style: normal;
	font-family: var(--hb-body);
	font-size: 0.95rem;
	font-weight: 500;
	color: rgba(251, 246, 236, 0.6);
	margin-left: 4px;
}

.hb-calc-rows {
	display: grid;
	gap: 10px;
	margin: 26px 0 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(251, 246, 236, 0.08);
}

.hb-calc-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	font-size: 0.9rem;
	color: rgba(251, 246, 236, 0.72);
}

.hb-calc-row b {
	font-family: var(--hb-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.hb-calc-row.is-win b { color: #3ecf78; }

.hb .hb-calc-cta { width: 100%; }

/* ============================================================
 * 7. PLANOS
 * ============================================================ */

.hb-price {
	background: var(--hb-bg);
	scroll-margin-top: 90px;
}

.hb-price .hb-head { margin-inline: auto; text-align: center; }
.hb-price .hb-head p { margin-inline: auto; }

.hb-price-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

.hb-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-xl);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh-sm);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease,
		border-color 0.3s ease;
	animation: hb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 100ms);
}

/*
 * O plano recomendado inverte: carvão sobre creme. Escurecer o cartão é o
 * jeito mais forte de dizer "este" sem precisar de seta, brilho ou selo
 * piscando — o contraste faz o trabalho sozinho.
 */
.hb-plan.is-top {
	background: var(--hb-deep);
	border-color: var(--hb-deep);
	box-shadow: var(--hb-sh-lg);
	padding-top: 40px;
	color: #fbf6ec;
}

.hb-plan-flag {
	position: absolute;
	top: -13px;
	left: 50%;
	z-index: 4;
	transform: translateX(-50%);
	padding: 6px 16px;
	border-radius: var(--hb-pill);
	background: var(--hb-accent);
	color: var(--hb-on-accent);
	font-family: var(--hb-mono);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0 8px 20px -6px rgba(255, 126, 1, 0.8);
}

.hb-plan-name {
	margin: 0;
	font-family: var(--hb-display);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: inherit;
}

.hb-plan-who {
	margin: 6px 0 0;
	font-size: 0.86rem;
	color: var(--hb-muted);
	min-height: 42px;
}

.hb-plan.is-top .hb-plan-who { color: rgba(251, 246, 236, 0.6); }

/* Preço antigo riscado: pequeno, acima, com o risco em laranja. */
.hb-plan-was {
	margin: 22px 0 -4px;
	font-size: 0.82rem;
	color: var(--hb-muted);
}

.hb-plan.is-top .hb-plan-was { color: rgba(251, 246, 236, 0.55); }

.hb-plan-was s {
	position: relative;
	text-decoration: none;
	font-weight: 600;
}

.hb-plan-was s::after {
	content: "";
	position: absolute;
	left: -2px;
	right: -2px;
	top: 52%;
	height: 2px;
	border-radius: 2px;
	background: var(--hb-accent);
	transform: rotate(-4deg);
}

.hb-plan-price {
	display: flex;
	align-items: baseline;
	gap: 2px;
	margin: 10px 0 0;
	font-family: var(--hb-display);
	color: inherit;
}

/* Sem preço riscado o preço volta a respirar por conta própria. */
.hb-plan-who + .hb-plan-price { margin-top: 22px; }

.hb-plan-cur {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--hb-muted);
	align-self: flex-start;
	margin-top: 8px;
}

.hb-plan.is-top .hb-plan-cur { color: rgba(251, 246, 236, 0.6); }

.hb-plan-int {
	font-size: clamp(2.6rem, 4.2vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.hb-plan-dec {
	font-size: 1.2rem;
	font-weight: 700;
	align-self: flex-start;
	margin-top: 8px;
	font-variant-numeric: tabular-nums;
}

.hb-plan-per {
	margin-left: 6px;
	font-family: var(--hb-body);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--hb-muted);
}

.hb-plan.is-top .hb-plan-per { color: rgba(251, 246, 236, 0.6); }

.hb-plan-eq {
	margin: 9px 0 0;
	font-size: 0.82rem;
	color: var(--hb-muted);
	min-height: 20px;
}

.hb-plan.is-top .hb-plan-eq { color: rgba(251, 246, 236, 0.6); }

.hb-plan-eq strong {
	font-family: var(--hb-mono);
	color: var(--hb-text);
	font-weight: 700;
}

.hb-plan.is-top .hb-plan-eq strong { color: #fbf6ec; }

/* Selo do cupom: borda tracejada, como um ticket destacado. */
.hb-plan-coupon {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	padding: 9px 13px;
	border: 1px dashed var(--hb-money);
	border-radius: 10px;
	background: var(--hb-money-bg);
	font-size: 0.78rem;
	color: var(--hb-money-ink);
}

.hb-plan-coupon .hb-i {
	width: 15px;
	height: 15px;
	flex: none;
	stroke-width: 2.8;
}

.hb-plan-coupon b {
	font-family: var(--hb-mono);
	font-weight: 700;
	letter-spacing: 0.04em;
}

.hb-plan.is-top .hb-plan-coupon {
	border-color: #3ecf78;
	background: rgba(62, 207, 120, 0.12);
	color: #7ee2a5;
}

.hb-plan-quota {
	margin: 20px 0 0;
	padding: 16px 18px;
	border-radius: var(--hb-r);
	background: var(--hb-bg-warm);
	border: 1px solid var(--hb-line);
	font-size: 0.9rem;
	color: var(--hb-dim);
}

.hb-plan.is-top .hb-plan-quota {
	background: rgba(255, 126, 1, 0.12);
	border-color: rgba(255, 126, 1, 0.28);
	color: var(--hb-accent-soft);
}

.hb-plan-quota strong {
	font-family: var(--hb-display);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--hb-text);
	font-variant-numeric: tabular-nums;
	margin-right: 4px;
}

.hb-plan.is-top .hb-plan-quota strong { color: var(--hb-accent); }

.hb-plan-quota em {
	display: block;
	margin-top: 4px;
	font-family: var(--hb-mono);
	font-style: normal;
	font-size: 0.68rem;
	opacity: 0.8;
}

.hb-plan-list {
	list-style: none;
	margin: 24px 0 28px;
	padding: 0;
	display: grid;
	gap: 12px;
	flex: 1;
	align-content: start;
}

.hb-plan-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--hb-dim);
}

.hb-plan.is-top .hb-plan-list li { color: rgba(251, 246, 236, 0.82); }

.hb-plan-list .hb-i {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	flex: none;
	padding: 4px;
	border-radius: 50%;
	background: var(--hb-money-bg);
	color: var(--hb-money);
	stroke-width: 2.8;
}

.hb-plan.is-top .hb-plan-list .hb-i {
	background: rgba(15, 157, 88, 0.2);
	color: #3ecf78;
}

/* --- Dicas na lista do plano ----------------------------- */

/*
 * Mesmo componente da página de produto (.sd-tip + data-sd-tip), mas o CSS de
 * lá só é enfileirado no single. Estes estilos são escopados em .hb, então
 * valem na home sem tocar na página de produto.
 */
.hb .sd-tip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	cursor: help;
}

.hb .sd-tip:hover,
.hb .sd-tip:focus-visible { z-index: 9999; }

.hb .sd-tip-ico {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	opacity: 0.5;
	transition: opacity 0.15s ease;
}

.hb .sd-tip:hover .sd-tip-ico,
.hb .sd-tip:focus-visible .sd-tip-ico { opacity: 1; }

.hb .sd-tip::after {
	content: attr(data-sd-tip);
	position: absolute;
	bottom: calc(100% + 9px);
	left: 50%;
	z-index: 9999;
	width: max-content;
	max-width: 250px;
	padding: 9px 11px;
	border-radius: 8px;
	background: var(--hb-text);
	box-shadow: 0 8px 24px rgba(16, 11, 8, 0.22);
	font-family: var(--hb-body);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-align: left;
	color: #fbf6ec;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(4px);
	transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.16s;
}

/* Bico apontando para o elemento. */
.hb .sd-tip::before {
	content: "";
	position: absolute;
	bottom: calc(100% + 4px);
	left: 50%;
	z-index: 10000;
	border: 5px solid transparent;
	border-top-color: var(--hb-text);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(4px);
	transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.16s;
}

.hb .sd-tip:hover::after,
.hb .sd-tip:hover::before,
.hb .sd-tip:focus-visible::after,
.hb .sd-tip:focus-visible::before {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.hb .sd-tip:focus { outline: none; }

.hb .sd-tip:focus-visible {
	outline: 2px solid var(--hb-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

/* No cartão escuro a dica precisa se separar do fundo. */
.hb-plan.is-top .sd-tip::after {
	background: #fbf6ec;
	color: var(--hb-text);
}

.hb-plan.is-top .sd-tip::before { border-top-color: #fbf6ec; }

/* No celular a dica encostaria na borda; ancorar à esquerda resolve. */
@media (max-width: 520px) {
	.hb .sd-tip::after {
		left: 0;
		transform: translateY(4px);
		max-width: min(250px, calc(100vw - 80px));
	}

	.hb .sd-tip:hover::after,
	.hb .sd-tip:focus-visible::after { transform: translateY(0); }
}

.hb-plan-cats span { color: var(--hb-muted); font-size: 0.86rem; }
.hb-plan.is-top .hb-plan-cats span { color: rgba(251, 246, 236, 0.6); }

.hb .hb-plan-cta { width: 100%; margin-top: auto; }

/* A objeção final, logo abaixo do botão, onde o dedo já está. */
.hb-plan-fine {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-size: 0.72rem;
	color: var(--hb-muted);
}

.hb-plan.is-top .hb-plan-fine { color: rgba(251, 246, 236, 0.55); }

/* No cartão escuro o botão secundário não pode ser um bloco creme apagado. */
.hb-plan.is-top .hb-plan-cta.hb-btn--soft {
	background: var(--hb-accent);
	border-color: var(--hb-accent);
	color: var(--hb-on-accent);
}

@media (hover: hover) {
	.hb-plan:not(.is-top):hover {
		transform: translateY(-4px);
		box-shadow: var(--hb-sh);
		border-color: var(--hb-accent-soft);
	}
}

.hb-price-foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 34px 0 0;
	font-size: 0.86rem;
	color: var(--hb-muted);
	text-align: center;
}

.hb-price-foot .hb-i { width: 16px; height: 16px; color: var(--hb-money); }

/* ============================================================
 * 8. PÚBLICO
 * ============================================================ */

.hb-pers { background: var(--hb-bg-warm); }

.hb-pers-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.hb-pers-card {
	position: relative;
	padding: 28px 24px 30px;
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-lg);
	background: var(--hb-surface);
	box-shadow: var(--hb-sh-sm);
	overflow: hidden;
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease,
		border-color 0.28s ease;
	animation: hb-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 80ms);
}

.hb-pers-ico {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 14px;
	background: var(--hb-accent-bg);
	border: 1px solid var(--hb-accent-soft);
	color: var(--hb-accent-deep);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hb-pers-ico .hb-i { width: 21px; height: 21px; }

.hb-pers-card h3 {
	margin: 0 0 8px;
	font-family: var(--hb-display);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--hb-text);
}

.hb-pers-card p {
	margin: 0;
	font-size: 0.89rem;
	line-height: 1.55;
	color: var(--hb-muted);
}

@media (hover: hover) {
	.hb-pers-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--hb-sh);
		border-color: var(--hb-accent-soft);
	}

	.hb-pers-card:hover .hb-pers-ico { transform: scale(1.08) rotate(-5deg); }
}

/* ============================================================
 * 9. DÚVIDAS
 * ============================================================ */

.hb-faq { background: var(--hb-bg); }

.hb-faq .hb-head { margin-inline: auto; text-align: center; }
.hb-faq .hb-head p { margin-inline: auto; }

.hb-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 20px;
	align-items: start;
	max-width: 1040px;
	margin-inline: auto;
}

.hb-faq-item {
	border: 1px solid var(--hb-line);
	border-radius: var(--hb-r-lg);
	background: var(--hb-surface);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
	animation: hb-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-delay: calc(var(--hb-i, 0) * 50ms);
}

.hb-faq-item[open] {
	border-color: var(--hb-accent-soft);
	box-shadow: var(--hb-sh);
}

.hb-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 18px 20px;
	font-family: var(--hb-display);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hb-text);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

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

/* Sinal de mais que vira menos ao abrir — dois traços, sem ícone extra. */
.hb-faq-sign {
	position: relative;
	width: 22px;
	height: 22px;
	flex: none;
	border-radius: 50%;
	background: var(--hb-bg-warm);
	transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hb-faq-sign::before,
.hb-faq-sign::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	border-radius: 2px;
	background: var(--hb-dim);
	transform: translate(-50%, -50%);
	transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
}

.hb-faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }

.hb-faq-item[open] .hb-faq-sign {
	background: var(--hb-accent);
	transform: rotate(180deg);
}

.hb-faq-item[open] .hb-faq-sign::before,
.hb-faq-item[open] .hb-faq-sign::after { background: var(--hb-on-accent); }

.hb-faq-item[open] .hb-faq-sign::after {
	transform: translate(-50%, -50%) rotate(0deg);
	opacity: 0;
}

.hb-faq-a {
	padding: 0 20px 20px;
	animation: hb-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-faq-a p {
	margin: 0;
	border-top: 1px solid var(--hb-line);
	padding-block-start: 16px;
	font-size: 0.92rem;
	line-height: 1.62;
	color: var(--hb-dim);
}

@media (hover: hover) {
	.hb-faq-item:not([open]):hover { border-color: var(--hb-line-2); }
}

/* ============================================================
 * 10. CHAMADA FINAL
 * ============================================================ */

/*
 * Termina exatamente na cor do rodapé (#222). O degradê desce do quase-preto
 * para ela, então a página escurece e entrega no footer sem linha de emenda.
 */
.hb-cta {
	overflow: hidden;
	background: linear-gradient(180deg, #141414 0%, var(--hb-deep-2) 55%, var(--hb-deep) 100%);
	color: #fbf6ec;
	text-align: center;
}

.hb-cta::before { mix-blend-mode: overlay; opacity: 0.04; }

/* Brasa no alto, onde o texto está — não embaixo, onde encosta no rodapé. */
.hb-cta-glow {
	position: absolute;
	top: -260px;
	left: 50%;
	transform: translateX(-50%);
	width: 1000px;
	height: 680px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 126, 1, 0.26) 0%, transparent 62%);
	filter: blur(60px);
	pointer-events: none;
	z-index: 1;
}

/* --- Fagulhas ------------------------------------------- */

/*
 * Doze pontinhos subindo em ritmos diferentes. Cada <i> recebe posição,
 * tamanho, atraso e duração próprios pelo PHP; se todos partilhassem a mesma
 * animação virariam uma barra piscando, não brasa.
 */
.hb-spark {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.hb-spark i {
	position: absolute;
	bottom: 0;
	left: var(--x);
	width: var(--s);
	height: var(--s);
	border-radius: 50%;
	background: var(--hb-accent);
	opacity: 0;
	box-shadow: 0 0 10px rgba(255, 126, 1, 0.7);
	animation: hb-spark-up var(--t) linear var(--d) infinite;
}

/*
 * Sobem da base até sair pelo topo, derivando um pouco para o lado.
 *
 * A distância é em PIXELS, não em porcentagem: numa translação, % se mede
 * pela altura do próprio elemento. Como o ponto tem 3 a 9px, -110% o fazia
 * subir uns dez pixels e apagar ali mesmo, parecendo uma fileira parada no
 * rodapé. 560px cobre a altura da seção com folga e o overflow corta o resto.
 */
@keyframes hb-spark-up {
	0%   { transform: translate3d(0, 0, 0) scale(0.7); opacity: 0; }
	8%   { opacity: 0.75; }
	85%  { opacity: 0.5; }
	100% { transform: translate3d(46px, -560px, 0) scale(1); opacity: 0; }
}

.hb-cta-in {
	position: relative;
	z-index: 2;
	max-width: 780px;
	animation: hb-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hb-cta h2 {
	font-size: clamp(2rem, 4.6vw, 3.6rem);
	color: #fbf6ec;
}

.hb-cta-in > p {
	margin: 0 auto;
	max-width: 54ch;
	font-size: clamp(1rem, 1.5vw, 1.14rem);
	line-height: 1.6;
	color: rgba(251, 246, 236, 0.68);
}

.hb-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

.hb-cta-note {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 28px;
	font-family: var(--hb-mono);
	font-size: 0.72rem;
	letter-spacing: 0.03em;
	color: rgba(251, 246, 236, 0.6);
}

.hb-cta-note .hb-i { width: 16px; height: 16px; color: #3ecf78; }

/* ============================================================
 * Camada de efeitos
 * ============================================================
 * As variáveis --hb-mx/--hb-my (cursor) e --hb-rx/--hb-ry (inclinação) são
 * escritas por home-blocks.js. Sem o script elas nunca existem e os valores
 * de reserva no var() mantêm o cartão exatamente como está no repouso.
 */

[data-hb-glow] { isolation: isolate; }

[data-hb-glow]::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
	background: radial-gradient(
		280px circle at var(--hb-mx, 50%) var(--hb-my, 50%),
		rgba(255, 126, 1, 0.16),
		rgba(255, 126, 1, 0.06) 42%,
		transparent 68%
	);
}

/* No cartão escuro a luz precisa ser mais forte para existir. */
.hb-plan.is-top[data-hb-glow]::after {
	background: radial-gradient(
		300px circle at var(--hb-mx, 50%) var(--hb-my, 50%),
		rgba(255, 126, 1, 0.28),
		rgba(255, 126, 1, 0.1) 42%,
		transparent 70%
	);
}

@media (hover: hover) {
	[data-hb-glow]:hover::after { opacity: 1; }
}

/*
 * `backwards` em vez de `both`: com `both` o transform final da keyframe fica
 * grudado para sempre e anularia a inclinação. `backwards` cobre o atraso da
 * entrada e devolve o transform ao CSS base — onde a inclinação mora.
 */
[data-hb-tilt] {
	transform: perspective(1200px) rotateX(var(--hb-rx, 0deg)) rotateY(var(--hb-ry, 0deg));
	transform-style: preserve-3d;
	animation-fill-mode: backwards;
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease,
		border-color 0.3s ease;
}

/* O tilt já é o movimento; empurrar o cartão para cima por cima disso embrulha. */
@media (hover: hover) {
	.hb-plan[data-hb-tilt]:not(.is-top):hover {
		transform: perspective(1200px) rotateX(var(--hb-rx, 0deg)) rotateY(var(--hb-ry, 0deg));
	}
}

/* Realce diagonal atravessando a capa do produto. */
.hb-prod-shot::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.35s ease;
	background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.4) 50%, transparent 66%);
}

@media (hover: hover) {
	.hb-prod:hover .hb-prod-shot::after { opacity: 1; }
}

/* Sublinhado que cresce da esquerda. */
.hb-cat-go { position: relative; }

.hb-cat-go::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) {
	.hb-cat:hover .hb-cat-go::after { transform: scaleX(1); }
}

/* ============================================================
 * Responsivo
 * ============================================================ */

@media (max-width: 1200px) {
	.hb-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
	.hb-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hb-pers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.hb-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
	/*
	 * A esteira desce para baixo do texto em vez de sumir: ela é o que mostra
	 * que o catálogo é grande de verdade, e no celular isso vale ainda mais.
	 * Sem a rotação, que em coluna única só cortaria as bordas.
	 */
	.hb-hero-in     { grid-template-columns: minmax(0, 1fr); }
	.hb-hero-app    { margin-top: 26px; }
	.hb-upd-in      { grid-template-columns: minmax(0, 1fr); }
	.hb-upd-mock    { transform: none; }
	.hb-app         { transform: none; }
	.hb-calc-box    { grid-template-columns: minmax(0, 1fr); }
	.hb-calc-out    { border-left: 0; border-top: 1px solid rgba(251, 246, 236, 0.08); }
	/*
	 * Planos viram carrossel de um cartão por vez.
	 *
	 * É scroll-snap nativo, não script: o dedo arrasta e o navegador encaixa
	 * sozinho, com a inércia e a rolagem que o sistema já dá. Um carrossel em
	 * JavaScript aqui só reimplementaria, pior, o que o toque já faz.
	 *
	 * O cartão ocupa 86% da largura de propósito: a beirada do próximo fica
	 * aparecendo e é isso que avisa que há mais para o lado, sem precisar de
	 * setas nem bolinhas.
	 */
	.hb-price-grid {
		display: flex;
		grid-template-columns: none;
		gap: 14px;
		max-width: none;
		overflow-x: auto;
		overflow-y: visible;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		/* Folga no topo para o selo do plano em destaque, que sai da caixa. */
		padding: 20px 18px 10px;
		margin-inline: -18px;
		scroll-padding-inline: 18px;
	}

	.hb-price-grid::-webkit-scrollbar { display: none; }

	.hb-price-grid > .hb-plan {
		flex: 0 0 86%;
		scroll-snap-align: center;
	}
	.hb-plan.is-top { order: -1; }
	.hb-faq-grid    { grid-template-columns: minmax(0, 1fr); max-width: 700px; }
	.hb-head--row   { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 720px) {
	/*
	 * A vitrine de produtos sai do celular. Com um cartão por linha ela vira
	 * uma rolagem longa entre o cliente e os planos, e o mesmo catálogo já
	 * está a um toque pela busca e pelas categorias.
	 */
	.hb-prods      { display: none; }

	.hb            { padding-inline: 18px; }
	.hb-prod-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.hb-value-grid { grid-template-columns: minmax(0, 1fr); }
	.hb-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hb-trust-item:nth-child(2) { border-right: 0; }
	.hb-trust-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(251, 246, 236, 0.09); }
	/*
	 * Um botão por linha.
	 *
	 * Lado a lado eles dividiam a largura da tela e o rótulo do principal era
	 * cortado no meio ("Ver planos e →"), porque a caixa dele é dimensionada
	 * pela frase mais longa — a do preço que aparece no hover. Empilhados,
	 * cada um tem a linha inteira e ninguém corta.
	 */
	.hb-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hb-hero-actions .hb-btn { width: 100%; }
}

@media (max-width: 520px) {
	.hb-cats-grid  { grid-template-columns: minmax(0, 1fr); }
	.hb-pers-grid  { grid-template-columns: minmax(0, 1fr); }
	.hb-prod-grid  { grid-template-columns: minmax(0, 1fr); }
	.hb-cat        { padding: 20px; }
	.hb-vcard      { padding: 24px 22px; }
	.hb-plan       { padding: 28px 22px; }
	.hb-upd-feed a { padding-inline: 16px; }
	.hb-upd-feed img { width: 54px; height: 31px; }
	.hb-hero-trust { gap: 10px 20px; }
	.hb-tab-bar    { gap: 16px; }
}

/* ============================================================
 * Movimento reduzido
 * ============================================================ */

@media (prefers-reduced-motion: reduce) {
	.hb *,
	.hb *::before,
	.hb *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	/*
	 * Não basta desligar a animação: sem isto o elemento congela no primeiro
	 * quadro da keyframe (opacidade zero) e a seção some de vez.
	 */
	.hb-head,
	.hb-eyebrow,
	.hb-h1,
	.hb-sub,
	.hb-hero-actions,
	.hb-hero-trust,
	.hb-hero-deck,
	.hb-float-badge,
	.hb-trust-item,
	.hb-cat,
	.hb-prod,
	.hb-tab-panel,
	.hb-upd-txt,
	.hb-upd-feed,
	.hb-upd-feed li,
	.hb-vcard,
	.hb-plan,
	.hb-upd-mock,
	.hb-hero-app,
	.hb-app-list li,
	.hb-app-q,
	.hb-hero-strip,
	.hb-mock-list li,
	.hb-w > span,
	.hb-calc-box,
	.hb-pers-card,
	.hb-faq-item,
	.hb-faq-a,
	.hb-cta-in {
		opacity: 1 !important;
		transform: none !important;
	}

	/* Estas não têm estado de repouso útil — somem em vez de congelar. */
	.hb-spark,
	.hb .hb-btn--beat::after { display: none; }

}

/* ============================================================
 * Impressão
 * ============================================================ */

@media print {
	.hb::before,
	.hb-hero-glow,
	.hb-cta-glow,
	.hb-spark,
	.hb-hero-app { display: none; }

	.hb { padding-block: 24px; background: #fff; }
	.hb-cta, .hb-plan.is-top { background: #fff; color: #000; }
	.hb-cta h2, .hb-trust-n { color: #000; }
	.hb-trust-grid { background: #fff; border: 1px solid #ccc; }
}
