/* ==========================================================================
   HEALINGBIT CONSULTING — Cinematic Dark Design System (v3)
   Conceito: sala de controlo / computação avançada.
   Base azul-noite + luz azul-elétrica (cor do logótipo) + acentos bronze/ouro.
   Carregado DEPOIS de main.css. Prefixo .hb-.
   ========================================================================== */

:root {
  /* Fundos */
  --bg:        #060A14;   /* preto espacial / azul-noite */
  --bg-2:      #0A1024;
  --bg-3:      #0E1630;

  /* Luz identitária (extraída do logótipo) */
  --blue:      #2C3DF5;   /* azul-elétrico do wordmark */
  --blue-2:    #4A5BFF;
  --blue-glow: rgba(58, 77, 255, 0.55);

  /* Acentos bronze / ouro-velho */
  --gold:      #C9A35E;
  --gold-2:    #E3C58A;
  --gold-soft: rgba(201, 163, 94, 0.16);

  /* Tinta / texto */
  --ink:       #EAEEF7;
  --ink-2:     #C2CAD9;
  --muted:     #8A95AC;

  /* Superfícies (vidro escuro) */
  --glass:     rgba(255, 255, 255, 0.035);
  --glass-2:   rgba(255, 255, 255, 0.06);
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.14);

  /* Tipografia */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-news:  "News Gothic", "News Gothic MT", "Barlow", -apple-system, "Segoe UI", sans-serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius:    16px;
  --radius-sm: 12px;
  --maxw:      1200px;
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ---- Base ---- */
body.hb-page {
  font-family: var(--font-sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hb-page h1 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .005em;
}
.hb-page h2, .hb-page h3, .hb-page h4, .hb-page h5, .hb-page h6 {
  font-family: var(--font-news);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.015em;
}

body.hb-page a { color: var(--gold-2); text-decoration: none; transition: color .25s ease; }
body.hb-page a:hover { color: var(--gold); }

.hb-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.hb-main { display: block; position: relative; z-index: 1; }

/* ---- Camada de Aurora (orbs de luz de fundo) ---- */
.hb-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hb-aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: hb-float 18s ease-in-out infinite;
}
.hb-aurora__orb--1 { width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 68%); }
.hb-aurora__orb--2 { width: 520px; height: 520px; top: 30%; right: -160px;
  background: radial-gradient(circle, rgba(201,163,94,0.30) 0%, transparent 70%); animation-delay: -6s; }
.hb-aurora__orb--3 { width: 560px; height: 560px; bottom: -200px; left: 35%;
  background: radial-gradient(circle, rgba(44,61,245,0.32) 0%, transparent 70%); animation-delay: -11s; }
@keyframes hb-float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px,-40px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hb-aurora__orb { animation: none; } }

/* ---- Eyebrow / rótulos técnicos (mono) ---- */
.hb-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hb-eyebrow::before { content: "// "; color: var(--gold); opacity: .7; }

/* ---- Botões ---- */
.hb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-mono); font-weight: 500; font-size: 13.5px;
  letter-spacing: .04em; line-height: 1;
  padding: 16px 30px; border-radius: 50px; border: 1px solid transparent;
  cursor: pointer; transition: all .3s ease; text-decoration: none; white-space: nowrap;
}
.hb-btn--sm { padding: 12px 22px; font-size: 12.5px; }
.hb-btn--primary {
  background: linear-gradient(135deg, #B5852F 0%, #D2AC5C 100%);
  color: #14100A;
  box-shadow: 0 10px 30px rgba(181,133,47,0.28);
}
.hb-btn--primary:hover { color: #14100A; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(181,133,47,0.42), 0 0 24px rgba(210,172,92,0.30); }
.hb-btn--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff; box-shadow: 0 10px 30px rgba(44,61,245,0.35);
}
.hb-btn--blue:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(44,61,245,0.5), 0 0 26px var(--blue-glow); }
.hb-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.hb-btn--ghost:hover { color:#fff; border-color: var(--gold); box-shadow: 0 0 20px var(--gold-soft); }
.hb-btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.hb-btn--outline:hover { color: var(--gold-2); border-color: var(--gold); }

/* Garante a cor do texto dos botões (vence a regra global de links <a>) */
body.hb-page .hb-btn--primary,
body.hb-page .hb-btn--primary:hover { color: #14100A; }
body.hb-page .hb-btn--blue,
body.hb-page .hb-btn--blue:hover { color: #fff; }
body.hb-page .hb-btn--ghost,
body.hb-page .hb-btn--outline { color: var(--ink); }
body.hb-page .hb-btn--ghost:hover { color: #fff; }
body.hb-page .hb-btn--outline:hover { color: var(--gold-2); }

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.hb-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease, border-color .35s ease;
  padding: 20px 0; border-bottom: 1px solid transparent; }
.hb-header__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hb-header.is-scrolled {
  background: rgba(6, 10, 20, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.hb-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.hb-brand__logo { height: 42px; width: auto; display: block; filter: drop-shadow(0 0 14px rgba(58,77,255,0.4)); }
.hb-brand__name { font-family: var(--font-news); font-weight: 400; font-size: 20px; color: #fff; letter-spacing: .01em; white-space: nowrap; }
.hb-brand__name-accent { font-family: var(--font-news); font-weight: 400; color: #fff; }

.hb-nav { display: flex; align-items: center; gap: 30px; }
.hb-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hb-nav__link {
  display: inline-block; font-family: var(--font-news); font-weight: 400; font-size: 13px;
  letter-spacing: .01em; color: var(--ink-2); text-decoration: none;
  padding: 9px 14px; border-radius: 8px; transition: color .2s ease, background .2s ease;
}
.hb-nav__link:hover, .hb-nav__link.is-active { color: #fff; background: var(--glass-2); }
.hb-nav__actions { display: flex; align-items: center; gap: 16px; }
.hb-nav__social { font-size: 19px; color: var(--ink-2); display: inline-flex; transition: color .2s ease; }
.hb-nav__social:hover { color: var(--gold); }

.hb-nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 0; }
.hb-nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s ease; }

/* ==========================================================================
   Hero cinemático
   ========================================================================== */
.hb-hero { position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 160px 0 110px; overflow: hidden; }
.hb-hero::before { /* grelha técnica subtil */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
/* Hero em duas colunas: texto à esquerda, logótipo à direita */
.hb-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 48px; align-items: center; }
.hb-hero__inner { position: relative; z-index: 2; max-width: 720px; }
.hb-hero__media { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
/* Promessa de marca, por baixo do logótipo */
.hb-hero__promise {
  position: relative; z-index: 2; margin: 22px 0 0; max-width: 360px;
  font-family: var(--font-news); font-weight: 400; font-size: 1.05rem; line-height: 1.5;
  text-align: center; color: var(--ink-2); letter-spacing: .01em;
}
.hb-hero__promise::before {
  content: ""; display: block; width: 46px; height: 1px; margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hb-hero__logo { position: relative; z-index: 2; width: 100%; max-width: 380px; height: auto; object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,0.5)); }
/* Halo de luz azul-elétrica por detrás do logo */
.hb-hero__glow { position: absolute; inset: 0; margin: auto; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 68%); filter: blur(36px); z-index: 1;
  opacity: .55; }
.hb-hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft); border: 1px solid rgba(201,163,94,0.32);
  padding: 9px 18px; border-radius: 50px; margin-bottom: 28px;
}
.hb-hero h1 {
  /* Mesma tipografia do nome "Carlos Sousa": News Gothic (light), não a serif */
  font-family: var(--font-news);
  color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 400;
  margin: 0 0 24px; letter-spacing: -.015em; line-height: 1.25;
}
.hb-hero h1 .hb-hl {
  font-style: italic;
  background: linear-gradient(120deg, var(--blue-2), var(--gold-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hb-hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-2); margin: 0 0 40px; max-width: 660px; }
.hb-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   Secções + títulos
   ========================================================================== */
/* Neutraliza o branco que o main.css do template injeta em todas as <section> */
body.hb-page section,
body.hb-page .section { background-color: transparent !important; color: inherit; }

.hb-section { padding: 110px 0; position: relative; }
.hb-section--alt { background: linear-gradient(180deg, transparent, rgba(10,16,36,0.6), transparent); }
/* Variante "light": superfície de vidro ligeiramente mais clara (usada na página Quem Somos) */
.hb-section--light { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025), transparent); }
/* Variante "navy": bloco azul-noite mais denso, para destacar (ex.: "Quem confia em nós") */
.hb-section--navy {
  background: radial-gradient(120% 140% at 50% 0%, var(--bg-3), var(--bg-2) 55%, var(--bg));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hb-section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.hb-section-head--left { margin-left: 0; text-align: left; }
.hb-section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; color: #fff; }
.hb-section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.hb-divider { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 0 auto 26px; }
.hb-section-head--left .hb-divider { margin-left: 0; }

/* ==========================================================================
   Authority Snapshot (Carlos Sousa + KPIs)
   ========================================================================== */
.hb-snapshot { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.hb-snapshot__media { position: relative; }
.hb-snapshot__photo {
  width: 100%; max-width: 380px; display: block;
  /* Esbate o fundo branco da foto, fundindo-a no tema escuro */
  -webkit-mask-image: radial-gradient(ellipse 72% 82% at 50% 42%, #000 56%, transparent 84%);
  mask-image: radial-gradient(ellipse 72% 82% at 50% 42%, #000 56%, transparent 84%);
  filter: saturate(1.05) contrast(1.03);
}
.hb-snapshot__glow { position: absolute; inset: -20px; z-index: -1; border-radius: 30px;
  background: radial-gradient(circle at 50% 40%, var(--blue-glow), transparent 70%); filter: blur(40px); }
.hb-snapshot h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 6px 0 4px; color:#fff; }
.hb-snapshot__role { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--gold); margin: 0 0 22px; }
.hb-snapshot__bio { color: var(--ink-2); margin: 0 0 30px; }

.hb-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hb-kpi { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.hb-kpi:hover { border-color: rgba(201,163,94,0.4); box-shadow: 0 0 26px var(--gold-soft); transform: translateY(-4px); }
.hb-kpi__num { font-family: var(--font-mono); font-weight: 700; font-size: 2.1rem; color:#fff; line-height: 1; display: flex; align-items: baseline; }
.hb-kpi__suffix { color: var(--gold); font-size: 1.4rem; margin-left: 2px; }
.hb-kpi__label { font-size: .82rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }

/* ==========================================================================
   Decision Hub (3 cartões por perfil)
   ========================================================================== */
.hb-decision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hb-dcard {
  position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 32px; overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.hb-dcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent); opacity: 0; transition: opacity .35s ease; }
.hb-dcard:hover { transform: translateY(-8px); border-color: var(--line-2); box-shadow: var(--shadow), 0 0 40px rgba(44,61,245,0.16); }
.hb-dcard:hover::before { opacity: 1; }
.hb-dcard__icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: rgba(44,61,245,0.14); border: 1px solid rgba(74,91,255,0.3);
  color: var(--blue-2); font-size: 26px; margin-bottom: 22px; }
.hb-dcard:hover .hb-dcard__icon { color: var(--gold-2); background: var(--gold-soft); border-color: rgba(201,163,94,0.35); }
.hb-dcard h3 { font-size: 1.3rem; margin: 0 0 12px; color:#fff; }
.hb-dcard p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; }
.hb-dcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hb-dcard__list li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink-2); }
.hb-dcard__list li::before { content: "›"; position: absolute; left: 4px; top: -1px; color: var(--gold); font-weight: 700; }
.hb-dcard__link { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--gold); }
.hb-dcard__link i { transition: transform .25s ease; }
.hb-dcard:hover .hb-dcard__link i { transform: translateX(4px); }

/* ==========================================================================
   Três Pilares (serviços modulares)
   ========================================================================== */
.hb-pillar-mod { display: grid; grid-template-columns: 64px 1fr; gap: 30px;
  padding: 44px 0; border-top: 1px solid var(--line); }
.hb-pillar-mod:last-child { border-bottom: 1px solid var(--line); }
.hb-pillar-mod__n { font-family: var(--font-news); font-weight: 400; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.hb-pillar-mod__head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 10px; color:#fff; }
.hb-pillar-mod__head > p { color: var(--muted); margin: 0 0 26px; max-width: 720px; }
.hb-pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hb-pillar-sub { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px;
  transition: border-color .3s ease, background .3s ease; }
.hb-pillar-sub:hover { border-color: var(--line-2); background: var(--glass-2); }
.hb-pillar-sub h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; color: var(--ink); margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.hb-pillar-sub h4 i { color: var(--gold); font-size: 1.05rem; }
.hb-pillar-sub p { font-size: .9rem; color: var(--muted); margin: 0; }
/* Lista de tópicos dentro de um sub-pilar (ex.: ITSM, HIMSS, Cibersegurança detalhada) */
.hb-pillar-sub ul { list-style: none; margin: 0; padding: 0; }
.hb-pillar-sub ul li { position: relative; font-size: .9rem; color: var(--muted); padding: 0 0 0 18px; margin: 0 0 7px; line-height: 1.55; }
.hb-pillar-sub ul li:last-child { margin-bottom: 0; }
.hb-pillar-sub ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .85; }

/* ==========================================================================
   Hub do Conhecimento (formação / academia)
   ========================================================================== */
.hb-knowledge { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hb-kcard { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.hb-kcard__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hb-kcard h3 { font-size: 1.5rem; margin: 12px 0 14px; color:#fff; }
.hb-kcard p { color: var(--ink-2); margin: 0 0 18px; font-size: .96rem; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hb-chips li { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);
  background: var(--glass-2); border: 1px solid var(--line); padding: 7px 14px; border-radius: 50px; }
.hb-chips--gold li { color: var(--gold-2); border-color: rgba(201,163,94,0.3); }

/* ==========================================================================
   Media (livros, revistas, artigos)
   ========================================================================== */
.hb-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hb-mcard { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hb-mcard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.hb-mcard__type { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hb-mcard__type i { font-size: 16px; }
.hb-mcard h3 { font-size: 1.12rem; margin: 0 0 8px; color:#fff; line-height: 1.3; }
.hb-mcard p { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.hb-mcard a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; }

/* ---- Cards de media com imagem (destaques na homepage) ---- */
.hb-mcard--featured { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hb-mcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.hb-mcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hb-mcard--featured:hover .hb-mcard__media img { transform: scale(1.05); }
/* Destaque com logótipo de marca (ex.: notícia DN): placard claro */
.hb-mcard__media--logo { display: grid; place-items: center; background: #fff; padding: 30px; }
.hb-mcard__logo { width: auto; max-width: 72%; max-height: 66%; object-fit: contain; transition: transform .4s ease; }
.hb-mcard--featured:hover .hb-mcard__logo { transform: scale(1.04); }
.hb-mcard__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(6,10,20,0.55); border: 1px solid var(--line-2);
  color: #fff; font-size: 28px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .3s ease, transform .3s ease; }
.hb-mcard--featured:hover .hb-mcard__play { background: var(--blue); transform: scale(1.08); }
.hb-mcard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; }
.hb-mcard__body .hb-mcard__type { margin-bottom: 12px; }

/* ---- CTA "ver galeria" centralizado ---- */
.hb-media-more { text-align: center; margin-top: 48px; }
.hb-media-more__link { font-family: var(--font-news); font-weight: 400; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-2); display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  border: 1px solid rgba(201,163,94,0.32); border-radius: 50px; transition: background .3s ease, border-color .3s ease, gap .3s ease; }
.hb-media-more__link:hover { background: var(--gold-soft); border-color: var(--gold); gap: 16px; }

/* ==========================================================================
   Galeria de media (página Media & Galeria) — 3 por linha
   ========================================================================== */
.hb-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hb-gcard { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hb-gcard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.hb-gcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.hb-gcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hb-gcard:hover .hb-gcard__media img { transform: scale(1.05); }
/* Variante sem imagem: bloco com ícone grande */
.hb-gcard__media--icon { display: grid; place-items: center;
  background: radial-gradient(120% 120% at 50% 0%, var(--bg-3), var(--bg-2)); }
.hb-gcard__media--icon i { font-size: 3rem; color: var(--gold); opacity: .85; }
/* Variante logótipo de marca: placard claro com o logo enquadrado */
.hb-gcard__media--logo { display: grid; place-items: center; background: #fff; padding: 26px; }
.hb-gcard__logo { width: auto; max-width: 78%; max-height: 70%; object-fit: contain; transition: transform .4s ease; }
.hb-gcard:hover .hb-gcard__logo { transform: scale(1.04); }
.hb-gcard__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hb-gcard__type { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hb-gcard__type i { font-size: 15px; }
.hb-gcard h3 { font-size: 1.08rem; margin: 0 0 8px; color: #fff; line-height: 1.32; }
.hb-gcard p { font-size: .88rem; color: var(--muted); margin: 0 0 18px; flex: 1; }
.hb-gcard__link { font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; display: inline-flex;
  align-items: center; gap: 7px; align-self: flex-start; }

/* ==========================================================================
   Banda regulatória
   ========================================================================== */
.hb-reg { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
  background: linear-gradient(135deg, rgba(44,61,245,0.06), rgba(201,163,94,0.05)); }
.hb-reg__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 22px; }
.hb-reg__item { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); text-align: center;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 12px; }
.hb-reg__item strong { display: block; color: var(--gold); font-size: 1rem; margin-bottom: 4px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.hb-cta { position: relative; border: 1px solid var(--line-2); border-radius: 24px; padding: 70px 56px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); }
.hb-cta::before { content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; background: radial-gradient(circle, var(--blue-glow), transparent 65%); filter: blur(40px); }
.hb-cta__inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.hb-cta h2 { color:#fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 16px; }
.hb-cta p { color: var(--ink-2); font-size: 1.1rem; margin: 0 0 32px; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.hb-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
.hb-contact-info { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; }
.hb-contact-info h3 { color:#fff; font-size: 1.4rem; margin: 0 0 10px; }
.hb-contact-info > p { color: var(--muted); margin: 0 0 28px; }
.hb-contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.hb-contact-item i { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(44,61,245,0.14); color: var(--blue-2); border-radius: 12px; font-size: 19px; border: 1px solid rgba(74,91,255,0.25); }
.hb-contact-item strong { display: block; font-size: .95rem; color: #fff; font-family: var(--font-sans); }
.hb-contact-item a, .hb-contact-item span { color: var(--ink-2); font-size: .92rem; }
.hb-contact-map { margin-top: 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.hb-contact-map iframe { display: block; width: 100%; height: 200px; border: 0;
  filter: invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.9); }

.hb-form-wrap { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; }
.hb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.hb-field { margin-bottom: 18px; }
.hb-field label { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 9px; }
.hb-field input, .hb-field textarea {
  width: 100%; font-family: var(--font-sans); font-size: .95rem; color: var(--ink);
  background: rgba(0,0,0,0.25); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hb-field input::placeholder, .hb-field textarea::placeholder { color: var(--muted); }
.hb-field input:focus, .hb-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.hb-form-wrap .loading, .hb-form-wrap .error-message, .hb-form-wrap .sent-message { margin-top: 16px; }
.hb-form-consent { font-size: .8rem; color: var(--muted); margin: 4px 0 18px; }
.hb-form-consent a { color: var(--gold-2); }

/* ==========================================================================
   Page title + prose (subpáginas)
   ========================================================================== */
.hb-page-title { padding: 170px 0 70px; position: relative; }
.hb-page-title h1 { font-family: var(--font-news); font-weight: 400; letter-spacing: -.015em; color:#fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 0 0 14px; }
.hb-page-title .hb-breadcrumbs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 12.5px;
  color: var(--muted); list-style: none; padding: 0; margin: 0; }
.hb-page-title .hb-breadcrumbs a { color: var(--gold); }
.hb-page-title .hb-breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }

.hb-prose { max-width: 860px; }
.hb-prose h3 { font-size: 1.45rem; margin: 36px 0 14px; color:#fff; }
.hb-prose p { margin: 0 0 16px; color: var(--ink-2); }
.hb-prose ul { margin: 0 0 16px; padding-left: 22px; }
.hb-prose li { margin-bottom: 8px; color: var(--ink-2); }

/* Intro editorial (Quem Somos) */
.hb-about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hb-about-intro__statement { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600;
  line-height: 1.32; color: #fff; margin: 0; }
.hb-about-intro__statement .hb-hl { font-style: italic;
  background: linear-gradient(120deg, var(--blue-2), var(--gold-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hb-about-intro__text p { color: var(--ink-2); margin: 0 0 16px; font-size: 1rem; }
@media (max-width: 992px) { .hb-about-intro { grid-template-columns: 1fr; gap: 26px; } }

/* Reaproveitados (Quem Somos): valores, timeline, passos, confia */
.hb-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hb-value { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.hb-value:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 0 30px rgba(44,61,245,0.12); }
.hb-value__icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 14px;
  background: rgba(44,61,245,0.14); border: 1px solid rgba(74,91,255,0.25); color: var(--blue-2); font-size: 23px; margin-bottom: 18px; }
.hb-value h3 { font-size: 1.12rem; margin: 0 0 8px; color:#fff; }
.hb-value p { color: var(--muted); font-size: .92rem; margin: 0; }

.hb-timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 32px; }
.hb-timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--gold), transparent); }
.hb-tl-item { position: relative; padding: 0 0 38px 30px; }
.hb-tl-item:last-child { padding-bottom: 0; }
.hb-tl-item::before { content: ""; position: absolute; left: -32px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.hb-tl-item h3 { font-size: 1.15rem; margin: 0 0 6px; color:#fff; }
.hb-tl-item p { color: var(--muted); font-size: .95rem; margin: 0; }

.hb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: hbstep; }
.hb-step { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; }
.hb-step::before { counter-increment: hbstep; content: "0" counter(hbstep); font-family: var(--font-mono); font-weight: 700;
  font-size: 1.8rem; color: var(--gold); opacity: .5; display: block; margin-bottom: 14px; }
.hb-step h3 { font-size: 1.08rem; margin: 0 0 8px; color:#fff; }
.hb-step p { color: var(--muted); font-size: .9rem; margin: 0; }

.hb-confia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hb-confia__item { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px 20px; text-align: center;
  transition: border-color .3s ease, box-shadow .3s ease; }
.hb-confia__item:hover { border-color: rgba(201,163,94,0.35); box-shadow: 0 0 24px var(--gold-soft); }
.hb-confia__item i { font-size: 30px; color: var(--blue-2); display: block; margin-bottom: 12px; }
.hb-confia__item span { color: var(--ink); font-family: var(--font-mono); font-size: .85rem; }

/* ==========================================================================
   Footer institucional
   ========================================================================== */
.hb-footer { background: var(--bg-2); border-top: 1px solid var(--line); position: relative; z-index: 2; }
.hb-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding: 72px 28px 52px; max-width: var(--maxw); margin: 0 auto; }
.hb-footer__logo { height: 46px; margin-bottom: 20px; }
.hb-footer__tagline { font-size: .94rem; color: var(--muted); max-width: 400px; margin: 0 0 20px; }
.hb-footer__social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 10px; background: var(--glass-2); color: var(--ink); font-size: 18px; margin-right: 8px;
  border: 1px solid var(--line); transition: all .25s ease; }
.hb-footer__social:hover { background: var(--gold); color: #1A1206; border-color: var(--gold); }
.hb-footer__title { color:#fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
.hb-footer__links, .hb-footer__contact { list-style: none; margin: 0 0 20px; padding: 0; }
.hb-footer__links li, .hb-footer__contact li { margin-bottom: 11px; font-size: .92rem; }
.hb-footer__links a { color: var(--ink-2); }
.hb-footer__links a:hover { color: var(--gold); }
.hb-footer__contact i { color: var(--gold); margin-right: 6px; }
.hb-footer__contact { color: var(--ink-2); }
.hb-footer__contact a { color: var(--ink-2); }
.hb-footer__bar { border-top: 1px solid var(--line); }
.hb-footer__bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px;
  max-width: var(--maxw); margin: 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.hb-footer__bar-inner a { color: var(--ink-2); }
.hb-footer__bar-inner a:hover { color: var(--gold); }

/* ==========================================================================
   Scroll-top
   ========================================================================== */
.hb-scroll-top { position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1A1206; border-radius: 12px; font-size: 26px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease; z-index: 999; box-shadow: 0 10px 24px rgba(201,163,94,0.4); }
.hb-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.hb-scroll-top:hover { color:#1A1206; box-shadow: 0 12px 30px rgba(201,163,94,0.6); }

/* ==========================================================================
   Utilidades
   ========================================================================== */
.hidden-hp { position: absolute; left: -9999px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 992px) {
  .hb-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hb-hero__inner { max-width: none; }
  .hb-hero__media { order: -1; }
  .hb-hero__logo { max-width: 260px; }
  .hb-snapshot { grid-template-columns: 1fr; gap: 36px; }
  .hb-snapshot__photo { margin: 0 auto; }
  .hb-decision { grid-template-columns: 1fr; }
  .hb-knowledge { grid-template-columns: 1fr; }
  .hb-media { grid-template-columns: 1fr 1fr; }
  .hb-gallery { grid-template-columns: 1fr 1fr; }
  .hb-values { grid-template-columns: 1fr 1fr; }
  .hb-steps { grid-template-columns: 1fr 1fr; }
  .hb-confia { grid-template-columns: 1fr 1fr; }
  .hb-contact-grid { grid-template-columns: 1fr; }
  .hb-pillar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hb-section { padding: 72px 0; }
  .hb-nav-toggle { display: flex; }
  .hb-nav { position: fixed; top: 0; right: -100%; width: min(84vw, 360px); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    background: var(--bg-2); border-left: 1px solid var(--line); padding: 96px 28px 40px;
    transition: right .35s ease; overflow-y: auto; }
  .hb-nav.is-open { right: 0; }
  .hb-nav__list { flex-direction: column; align-items: stretch; width: 100%; gap: 4px; }
  .hb-nav__link { width: 100%; padding: 14px 16px; font-size: 1rem; }
  .hb-nav__actions { flex-direction: column; align-items: stretch; width: 100%; margin-top: 22px; gap: 16px; }
  .hb-nav__actions .hb-btn { width: 100%; }
  .hb-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hb-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .hb-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hb-kpis { grid-template-columns: 1fr; }
  .hb-media { grid-template-columns: 1fr; }
  .hb-gallery { grid-template-columns: 1fr; }
  .hb-values { grid-template-columns: 1fr; }
  .hb-steps { grid-template-columns: 1fr; }
  .hb-form-row { grid-template-columns: 1fr; }
  .hb-pillar-mod { grid-template-columns: 1fr; gap: 16px; }
  .hb-cta { padding: 48px 26px; }
  .hb-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hb-footer__bar-inner { flex-direction: column; gap: 10px; text-align: center; }
}
