/* =============================================================
   modern.css v3 — Redesign moderno e ousado (BrasilHidro)
   Camada ADITIVA por cima do template (main.css). Reverter = remover o <link>.
   Tema: "água / water-tech premium".
   Paleta: azul #00509d, navy #001448, ciano #06b6d4 / #22c7e6,
           dourado #f2c51a.
   ============================================================= */

:root {
  --bh-primary: #00509d;
  --bh-primary-dark: #01488a;
  --bh-cyan: #06b6d4;
  --bh-cyan-light: #22c7e6;
  --bh-navy: #001448;
  --bh-navy-2: #012a63;
  --bh-gold: #f2c51a;
  --bh-text: #47566b;
  --bh-radius: 20px;
  --bh-shadow-sm: 0 8px 24px rgba(0, 20, 72, 0.05);
  --bh-shadow: 0 20px 48px rgba(0, 20, 72, 0.10);
  --bh-shadow-lg: 0 34px 80px rgba(0, 20, 72, 0.16);
  --bh-grad: linear-gradient(120deg, var(--bh-primary) 0%, var(--bh-cyan) 100%);
  --bh-grad-bright: linear-gradient(120deg, var(--bh-primary) 0%, var(--bh-cyan-light) 100%);
  --bh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================= BASE / ACABAMENTO ================= */
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--bh-primary); color: #fff; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6,
.title-banner, .heading-3xl, .heading-3x3, .heading-jakarta-55, .heading-ag-xl {
  letter-spacing: -0.03em;
}
.paragraph-base, .color-text { line-height: 1.85; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #eef2f7; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--bh-primary), var(--bh-cyan));
  border-radius: 10px; border: 2px solid #eef2f7;
}
::-webkit-scrollbar-thumb:hover { background: var(--bh-cyan); }

/* ================= TOP BAR ================= */
.top-bar {
  background: linear-gradient(90deg, var(--bh-navy) 0%, var(--bh-primary-dark) 100%) !important;
}
/* magnetic target para o JS */
.bh-magnetic { display: inline-block; transition: transform .28s var(--bh-ease); }
.top-bar .box-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .28s var(--bh-ease);
}
.top-bar .box-socials a:hover { transform: translateY(-2px) scale(1.18); }

/* ================= NAVBAR ================= */
header nav.navbar { box-shadow: 0 6px 34px rgba(0, 20, 72, 0.08); }
.nav-link { position: relative; transition: color .25s var(--bh-ease); }
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--bh-grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--bh-ease);
}
.nav-link:hover { color: var(--bh-primary) !important; }
.nav-link:hover::after { transform: scaleX(1); }
.navbar-brand img { transition: transform .35s var(--bh-ease); }
.navbar-brand:hover img { transform: scale(1.04); }

/* Botao "Area do Cliente" moderno (pill com gradiente) */
header .btn-white {
  background: var(--bh-grad) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 11px 24px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 24px rgba(6, 140, 190, 0.32) !important;
  transition: transform .3s var(--bh-ease), box-shadow .3s var(--bh-ease), filter .3s !important;
}
header .btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(6, 140, 190, 0.5) !important;
  filter: saturate(1.08);
}

/* ================= BOTOES ================= */
.btn {
  transition: transform .3s var(--bh-ease), box-shadow .3s var(--bh-ease), filter .3s, background .3s !important;
  border-radius: 50px !important; font-weight: 600 !important;
}
.btn-primary {
  background: var(--bh-grad) !important; border: none !important;
  padding: 16px 42px !important;
  box-shadow: 0 14px 32px rgba(6, 140, 190, 0.38) !important;
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(6, 140, 190, 0.55) !important; filter: saturate(1.1);
}
.btn-navbar { transition: transform .3s var(--bh-ease); }

/* Botao secundario do hero (WhatsApp - glass) */
.btn-hero-wpp {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  padding: 15px 34px !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18) !important;
}
.btn-hero-wpp svg { transition: transform .35s var(--bh-ease); }
.btn-hero-wpp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5) !important;
}
.btn-hero-wpp:hover svg { transform: scale(1.12) rotate(-6deg); }

/* ================= HERO ================= */
.box-banner { padding: 210px 0 250px 0 !important; }
.box-banner::before {
  background: linear-gradient(100deg,
     rgba(1, 30, 78, 0.86) 0%,
     rgba(1, 40, 92, 0.60) 32%,
     rgba(1, 40, 92, 0.18) 50%,
     rgba(1, 40, 92, 0.00) 64%) !important;
}
/* onda branca na base do hero -> entra na secao clara */
.box-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 110px; z-index: 3; pointer-events: none;
  background: no-repeat bottom center / 100% 110px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,64 C240,120 480,20 720,44 C960,68 1200,120 1440,58 L1440,110 L0,110 Z'/%3E%3C/svg%3E");
}

.banner-small-title {
  display: inline-block; padding: 9px 22px !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 50px; backdrop-filter: blur(4px);
  letter-spacing: .24em; margin-bottom: 28px !important;
  font-size: 13px !important;
}
.banner-small-title::before { display: none !important; }

.title-banner {
  font-size: clamp(48px, 6vw, 92px) !important; line-height: 1.05 !important;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.28);
  margin-bottom: 30px !important;
}
/* destaque na palavra "agua" com gradiente ciano */
.hl-agua {
  position: relative;
  background: linear-gradient(100deg, var(--bh-cyan-light) 0%, #7ff0ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 4px;
}
.hl-agua::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px;
  background: linear-gradient(90deg, var(--bh-cyan-light), rgba(127, 240, 255, 0));
  border-radius: 6px; opacity: .9;
}
.desc-banner { font-size: 18px; max-width: 650px; opacity: .96; margin-bottom: 34px !important; }
.hero-cta { margin-top: 6px; }

/* ================= TITULOS DE SECAO ================= */
.title-line, .title-line-2, .title-line-both {
  text-transform: uppercase; letter-spacing: .2em; font-weight: 700;
}
.heading-3xl { font-size: clamp(36px, 4.5vw, 56px) !important; line-height: 1.15 !important; letter-spacing: -0.04em !important; }

/* ================= STATS BAND ================= */
.bh-stats-band {
  position: relative; z-index: 4;
  margin-top: -70px; padding: 0 0 10px;
}
.bh-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  border-radius: 24px;
  padding: 44px 34px;
  box-shadow: var(--bh-shadow-lg);
  border: 1px solid rgba(0, 80, 157, 0.08);
}
.bh-stat { text-align: center; position: relative; }
.bh-stat:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  height: 54px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 80, 157, 0.22), transparent);
}
.bh-stat-num {
  font-family: 'Plus Jakarta Sans', 'Figtree', sans-serif;
  font-weight: 800; font-size: clamp(34px, 4vw, 50px);
  line-height: 1; letter-spacing: -0.04em;
  background: var(--bh-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 10px;
}
.bh-stat-label {
  color: var(--bh-text); font-size: 14px; line-height: 1.5; font-weight: 500;
  max-width: 220px; margin: 0 auto;
}

/* ================= SOBRE ================= */
.box-agency {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  padding-top: 90px !important; padding-bottom: 90px !important;
  position: relative;
}
.box-agency .item-square-1 { background: var(--bh-grad) !important; }
.box-agency .item-square-1-image img {
  border-radius: 18px; box-shadow: var(--bh-shadow);
}
.box-circle-round .bg-primary-500 { background: var(--bh-grad) !important; }
.box-agency .heading-3xl .primary-500,
.box-agency .primary-500 {
  background: var(--bh-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent !important;
}

/* ================= DIFERENCIAIS (secao escura) com ONDAS ================= */
.box-process {
  background: radial-gradient(1200px 520px at 82% -12%, var(--bh-navy-2) 0%, var(--bh-navy) 58%) !important;
  padding: 150px 0 150px !important;
  position: relative;
}
/* onda no topo (cor da secao clara acima) */
.box-process::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0;
  height: 90px; z-index: 2; pointer-events: none;
  background: no-repeat top center / 100% 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23f2f8ff' d='M0,0 L1440,0 L1440,40 C1200,86 960,20 720,44 C480,68 240,90 0,52 Z'/%3E%3C/svg%3E");
}
/* onda na base (cor da secao clara abaixo) */
.box-process::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 90px; z-index: 2; pointer-events: none;
  background: no-repeat bottom center / 100% 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23f4f9ff' d='M0,52 C240,90 480,26 720,46 C960,66 1200,92 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
}
/* acento ciano no rotulo "Diferenciais" */
.box-process .title-line.color-white { color: var(--bh-cyan-light) !important; }

/* igualar a ALTURA dos 3 cards (Missao / Visao / Valores) */
.box-list-process { align-items: stretch !important; }
.box-list-process .item-process { display: flex !important; }

.card-process {
  height: 100%; width: 100%;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--bh-radius);
  padding: 42px 34px !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  transition: transform .5s cubic-bezier(0.25, 1, 0.35, 1), background .4s, border-color .4s, box-shadow .5s;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
/* brilho superior do card escuro */
.card-process::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--bh-grad-bright); opacity: 0; transition: opacity .5s var(--bh-ease);
}
.item-process:hover .card-process {
  transform: translateY(-16px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(34, 199, 230, 0.4);
  box-shadow: 0 30px 60px rgba(0, 20, 72, 0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
}
.item-process:hover .card-process::before { opacity: 1; }
.card-process .card-icon .image {
  background: rgba(34, 199, 230, 0.12) !important;
  border: 1px solid rgba(34, 199, 230, 0.25);
}
.card-process .card-icon .image img { transition: transform .45s var(--bh-ease); }
.item-process:hover .card-icon .image img { transform: scale(1.14) rotate(-5deg); }

/* ================= SERVICOS =================
   Card LIMPO e compacto: imagem em cima + texto embaixo, numa CAIXA UNICA.
   info agora e' estatico (no fluxo), sem sobreposicao -> nada de canto
   passando por cima de imagem. overflow:hidden no card agora e' seguro. */
.box-project {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%) !important;
  padding-top: 40px !important;
}
.box-project .heading-3xl,
#servicos .heading-3xl { margin-bottom: 18px !important; }

/* todos os cards com a MESMA ALTURA, dentro de uma caixa unica */
.box-project .swiper-slide { height: auto !important; }
.box-project .swiper-wrapper { align-items: stretch !important; padding: 6px 0 10px; }
.card-project-3 {
  height: 100%;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--bh-shadow-sm);
  margin-bottom: 0 !important;
  border: 1px solid rgba(0, 80, 157, 0.06);
  transition: transform .5s cubic-bezier(0.25, 1, 0.35, 1), box-shadow .5s cubic-bezier(0.25, 1, 0.35, 1), border-color .4s;
}
.card-project-3:hover { 
  transform: translateY(-14px); 
  box-shadow: var(--bh-shadow-lg); 
  border-color: rgba(6, 182, 212, 0.3);
}
.card-project-3 .card-image {
  position: relative;
  height: 200px; flex: 0 0 auto;
  border-radius: 0 !important; box-shadow: none !important;
  overflow: hidden;
}
.card-project-3 .card-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 80, 157, 0) 50%, rgba(0, 20, 72, 0.6) 100%);
  opacity: 0; transition: opacity .5s var(--bh-ease);
}
.card-project-3:hover .card-image::after { opacity: 1; }
.card-project-3 .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 0 !important;
  transition: transform .8s cubic-bezier(0.25, 1, 0.35, 1);
}
.card-project-3:hover .card-image img { transform: scale(1.1); }
.card-project-3 .card-info {
  position: static !important; bottom: auto !important; left: auto !important;
  width: auto !important; margin: 0 !important;
  flex: 1 1 auto; display: flex; flex-direction: column;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-bottom: none !important;
  border-top: 3px solid transparent !important;
  transition: border-color .4s var(--bh-ease);
  padding: 24px 26px 28px !important;
}
/* borda azul/ciano que aparece ao passar o mouse (linha entre imagem e texto) */
.card-project-3:hover .card-info { border-top-color: var(--bh-cyan) !important; }
.card-project-3 h4 { transition: color .25s var(--bh-ease); }
.card-project-3:hover h4 { color: var(--bh-primary) !important; }

/* paginacao do swiper na cor da marca */
.swiper-pagination .swiper-pagination-bullet-active {
  background: var(--bh-primary) !important;
}

/* ================= CLIENTES ================= */
#clientes { padding: 96px 0 !important; }
#clientes .swiper-slide img {
  filter: grayscale(100%); opacity: .5;
  transition: filter .4s var(--bh-ease), opacity .4s, transform .4s var(--bh-ease);
}
#clientes .swiper-slide img:hover { filter: grayscale(0); opacity: 1; transform: scale(1.08); }

/* ================= CONTATO ================= */
.box-contact-section-2 {
  background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
  padding-top: 30px;
}
.box-contact-blue {
  border-radius: 26px; box-shadow: var(--bh-shadow-lg);
  background: linear-gradient(135deg, var(--bh-navy) 0%, var(--bh-primary) 55%, var(--bh-cyan) 130%) !important;
  position: relative; overflow: hidden;
}
.box-contact-blue::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 199, 230, 0.35), transparent 70%);
  pointer-events: none;
}
#contato iframe {
  border-radius: 18px; box-shadow: var(--bh-shadow-sm);
  transition: box-shadow .35s var(--bh-ease);
}
#contato iframe:hover { box-shadow: var(--bh-shadow); }

/* ================= WHATSAPP FLUTUANTE ================= */
.whatsapp-button {
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.5);
  transition: transform .3s var(--bh-ease), box-shadow .3s var(--bh-ease);
}
.whatsapp-button:hover { transform: scale(1.12) rotate(6deg); }

/* ================= RODAPE ================= */
footer .footer-1 {
  background: linear-gradient(90deg, var(--bh-navy) 0%, var(--bh-primary-dark) 100%) !important;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 991px) {
  .box-banner { padding: 150px 0 170px 0 !important; }
  .title-banner { font-size: 54px !important; }
  .box-banner::after { height: 60px; background-size: 100% 60px; }
  .box-process { padding: 110px 0 !important; }
  .box-process::before, .box-process::after { height: 50px; background-size: 100% 50px; }
  .bh-stats-band { margin-top: -40px; }
  .bh-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 32px 22px; }
  .bh-stat:nth-child(2)::after { display: none; }
  .bh-stat:not(:last-child)::after { height: 40px; }
}
@media (max-width: 767px) {
  .desc-banner br { display: none; }
  .box-banner .container { max-width: 100%; padding-left: 22px !important; padding-right: 22px !important; }
  .box-banner .banner { max-width: 100%; }
  .title-banner, .desc-banner { max-width: 100%; overflow-wrap: break-word; }
}
@media (max-width: 575px) {
  .title-banner { font-size: 30px !important; }
  .desc-banner { font-size: 15px; }
  .box-banner { padding: 120px 0 130px 0 !important; }
  .bh-stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .bh-stat:not(:last-child)::after { display: none; }
  .bh-stat:not(:last-child) { padding-bottom: 20px; border-bottom: 1px solid rgba(0, 80, 157, 0.12); }
  .hero-cta { flex-direction: column; align-items: stretch !important; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 14px 24px !important; }
}

/* =============================================================
   MOTION LAYER v4 — animações & micro-interações premium
   (aditivo; carregado por último; declarações vencem por ordem)
   Regras: só transform/opacity/filter/background-position;
   fallback de visibilidade garantido; reduced-motion no fim.
   ============================================================= */

/* ---- HERO: palavra "água" em AZUL SOLIDO e PARADA (sem animacao) ---- */
.hl-agua {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #4aa4f0 !important;
  -webkit-text-fill-color: #4aa4f0 !important;
  animation: none !important;
}
/* sublinhado estatico e discreto, sem movimento */
.hl-agua::after { animation: none !important; opacity: .7; transform: none !important; }

/* selo do hero com leve respiro luminoso na borda */
.banner-small-title { transition: border-color .4s var(--bh-ease), background .4s var(--bh-ease); }
.banner-small-title:hover {
  border-color: rgba(34, 199, 230, .7);
  background: rgba(34, 199, 230, .14);
}

/* ---- BOTÕES: brilho varrendo no hover (shine sweep) ---- */
.btn-primary::after,
header .btn-white::after,
.btn-hero-wpp::after {
  content: ""; position: absolute; top: 0; left: -140%;
  width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
  transform: skewX(-22deg);
}
header .btn-white, .btn-hero-wpp { position: relative; overflow: hidden; }
.btn-primary:hover::after,
header .btn-white:hover::after,
.btn-hero-wpp:hover::after { animation: bh-shine .95s var(--bh-ease); }
@keyframes bh-shine { from { left: -140%; } to { left: 160%; } }
/* pressionar dá um leve "clique" tátil */
.btn:active { transform: translateY(-1px) scale(.985); }

/* ---- STATS: números prontos p/ contagem (fallback visível) ---- */
.bh-stat-num { will-change: contents; }
.bh-stat { transition: transform .4s var(--bh-ease); }
.bh-stats-grid:hover .bh-stat:hover { transform: translateY(-4px); }

/* ---- DIFERENCIAIS: ícones "flutuando" (toque de água) ---- */
.card-process .card-icon .image {
  animation: bh-float 6s ease-in-out infinite;
  transition: transform .45s var(--bh-ease), background .4s, border-color .4s;
}
.item-process:nth-child(2) .card-icon .image { animation-delay: -2s; }
.item-process:nth-child(3) .card-icon .image { animation-delay: -4s; }
@keyframes bh-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
/* brilho ciano suave pulsando no anel do ícone */
.item-process:hover .card-icon .image {
  box-shadow: 0 0 0 6px rgba(34, 199, 230, .10);
}

/* ---- SERVIÇOS: leve realce do número/seta já herda hover ---- */
.card-project-3 .card-info h4 { will-change: transform; }

/* ---- WHATSAPP flutuante: anel de "onda" pulsando ---- */
.whatsapp-button { position: fixed; }
.whatsapp-button::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .45);
  animation: bh-wpp-ring 2.6s var(--bh-ease) infinite;
  pointer-events: none; z-index: -1;
}
@keyframes bh-wpp-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---- BOTÃO VOLTAR AO TOPO: entrada e hover fluidos ---- */
.btn-scroll-top {
  transition: transform .35s var(--bh-ease), opacity .35s var(--bh-ease), box-shadow .35s var(--bh-ease);
}
.btn-scroll-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: var(--bh-shadow);
}
.btn-scroll-top .progress-square path { transition: stroke .3s var(--bh-ease); }

/* ---- REVEAL utilitário via GSAP (com fallback anti-tela-branca) ---
   Só fica invisível se o JS marcar .bh-ready no <html>. Sem JS o
   conteúdo aparece normalmente. */
html.bh-anim-ready .bh-reveal { opacity: 0; transform: translateY(40px); }
.bh-reveal { transition: opacity 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bh-reveal.bh-in { opacity: 1; transform: none; }

/* logos de clientes: brilho de entrada consistente já no hover (main) */
#clientes .swiper-slide img { will-change: transform, filter; }

/* ---- ACESSIBILIDADE: respeitar quem prefere menos movimento ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hl-agua {
    background: none;
    color: #4aa4f0;
    -webkit-text-fill-color: #4aa4f0;
  }
  .card-process .card-icon .image { transform: none !important; }
  html.bh-anim-ready .bh-reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   PREMIUM LAYER v5 — mais um nível de sofisticação (aditivo)
   Construído POR CIMA das camadas anteriores. Só transform/
   opacity/filter/background-position são animados. Tudo tem
   fallback visível. reduced-motion desliga o extra no fim.
   ============================================================= */

/* ---------- 1) NAVBAR INTELIGENTE (glass ao rolar) ---------- */
/* Torna o header fixo no topo para o efeito fazer sentido.     */
header nav.navbar {
  position: sticky; top: 0; z-index: 1000;
  transition: padding .35s var(--bh-ease),
              background-color .35s var(--bh-ease),
              box-shadow .35s var(--bh-ease),
              backdrop-filter .35s var(--bh-ease);
  will-change: padding, background-color;
}
header nav.navbar.bh-nav-scrolled {
  background-color: rgba(255, 255, 255, 0.65) !important;
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  backdrop-filter: saturate(200%) blur(24px);
  box-shadow: 0 10px 40px rgba(0, 20, 72, 0.08);
  padding-top: 0 !important; padding-bottom: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
/* logo encolhe suavemente no estado compacto */
header nav.navbar .navbar-brand img {
  transition: transform .35s var(--bh-ease), width .35s var(--bh-ease);
}
header nav.navbar.bh-nav-scrolled .navbar-brand img { transform: scale(0.84); }

/* ---------- 2) BARRA DE PROGRESSO DE LEITURA ---------- */
#bh-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  z-index: 9998; pointer-events: none;
  background: linear-gradient(90deg, var(--bh-primary), var(--bh-cyan) 60%, var(--bh-cyan-light));
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.55);
  border-radius: 0 3px 3px 0;
  transition: width .12s linear;
}

/* ---------- 3) HOVER PREMIUM: SPOTLIGHT + TILT ----------
   Spotlight segue o cursor via --mx/--my (setados por JS).
   Tilt (rotateX/rotateY) aplicado inline por JS só em desktop
   com ponteiro fino. Fallback total sem JS. */
.card-project-3, .card-process {
  --mx: 50%; --my: 50%;
  transform-style: preserve-3d;
}
/* camada de brilho radial sob o cursor */
.card-project-3::before,
.card-process .bh-spot {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .4s var(--bh-ease);
  z-index: 2;
}
.card-project-3::before {
  background: radial-gradient(120px circle at var(--mx) var(--my),
              rgba(6, 182, 212, 0.16), transparent 60%);
}
.card-process .bh-spot {
  position: absolute; inset: 0;
  background: radial-gradient(130px circle at var(--mx) var(--my),
              rgba(34, 199, 230, 0.20), transparent 58%);
}
.card-project-3:hover::before,
.card-process:hover .bh-spot { opacity: 1; }
/* o texto/imagem ficam acima do brilho */
.card-project-3 .card-image, .card-project-3 .card-info { position: relative; z-index: 3; }
.card-process .card-icon, .card-process .card-info { position: relative; z-index: 3; }
/* enquanto o JS controla o tilt, desligamos o translateY do CSS
   para não competir (a classe é adicionada só em ponteiro fino) */
.bh-tilt-on .card-project-3:hover,
.bh-tilt-on .item-process:hover .card-process { transform: none; }
.card-project-3, .card-process { transition: transform .3s var(--bh-ease), box-shadow .4s var(--bh-ease), background .4s, border-color .4s; }

/* ---------- 4) DETALHES DE ÁGUA (bolhas subindo, sutis) ---------- */
/* bolhas na seção escura (atrás do conteúdo, baixa opacidade) */
.box-process > .container { position: relative; z-index: 2; }
.box-process .bh-bubbles {
  position: absolute; inset: 0; overflow: hidden; z-index: 1;
  pointer-events: none;
}
.box-process .bh-bubbles span {
  position: absolute; bottom: -40px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(34,199,230,.18) 70%, transparent);
  opacity: 0; filter: blur(.3px);
  animation: bh-bubble-rise linear infinite;
}
@keyframes bh-bubble-rise {
  0%   { transform: translateY(0) scale(.6); opacity: 0; }
  12%  { opacity: .5; }
  80%  { opacity: .32; }
  100% { transform: translateY(-118%) scale(1); opacity: 0; }
}
/* posições/tempos variados */
.box-process .bh-bubbles span:nth-child(1){ left: 8%;  width:10px;height:10px; animation-duration: 15s; animation-delay: 0s; }
.box-process .bh-bubbles span:nth-child(2){ left: 22%; width:18px;height:18px; animation-duration: 19s; animation-delay: 4s; }
.box-process .bh-bubbles span:nth-child(3){ left: 37%; width:8px; height:8px;  animation-duration: 13s; animation-delay: 7s; }
.box-process .bh-bubbles span:nth-child(4){ left: 54%; width:22px;height:22px; animation-duration: 22s; animation-delay: 2s; }
.box-process .bh-bubbles span:nth-child(5){ left: 68%; width:12px;height:12px; animation-duration: 17s; animation-delay: 9s; }
.box-process .bh-bubbles span:nth-child(6){ left: 81%; width:9px; height:9px;  animation-duration: 14s; animation-delay: 5s; }
.box-process .bh-bubbles span:nth-child(7){ left: 92%; width:16px;height:16px; animation-duration: 20s; animation-delay: 11s; }

/* brilho ciano que respira MUITO devagar atrás do hero */
.box-banner::before { will-change: opacity; }
.box-banner .bh-aura {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(600px circle at 78% 30%, rgba(34,199,230,.16), transparent 60%);
  animation: bh-aura-breathe 12s ease-in-out infinite;
}
@keyframes bh-aura-breathe {
  0%,100% { opacity: .55; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.06); }
}

/* ---------- 5) REFINO DE RITMO + ACENTO NOS TÍTULOS ---------- */
/* respiro de âncora (navbar sticky não corta o conteúdo) */
#sobre, #servicos, #clientes, #contato { scroll-margin-top: 90px; }
/* acento dourado sutil nos rótulos de seção (eyebrows) */
.title-line, .title-line-2 { position: relative; display: inline-block; }
.title-line::after, .title-line-2::after {
  content: ""; display: block; height: 3px; width: 34px;
  margin-top: 10px; border-radius: 3px;
  background: linear-gradient(90deg, var(--bh-gold), rgba(242,197,26,0));
}
.box-process .title-line.color-white::after {
  background: linear-gradient(90deg, var(--bh-cyan-light), rgba(34,199,230,0));
}

/* ---------- 6) RIPPLE sutil nos botões ---------- */
.btn { position: relative; overflow: hidden; }
.bh-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  transform: scale(0); opacity: .5;
  background: rgba(255, 255, 255, 0.55);
  animation: bh-ripple-go .6s var(--bh-ease) forwards;
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
@keyframes bh-ripple-go {
  to { transform: scale(2.4); opacity: 0; }
}

/* ---------- responsivo premium ---------- */
@media (max-width: 991px) {
  header nav.navbar { position: static; }         /* mobile: sem sticky p/ evitar sobrepor offcanvas */
  #bh-progress { height: 2px; }
  .box-process .bh-bubbles span { display: none; }
  .box-process .bh-bubbles span:nth-child(2),
  .box-process .bh-bubbles span:nth-child(4),
  .box-process .bh-bubbles span:nth-child(6) { display: block; }
}

/* ---------- ACESSIBILIDADE: desliga o extra ---------- */
@media (prefers-reduced-motion: reduce) {
  .box-process .bh-bubbles span,
  .box-banner .bh-aura { animation: none !important; opacity: 0 !important; }
  .bh-ripple { display: none !important; }
  header nav.navbar { position: static !important; }
  .card-project-3::before, .card-process .bh-spot { display: none !important; }
}
/* dispositivos sem ponteiro fino: sem spotlight-follow (fica estático) */
@media (hover: none), (pointer: coarse) {
  .card-project-3::before, .card-process .bh-spot { display: none; }
}

/* =============================================================
   REFINO v6 — acabamento premium & coesão (ADITIVO, por cima)
   Objetivo: ritmo/respiro consistente, tipografia de títulos e
   rótulos mais refinada, preloader temático de água, hero mais
   coeso, cards com sombra/borda unificadas e uma faixa de CTA
   discreta antes do rodapé.
   Regras mantidas: só transform/opacity/filter/background-position
   animados; fallback visível; reduced-motion no fim; sem overflow
   horizontal no mobile; efeitos pesados só em ponteiro fino.
   RESTRIÇÃO: NÃO tocar em .hl-agua (azul sólido, parada).
   ============================================================= */

:root {
  /* escala de raio de canto unificada */
  --bh-r-sm: 14px;
  --bh-r-card: 20px;
  --bh-r-lg: 26px;
  /* ritmo vertical de seção */
  --bh-section-y: clamp(64px, 8vw, 108px);
  /* sombra de card unificada (repouso / hover) */
  --bh-card-shadow: 0 16px 48px rgba(0, 20, 72, 0.06);
  --bh-card-shadow-hover: 0 32px 72px rgba(6, 182, 212, 0.15);
}

/* ---------- 1) RITMO & RESPIRO: espaçamentos consistentes ---------- */
/* Seções sem "onda" recebem o mesmo respiro vertical premium.        */
#sobre.box-agency {
  padding-top: calc(var(--bh-section-y) * 1.2) !important;
  padding-bottom: calc(var(--bh-section-y) * 1.2) !important;
}
#clientes { padding: var(--bh-section-y) 0 !important; }
.box-contact-section-2 { padding-top: calc(var(--bh-section-y) * 1.2); padding-bottom: 0; }
.box-project { padding-bottom: calc(var(--bh-section-y) * 1.2) !important; }
/* separa melhor o bloco de texto do bloco de cards nos Serviços */
.box-project .box-testimonials-lists { margin-top: clamp(32px, 4vw, 56px) !important; }

/* ---------- 2) TIPOGRAFIA: títulos e rótulos (eyebrows) ---------- */
/* Rótulos: menores, mais espaçados, cor de marca sólida e coesa.     */
.title-line, .title-line-2, .title-line-both {
  font-size: 13px !important;
  letter-spacing: .22em !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}
.title-line, .title-line-2 { color: var(--bh-primary) !important; }
/* rótulo dos Serviços (o PRIMEIRO .title-line-both — não o parágrafo) */
.box-project .text-center .title-line-both:first-child {
  color: var(--bh-primary) !important;
  position: relative; display: inline-block;
}
.box-project .text-center .title-line-both:first-child::after {
  content: ""; display: block; height: 3px; width: 40px;
  margin: 12px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(242,197,26,0), var(--bh-gold), rgba(242,197,26,0));
}
/* o parágrafo descritivo dos Serviços (mesma classe) volta a ser corpo */
.box-project .text-center .title-line-both:not(:first-child) {
  font-size: 17px !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  text-transform: none !important;
  color: var(--bh-text) !important;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
/* títulos de seção: peso e respiro coesos */
.heading-3xl { font-weight: 800 !important; margin-bottom: 6px; }
.box-project .heading-3xl, #servicos .heading-3xl { margin-bottom: 14px !important; }
/* acento das eyebrows centralizadas em contexto text-center */
.text-center .title-line::after, .text-center .title-line-2::after { margin-left: auto; margin-right: auto; }

/* ---------- 3) PRELOADER premium & temático de água ---------- */
#preloader {
  background: radial-gradient(120% 120% at 50% 40%, #ffffff 0%, #eaf4ff 70%, #dcecfb 100%) !important;
  transition: opacity .6s var(--bh-ease);
}
/* anel base sutil (sem o rosa do template) */
#preloader .loader .loader-container {
  border: 2px solid rgba(0, 80, 157, 0.10) !important;
  width: 118px !important; height: 118px !important;
}
/* arco girando na cor da marca (recolore o spinner existente) */
#preloader .loader .loader-container::before {
  width: 118px !important; height: 118px !important;
  border-top: 3px solid var(--bh-cyan) !important;
  border-right: 3px solid rgba(6, 182, 212, 0.35) !important;
  animation: loaderspin 1.4s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* ondas de água expandindo (ripple concêntrico) */
#preloader .loader .loader-container::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 118px; height: 118px; margin: -59px 0 0 -59px;
  border-radius: 50%;
  border: 2px solid rgba(34, 199, 230, 0.45);
  animation: bh-preload-ripple 1.8s var(--bh-ease) infinite;
  pointer-events: none;
}
@keyframes bh-preload-ripple {
  0%   { transform: scale(.55); opacity: .9; }
  70%  { opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
/* gota/logo pulsando com respiro suave */
#preloader .loader .loader-icon img {
  width: 46px !important;
  animation: bh-preload-drop 1.6s ease-in-out infinite !important;
}
@keyframes bh-preload-drop {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 4px 10px rgba(0,80,157,.22)); }
  50%      { transform: translateY(-4px) scale(1.06); filter: drop-shadow(0 10px 18px rgba(6,182,212,.3)); }
}

/* ---------- 4) HERO: composição mais coesa ---------- */
/* selo (eyebrow) do hero mais refinado */
.banner-small-title {
  font-weight: 600 !important;
  letter-spacing: .26em !important;
  box-shadow: 0 6px 20px rgba(0, 20, 72, 0.18);
}
/* leve realce de leitura do parágrafo sobre a foto */
.desc-banner { text-shadow: 0 2px 14px rgba(0, 20, 72, 0.35); }
/* botões do hero: mesma altura/alinhamento e respiro coeso */
.hero-cta { margin-top: 10px !important; row-gap: 4px; }
.hero-cta .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; }
.btn-hero-wpp { padding-top: 15px !important; padding-bottom: 15px !important; }

/* seta discreta de "role para baixo" (só desktop, sutil) */
.box-banner .bh-scrollcue {
  position: absolute; left: 50%; bottom: 128px; transform: translateX(-50%);
  z-index: 4; width: 26px; height: 42px; border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none; opacity: .85;
}
.box-banner .bh-scrollcue::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 3px; background: #fff;
  animation: bh-scrollcue 1.8s var(--bh-ease) infinite;
}
@keyframes bh-scrollcue {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 5) COESÃO: sombras, raios e hovers unificados ---------- */
/* cards de serviço e diferenciais compartilham o mesmo raio e sombra */
.card-project-3 {
  border-radius: var(--bh-r-card);
  box-shadow: var(--bh-card-shadow);
}
.card-project-3:hover { box-shadow: var(--bh-card-shadow-hover); }
.card-process { border-radius: var(--bh-r-card); }
/* faixa de números: raio e sombra alinhados ao sistema */
.bh-stats-grid { border-radius: var(--bh-r-lg); box-shadow: var(--bh-card-shadow-hover); }
/* caixa azul de contato + botão cliente já usam gradiente; unifica raio */
.box-contact-blue { border-radius: var(--bh-r-lg); }
#contato iframe { border-radius: var(--bh-r-card); }
/* logos de clientes: leve caixa no hover para dar acabamento */
#clientes .swiper-slide {
  display: flex; align-items: center; justify-content: center;
}
#clientes .swiper-slide img { transition: filter .4s var(--bh-ease), opacity .4s var(--bh-ease), transform .4s var(--bh-ease); }

/* ---------- 6) FAIXA DE CTA discreta antes do rodapé ---------- */
.bh-cta-band {
  position: relative; overflow: hidden;
  margin-top: clamp(48px, 6vw, 84px);
  background: linear-gradient(120deg, var(--bh-navy) 0%, var(--bh-primary) 58%, var(--bh-cyan) 128%);
}
.bh-cta-band::before {
  content: ""; position: absolute; top: -80px; right: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,199,230,.32), transparent 68%);
  pointer-events: none;
}
.bh-cta-inner {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 26px 40px; padding: clamp(34px, 4.4vw, 56px) 0;
}
.bh-cta-eyebrow {
  color: var(--bh-cyan-light); text-transform: uppercase;
  letter-spacing: .24em; font-weight: 700; font-size: 13px; margin: 0 0 10px;
}
.bh-cta-title {
  color: #fff; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 6px;
}
.bh-cta-sub { color: rgba(255,255,255,.82); margin: 0; font-size: 16px; }
.bh-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.bh-cta-band .btn-cta-wpp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366 !important; color: #fff !important; border: none !important;
  border-radius: 50px !important; font-weight: 700 !important;
  padding: 15px 30px !important; min-height: 54px;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42) !important;
  transition: transform .3s var(--bh-ease), box-shadow .3s var(--bh-ease), filter .3s !important;
}
.bh-cta-band .btn-cta-wpp:hover {
  transform: translateY(-4px); filter: saturate(1.08);
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.6) !important;
}
.bh-cta-band .btn-cta-wpp svg { transition: transform .35s var(--bh-ease); }
.bh-cta-band .btn-cta-wpp:hover svg { transform: scale(1.1) rotate(-6deg); }
.bh-cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 18px; text-decoration: none;
  transition: color .25s var(--bh-ease), transform .25s var(--bh-ease);
}
.bh-cta-phone svg { flex: 0 0 auto; }
.bh-cta-phone:hover { color: var(--bh-cyan-light); transform: translateY(-1px); }

/* ---------- RESPONSIVO refino ---------- */
@media (max-width: 991px) {
  .box-banner .bh-scrollcue { display: none; }
  .bh-cta-inner { padding: 34px 0; }
}
@media (max-width: 767px) {
  .bh-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .bh-cta-actions { width: 100%; }
  .bh-cta-band .btn-cta-wpp { width: 100%; justify-content: center; }
  /* hero: título quebra limpo, sem cortar "água" na borda (só tamanho;
     a cor/estado da .hl-agua permanece intocada) */
  .title-banner { font-size: 34px !important; line-height: 1.12 !important; word-break: normal; }
}
@media (max-width: 420px) {
  .title-banner { font-size: 28px !important; }
}

/* ---------- ACESSIBILIDADE: desliga o extra do v6 ---------- */
@media (prefers-reduced-motion: reduce) {
  #preloader .loader .loader-container::after,
  #preloader .loader .loader-icon img,
  .box-banner .bh-scrollcue::before { animation: none !important; }
  .box-banner .bh-scrollcue { opacity: .5; }
}
/* mobile/toque: seta some, sem efeitos que causem overflow */
@media (hover: none), (pointer: coarse) {
  .box-banner .bh-scrollcue { display: none; }
}

/* =============================================================
   SECOES PRODUTOS + SOFTWARE (HIDROSINC) — v8 (ADITIVO, por cima)
   Constroi POR CIMA das camadas anteriores, reutilizando a paleta
   e o sistema visual (raios, sombras, gradiente azul->ciano, eyebrows).
   Regras mantidas: so transform/opacity/filter animados; fallback
   visivel; grids viram 1 coluna no mobile; sem overflow horizontal;
   reduced-motion desliga o extra no fim.
   ============================================================= */

/* ---------- PRODUTOS (placeholder honesto) ---------- */
.bh-produtos {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  padding: var(--bh-section-y) 0;
}
.bh-produtos .bh-prod-head { max-width: 760px; margin: 0 auto; }
/* reaproveita o rotulo dos servicos (eyebrow com risco dourado central) */
.bh-produtos .title-line-both {
  color: var(--bh-primary) !important;
  position: relative; display: inline-block;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 13px;
}
.bh-produtos .title-line-both::after {
  content: ""; display: block; height: 3px; width: 40px;
  margin: 12px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(242,197,26,0), var(--bh-gold), rgba(242,197,26,0));
}
.bh-prod-lead {
  color: var(--bh-text); font-size: 17px; line-height: 1.8;
  max-width: 640px; margin: 0 auto;
}
.bh-prod-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px; margin-top: clamp(34px, 4vw, 54px);
}
.bh-prod-card {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--bh-r-card);
  border: 1px solid rgba(0, 80, 157, 0.08);
  box-shadow: var(--bh-card-shadow);
  overflow: hidden;
  transition: transform .4s var(--bh-ease), box-shadow .4s var(--bh-ease), border-color .4s var(--bh-ease);
}
.bh-prod-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--bh-card-shadow-hover);
  border-color: rgba(6, 182, 212, 0.45);
}
.bh-prod-thumb {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(0,80,157,.05) 0 14px, rgba(0,80,157,.02) 14px 28px),
    var(--bh-grad);
  position: relative;
}
.bh-prod-emoji {
  font-size: 52px; line-height: 1;
  filter: drop-shadow(0 8px 16px rgba(0, 20, 72, 0.28));
  transition: transform .45s var(--bh-ease);
}
.bh-prod-card:hover .bh-prod-emoji { transform: scale(1.12) translateY(-3px); }
.bh-prod-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.bh-prod-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bh-primary);
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.22);
  padding: 4px 12px; border-radius: 50px;
}
.bh-prod-title { font-weight: 800; letter-spacing: -0.02em; font-size: 21px; color: var(--bh-navy); margin: 4px 0 0; }
.bh-prod-text { color: var(--bh-text); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- SOFTWARE (HIDROSINC) — carro-chefe premium ---------- */
.bh-software {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 62%, #f4f9ff 100%);
  padding: var(--bh-section-y) 0;
}

/* Painel "app hero" — bloco escuro premium com aura ciano */
.bh-sw-hero {
  position: relative; overflow: hidden;
  border-radius: var(--bh-r-lg);
  background: radial-gradient(1100px 460px at 84% -18%, var(--bh-navy-2) 0%, var(--bh-navy) 60%);
  box-shadow: var(--bh-shadow-lg);
  padding: clamp(38px, 5vw, 70px) clamp(24px, 4vw, 64px);
  text-align: center;
}
.bh-sw-hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(520px circle at 16% 12%, rgba(6,182,212,.20), transparent 60%),
    radial-gradient(560px circle at 90% 108%, rgba(34,199,230,.18), transparent 62%);
}
.bh-sw-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.bh-sw-eyebrow {
  display: inline-block;
  color: var(--bh-cyan-light); text-transform: uppercase;
  letter-spacing: .28em; font-weight: 700; font-size: 13px; margin: 0 0 16px;
}
.bh-sw-title {
  color: #fff; font-family: 'Plus Jakarta Sans', 'Figtree', sans-serif;
  font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(40px, 6vw, 68px); line-height: 1; margin: 0 0 6px;
}
.bh-sw-subtitle {
  color: rgba(255,255,255,.72); font-size: 16px; font-style: italic;
  letter-spacing: .02em; margin: 0 0 22px;
}
.bh-sw-lead {
  color: rgba(255,255,255,.94); font-size: clamp(17px, 1.7vw, 21px); line-height: 1.7;
  font-weight: 500; margin: 0 auto 30px; max-width: 720px;
}
.bh-sw-hero-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 22px;
}
.bh-sw-hero .bh-sw-btn { margin: 0 !important; }
.bh-sw-badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50px; padding: 11px 20px;
  backdrop-filter: blur(4px);
}

/* A proposta — bloco de destaque (problema que resolve) */
.bh-sw-proposta {
  position: relative;
  margin-top: clamp(34px, 4vw, 54px);
  background: #fff;
  border: 1px solid rgba(0, 80, 157, 0.10);
  border-left: 4px solid var(--bh-cyan);
  border-radius: var(--bh-r-card);
  box-shadow: var(--bh-card-shadow);
  padding: clamp(26px, 3.4vw, 40px) clamp(24px, 3.4vw, 44px);
}
.bh-sw-proposta-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bh-primary); margin-bottom: 12px;
}
.bh-sw-proposta-text { color: var(--bh-text); font-size: 17px; line-height: 1.85; margin: 0; }
.bh-sw-proposta-text strong { color: var(--bh-navy); font-weight: 700; }

/* O que ele fornece — titulo */
.bh-sw-features-head { margin-top: clamp(44px, 5vw, 72px); margin-bottom: clamp(26px, 3vw, 40px); }
.bh-sw-features-head .heading-3xl { margin: 0; }

/* Grid de recursos (5 cards) */
.bh-sw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bh-sw-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--bh-r-card);
  border: 1px solid rgba(0, 80, 157, 0.08);
  box-shadow: var(--bh-card-shadow);
  padding: 30px 28px 30px;
  transition: transform .4s var(--bh-ease), box-shadow .4s var(--bh-ease), border-color .4s var(--bh-ease);
}
.bh-sw-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--bh-grad-bright); opacity: 0; transition: opacity .4s var(--bh-ease);
}
.bh-sw-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--bh-card-shadow-hover);
  border-color: rgba(6, 182, 212, 0.40);
}
.bh-sw-card:hover::before { opacity: 1; }
.bh-sw-card-icon {
  width: 58px; height: 58px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.22);
  margin-bottom: 18px;
  transition: transform .45s var(--bh-ease);
}
.bh-sw-card:hover .bh-sw-card-icon { transform: scale(1.10) rotate(-5deg); }
.bh-sw-card-title {
  font-weight: 800; letter-spacing: -0.02em; font-size: 21px;
  color: var(--bh-navy); margin: 0 0 14px;
}
.bh-sw-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bh-sw-list li {
  position: relative; padding-left: 26px;
  color: var(--bh-text); font-size: 15px; line-height: 1.6;
}
.bh-sw-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bh-grad-bright);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}

/* Para quem */
.bh-sw-paraquem {
  margin-top: clamp(34px, 4vw, 54px);
  background: linear-gradient(135deg, rgba(0,80,157,0.05), rgba(6,182,212,0.05));
  border: 1px solid rgba(0, 80, 157, 0.10);
  border-radius: var(--bh-r-lg);
  padding: clamp(28px, 3.6vw, 44px);
}
.bh-sw-paraquem-label {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bh-primary); margin-bottom: 24px;
}
.bh-sw-paraquem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.bh-sw-persona {
  background: #fff;
  border-radius: var(--bh-r-card);
  border: 1px solid rgba(0, 80, 157, 0.08);
  box-shadow: var(--bh-card-shadow);
  padding: 26px 28px;
  transition: transform .4s var(--bh-ease), box-shadow .4s var(--bh-ease);
}
.bh-sw-persona:hover { transform: translateY(-6px); box-shadow: var(--bh-card-shadow-hover); }
.bh-sw-persona-icon { font-size: 30px; line-height: 1; display: inline-block; margin-bottom: 12px; }
.bh-sw-persona-title { font-weight: 800; font-size: 18px; color: var(--bh-navy); margin: 0 0 6px; letter-spacing: -0.01em; }
.bh-sw-persona-title span { color: var(--bh-cyan); font-weight: 700; }
.bh-sw-persona-text { color: var(--bh-text); font-size: 15px; line-height: 1.6; margin: 0; }
.bh-sw-clientes {
  text-align: center; margin-top: 24px;
  color: var(--bh-text); font-size: 16px;
}
.bh-sw-clientes strong { color: var(--bh-navy); font-weight: 700; }

/* ---------- RESPONSIVO das secoes novas ---------- */
@media (max-width: 991px) {
  .bh-prod-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .bh-sw-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .bh-prod-grid { grid-template-columns: 1fr; }
  .bh-sw-grid { grid-template-columns: 1fr; }
  .bh-sw-paraquem-grid { grid-template-columns: 1fr; }
  .bh-sw-hero-cta { flex-direction: column; align-items: stretch; }
  .bh-sw-hero .bh-sw-btn { width: 100%; }
  .bh-sw-badge { justify-content: center; }
}

/* ---------- ACESSIBILIDADE: desliga o extra das secoes novas ---------- */
@media (prefers-reduced-motion: reduce) {
  .bh-prod-card, .bh-sw-card, .bh-sw-persona,
  .bh-prod-emoji, .bh-sw-card-icon {
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================================
   CURSOR GOTA DE AGUA (desktop / ponteiro fino) — v10
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html.bh-cursor-on, html.bh-cursor-on * { cursor: none !important; }
  .bh-cursor {
    position: fixed; left: 0; top: 0; z-index: 99999; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px;
    transform: translate3d(-100px, -100px, 0);
    transition: width .18s var(--bh-ease), height .18s var(--bh-ease), opacity .2s;
    will-change: transform;
  }
  .bh-cursor .bh-drop {
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 70%, #d6f2ff 0%, #4aa4f0 46%, #00509d 100%);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(0, 80, 157, .45), inset 0 0 6px rgba(255, 255, 255, .45);
  }
  .bh-cursor.bh-cursor-hover { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
}
@media (prefers-reduced-motion: reduce) {
  html.bh-cursor-on, html.bh-cursor-on * { cursor: auto !important; }
  .bh-cursor { display: none !important; }
}

/* ===== SOBRE: espaco entre a foto e a descricao (v12) ===== */
@media (min-width: 992px) {
  .box-agency .col-lg-7 { padding-left: 46px; }
}

/* ===== HERO: selo "BRASILHIDRO" em estilo EYEBROW (linha+texto+risco dourado) v13 ===== */
.banner-small-title {
  display: inline-block !important;
  position: relative;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 0 0 58px !important;
  margin-bottom: 26px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .24em !important;
}
.banner-small-title::before {
  content: "" !important; display: block !important;
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  height: 2px; width: 44px; background: #ffffff !important; border-radius: 2px;
  opacity: 1;
}
.banner-small-title::after {
  content: ""; display: block; height: 3px; width: 40px;
  margin-top: 10px; border-radius: 3px;
  background: linear-gradient(90deg, var(--bh-gold), rgba(242, 197, 26, 0));
}

/* =============================================================
   POLISH PRO — acabamento profissional final (ADITIVO, por cima)
   Objetivo: um SISTEMA só. Consistência (tipografia/ritmo/curva),
   acessibilidade (foco de teclado, alvos de toque), mobile
   impecável e micro-transições coesas. CONTENÇÃO total:
   NADA de efeitos novos piscando/concorrentes; só refino.
   Regras: só transform/opacity/filter animados; fallback visível;
   reduced-motion no fim. NÃO tocar em .hl-agua (azul sólido/parada),
   cursor gota, spotlight, selo do hero, carrosséis, rodapé.
   ============================================================= */

/* ---------- 1) FOCO DE TECLADO VISÍVEL (:focus-visible) ---------- */
/* Anel de foco coeso na cor da marca — só aparece via teclado.     */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.menu-tigger:focus-visible,
.menu-close button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible,
.card-project-3 a:focus-visible,
.bh-cta-phone:focus-visible,
.whatsapp-button:focus-visible,
.btn-scroll-top:focus-visible {
  outline: 3px solid var(--bh-cyan) !important;
  outline-offset: 3px !important;
  border-radius: 6px;
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.20) !important;
}
/* botões-pílula: o anel acompanha o raio arredondado */
.btn:focus-visible, header .btn-white:focus-visible,
.btn-hero-wpp:focus-visible, .bh-cta-band .btn-cta-wpp:focus-visible,
.whatsapp-button:focus-visible { border-radius: 50px !important; outline-offset: 4px !important; }
/* remove o outline padrão só quando NÃO é navegação por teclado */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) { outline: none; }
/* foco em contexto escuro (hero/diferenciais/cta/hidrosinc): anel claro */
.box-banner a:focus-visible, .box-process a:focus-visible,
.bh-cta-band a:focus-visible, .bh-sw-hero a:focus-visible {
  outline-color: #ffffff !important;
  box-shadow: 0 0 0 5px rgba(34, 199, 230, 0.35) !important;
}

/* ---------- 2) MICRO-TRANSIÇÕES COESAS ---------- */
/* links de texto/navegação compartilham a mesma curva/duração.     */
a { transition: color .25s var(--bh-ease); }
.nav-link, .bh-cta-phone, .top-bar a, footer a { transition: color .25s var(--bh-ease), transform .25s var(--bh-ease), opacity .25s var(--bh-ease); }
/* garante a mesma família de easing nos cards já existentes */
.bh-prod-card, .bh-sw-persona, .bh-sw-card { transition-timing-function: var(--bh-ease); }

/* ---------- 3) TIPOGRAFIA: escala coesa em telas pequenas ---------- */
/* Evita títulos "grandes demais" no celular, mantendo hierarquia.   */
@media (max-width: 575px) {
  .heading-3xl { font-size: clamp(26px, 7.4vw, 34px) !important; line-height: 1.16 !important; }
  .heading-3x3 { font-size: 20px !important; line-height: 1.4 !important; }
  .heading-jakarta-55 { font-size: 32px !important; line-height: 1.14 !important; }
  .bh-sw-title { font-size: clamp(34px, 11vw, 46px) !important; }
  .bh-prod-title, .bh-sw-card-title { font-size: 19px !important; }
}
/* corpo e rótulos: quebra segura de palavras longas (pt-BR) em qualquer largura */
.title-banner, .desc-banner, .heading-3xl, .heading-3x3,
.bh-prod-text, .bh-sw-proposta-text, .bh-sw-list li, .paragraph-base, .color-text {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ---------- 4) HERO: escala mobile normalizada (corrige cascata) ---------- */
/* A regra ≤767 (34px) vencia a de ≤575/≤420 por ordem de origem.     */
/* Aqui, por vir por último, restauramos uma escala descendente limpa.*/
/* (a cor/estado de .hl-agua permanece INTOCADA — azul sólido/parada) */
@media (max-width: 767px) {
  .title-banner { font-size: clamp(27px, 7vw, 44px) !important; line-height: 1.13 !important; }
  .box-banner .container { padding-left: 22px !important; padding-right: 22px !important; }
}
@media (max-width: 480px) {
  .title-banner { font-size: 27px !important; }
  .desc-banner { font-size: 15px !important; line-height: 1.7 !important; }
}
@media (max-width: 360px) {
  .title-banner { font-size: 24px !important; }
}

/* ---------- 5) RITMO VERTICAL CONSISTENTE ---------- */
/* Âncoras: nenhuma seção fica escondida sob a navbar sticky.        */
#top, #sobre, #servicos, #produtos, #software, #clientes, #contato { scroll-margin-top: 92px; }
/* Uniformiza o respiro superior/inferior das seções de conteúdo.    */
.bh-produtos, .bh-software { padding-top: var(--bh-section-y); padding-bottom: var(--bh-section-y); }

/* ---------- 6) ALVOS DE TOQUE ≥ 44px (mobile) ---------- */
@media (max-width: 991px) {
  .navbar-nav-mobile .nav-link {
    min-height: 46px; display: flex; align-items: center;
    padding-top: 8px; padding-bottom: 8px;
  }
  .menu-tigger.btn-navbar {
    min-width: 46px; min-height: 46px;
  }
}
@media (max-width: 767px) {
  .bh-cta-phone { min-height: 44px; }
  .hero-cta .btn { min-height: 52px; }
  /* botão flutuante do WhatsApp com área de toque confortável */
  .whatsapp-button { min-width: 56px; min-height: 56px; }
}

/* ---------- 7) LOGOS DE CLIENTES: altura estável (anti-CLS) ---------- */
#clientes .swiper-slide img {
  max-height: 92px; width: auto; object-fit: contain;
}

/* ---------- 8) DETALHES DE ACABAMENTO ---------- */
/* imagens nunca estouram a coluna (reforço) */
img { height: auto; }
.item-square-1 .item-square-1-image img,
.card-project-3 .card-image img { height: 100%; }  /* preserva comportamento original */
/* seleção de texto coesa em blocos escuros */
.box-process ::selection, .box-contact-blue ::selection,
.bh-sw-hero ::selection, .bh-cta-band ::selection { background: var(--bh-cyan-light); color: #002; }

/* ---------- 9) ACESSIBILIDADE: reduced-motion (reforço final) ---------- */
@media (prefers-reduced-motion: reduce) {
  a, .nav-link, .bh-cta-phone, .top-bar a, footer a { transition: none !important; }
  /* o foco de teclado continua visível (não é movimento) */
  html.bh-anim-ready .bh-reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== Consultoria em destaque (largura total, horizontal) v19 ===== */
.bh-consultoria {
  flex-direction: row !important;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 6px;
}
.bh-consultoria .bh-prod-thumb {
  flex: 0 0 170px; height: auto;
  display: flex; align-items: center; justify-content: center;
}
.bh-consultoria .bh-prod-thumb .bh-prod-emoji { font-size: 46px; }
.bh-consultoria .bh-prod-body { padding: 30px 32px; }
.bh-consultoria-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bh-primary); background: rgba(0, 80, 157, .08);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
@media (max-width: 640px) {
  .bh-consultoria { flex-direction: column !important; }
  .bh-consultoria .bh-prod-thumb { flex: 0 0 auto; height: 130px; }
}

/* =============================================================
   PAGINA CONSULTORIA (consultoria.html) — v19 (ADITIVO, por cima)
   Reaproveita a paleta e o sistema visual do site (raios, sombras,
   gradiente azul->ciano, eyebrows, ondas SVG). Prefixo .bhc- para
   nao colidir com o index. Regras: so transform/opacity/filter
   animados; fallback visivel; grids viram 1 coluna no mobile; sem
   overflow horizontal; reduced-motion desliga o extra no fim.
   ============================================================= */

/* ---------- HERO (bloco navy->ciano com onda embaixo) ---------- */
.bhc-hero {
  position: relative;
  background: linear-gradient(120deg, var(--bh-navy) 0%, var(--bh-primary) 58%, var(--bh-cyan) 128%);
  padding: clamp(120px, 15vw, 190px) 0 clamp(96px, 12vw, 150px);
  text-align: center;
}
.bhc-hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(560px circle at 18% 16%, rgba(6,182,212,.22), transparent 60%),
    radial-gradient(600px circle at 88% 104%, rgba(34,199,230,.18), transparent 62%);
}
/* onda branca na base -> entra na secao clara (Intro) */
.bhc-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 90px; z-index: 3; pointer-events: none;
  background: no-repeat bottom center / 100% 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,52 C240,90 480,26 720,46 C960,66 1200,92 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
}
.bhc-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.bhc-eyebrow {
  display: inline-block;
  color: var(--bh-cyan-light); text-transform: uppercase;
  letter-spacing: .28em; font-weight: 700; font-size: 13px; margin: 0 0 18px;
}
.bhc-hero-title {
  color: #fff; font-family: 'Plus Jakarta Sans', 'Figtree', sans-serif;
  font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; margin: 0 0 20px;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.28);
}
.bhc-hero-sub {
  color: rgba(255,255,255,.94); font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7; font-weight: 500; max-width: 680px; margin: 0 auto 32px;
  text-shadow: 0 2px 14px rgba(0, 20, 72, 0.35);
}
.bhc-hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.bhc-hero .bhc-hero-btn { margin: 0 !important; }

/* ---------- INTRO ---------- */
.bhc-intro {
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  padding: var(--bh-section-y) 0;
}
.bhc-intro-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.bhc-intro-eyebrow {
  color: var(--bh-primary) !important;
  position: relative; display: inline-block;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 13px;
}
.bhc-intro-eyebrow::after {
  content: ""; display: block; height: 3px; width: 40px;
  margin: 12px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(242,197,26,0), var(--bh-gold), rgba(242,197,26,0));
}
.bhc-intro-text {
  color: var(--bh-text); font-size: 17px; line-height: 1.85;
  max-width: 800px; margin: 0 auto 18px;
}
.bhc-intro-text:last-child { margin-bottom: 0; }
.bhc-intro-text strong { color: var(--bh-navy); font-weight: 700; }

/* ---------- AREAS DE CONSULTORIA (grid de cards) ---------- */
.bhc-areas {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
  padding: var(--bh-section-y) 0;
}
.bhc-areas-head { max-width: 760px; margin: 0 auto; }
.bhc-areas-eyebrow {
  color: var(--bh-primary) !important;
  position: relative; display: inline-block;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 13px;
}
.bhc-areas-eyebrow::after {
  content: ""; display: block; height: 3px; width: 40px;
  margin: 12px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(242,197,26,0), var(--bh-gold), rgba(242,197,26,0));
}
.bhc-areas-lead {
  color: var(--bh-text); font-size: 17px; line-height: 1.8;
  max-width: 640px; margin: 0 auto;
}
.bhc-areas-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: clamp(34px, 4vw, 54px);
}
.bhc-area-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--bh-r-card);
  border: 1px solid rgba(0, 80, 157, 0.08);
  box-shadow: var(--bh-card-shadow);
  padding: 30px 26px;
  transition: transform .4s var(--bh-ease), box-shadow .4s var(--bh-ease), border-color .4s var(--bh-ease);
}
.bhc-area-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--bh-grad-bright); opacity: 0; transition: opacity .4s var(--bh-ease);
}
.bhc-area-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--bh-card-shadow-hover);
  border-color: rgba(6, 182, 212, 0.40);
}
.bhc-area-card:hover::before { opacity: 1; }
.bhc-area-icon {
  width: 56px; height: 56px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color: var(--bh-primary);
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.22);
  margin-bottom: 18px;
  transition: transform .45s var(--bh-ease);
}
.bhc-area-card:hover .bhc-area-icon { transform: scale(1.10) rotate(-5deg); }
.bhc-area-title {
  font-weight: 800; letter-spacing: -0.02em; font-size: 19px;
  color: var(--bh-navy); margin: 0 0 12px; line-height: 1.25;
}
.bhc-area-text { color: var(--bh-text); font-size: 15px; line-height: 1.65; margin: 0; }

/* ---------- COMO FUNCIONA (secao escura com bolhas) ---------- */
.bhc-steps {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 520px at 82% -12%, var(--bh-navy-2) 0%, var(--bh-navy) 58%);
  padding: clamp(96px, 12vw, 150px) 0;
}
/* onda no topo (cor da secao clara acima = branco) */
.bhc-steps::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0;
  height: 90px; z-index: 2; pointer-events: none;
  background: no-repeat top center / 100% 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 L1440,0 L1440,40 C1200,86 960,20 720,44 C480,68 240,90 0,52 Z'/%3E%3C/svg%3E");
}
.bhc-steps > .container { position: relative; z-index: 3; }
.bhc-steps .title-line.color-white { color: var(--bh-cyan-light) !important; }
.bhc-steps-head { max-width: 720px; margin: 0 auto; }
.bhc-steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: clamp(40px, 5vw, 64px);
}
.bhc-step {
  height: 100%;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--bh-r-card);
  padding: 34px 28px;
  backdrop-filter: blur(6px);
  transition: transform .4s var(--bh-ease), background .4s, border-color .4s;
}
.bhc-step:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(34, 199, 230, 0.5);
}
.bhc-step-num {
  font-family: 'Plus Jakarta Sans', 'Figtree', sans-serif;
  font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em;
  background: var(--bh-grad-bright); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 16px;
}
.bhc-step-title { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; margin: 0 0 10px; }
.bhc-step-text { color: rgba(255,255,255,.80); font-size: 15px; line-height: 1.65; margin: 0; }

/* bolhas subindo (sutis, atras do conteudo) */
.bhc-steps-bubbles { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.bhc-steps-bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), rgba(34,199,230,.18) 70%, transparent);
  opacity: 0; filter: blur(.3px);
  animation: bh-bubble-rise linear infinite;
}
.bhc-steps-bubbles span:nth-child(1){ left: 12%; width:12px;height:12px; animation-duration: 16s; animation-delay: 0s; }
.bhc-steps-bubbles span:nth-child(2){ left: 34%; width:18px;height:18px; animation-duration: 20s; animation-delay: 4s; }
.bhc-steps-bubbles span:nth-child(3){ left: 55%; width:9px; height:9px;  animation-duration: 14s; animation-delay: 7s; }
.bhc-steps-bubbles span:nth-child(4){ left: 72%; width:22px;height:22px; animation-duration: 22s; animation-delay: 2s; }
.bhc-steps-bubbles span:nth-child(5){ left: 88%; width:12px;height:12px; animation-duration: 18s; animation-delay: 9s; }

/* ---------- link "Voltar ao site" na faixa de CTA ---------- */
.bhc-back-link {
  display: inline-flex; align-items: center;
  color: rgba(255,255,255,.9); font-weight: 600; font-size: 15px; text-decoration: none;
  transition: color .25s var(--bh-ease), transform .25s var(--bh-ease);
}
.bhc-back-link:hover { color: var(--bh-cyan-light); transform: translateX(-3px); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1199px) {
  .bhc-areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .bhc-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .bhc-hero::after, .bhc-steps::before { height: 55px; background-size: 100% 55px; }
  .bhc-steps-bubbles span:nth-child(1),
  .bhc-steps-bubbles span:nth-child(3),
  .bhc-steps-bubbles span:nth-child(5) { display: none; }
}
@media (max-width: 767px) {
  .bhc-hero-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
  .bhc-areas-grid { grid-template-columns: 1fr; }
  .bhc-steps-grid { grid-template-columns: 1fr; }
  .bhc-area-title { font-size: 18px; }
}

/* ---------- ACESSIBILIDADE: desliga o extra ---------- */
@media (prefers-reduced-motion: reduce) {
  .bhc-area-card, .bhc-step, .bhc-area-icon, .bhc-back-link {
    transition: none !important; transform: none !important;
  }
  .bhc-steps-bubbles span { animation: none !important; opacity: 0 !important; }
}

/* ===== Hero consultoria: imagem de fundo (equipe na ETA) v21 ===== */
.bhc-hero{
  background-image: linear-gradient(100deg, rgba(1,30,78,.90) 0%, rgba(1,40,92,.60) 46%, rgba(1,40,92,.30) 74%, rgba(1,40,92,.18) 100%), url("../images/consultoria-hero.jpg?2") !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
}

/* ===== Navbar desktop: sem hamburguer, logo maior, menu a direita v23 ===== */
@media (min-width: 992px) {
  header .menu-tigger { display: none !important; }
  .navbar-brand img { width: 200px !important; max-width: 200px !important; }
  header .navbar-nav.me-auto { margin: 0 auto !important; }
}

/* ===== Banner de produto (osmose reversa) v27 ===== */
.bh-prod-banner{
  position:relative; border-radius:20px; overflow:hidden;
  margin: 8px 0 42px; min-height:330px; display:flex; align-items:center;
  background: linear-gradient(100deg, rgba(1,20,72,.86) 0%, rgba(1,40,92,.55) 55%, rgba(1,40,92,.22) 100%), url("../images/produto.png");
  background-size:cover; background-position:center; box-shadow: var(--bh-shadow);
}
.bh-prod-banner-inner{ padding:44px 52px; max-width:640px; }
.bh-prod-banner-title{ color:#fff; font-weight:800; font-size:clamp(28px,3.4vw,44px); line-height:1.08; margin-bottom:14px; text-shadow:0 4px 20px rgba(0,0,0,.32); }
.bh-prod-banner-sub{ color:rgba(255,255,255,.95); font-size:18px; margin:0; text-shadow:0 3px 16px rgba(0,0,0,.3); }
@media(max-width:640px){ .bh-prod-banner-inner{ padding:28px 24px; } .bh-prod-banner{ min-height:260px; } }

/* ===== Hero produtos: imagem de fundo (produto.png) v27 ===== */
.bhp-hero{
  background-image: linear-gradient(100deg, rgba(1,30,78,.90) 0%, rgba(1,40,92,.60) 46%, rgba(1,40,92,.30) 74%, rgba(1,40,92,.18) 100%), url("../images/produto.png") !important;
  background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
}

/* ===== Banner consultoria (home) com foto v29 ===== */
.bh-consult-banner{
  background: linear-gradient(100deg, rgba(1,20,72,.86) 0%, rgba(1,40,92,.55) 55%, rgba(1,40,92,.22) 100%), url("../images/consultoria-hero.jpg?2") !important;
  background-size:cover !important; background-position:center !important;
}

/* ===== Hero paginas: alinhado a esquerda (estilo home) v30 ===== */
.bhc-hero-inner{ margin:0 !important; text-align:left !important; max-width:760px; }
.bhc-hero-cta{ justify-content:flex-start !important; }

/* ===== Redes sociais no menu lateral mobile v31 ===== */
.bh-mobile-social{ display:flex; gap:16px; margin:0 0 26px; }
.bh-mobile-social a{ width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--bh-primary); color:#fff !important; font-size:20px; transition:transform .25s var(--bh-ease), background .25s; }
.bh-mobile-social a:hover{ transform:translateY(-3px); background:var(--bh-cyan); }

/* =============================================================
   ATUAÇÃO — Globo 3D interativo (secao escura) v-globe
   ============================================================= */
.bh-globe {
  position: relative;
  overflow: hidden;
  padding: 130px 0 130px;
  background: radial-gradient(1200px 560px at 78% -14%, var(--bh-navy-2) 0%, var(--bh-navy) 60%);
  isolation: isolate;
}
/* onda no topo (casa com a secao clara #clientes acima) */
.bh-globe::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0;
  height: 90px; z-index: 3; pointer-events: none;
  background: no-repeat top center / 100% 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 L1440,0 L1440,40 C1200,86 960,20 720,44 C480,68 240,90 0,52 Z'/%3E%3C/svg%3E");
}
/* onda na base (casa com a secao clara #contato abaixo) */
.bh-globe::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 90px; z-index: 3; pointer-events: none;
  background: no-repeat bottom center / 100% 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,52 C240,90 480,26 720,46 C960,66 1200,92 1440,44 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
}
/* aura ciano sutil de fundo */
.bh-globe-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px circle at 14% 18%, rgba(6,182,212,.16), transparent 60%),
    radial-gradient(620px circle at 88% 96%, rgba(34,199,230,.14), transparent 62%);
}
.bh-globe .container { z-index: 2; }

.bh-globe-head { max-width: 760px; margin: 0 auto 34px; }
.bh-globe-eyebrow {
  display: inline-block; color: var(--bh-cyan-light);
  text-transform: uppercase; letter-spacing: .28em;
  font-weight: 700; font-size: 13px; margin: 0 0 14px;
}
.bh-globe-title {
  color: #fff; font-family: 'Plus Jakarta Sans', 'Figtree', sans-serif;
  font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(30px, 5vw, 50px); line-height: 1.05; margin: 0 0 16px;
}
.bh-globe-sub {
  color: rgba(230,244,255,.74); font-size: 17px; line-height: 1.7;
  max-width: 640px; margin: 0 auto;
}

/* Palco do globo */
.bh-globe-stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 60vh, 560px);
  margin: 8px auto 0;
  display: flex; align-items: center; justify-content: center;
}
.bh-globe-canvas {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y; /* nao trava o scroll vertical no mobile */
}
.bh-globe-canvas canvas { display: block; margin: 0 auto; outline: none; }

.bh-globe-hint {
  text-align: center; margin: 22px 0 0;
  color: rgba(230,244,255,.55);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
}

/* Fallback (globo nao carregou) */
.bh-globe-fallback {
  width: 100%; max-width: 460px; margin: 0 auto;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--bh-radius);
  backdrop-filter: blur(6px);
  padding: 30px 28px;
  text-align: left;
}
.bh-globe-fallback-title {
  color: var(--bh-cyan-light); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; margin: 0 0 16px;
}
.bh-globe-fallback-list { list-style: none; margin: 0; padding: 0; }
.bh-globe-fallback-list li {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 16px; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bh-globe-fallback-list li:last-child { border-bottom: none; }
.bh-globe-fallback-list em { color: rgba(230,244,255,.6); font-style: normal; font-size: 13px; }
.bh-globe-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bh-cyan-light);
  box-shadow: 0 0 10px rgba(34,199,230,.9); flex: none;
}
.bh-globe-dot--hub {
  background: var(--bh-gold);
  box-shadow: 0 0 12px rgba(242,197,26,.95);
}

@media (max-width: 991px) {
  .bh-globe { padding: 100px 0; }
  .bh-globe::before, .bh-globe::after { height: 50px; background-size: 100% 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .bh-globe-hint::after { content: none; }
}

/* =============================================================
   ATUAÇÃO — Mapa tech/HUD (substitui o globo 3D)  v-map
   Fundo navy + grade HUD + silhueta pontilhada do Brasil (contorno real),
   pins âmbar brilhantes no litoral do Nordeste, arcos ciano animados
   a partir de Natal e pulso no hub.
   ============================================================= */
.bh-map-stage { position: relative; width: 100%; margin: 8px auto 0; }

.bh-map {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  border-radius: 26px;
  padding: 8px;
  background:
    radial-gradient(130% 100% at 82% 6%, rgba(6,182,212,.14), transparent 58%),
    radial-gradient(120% 120% at 12% 96%, rgba(34,199,230,.10), transparent 60%),
    linear-gradient(180deg, rgba(2,26,74,.55), rgba(0,12,38,.35));
  border: 1px solid rgba(120,190,255,.16);
  box-shadow:
    inset 0 0 70px rgba(0,20,72,.55),
    0 26px 64px rgba(0,9,34,.5);
  overflow: hidden;
}

.bh-map-svg { display: block; width: 100%; height: auto; }

/* --- Brasil dividido nos 27 estados (UFs) --- */
/* preenchimento navy/ciano do continente + brilho no contorno externo (a
   drop-shadow abraca a silhueta unida dos estados = so o litoral do pais) */
.bh-map-land-fill {
  fill: url(#bhMapLand);
  filter: drop-shadow(0 0 7px rgba(6,182,212,.5)) drop-shadow(0 0 2px rgba(120,215,255,.55));
}
/* textura de pontinhos azuis por cima */
.bh-map-dots { fill: url(#bhMapDots); }
/* fronteiras dos estados: linha fina ciano/azul-clara (internas + externa) */
.bh-map-borders {
  fill: none;
  stroke: rgba(120,215,255,.5);
  stroke-width: 1.1;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* (compat) contorno unico antigo, caso ainda referenciado */
.bh-map-outline {
  fill: none;
  stroke: rgba(120,215,255,.6);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(6,182,212,.45));
}

/* --- arcos de conexao --- */
.bh-map-arc-base {
  fill: none;
  stroke: rgba(110,210,250,.38);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.bh-map-arc-run {
  fill: none;
  stroke: var(--bh-cyan-light);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(34,199,230,1));
}

/* --- camada de pins (HTML sobre o SVG) --- */
.bh-map-overlay { position: absolute; inset: 8px; pointer-events: none; }

.bh-map-pin {
  position: absolute;
  width: 0; height: 0;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s var(--bh-ease), transform .55s var(--bh-ease);
}
.bh-map.in .bh-map-pin { opacity: 1; transform: translateY(0); }
.bh-map-pin:hover { z-index: 6; }

/* marcador estilo location-pin (gota) */
.bh-map-pin .pin-marker {
  position: absolute;
  left: -8px; bottom: 0;
  width: 16px; height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  transform-origin: bottom center;
  background: linear-gradient(135deg, #ffe08a 0%, #ffb347 45%, #f2a01a 100%);
  box-shadow:
    0 0 10px 2px rgba(255,178,71,.85),
    0 0 22px 4px rgba(255,150,40,.35),
    inset 0 0 3px rgba(255,255,255,.7);
  transition: transform .3s var(--bh-ease), box-shadow .3s var(--bh-ease);
}
.bh-map-pin .pin-marker::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff7e0;
  box-shadow: 0 0 4px rgba(255,255,255,.9);
}
.bh-map-pin.hub .pin-marker {
  width: 20px; height: 20px;
  left: -10px;
  background: linear-gradient(135deg, #ffe8a0 0%, var(--bh-gold) 50%, #e89a10 100%);
  box-shadow:
    0 0 14px 3px rgba(242,197,26,.9),
    0 0 30px 6px rgba(242,197,26,.4),
    inset 0 0 4px rgba(255,255,255,.8);
}
.bh-map-pin:hover .pin-marker {
  transform: rotate(-45deg) scale(1.22);
  box-shadow:
    0 0 16px 4px rgba(255,190,90,1),
    0 0 34px 8px rgba(255,150,40,.5),
    inset 0 0 3px rgba(255,255,255,.85);
}

/* pulso no hub (aneis concentricos) */
.bh-map-pin .pin-pulse {
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 0;
}
.bh-map-pin .pin-pulse i {
  position: absolute;
  left: 0; top: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid rgba(242,197,26,.6);
  opacity: 0;
  animation: bhMapPulse 2.9s cubic-bezier(0.22,1,0.36,1) infinite;
}
.bh-map-pin .pin-pulse i:nth-child(2) { animation-delay: .95s; }
.bh-map-pin .pin-pulse i:nth-child(3) { animation-delay: 1.9s; }
@keyframes bhMapPulse {
  0%   { transform: scale(.35); opacity: .75; }
  70%  { opacity: .18; }
  100% { transform: scale(4.6); opacity: 0; }
}

/* realce ligado do marcador (quando o par pino/rotulo esta em foco) */
.bh-map-pin.hot .pin-marker {
  transform: rotate(-45deg) scale(1.22);
  box-shadow:
    0 0 16px 4px rgba(255,190,90,1),
    0 0 34px 8px rgba(255,150,40,.5),
    inset 0 0 3px rgba(255,255,255,.85);
}

/* --- linhas-guia: pino no litoral -> rotulo na coluna do oceano --- */
.bh-map-leaders { opacity: 0; transition: opacity .6s var(--bh-ease) .35s; }
.bh-map.in .bh-map-leaders { opacity: 1; }
.bh-map-leader {
  fill: none;
  stroke: rgba(110,205,250,.32);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: stroke .25s var(--bh-ease), stroke-width .25s var(--bh-ease);
}
.bh-map-leader.hot { stroke: var(--bh-cyan-light); stroke-width: 2.4; }
.bh-map-leader-node {
  fill: rgba(160,228,255,.95);
  filter: drop-shadow(0 0 5px rgba(34,199,230,.9));
}

/* --- rotulos-chamada (coluna no oceano, a direita da costa) --- */
.bh-map-flabel {
  position: absolute;
  transform: translate(8px, -50%);
  display: flex;
  flex-direction: column;
  gap: 1px;
  white-space: nowrap;
  line-height: 1.16;
  font-family: 'Plus Jakarta Sans', 'Figtree', sans-serif;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .55s var(--bh-ease), transform .4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color .3s, box-shadow .3s;
  background: rgba(0, 20, 72, 0.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-left: 10px; /* espaco da linha guida */
}
.bh-map.in .bh-map-flabel { opacity: 1; transform: translate(0, -50%); }
.bh-map-flabel:hover,
.bh-map-flabel.hot { 
  transform: translate(0, -50%) scale(1.05);
  background: rgba(0, 20, 72, 0.7);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.pin-line {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}
.pin-line.first {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.bh-map-flabel:hover .pin-line.first,
.bh-map-flabel.hot  .pin-line.first { color: var(--bh-cyan-light); }

.pin-tag {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: 3px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--bh-gold);
  color: #0a1230;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(242,197,26,.6);
}

/* HUD corner brackets */
.bh-map-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid rgba(120,215,255,.4);
  pointer-events: none;
}
.bh-map-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.bh-map-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.bh-map-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.bh-map-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

@media (max-width: 575px) {
  .bh-map { border-radius: 20px; }
  .bh-map-flabel { margin-left: 6px; padding: 8px 12px; }
  .pin-line { font-size: 10.5px; }
  .pin-line.first { font-size: 12.5px; }
  .pin-tag { font-size: 8px; padding: 1px 6px; margin-bottom: 2px; }
  .bh-map-corner { width: 16px; height: 16px; }
}
@media (max-width: 400px) {
  .pin-line { font-size: 9.5px; }
  .pin-line.first { font-size: 11px; }

/* ========================================================
   AWWWARDS UPGRADE: CURSOR & TRANSITION
   ======================================================== */
.bh-cursor {
  position: fixed; top: 0; left: 0;
  width: 20px; height: 20px;
  background: rgba(6, 182, 212, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--bh-ease), height 0.3s var(--bh-ease), background 0.3s var(--bh-ease);
  background: rgba(0, 80, 157, 0.4);
}
.bh-cursor.active {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 182, 212, 0.8);
}
@media (max-width: 991px) {
  .bh-cursor { display: none !important; }
}

.bh-page-transition {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bh-navy);
  z-index: 999999;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}
.bh-page-transition.active {
  transform: translateY(0);
}
.bh-page-transition.bottom-out {
  transform: translateY(100%);
}
}

@media (prefers-reduced-motion: reduce) {
  .bh-map-pin,
  .bh-map-flabel { transition: none; opacity: 1; }
  .bh-map-flabel { transform: translate(0, -50%); }
  .bh-map-leaders { opacity: 1; transition: none; }
  .bh-map-pin .pin-pulse i { animation: none; opacity: .35; transform: scale(1.4); }
}


/* ===== Realce FORTE do estado no mapa (visivel ate nos pequenos do NE) v39 ===== */
svg .hot-state, [data-uf].hot-state {
  fill: #f2c51a !important;
  stroke: #fff2c0 !important;
  stroke-width: 2.5px !important;
  filter: drop-shadow(0 0 9px rgba(242,197,26,0.95)) drop-shadow(0 0 22px rgba(242,197,26,0.6)) !important;
}

/* ===== Pinos/ondas NAO bloqueiam o mouse dos rotulos (v41) ===== */
.bh-map-pin, .bh-map-pin * { pointer-events: none !important; }

/* ============================================================
   SISTEMAS & APLICATIVOS (#apps) — 2 colunas por publico
   ============================================================ */
.bh-apps {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  padding: var(--bh-section-y) 0;
}
.bh-apps .bh-prod-head { max-width: 780px; margin: 0 auto; }
.bh-apps .title-line-both {
  color: var(--bh-primary) !important;
  position: relative; display: inline-block;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: 13px;
}
.bh-apps .title-line-both::after {
  content: ""; display: block; height: 3px; width: 40px;
  margin: 12px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, rgba(242,197,26,0), var(--bh-gold), rgba(242,197,26,0));
}

/* Grid de 2 colunas */
.bh-apps-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px; margin-top: clamp(34px, 4vw, 54px);
  align-items: stretch;
}

/* Card base */
.bh-apps-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: var(--bh-r-lg);
  border: 1px solid rgba(0, 80, 157, 0.08);
  box-shadow: var(--bh-card-shadow);
  padding: clamp(28px, 3.4vw, 44px);
  transition: transform .4s var(--bh-ease), box-shadow .4s var(--bh-ease), border-color .4s var(--bh-ease);
}
.bh-apps-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--bh-grad-bright); opacity: 0; transition: opacity .4s var(--bh-ease);
}
.bh-apps-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bh-card-shadow-hover);
  border-color: rgba(6, 182, 212, 0.40);
}
.bh-apps-card:hover::before { opacity: 1; }

/* Coluna cliente = destaque (borda ciano permanente) */
.bh-apps-card--primary {
  border-color: rgba(6, 182, 212, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
}
.bh-apps-card--primary::before { opacity: 1; }

/* Coluna equipe = mais discreta */
.bh-apps-card--team { background: #fbfdff; }

/* Badge (para quem) */
.bh-apps-badge {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bh-primary);
  background: rgba(6, 182, 212, 0.10);
  border: 1px solid rgba(6, 182, 212, 0.22);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}
.bh-apps-badge--muted {
  color: var(--bh-text);
  background: rgba(0, 20, 72, 0.05);
  border-color: rgba(0, 20, 72, 0.12);
}

.bh-apps-title {
  font-weight: 800; letter-spacing: -0.02em; font-size: clamp(24px, 2.6vw, 30px);
  color: var(--bh-navy); margin: 0 0 8px;
}
.bh-apps-sub {
  color: var(--bh-text); font-size: 16px; line-height: 1.7; margin: 0 0 22px;
}

/* Botoes */
.bh-apps-btn { margin: 0 !important; padding: 14px 30px !important; font-size: 15px; }
.bh-apps-card > .bh-apps-btn { align-self: flex-start; }
.bh-apps-btn--download { display: inline-flex; align-items: center; gap: 8px; }

/* Bloco de download (QR + botao) */
.bh-apps-download {
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid rgba(0, 80, 157, 0.08);
}
.bh-apps-qr {
  flex: 0 0 auto;
  width: 140px; height: 140px; border-radius: 14px;
  background: #fff; padding: 8px;
  border: 1px solid rgba(0, 80, 157, 0.12);
  box-shadow: var(--bh-shadow-sm);
}
.bh-apps-download-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; flex: 1 1 200px; }
.bh-apps-meta { color: var(--bh-text); font-size: 13px; margin: 0; font-weight: 600; }

/* Avisos */
.bh-apps-warn {
  margin: 20px 0 0; color: var(--bh-text); font-size: 13px; line-height: 1.6;
  background: rgba(242, 197, 26, 0.10);
  border: 1px solid rgba(242, 197, 26, 0.30);
  border-radius: 12px; padding: 12px 16px;
}
.bh-apps-note {
  margin: 12px 0 0; color: var(--bh-primary); font-size: 13px; font-weight: 600; line-height: 1.6;
}

/* Rodape da secao */
.bh-apps-foot {
  text-align: center; margin: clamp(28px, 3.4vw, 40px) auto 0;
  color: var(--bh-navy); font-weight: 700; font-size: 15px;
}

/* Responsivo: 2 colunas -> 1 no mobile */
@media (max-width: 860px) {
  .bh-apps-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .bh-apps-download { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bh-apps-qr { width: 128px; height: 128px; }
  .bh-apps-card > .bh-apps-btn, .bh-apps-btn--download { width: 100%; justify-content: center; }
  .bh-apps-download-info { width: 100%; }
}

/* Foco acessivel coerente com o resto do site */
.bh-apps a:focus-visible {
  outline: 3px solid var(--bh-cyan-light);
  outline-offset: 3px; border-radius: 8px;
}
