/* Topo do site (v3.9.0): o mesmo header das subpáginas da loja (www/loja/loja.css) nas páginas do blog, termos e 404,
   que carregam o site.css. Escopo em .hub-topo para não colidir com o site.css. */
.hub-topo { --hub-blue-500: #0A84FF; --neutral-100: #F5F5F7; --neutral-200: #E5E5EA; --neutral-500: #8E8E93; --neutral-600: #6E6E73; --neutral-900: #1D1D1F;
  --pad: clamp(20px, 5vw, 72px); --maxw: 1320px; font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif; letter-spacing: normal; color: var(--neutral-900); }
.hub-topo *, .hub-topo *::before, .hub-topo *::after { box-sizing: border-box; }
.hub-topo a { color: inherit; text-decoration: none; }
.hub-topo button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.hub-topo svg.lucide { width: 1em; height: 1em; stroke-width: 2; flex: none; }
.hub-topo img { display: block; max-width: 100%; }
.hub-topo .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.hub-topo .nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.82); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); border-bottom: 1px solid rgba(0,0,0,.07); }
.hub-topo[data-theme="dark"] .nav { background: rgba(0,0,0,.72); border-color: rgba(255,255,255,.1); }
.hub-topo .nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.hub-topo .nav__logo img { height: 26px; width: auto; }
.hub-topo .nav__logo .w { display: none; }
.hub-topo[data-theme="dark"] .nav__logo .b { display: none; }
.hub-topo[data-theme="dark"] .nav__logo .w { display: block; }
.hub-topo .nav__links { display: flex; gap: 22px; font-size: 15px; font-weight: 500; flex: 1; }
.hub-topo .nav__links a { color: var(--neutral-600); }
.hub-topo[data-theme="dark"] .nav__links a { color: rgba(235,235,245,.7); }
.hub-topo .nav__links a.is-on { color: inherit; }
.hub-topo .nav__dd { position: relative; }
.hub-topo .nav__dd > a { display: inline-flex; align-items: center; gap: 4px; }
.hub-topo .mega { position: absolute; top: calc(100% + 18px); left: -24px; display: none; width: 640px; padding: 20px; border-radius: 20px; background: #fff; color: var(--neutral-900); box-shadow: 0 30px 70px rgba(0,0,0,.16), inset 0 0 0 1px rgba(0,0,0,.06); grid-template-columns: repeat(2, 1fr); gap: 6px; z-index: 30; }
.hub-topo /* ponte sobre o vão de 18px entre o link e o painel: sem ela o :hover cai no caminho e o painel some */
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.hub-topo .nav__dd:hover .mega, .hub-topo .nav__dd:focus-within .mega { display: grid; }
.hub-topo .mega a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--neutral-900) !important; }
.hub-topo .mega a:hover { background: var(--neutral-100); }
.hub-topo .mega img { width: 44px; height: 44px; border-radius: 10px; background: var(--neutral-100); object-fit: contain; mix-blend-mode: multiply; }
.hub-topo .mega b { display: block; font-size: 15px; }
.hub-topo .mega small { color: var(--neutral-500); font-size: 12.5px; font-weight: 400; }
.hub-topo .mega .all { grid-column: 1 / -1; justify-content: center; margin-top: 6px; background: var(--neutral-100); font-weight: 600; }
.hub-topo .nav__cta { height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; background: var(--hub-blue-500); color: #fff; }
.hub-topo .nav__burger { display: none; width: 40px; height: 40px; border-radius: 12px; background: var(--neutral-100); place-items: center; font-size: 20px; }
.hub-topo[data-theme="dark"] .nav__burger { background: #1C1C1E; }



.hub-topo .mmenu { display: none; }
@media (max-width: 760px) {
  body.menu-open { overflow: hidden; }
  body.menu-open .hub-topo .mmenu { display: grid; position: fixed; inset: 64px 0 0; z-index: 49; overflow-y: auto; align-content: start; gap: 2px; padding: 16px var(--pad) 40px; background: #fff; color: var(--neutral-900); }
  .hub-topo .mmenu a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 12px; font-size: 17px; font-weight: 600; }
  .hub-topo .mmenu a img { width: 40px; height: 40px; border-radius: 10px; padding: 5px; background: var(--neutral-100); object-fit: contain; }
  .hub-topo .mmenu small { display: block; color: var(--neutral-500); font-size: 13px; font-weight: 400; }
  .hub-topo .mmenu hr { width: 100%; border: 0; border-top: 1px solid var(--neutral-200); margin: 10px 0; }
  .hub-topo .mmenu .mmenu__cta { justify-content: center; margin-top: 12px; height: 48px; border-radius: 999px; background: var(--hub-blue-500); color: #fff; }
  .hub-topo .nav__links, .hub-topo .nav__cta { display: none; }
  .hub-topo .nav__in { justify-content: space-between; }
  .hub-topo .nav__burger { display: grid; }
}
.hub-topo .nav { z-index: 50; }
/* no blog o topo fica fixo e claro, como nas subpáginas */
.hub-topo { position: sticky; top: 0; z-index: 50; }
.hub-topo .nav { position: relative; }
