/* ═══════════════════════════════════════════════════════════════════════════
   HOME — o guia de negócios.

   Sistema visual próprio, com prefixo `hm-`, para não brigar com o site.css
   (que veste as outras páginas) nem com as classes `.guia-*` das páginas
   /empresas. Tudo aqui é desta página.

   A régua: a primeira tela é uma BUSCA, não um anúncio. Quem chega quer achar
   um negócio perto de casa; quem vende o sistema lê logo abaixo.
   ═══════════════════════════════════════════════════════════════════════════ */

.home {
  --hm-tinta: #0F1020;
  --hm-suave: #4A4B63;
  --hm-fraca: #8A8CA6;
  --hm-borda: #E8E9F3;
  --hm-fundo: #F7F7FC;
  --hm-raio: 18px;
  --hm-sombra: 0 18px 50px rgba(15, 16, 32, .10);
  --hm-sombra-alta: 0 30px 70px rgba(15, 16, 32, .18);
  background: #fff;
  color: var(--hm-tinta);
}
.home .envelope { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ─── 1. Busca ─────────────────────────────────────────────────────────────
   Fundo escuro com dois halos de cor. O escuro é de propósito: separa a
   busca do resto da página e faz o cartão branco saltar. */
.hm-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 74px 0 96px;
  background:
    radial-gradient(900px 500px at 12% -10%, color-mix(in srgb, var(--cor) 62%, transparent), transparent 62%),
    radial-gradient(700px 420px at 92% 8%, color-mix(in srgb, #22D3EE 32%, transparent), transparent 60%),
    linear-gradient(165deg, #171735 0%, #0D0D1E 72%);
  color: #fff;
}
.hm-hero::after {           /* textura leve: tira o "plástico" do degradê */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 72%);
}
.hm-hero-conteudo { position: relative; text-align: center; }

.hm-olho {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 7px 14px; margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hm-olho i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.22); }

.hm-h1 {
  font-size: clamp(32px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -2px;
  font-weight: 800; margin: 0 auto 16px; max-width: 16ch;
}
.hm-h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #A78BFA, #22D3EE);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-lead { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.76); max-width: 54ch; margin: 0 auto 28px; }
.hm-lead strong { color: #fff; }

/* O cartão de busca */
.hm-busca {
  display: grid; gap: 0; align-items: stretch;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  background: #fff; border-radius: 20px; padding: 8px;
  box-shadow: var(--hm-sombra-alta);
  max-width: 940px; margin: 0 auto;
  text-align: left;
}
.hm-campo { position: relative; padding: 10px 16px; min-width: 0; border-right: 1px solid var(--hm-borda); }
.hm-campo:nth-of-type(3) { border-right: 0; }
.hm-campo label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--hm-fraca); margin-bottom: 2px; }
.hm-campo input, .hm-campo select {
  width: 100%; border: 0; background: transparent; padding: 0; outline: none;
  font-size: 15.5px; font-weight: 600; color: var(--hm-tinta);
  font-family: inherit; appearance: none; cursor: pointer;
}
.hm-campo input { cursor: text; font-weight: 500; }
.hm-campo input::placeholder { color: var(--hm-fraca); font-weight: 500; }
.hm-campo select:disabled { color: var(--hm-fraca); cursor: not-allowed; }
.hm-campo-seta::after {
  content: ''; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--hm-fraca); border-bottom: 2px solid var(--hm-fraca);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.hm-buscar {
  border: 0; border-radius: 14px; cursor: pointer;
  background: var(--cor); color: #fff; font-weight: 700; font-size: 15.5px;
  padding: 0 26px; display: inline-flex; align-items: center; gap: 8px;
  transition: filter .15s, transform .15s;
}
.hm-buscar:hover { filter: brightness(1.08); transform: translateY(-1px); }

.hm-atalhos { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 22px auto 0; max-width: 820px; }
.hm-atalho {
  border: 1px solid rgba(255,255,255,.20); background: rgba(255,255,255,.08); color: #fff;
  border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s, transform .15s, border-color .15s;
}
.hm-atalho:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); border-color: rgba(255,255,255,.34); }

.hm-provas { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; padding: 0; list-style: none; }
.hm-provas li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.72); font-size: 14px; }
.hm-provas b { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }

/* ─── 2. Diretório ─────────────────────────────────────────────────────── */
.hm-diretorio { padding: 54px 0 64px; background: var(--hm-fundo); }
.hm-secao-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hm-titulo { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -1px; margin: 0 0 6px; font-weight: 800; }
.hm-sub { color: var(--hm-suave); margin: 0; font-size: 15.5px; }
.hm-ver-tudo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--cor); font-size: 14.5px; white-space: nowrap; }

/* Barra de áreas: rola no dedo em vez de virar um muro de fichas. */
.hm-areas { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.hm-areas::-webkit-scrollbar { display: none; }
.hm-area {
  flex: 0 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--hm-borda); background: #fff; color: var(--hm-suave);
  border-radius: 999px; padding: 9px 15px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.hm-area:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--cor) 45%, var(--hm-borda)); }
.hm-area b { font-size: 12px; font-weight: 700; color: var(--hm-fraca); background: var(--hm-fundo); border-radius: 999px; padding: 1px 7px; }
.hm-area-ativa { background: var(--hm-tinta); border-color: var(--hm-tinta); color: #fff; }
.hm-area-ativa b { background: rgba(255,255,255,.18); color: #fff; }

.hm-grade { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); }

.hm-cartao {
  position: relative; background: #fff; border: 1px solid var(--hm-borda); border-radius: var(--hm-raio);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s;
}
.hm-cartao:hover { transform: translateY(-4px); box-shadow: var(--hm-sombra); border-color: color-mix(in srgb, var(--cor) 40%, var(--hm-borda)); }
.hm-cartao[hidden] { display: none; }

.hm-capa { position: relative; height: 96px; background: linear-gradient(120deg, color-mix(in srgb, var(--cor) 22%, #fff), color-mix(in srgb, #22D3EE 16%, #fff)); }
.hm-capa img { width: 100%; height: 100%; object-fit: cover; }
.hm-capa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(255,255,255,.9)); }

.hm-cartao-corpo { padding: 0 16px 16px; margin-top: -26px; position: relative; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hm-logo {
  width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid var(--hm-borda);
  box-shadow: 0 6px 16px rgba(15,16,32,.10); overflow: hidden; display: grid; place-items: center;
  font-weight: 800; color: var(--cor); font-size: 18px;
}
.hm-logo img { width: 100%; height: 100%; object-fit: cover; }
.hm-nome { font-size: 16.5px; font-weight: 700; line-height: 1.25; margin: 0; }
.hm-nome a { color: inherit; }
.hm-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; color: var(--hm-fraca); }
.hm-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hm-meta .hm-meta-area { color: var(--cor); font-weight: 600; }
.hm-rodape-cartao { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; }
.hm-rodape-cartao .botao { flex: 1 1 auto; justify-content: center; }
.hm-tag-agenda {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(15,16,32,.72); color: #fff; backdrop-filter: blur(6px);
  border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 700;
}
.hm-tag-agenda i { width: 6px; height: 6px; border-radius: 50%; background: #34D399; }

.hm-vazio { text-align: center; padding: 46px 16px; color: var(--hm-suave); }
.hm-vazio strong { display: block; font-size: 18px; color: var(--hm-tinta); margin-bottom: 6px; }
.hm-vazio .botao { margin-top: 14px; }

/* ─── 3. Mapa ──────────────────────────────────────────────────────────── */
.hm-mapa-bloco { margin-top: 22px; background: #fff; border: 1px solid var(--hm-borda); border-radius: var(--hm-raio); overflow: hidden; }
.hm-mapa-topo { padding: 16px 18px 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hm-mapa-topo h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0; }
.hm-mapa-topo p { margin: 2px 0 0; font-size: 13.5px; color: var(--hm-fraca); }
.hm-mapa { height: 420px; position: relative; background: var(--hm-fundo); }
.hm-mapa-espera { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--hm-fraca); font-size: 14px; }
.hm-pino { background: none !important; border: 0 !important; }
.hm-pino-corpo {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 8px 20px rgba(15,16,32,.28);
  display: grid; place-items: center; font-weight: 800; color: var(--cor); font-size: 14px;
  transition: transform .16s;
}
.hm-pino-corpo img { width: 100%; height: 100%; object-fit: cover; }
.hm-pino:hover .hm-pino-corpo { transform: scale(1.1); }
.hm-pino-assina .hm-pino-corpo { border-color: #34D399; }
.hm-pino-grupo .hm-pino-corpo { background: var(--hm-tinta); color: #fff; font-size: 16px; }

/* ─── 4. Para quem tem negócio (seção escura) ──────────────────────────── */
.hm-donos { background: linear-gradient(170deg, #12122A, #0B0B1A); color: #fff; padding: 62px 0; }
.hm-donos .hm-titulo { color: #fff; }
.hm-donos-grade { display: grid; gap: 34px; grid-template-columns: 1.05fr .95fr; align-items: center; }
.hm-donos-texto .hm-sub { color: rgba(255,255,255,.72); }
.hm-beneficios { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 14px; }
.hm-beneficios li { display: flex; gap: 12px; align-items: flex-start; }
.hm-beneficios .hm-bola { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #A78BFA; border: 1px solid rgba(255,255,255,.12); }
.hm-beneficios strong { display: block; font-size: 15.5px; margin-bottom: 2px; }
.hm-beneficios p { margin: 0; font-size: 14px; color: rgba(255,255,255,.66); }
.hm-donos-tela { display: grid; place-items: center; }
.hm-donos-tela img { width: 100%; max-width: 320px; border-radius: 26px; box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12); }

/* ─── Entrada suave ────────────────────────────────────────────────────── */
.hm-revela { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.hm-revelado { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hm-revela { opacity: 1; transform: none; transition: none; }
  .hm-cartao, .hm-buscar, .hm-area { transition: none; }
}

/* ─── Telas pequenas ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hm-hero { padding: 52px 0 66px; }
  .hm-busca { grid-template-columns: 1fr; padding: 10px; gap: 2px; }
  .hm-campo { border-right: 0; border-bottom: 1px solid var(--hm-borda); padding: 12px 14px; }
  .hm-campo:nth-of-type(3) { border-bottom: 0; }
  .hm-buscar { width: 100%; justify-content: center; padding: 15px; margin-top: 6px; }
  .hm-provas { gap: 18px; }
  .hm-donos-grade { grid-template-columns: 1fr; }
  .hm-donos-tela { order: -1; }
  .hm-mapa { height: 320px; }
  .hm-grade { grid-template-columns: 1fr; }
}

/* ─── Topo ─────────────────────────────────────────────────────────────────
   Na home ele começa transparente sobre o herói escuro e vira branco ao
   rolar. Barra branca em cima de fundo escuro corta a página em duas. */
.topo-sobreposto {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.topo-sobreposto .site-topo-linha { padding: 16px; }
.topo-sobreposto .site-nav > a:not(.botao) { color: rgba(255,255,255,.86); }
.topo-sobreposto .site-nav > a:not(.botao):hover { color: #fff; }
.topo-sobreposto .botao-neutro {
  background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); color: #fff;
  backdrop-filter: blur(6px);
}
.topo-sobreposto .botao-neutro:hover { background: rgba(255,255,255,.20); }
/* Metade da marca é preta: no fundo escuro ela some e sobra só o contorno
   verde. Em vez de pintar a logo (o que descaracteriza a marca), ela ganha um
   selo branco — as cores originais continuam, e a leitura é garantida. */
.topo-sobreposto .topo-marca {
  background: #fff; padding: 7px 13px; border-radius: 13px;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.topo-sobreposto.topo-preso .topo-marca { background: transparent; padding: 0; box-shadow: none; }
.topo-sobreposto .topo-menu-botao span { background: #fff; }

/* Rolou: vira barra branca sólida. */
.topo-sobreposto.topo-preso {
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom-color: var(--hm-borda); box-shadow: 0 6px 24px rgba(15,16,32,.06);
}
.topo-sobreposto.topo-preso .site-topo-linha { padding: 10px 16px; }
.topo-sobreposto.topo-preso .site-nav > a:not(.botao) { color: var(--hm-suave); }
.topo-sobreposto.topo-preso .botao-neutro { background: #fff; border-color: var(--hm-borda); color: var(--hm-tinta); backdrop-filter: none; }
.topo-sobreposto.topo-preso .topo-logo, .topo-sobreposto.topo-preso .topo-marca img { filter: none; }
.topo-sobreposto.topo-preso .topo-menu-botao span { background: var(--hm-tinta); }

.home .site-topo-linha { gap: 22px; }
.home .topo-marca img, .home .topo-logo { height: 30px; width: auto; transition: filter .25s ease; }
/* Os itens do menu são pílulas, como os botões ao lado. O sublinhado que
   havia aqui antes encostava no texto e parecia link quebrado. */
.home .site-nav { gap: 4px; align-items: center; }
.home .site-nav > a:not(.botao) {
  font-size: 14.5px; font-weight: 600; padding: 9px 14px; border-radius: 11px;
  transition: background .16s ease, color .16s ease;
}
.home .site-nav > a:not(.botao):hover { background: rgba(15,16,32,.06); text-decoration: none; }
.home .site-nav .botao { border-radius: 11px; }
.home .site-nav > .botao:first-of-type { margin-left: 10px; }

/* Botão de menu e gaveta do celular: site.css (valem em todas as páginas). */

/* Com o topo fixo, o herói começa embaixo dele. */
.home .hm-hero { padding-top: 116px; }
@media (max-width: 860px) { .home .hm-hero { padding-top: 96px; } }


/* ─── Item atual do menu ───────────────────────────────────────────────────
   Sem marcar onde a pessoa está, o menu vira uma fileira de palavras soltas. */
.home .site-nav > a.aqui { color: var(--hm-tinta); background: rgba(15,16,32,.07); }
.topo-sobreposto .site-nav > a:not(.botao):hover { background: rgba(255,255,255,.12); }
.topo-sobreposto .site-nav > a.aqui { color: #fff; background: rgba(255,255,255,.16); }
.topo-sobreposto.topo-preso .site-nav > a:not(.botao):hover { background: rgba(15,16,32,.06); }
.topo-sobreposto.topo-preso .site-nav > a.aqui { color: var(--hm-tinta); background: rgba(15,16,32,.07); }

/* ─── Convite no fim do guia ──────────────────────────────────────────────
   A única fala com o dono de negócio dentro da home. Uma faixa, não uma
   seção de venda: a conversa inteira é em /para-empresas. */
.hm-convite { background: #fff; padding: 8px 0 64px; }
.hm-convite-caixa {
  display: grid; gap: 28px; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  background: linear-gradient(120deg, #15152E, #0C0C1C);
  border-radius: 22px; padding: 34px 36px; color: #fff;
  box-shadow: var(--hm-sombra);
}
.hm-convite-texto .hm-olho { margin-bottom: 14px; }
.hm-convite-texto h2 {
  font-size: clamp(21px, 2.6vw, 28px); line-height: 1.22; letter-spacing: -.7px;
  margin: 0 0 10px; max-width: 24ch;
}
.hm-convite-lead { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.6; max-width: 52ch; }
.hm-convite-acoes { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.hm-convite-saiba { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.hm-convite-saiba:hover { text-decoration: none; opacity: .85; }

/* ─── A seção dos donos como herói da página de vendas ─────────────────── */
.hm-donos-heroi { padding-top: 110px; }
.hm-donos-heroi .hm-titulo { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.06; letter-spacing: -1.6px; }
.hm-donos-heroi .hm-sub { font-size: 17px; max-width: 46ch; }
@media (max-width: 860px) {
  .hm-convite-caixa { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .hm-convite-acoes { justify-content: flex-start; }
  .hm-convite-acoes .botao { width: 100%; justify-content: center; }
  .hm-donos-heroi { padding-top: 92px; }
}

/* A página de vendas usa as seções antigas do site.css; aqui só o ritmo. */
.home .site-secao { padding: 56px 0; }
.home .site-secao h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.8px; }

/* ─── O mapa não pode escapar da caixa dele ────────────────────────────────
   O Leaflet dá z-index alto aos próprios painéis (400 no mapa, 1000 nos
   controles). Sem uma camada própria, ele passa por cima do topo fixo e do
   que vem depois na página. `isolation` prende essa numeração aqui dentro. */
.hm-mapa-bloco { position: relative; z-index: 0; isolation: isolate; }
.hm-mapa { isolation: isolate; }
.hm-mapa .leaflet-pane,
.hm-mapa .leaflet-top,
.hm-mapa .leaflet-bottom { z-index: 1; }
.hm-mapa .leaflet-control-container .leaflet-top { z-index: 2; }

/* O topo fica acima de qualquer coisa da página. */
.site-topo { z-index: 1200; }

/* O `.home .envelope` acima zera o espaçamento vertical de TODO envelope —
   inclusive os dois do rodapé, que ficavam espremidos um no outro. Aqui eles
   recuperam a folga (e com peso maior, porque home.css carrega por último). */
.home .site-rodape .rodape-grade { padding: 44px 20px 30px; }
.home .site-rodape .rodape-fim { padding: 16px 20px 24px; }
.home .site-rodape .envelope { max-width: 1180px; }

/* Atalhos e áreas viraram links (abrem a página da área). */
a.hm-atalho, a.hm-area { text-decoration: none; }
a.hm-atalho:hover, a.hm-area:hover { text-decoration: none; }

/* O cartão inteiro abre os detalhes (home.js, data-detalhes). */
.hm-cartao[data-detalhes] { cursor: pointer; }

/* Cartões da vitrine: todos pretos (pedido do dono, para valorizar), com a
   área em etiqueta no canto de cima e a logo ao lado do nome. */
.hm-cartao { background: #0B0C10; border-color: #20232E; color: #fff; box-shadow: 0 14px 30px -20px rgba(0,0,0,.6); }
.hm-cartao:hover { border-color: color-mix(in srgb, var(--cor) 60%, #20232E); box-shadow: 0 18px 38px -18px rgba(0,0,0,.7); }
.hm-capa { height: 120px; background: #15171F; }
.hm-capa::after { background: linear-gradient(180deg, rgba(11,12,16,.15) 0%, transparent 35%, #0B0C10 100%); }
.hm-tag-nicho {
  position: absolute; top: 12px; left: 12px; z-index: 2; max-width: calc(100% - 150px);
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(11,12,16,.72); color: #fff; backdrop-filter: blur(6px);
  border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-tag-nicho .icone-svg { flex: none; color: color-mix(in srgb, var(--cor) 45%, #fff); }
.hm-cartao-corpo { margin-top: -28px; gap: 14px; }
.hm-identidade { display: flex; align-items: flex-end; gap: 12px; min-width: 0; }
.hm-identidade-texto { min-width: 0; padding-bottom: 2px; }
.hm-logo { flex: none; background: #15171F; border: 2px solid var(--cor); border-radius: 50%; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.hm-nome { color: #fff; }
.hm-nome a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-meta { color: rgba(255,255,255,.62); margin-top: 3px; }
.hm-cartao .botao-neutro { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.hm-cartao .botao-neutro:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.hm-logo-caixa { position: relative; flex: none; display: inline-flex; }
/* Redonda de verdade: a caixa, a imagem e as iniciais. */
.hm-logo, .hm-logo img { border-radius: 50% !important; }
.hm-logo { overflow: hidden; }

/* Seta discreta no lugar do botão: o cartão inteiro abre a empresa. */
.hm-identidade-texto { flex: 1 1 auto; }
.hm-seta { flex: none; align-self: center; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); transition: background .15s, color .15s, transform .15s; }
.hm-cartao:hover .hm-seta { background: var(--cor); color: #fff; transform: translateX(2px); }
/* Etiqueta da área discreta: nome longo ("Assistência técnica de celulares")
   vira "…" em vez de atravessar a foto. */
.hm-tag-nicho, .hm-tag-agenda { font-size: 10.5px; padding: 4px 8px; gap: 4px; }
.hm-tag-nicho { max-width: 55%; }
.hm-tag-nicho .icone-svg { width: 11px; height: 11px; }

/* ─── Mapa: bolhas por cidade, marca de cada empresa e o balão ─────────── */
.hm-pino-corpo .hm-marca-iniciais {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.hm-pino .hm-pino-corpo { border: 2px solid var(--cor, #7C3AED); background: #fff; }
.hm-pino-assina .hm-pino-corpo { border-color: var(--cor, #7C3AED); box-shadow: 0 0 0 3px rgba(124, 58, 237, .25), 0 6px 16px rgba(0, 0, 0, .25); }
.hm-pino-cidade .hm-pino-corpo,
.hm-pino-grupo .hm-pino-corpo {
  width: 100%; height: 100%; background: #0B0C10; color: #fff; border: 2px solid var(--cor, #7C3AED);
  font-size: 13px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.hm-popup .leaflet-popup-content-wrapper {
  background: #0B0C10; color: #fff; border-radius: 18px; padding: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08);
}
.hm-popup .leaflet-popup-content { margin: 0; width: auto !important; min-width: 250px; }
.hm-popup .leaflet-popup-tip { background: #0B0C10; }
.hm-popup a.leaflet-popup-close-button { color: rgba(255, 255, 255, .6); top: 8px; right: 8px; font-size: 20px; }
.hm-popup a.leaflet-popup-close-button:hover { color: #fff; }
.hm-balao { padding: 16px; display: grid; gap: 14px; font-family: inherit; }
.hm-balao-topo { display: flex; align-items: center; gap: 12px; padding-right: 14px; }
.hm-balao-marca {
  position: relative; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--cor, #7C3AED); background: #fff; display: grid; place-items: center;
}
.hm-balao-marca > img, .hm-balao-marca > .hm-marca-iniciais {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
}
.hm-balao-cidade { background: rgba(124, 58, 237, .18); color: #C4B5FD; }
.hm-balao-cidade svg { width: 22px; height: 22px; }
.hm-balao-selo { position: absolute; right: -4px; bottom: -4px; color: var(--cor, #7C3AED); background: #0B0C10; border-radius: 50%; padding: 1px; }
.hm-balao-texto { display: grid; gap: 3px; min-width: 0; }
.hm-balao-area {
  justify-self: start; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
  color: #C4B5FD; background: rgba(124, 58, 237, .18); padding: 3px 8px; border-radius: 999px;
}
.hm-balao-texto strong { font-size: 15.5px; line-height: 1.25; color: #fff; }
.hm-balao-texto small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.hm-balao-texto small svg { flex: 0 0 auto; }
.hm-balao-botao {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 14px; border-radius: 12px;
  background: var(--cor, #7C3AED); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none;
}
.hm-balao-botao:hover { filter: brightness(1.1); }
.hm-balao-lista { gap: 12px; }
.hm-balao-carregando { font-size: 13px; color: rgba(255, 255, 255, .6); padding: 6px 0; }
.hm-balao-empresas { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 250px; overflow-y: auto; overscroll-behavior: contain; }
.hm-balao-empresas a {
  display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px;
  color: #fff !important; text-decoration: none;
}
.hm-balao-empresas a:hover { background: rgba(255, 255, 255, .07); }
.hm-balao-empresas a > svg { flex: 0 0 auto; color: rgba(255, 255, 255, .45); }
.hm-balao-empresas .hm-balao-texto { flex: 1 1 auto; }
.hm-balao-empresas .hm-balao-texto strong { font-size: 13.5px; }
.hm-balao-empresas .hm-balao-texto small { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-balao-marca-p { flex: 0 0 38px; width: 38px; height: 38px; }
.hm-balao-marca-p > .hm-marca-iniciais { font-size: 13px; }
.hm-balao-marca-p .hm-balao-selo { width: 15px; height: 15px; right: -4px; bottom: -4px; }
.hm-balao-empresas { max-height: 210px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.hm-balao-empresas::-webkit-scrollbar { width: 6px; }
.hm-balao-empresas::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 6px; }
.hm-balao-empresas .hm-balao-texto strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .hm-popup .leaflet-popup-content { min-width: 0 !important; width: calc(100vw - 80px) !important; max-width: 300px; }
}
.hm-balao-lista { width: 300px; max-width: calc(100vw - 80px); box-sizing: border-box; }
@media (max-width: 700px) {
  .hm-mapa { height: 440px; }
  .hm-balao-empresas { max-height: 160px; }
  .hm-balao { padding: 14px; gap: 10px; }
}

/* Balão da empresa: capa, marca sobreposta, nome, endereço e ações */
.hm-balao.hm-balao-empresa { padding: 0; gap: 0; width: 290px; max-width: calc(100vw - 80px); overflow: hidden; border-radius: 18px; }
.hm-balao-capa { position: relative; height: 104px; background: linear-gradient(135deg, #2E1065, #7C3AED); }
.hm-balao-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-balao-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,16,.15) 0%, rgba(11,12,16,.55) 100%); }
.hm-balao-capa .hm-balao-area {
  position: absolute; z-index: 1; left: 10px; top: 10px; max-width: calc(100% - 52px);
  background: rgba(11, 12, 16, .72); color: #fff; backdrop-filter: blur(6px);
  font-size: 10px; letter-spacing: .03em; padding: 4px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-balao-capa .hm-balao-marca { position: absolute; z-index: 1; left: 14px; bottom: -26px; width: 56px; height: 56px; flex: none; box-shadow: 0 0 0 3px #0B0C10; }
.hm-balao-corpo { padding: 34px 16px 16px; display: grid; gap: 10px; }
.hm-balao-nome { font-size: 16px; line-height: 1.25; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-balao-endereco { display: flex; gap: 8px; align-items: flex-start; color: rgba(255,255,255,.7); font-size: 12.5px; line-height: 1.4; }
.hm-balao-endereco svg { flex: 0 0 auto; margin-top: 2px; color: #C4B5FD; }
.hm-balao-endereco span { display: grid; gap: 1px; min-width: 0; }
.hm-balao-endereco b { font-weight: 600; color: rgba(255,255,255,.88); }
.hm-balao-endereco i { font-style: normal; }
.hm-balao-acoes { display: flex; gap: 8px; margin-top: 2px; }
.hm-balao-acoes .hm-balao-botao { flex: 1 1 auto; }
.hm-balao-acoes .hm-balao-botao-2 { flex: 0 0 44px; padding: 0; background: rgba(255,255,255,.1); }
.hm-balao-acoes .hm-balao-botao-2:hover { background: rgba(255,255,255,.16); filter: none; }
.hm-popup.leaflet-popup a.leaflet-popup-close-button { z-index: 2; width: 26px; height: 26px; line-height: 24px; border-radius: 50%; background: rgba(11,12,16,.6); color: #fff; }

/* Mapa limpo: círculos leves por estado e por cidade */
.hm-pino-estado .hm-pino-corpo,
.hm-pino-cidade .hm-pino-corpo,
.hm-pino-grupo .hm-pino-corpo {
  width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 0;
  line-height: 1.05; white-space: nowrap; font-weight: 800; letter-spacing: -.01em;
  box-shadow: 0 2px 6px rgba(15, 16, 32, .18) !important; transition: transform .15s;
}
.hm-pino-estado .hm-pino-corpo {
  background: rgba(11, 12, 16, .92); color: #fff; border: 2px solid var(--cor, #7C3AED); font-size: 12.5px;
}
.hm-pino-estado .hm-pino-corpo small { font-size: 9.5px; font-weight: 700; color: #C4B5FD; letter-spacing: .04em; margin-top: 1px; }
.hm-pino-cidade .hm-pino-corpo {
  background: var(--cor, #7C3AED); color: #fff; border: 2px solid #fff; font-size: 11.5px;
}
.hm-pino-grupo .hm-pino-corpo {
  background: #fff; color: var(--cor, #7C3AED); border: 2px solid var(--cor, #7C3AED); font-size: 12px;
}
.hm-pino-estado:hover .hm-pino-corpo, .hm-pino-cidade:hover .hm-pino-corpo, .hm-pino-grupo:hover .hm-pino-corpo { transform: scale(1.08); }
.hm-mapa .marker-cluster, .hm-mapa .marker-cluster div { background: none !important; }
.leaflet-tooltip.hm-dica {
  background: #0B0C10; color: #fff; border: 0; border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.leaflet-tooltip.hm-dica::before { border-top-color: #0B0C10; }
@media (max-width: 520px) {
  .hm-pino-estado .hm-pino-corpo { font-size: 11px; }
  .hm-pino-estado .hm-pino-corpo small { font-size: 8.5px; }
  .hm-pino-cidade .hm-pino-corpo, .hm-pino-grupo .hm-pino-corpo { font-size: 10.5px; }
}
.hm-pino:not(.hm-pino-estado):not(.hm-pino-cidade):not(.hm-pino-grupo) .hm-pino-corpo { width: 100%; height: 100%; box-shadow: 0 3px 10px rgba(15, 16, 32, .25); }

/* ─── Topo da home em movimento ─────────────────────────────────────────────
   Entrada em cascata (selo → título palavra a palavra → texto → busca →
   atalhos → números) e, depois, movimento contínuo e leve: halos de cor que
   passeiam no fundo, ícones das áreas flutuando nas laterais, o degradê de
   "perto de você" correndo e um brilho que passa no botão Buscar.
   Tudo em CSS; o home.js só conta os números, digita exemplos na busca e
   move os ícones com o mouse. Quem pede menos movimento no sistema vê a
   página parada (bloco no fim). */
@keyframes hmSobe      { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hmPalavra   { from { opacity: 0; transform: translateY(.5em) rotate(3deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes hmCartao    { from { opacity: 0; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hmDegrade   { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes hmPulso     { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes hmHalo1     { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(14vw, 8vh) scale(1.15); } }
@keyframes hmHalo2     { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-12vw, 10vh) scale(.9); } }
@keyframes hmHalo3     { 0%,100% { transform: translate(0,0) scale(.9); } 50% { transform: translate(6vw, -8vh) scale(1.2); } }
@keyframes hmFlutua    { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
@keyframes hmAparece   { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes hmBrilho    { 0%, 70% { transform: translateX(-130%) skewX(-20deg); } 100% { transform: translateX(230%) skewX(-20deg); } }
@keyframes hmRespira   { 0%,100% { box-shadow: var(--hm-sombra-alta), 0 0 0 0 color-mix(in srgb, var(--cor) 0%, transparent); }
                         50%     { box-shadow: var(--hm-sombra-alta), 0 0 42px 2px color-mix(in srgb, var(--cor) 45%, transparent); } }

.hm-hero[data-hero-animado] .hm-hero-conteudo { z-index: 2; }
.hm-hero[data-hero-animado] .hm-olho { animation: hmSobe .6s cubic-bezier(.2,.8,.25,1) both; }
.hm-hero[data-hero-animado] .hm-olho i { animation: hmPulso 2.2s ease-out 1s infinite; }
.hm-hero[data-hero-animado] .hm-h1 .hm-p {
  display: inline-block;
  animation: hmPalavra .75s cubic-bezier(.2,.8,.25,1) both;
  animation-delay: calc(.15s + var(--i) * .07s);
}
.hm-hero[data-hero-animado] .hm-h1 em.hm-p {
  background: linear-gradient(100deg, #A78BFA, #22D3EE, #F0ABFC, #A78BFA);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hmPalavra .75s cubic-bezier(.2,.8,.25,1) both, hmDegrade 6s ease-in-out 1s infinite alternate;
  animation-delay: calc(.15s + var(--i) * .07s), 1s;
}
.hm-hero[data-hero-animado] .hm-lead { animation: hmSobe .7s cubic-bezier(.2,.8,.25,1) .75s both; }
.hm-hero[data-hero-animado] .hm-busca {
  animation: hmCartao .8s cubic-bezier(.2,.8,.25,1) .9s both, hmRespira 4.5s ease-in-out 2s infinite;
}
.hm-hero[data-hero-animado] .hm-buscar { position: relative; overflow: hidden; }
.hm-hero[data-hero-animado] .hm-buscar::after {
  content: ''; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  animation: hmBrilho 4.5s ease-in-out 2.4s infinite; pointer-events: none;
}
.hm-hero[data-hero-animado] .hm-atalho { animation: hmSobe .55s cubic-bezier(.2,.8,.25,1) both; animation-delay: calc(1.15s + var(--i) * .07s); }
.hm-hero[data-hero-animado] .hm-provas li { animation: hmSobe .55s cubic-bezier(.2,.8,.25,1) both; animation-delay: calc(1.5s + var(--i) * .1s); }
.hm-hero[data-hero-animado] .hm-provas b { font-variant-numeric: tabular-nums; }

/* Halos: três manchas de cor desfocadas que passeiam devagar no fundo. */
.hm-halos { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hm-halos span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
}
.hm-halos span:nth-child(1) { left: -10%; top: -30%; background: color-mix(in srgb, var(--cor) 70%, transparent); animation: hmHalo1 18s ease-in-out infinite; }
.hm-halos span:nth-child(2) { right: -12%; top: -20%; background: rgba(34, 211, 238, .45); animation: hmHalo2 22s ease-in-out infinite; }
.hm-halos span:nth-child(3) { left: 35%; bottom: -45%; background: rgba(240, 171, 252, .30); animation: hmHalo3 26s ease-in-out infinite; }

/* Ícones das áreas flutuando nas laterais (só onde sobra espaço). */
.hm-flutuantes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hm-flutua {
  position: absolute; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 17px;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); box-shadow: 0 14px 30px rgba(0,0,0,.28);
  translate: var(--mx, 0) var(--my, 0);
  transition: translate .6s cubic-bezier(.2,.8,.25,1);
  animation: hmAparece .6s cubic-bezier(.2,.8,.25,1) both, hmFlutua var(--dur, 8s) ease-in-out infinite;
  animation-delay: calc(1.3s + var(--k) * .09s), var(--atraso, 0s);
}
.hm-flutua:nth-child(odd) { color: #C4B5FD; }
.hm-flutua:nth-child(3n) { color: #67E8F9; }
@media (max-width: 1100px) { .hm-flutuantes { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hm-hero[data-hero-animado] *, .hm-hero[data-hero-animado] *::after, .hm-halos span, .hm-flutua { animation: none !important; transition: none !important; }
}

/* ─── Página de vendas (/para-empresas): herói no padrão do topo da home ───
   Mesmo fundo (halos que andam + textura de pontos), ícones flutuando e o
   título palavra por palavra com o trecho principal em degradê. O conteúdo
   continua em duas colunas: texto à esquerda, a página no celular à direita. */
.hm-donos-heroi.hm-hero {
  background:
    radial-gradient(900px 500px at 12% -10%, color-mix(in srgb, var(--cor) 62%, transparent), transparent 62%),
    radial-gradient(700px 420px at 92% 8%, color-mix(in srgb, #22D3EE 32%, transparent), transparent 60%),
    linear-gradient(165deg, #171735 0%, #0D0D1E 72%);
  padding-bottom: 84px;
}
.hm-donos-heroi .hm-hero-conteudo { text-align: left; }
.hm-donos-heroi .hm-h1 { font-size: clamp(32px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -2px; margin: 0 0 16px; max-width: 14ch; }
.hm-donos-heroi .hm-flutua { opacity: .75; }
.hm-donos-heroi[data-hero-animado] .hm-sub { animation: hmSobe .7s cubic-bezier(.2,.8,.25,1) .75s both; }
.hm-donos-heroi[data-hero-animado] .hm-beneficios li { animation: hmSobe .55s cubic-bezier(.2,.8,.25,1) both; }
.hm-donos-heroi[data-hero-animado] .hm-beneficios li:nth-child(1) { animation-delay: .95s; }
.hm-donos-heroi[data-hero-animado] .hm-beneficios li:nth-child(2) { animation-delay: 1.05s; }
.hm-donos-heroi[data-hero-animado] .hm-beneficios li:nth-child(3) { animation-delay: 1.15s; }
.hm-donos-heroi[data-hero-animado] .hm-beneficios li:nth-child(4) { animation-delay: 1.25s; }
.hm-donos-heroi[data-hero-animado] .site-acoes { animation: hmSobe .6s cubic-bezier(.2,.8,.25,1) 1.35s both; }
.hm-donos-heroi[data-hero-animado] .site-acoes + .hm-sub { animation-delay: 1.45s; }
.hm-donos-heroi[data-hero-animado] .hm-donos-tela { animation: hmCartao .9s cubic-bezier(.2,.8,.25,1) .5s both; }
@media (max-width: 860px) {
  .hm-donos-heroi .hm-hero-conteudo { text-align: center; }
  .hm-donos-heroi .hm-h1 { margin: 0 auto 16px; }
  .hm-donos-heroi .site-acoes { justify-content: center !important; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-donos-heroi[data-hero-animado] * { animation: none !important; }
}

/* Vitrine do topo de vendas: iPad + iPhone do mesmo ramo, lado a lado. */
.hm-mostruario, .hm-vitrine { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
/* Aparelhos "de verdade": cena 3D em ângulo de foto de produto. Cada aparelho
   é uma frente (moldura metálica + vidro) com camadas atrás que formam a
   espessura — com a inclinação, a lateral aparece como num aparelho real. */
.hm-aparelhos { --rx: 0deg; --ry: 0deg; position: relative; width: 100%; max-width: 600px; height: 560px; margin-bottom: 18px; perspective: 1800px; perspective-origin: 50% 40%; }
.rl-cena { position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(9deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(2deg);
  animation: rlFlutua 8s ease-in-out infinite; }
@keyframes rlFlutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.rl-chao { position: absolute; left: 8%; right: 4%; bottom: 6px; height: 46px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); filter: blur(10px); animation: rlSombra 8s ease-in-out infinite; }
@keyframes rlSombra { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.92); opacity: .7; } }

.rl-ipad, .rl-iphone { position: absolute; transform-style: preserve-3d; }
.rl-frente, .rl-lado { position: absolute; inset: 0; border-radius: var(--raio); }
.rl-lado { transform: translateZ(calc(var(--c) * var(--passo) * -1)); background: var(--lateral); }
.rl-lado:last-of-type { box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.rl-frente { background: var(--moldura); padding: var(--aro); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 0 0 2px rgba(0,0,0,.25); }
.rl-vidro { position: relative; width: 100%; height: 100%; border-radius: calc(var(--raio) - var(--aro)); background: #050507; padding: var(--borda-preta); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.rl-brilho { position: absolute; inset: 0; pointer-events: none; z-index: 4; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.07) 28%, rgba(255,255,255,0) 29%, rgba(255,255,255,0) 72%, rgba(255,255,255,.05) 100%); }
.rl-btn { position: absolute; background: var(--moldura); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }

/* iPad Pro (alumínio prateado) */
.rl-ipad { --raio: 26px; --aro: 3px; --borda-preta: 13px; --passo: 1.2px;
  --moldura: linear-gradient(135deg, #f2f2f4 0%, #b9bac0 18%, #eeeff2 38%, #9a9ba2 62%, #d9dade 82%, #a6a7ad 100%);
  --lateral: linear-gradient(135deg, #c4c5ca, #7d7e84 50%, #b3b4b9);
  left: 2%; top: 26px; width: 62%; aspect-ratio: 3 / 4; }
.rl-ipad .rl-vidro { border-radius: 22px; }
.rl-ipad .hm-ipad-tela { position: relative; width: 100%; height: 100%; border-radius: 9px; overflow: hidden; background: #fff; }
.rl-camera { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a66, #0a0d14 70%); z-index: 5; }
.rl-ipad-topo { top: -2px; right: 16%; width: 38px; height: 3px; }
.rl-ipad-vol { right: -2px; top: 12%; width: 3px; height: 54px; }

/* iPhone Pro (titânio natural) */
.rl-iphone { --raio: 38px; --aro: 3px; --borda-preta: 7px; --passo: 1.7px;
  --moldura: linear-gradient(135deg, #e3e0da 0%, #8f8b84 16%, #f4f1eb 34%, #77736c 58%, #d6d2cb 80%, #8a867f 100%);
  --lateral: linear-gradient(135deg, #b8b3ab, #6b675f 50%, #a9a49b);
  right: 2%; bottom: 44px; width: 34%; aspect-ratio: 9 / 19.5; transform: translateZ(90px) rotateZ(-3deg); }
.rl-iphone .rl-vidro { border-radius: 35px; }
.rl-iphone .hm-iphone-tela { position: relative; width: 100%; height: 100%; border-radius: 29px; overflow: hidden; background: #0B0B1A; }
.rl-ilha { position: absolute; top: 15px; left: 50%; width: 30%; height: 17px; margin-left: -15%; border-radius: 12px; background: #000; z-index: 5;
  box-shadow: inset 5px 0 0 -3px #111, inset -14px 0 0 -12px #1b2335; }
.rl-acao { left: -2px; top: 15%; width: 3px; height: 16px; }
.rl-vol1 { left: -2px; top: 22%; width: 3px; height: 30px; }
.rl-vol2 { left: -2px; top: 30%; width: 3px; height: 30px; }
.rl-power { right: -2px; top: 25%; width: 3px; height: 46px; }

.hm-ipad-pagina { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: top center; }
.hm-ipad-pagina.ativo { opacity: 1; }
.hm-ipad-pagina iframe { position: absolute; left: 0; top: 0; width: 820px; height: 2600px; border: 0; pointer-events: none; background: #fff;
  transform-origin: 0 0; transform: scale(var(--escala, .4)); opacity: 0; transition: opacity .6s ease; }
.hm-ipad-pagina.carregada iframe { opacity: 1; }
.hm-ipad-pagina.ativo.carregada iframe { animation: hmRolaPagina 16s ease-in-out 1s infinite; }
@keyframes hmRolaPagina {
  0%, 12% { transform: scale(var(--escala, .4)) translateY(0); }
  50%, 62% { transform: scale(var(--escala, .4)) translateY(calc(var(--rolagem, -600px) / var(--escala, .4))); }
  100% { transform: scale(var(--escala, .4)) translateY(0); }
}
.hm-iphone-tela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; box-shadow: none; max-width: none;
  opacity: 0; transform: translateX(18%); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.25,1); }
.hm-iphone-tela img.ativo { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .hm-aparelhos { max-width: 360px; height: 380px; perspective: 1200px; margin-bottom: 10px; }
  .rl-ipad { --raio: 18px; --borda-preta: 8px; top: 20px; } .rl-ipad .rl-vidro { border-radius: 15px; }
  .rl-iphone { --raio: 26px; --borda-preta: 5px; bottom: 18px; } .rl-iphone .rl-vidro { border-radius: 23px; } .rl-iphone .hm-iphone-tela { border-radius: 19px; }
  .rl-ilha { top: 9px; height: 11px; }
  .rl-vol1, .rl-vol2 { height: 20px; } .rl-power { height: 30px; } .rl-ipad-vol { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .rl-cena, .rl-chao, .hm-ipad-pagina iframe { animation: none !important; } .hm-iphone-tela img { transition: none; } }
.hm-mostruario-nichos { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
.hm-mostruario-nichos::-webkit-scrollbar { display: none; }
.hm-mostruario-nichos button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.hm-mostruario-nichos button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.hm-mostruario-nichos button[aria-selected="true"] { background: #fff; color: #111827; border-color: #fff; }
.hm-mostruario-ver { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #C4B5FD; }
.hm-mostruario-ver[hidden] { display: none; }
.hm-mostruario-ver:hover { color: #fff; }
@media (min-width: 861px) { .hm-donos-heroi .hm-donos-grade { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
@media (max-width: 860px) { .hm-donos-heroi .hm-donos-grade { grid-template-columns: minmax(0, 1fr); } .hm-donos-heroi .hm-donos-tela { order: 0; } }

/* Notificações em volta dos aparelhos (vidro fosco, entram uma a uma e flutuam). */
.rl-aviso { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.92); color: #111827; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.6);
  backdrop-filter: blur(10px); max-width: 250px; text-align: left;
  animation: rlAvisoEntra .7s cubic-bezier(.2,.9,.3,1.3) both, rlAvisoFlutua 6s ease-in-out infinite; }
.rl-aviso strong { display: block; font-size: 13px; line-height: 1.25; }
.rl-aviso small { display: block; font-size: 12px; color: #4B5563; line-height: 1.3; margin-top: 1px; }
.rl-aviso-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--c); box-shadow: 0 6px 14px -6px var(--c); }
.rl-aviso-1 { left: -6%; top: 4%; animation-delay: 1.6s, 2.3s; }
.rl-aviso-2 { right: -4%; top: 44%; animation-delay: 2.2s, 3s; animation-duration: .7s, 7s; }
.rl-aviso-3 { left: 4%; bottom: 4%; animation-delay: 2.8s, 3.6s; animation-duration: .7s, 6.5s; }
.rl-aviso-1.novo { animation: rlAvisoTroca .6s cubic-bezier(.2,.9,.3,1.3) both, rlAvisoFlutua 6s ease-in-out .6s infinite; }
@keyframes rlAvisoEntra { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes rlAvisoTroca { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes rlAvisoFlutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1100px) { .rl-aviso-1 { left: 0; } .rl-aviso-2 { right: 0; } }
@media (max-width: 860px) {
  .rl-aviso { padding: 7px 10px 7px 7px; gap: 8px; border-radius: 12px; max-width: 200px; }
  .rl-aviso-ic { width: 28px; height: 28px; border-radius: 8px; }
  .rl-aviso strong { font-size: 11.5px; } .rl-aviso small { font-size: 10.5px; }
  .rl-aviso-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rl-aviso, .rl-aviso-1.novo { animation: none !important; } }
/* Headline de vendas em três linhas certas: "Clientes marcando" / "sozinhos,
   24h por dia." (degradê, sem quebrar) / "Você só atende." */
@media (min-width: 861px) {
  .hm-donos-heroi .hm-h1 { max-width: none; font-size: clamp(34px, 4.1vw, 56px); }
  .hm-donos-heroi[data-hero-animado] .hm-h1 em.hm-p { display: block; white-space: nowrap; width: max-content; }
}

/* ─── Topo da página de vendas: lista de benefícios em cartões com ícone
   colorido (um tom por item) e, no celular, os aparelhos antes do texto. ── */
.hm-beneficios { gap: 10px; }
.hm-beneficios li {
  --c1: #8B5CF6; --c2: #6366F1;
  text-align: left; padding: 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  transition: border-color .2s, transform .2s, background .2s;
}
.hm-beneficios li:nth-child(2) { --c1: #22C55E; --c2: #059669; }
.hm-beneficios li:nth-child(3) { --c1: #38BDF8; --c2: #2563EB; }
.hm-beneficios li:nth-child(4) { --c1: #F59E0B; --c2: #EA580C; }
.hm-beneficios li:hover { border-color: color-mix(in srgb, var(--c1) 55%, transparent); transform: translateY(-2px); }
.hm-beneficios .hm-bola {
  width: 42px; height: 42px; border-radius: 13px; border: 0; color: #fff;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 10px 22px -10px var(--c1), inset 0 1px 0 rgba(255,255,255,.25);
}
.hm-beneficios .hm-bola .icone-svg { width: 20px; height: 20px; }
.hm-beneficios li > div { min-width: 0; }
.hm-beneficios strong { font-size: 15.5px; line-height: 1.3; }
.hm-beneficios p { font-size: 13.5px; line-height: 1.45; }
@media (max-width: 860px) {
  .hm-donos-heroi .hm-donos-tela { order: -1; margin-bottom: 4px; }
  .hm-beneficios { margin: 20px 0 22px; }
  .hm-beneficios li { padding: 11px 12px; gap: 11px; }
  .hm-beneficios .hm-bola { width: 38px; height: 38px; border-radius: 12px; }
  .hm-beneficios strong { font-size: 15px; }
  .hm-beneficios p { font-size: 13px; }
}
@media (hover: none) { .hm-beneficios li:hover { transform: none; } }

/* Benefícios em grade 2×2: título curto e uma frase, fácil de ler de relance. */
.hm-beneficios { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hm-beneficios li { flex-direction: column; gap: 10px; padding: 14px; }
.hm-beneficios strong { font-size: 15px; margin-bottom: 3px; }
.hm-beneficios p { font-size: 13px; color: rgba(255,255,255,.62); }
@media (max-width: 860px) {
  .hm-beneficios { gap: 8px; margin: 18px 0 22px; }
  .hm-beneficios li { padding: 12px; gap: 9px; }
  .hm-beneficios .hm-bola { width: 36px; height: 36px; border-radius: 11px; }
  .hm-beneficios .hm-bola .icone-svg { width: 18px; height: 18px; }
  .hm-beneficios strong { font-size: 14px; }
  .hm-beneficios p { font-size: 12.5px; line-height: 1.4; }
}
@media (max-width: 340px) { .hm-beneficios { grid-template-columns: minmax(0, 1fr); } }

/* Benefícios: só os títulos, em lista, com o ícone colorido ao lado (sem caixa). */
.hm-beneficios { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0 24px; }
.hm-beneficios li { flex-direction: row; align-items: center; gap: 12px; padding: 0; background: none; border: 0; border-radius: 0; }
.hm-beneficios li:hover { transform: none; }
.hm-beneficios .hm-bola { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 8px 16px -8px var(--c1); }
.hm-beneficios .hm-bola .icone-svg { width: 16px; height: 16px; }
.hm-beneficios strong { margin: 0; font-size: 16px; font-weight: 600; color: #fff; }
@media (max-width: 860px) {
  .hm-beneficios { display: inline-grid; justify-items: start; gap: 12px; margin: 18px auto 22px; text-align: left; }
  .hm-beneficios li { padding: 0; }
  .hm-beneficios .hm-bola { width: 30px; height: 30px; border-radius: 9px; }
  .hm-beneficios strong { font-size: 15.5px; }
}

/* Benefícios: cada título num bloco arredondado, um abaixo do outro. */
.hm-beneficios { gap: 10px; }
.hm-beneficios li {
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.11);
  transition: border-color .2s, background .2s;
}
.hm-beneficios li:hover { border-color: color-mix(in srgb, var(--c1) 55%, transparent); }
.hm-beneficios .hm-bola { width: 36px; height: 36px; border-radius: 11px; }
.hm-beneficios .hm-bola .icone-svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .hm-beneficios { display: grid; width: 100%; gap: 8px; margin: 18px 0 22px; }
  .hm-beneficios li { padding: 9px 12px 9px 9px; }
  .hm-beneficios .hm-bola { width: 34px; height: 34px; }
}
@media (max-width: 860px) { .hm-beneficios { justify-items: stretch; } }

/* /para-corretores (03/10/2026, dono): título em linhas equilibradas, sem
   palavra sozinha. "Não é só um site." numa linha; o resto corre junto. */
.hm-h1-corretor .hm-h1-linha { display: block; }
.hm-donos-heroi[data-hero-animado] .hm-h1-corretor em.hm-p { display: inline; white-space: normal; width: auto; }
.hm-h1-corretor { text-wrap: balance; }
@media (min-width: 861px) { .hm-donos-heroi .hm-h1-corretor { max-width: 15ch; } }
@media (max-width: 860px) {
  .hm-donos-heroi .hm-h1-corretor { font-size: clamp(30px, 9.2vw, 40px); max-width: none; }
  .hm-donos-heroi .hm-h1-corretor + .hm-sub { font-size: 16px; }
}
