.global-header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  min-height:82px;
  padding:10px max(20px,calc((100vw - 1280px)/2));
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.18);
  background:rgba(8,13,19,.68);
  backdrop-filter:blur(18px);
  transition:background-color 300ms ease,border-color 300ms ease,box-shadow 300ms ease,color 300ms ease;
}

.global-header.is-scrolled,
.global-header.is-open {
  color:#0b1118;
  background:rgba(255,255,255,.94);
  border-color:rgba(216,224,231,.88);
  box-shadow:0 8px 28px rgba(11,17,24,.06);
}

.global-brand {
  display:block;
  width:82px;
  overflow:visible;
  border-radius:0;
}

.global-brand img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

.global-nav {
  justify-self:center;
  display:flex;
  align-items:center;
  gap:26px;
  font-size:.88rem;
  font-weight:750;
}

.global-nav a,
.global-submenu-toggle {
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 0;
  color:inherit;
  border:0;
  background:transparent;
  font:inherit;
  font-weight:inherit;
  cursor:pointer;
}

.global-nav a::after,
.global-submenu-toggle::after {
  position:absolute;
  left:0;
  bottom:3px;
  width:100%;
  height:2px;
  content:"";
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform 260ms cubic-bezier(.22,1,.36,1);
}

.global-nav a:hover::after,
.global-submenu-toggle:hover::after,
.global-nav a[aria-current="page"]::after {
  transform:scaleX(1);
  transform-origin:left;
}

.global-submenu-toggle svg {
  width:15px;
  height:15px;
  transition:transform 220ms ease;
}

.global-nav-group {
  position:relative;
}

.global-nav-group.is-open .global-submenu-toggle svg {
  transform:rotate(180deg);
}

.global-submenu {
  position:absolute;
  top:calc(100% + 12px);
  left:50%;
  display:grid;
  min-width:245px;
  padding:10px;
  color:#0b1118;
  border:1px solid rgba(216,224,231,.96);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 42px rgba(11,17,24,.14);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,-8px);
  transition:opacity 220ms ease,transform 220ms ease,visibility 220ms;
}

.global-nav-group.is-open .global-submenu,
.global-nav-group:focus-within .global-submenu,
.global-nav-group:hover .global-submenu {
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}

.global-submenu a {
  display:grid;
  gap:3px;
  padding:11px 12px;
  border-radius:6px;
}

.global-submenu a::after {
  display:none;
}

.global-submenu a:hover {
  background:#eef3f7;
}

.global-submenu strong {
  color:#0b1118;
  font-size:.86rem;
  line-height:1.25;
}

.global-submenu span {
  color:#5c6876;
  font-size:.75rem;
  line-height:1.35;
}

.global-header.is-scrolled .global-brand img,
.global-header.is-open .global-brand img {
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

.global-header-cta {
  display:inline-flex;
  min-height:50px;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 18px;
  color:#0b1118;
  border:1px solid transparent;
  border-radius:8px;
  background:#fff;
  font-weight:850;
  transition:transform 240ms cubic-bezier(.22,1,.36,1),box-shadow 240ms ease,background-color 240ms ease,color 240ms ease,border-color 240ms ease;
}

.global-header.is-scrolled .global-header-cta,
.global-header.is-open .global-header-cta {
  color:#fff;
  background:#0b1118;
}


.global-header-actions {
  justify-self:end;
  display:flex;
  align-items:center;
  gap:12px;
}
.global-social-link {
  display:grid;
  width:46px;
  height:46px;
  place-items:center;
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
  border-radius:8px;
  background:rgba(255,255,255,.08);
  transition:transform 240ms ease,background-color 240ms ease,color 240ms ease,border-color 240ms ease;
}
.global-social-link svg { width:20px; height:20px; }
.global-social-link:hover { transform:translateY(-3px); color:#55d79f; border-color:rgba(85,215,159,.42); background:rgba(85,215,159,.12); }
.global-header.is-scrolled .global-social-link,
.global-header.is-open .global-social-link { color:#0b1118; border-color:#d8e0e7; background:#fff; }
.global-header.is-scrolled .global-social-link:hover,
.global-header.is-open .global-social-link:hover { color:#1769ff; border-color:rgba(23,105,255,.28); background:#eef4ff; }
.global-header-cta svg {
  width:18px;
  height:18px;
  transition:transform 240ms ease;
}

.global-header-cta:hover {
  transform:translateY(-3px);
}

.global-header-cta:hover svg {
  transform:translateX(4px);
}

.global-nav-toggle {
  display:none;
  width:46px;
  height:46px;
  place-items:center;
  color:inherit;
  border:1px solid rgba(255,255,255,.24);
  border-radius:8px;
  background:transparent;
  cursor:pointer;
}

.global-nav-toggle svg {
  width:22px;
  margin:auto;
}

.global-header.is-scrolled .global-nav-toggle,
.global-header.is-open .global-nav-toggle {
  border-color:#d8e0e7;
}

body.global-menu-open {
  overflow:hidden;
}

@media (max-width:1120px) {
  .global-nav {
    gap:16px;
  }

  

.global-header-cta {
    display:none;
  }
}

@media (max-width:860px) {
  .global-header {
    grid-template-columns:auto auto;
    min-height:72px;
    padding-inline:20px;
  }

  .global-brand {
    width:72px;
  }

  .global-nav-toggle {
    display:grid;
    justify-self:end;
  }

  .global-nav {
    position:fixed;
    top:72px;
    left:0;
    right:0;
    display:grid;
    gap:0;
    max-height:calc(100vh - 72px);
    overflow:auto;
    padding:12px 20px 20px;
    color:#0b1118;
    background:#fff;
    border-bottom:1px solid #d8e0e7;
    box-shadow:0 18px 34px rgba(11,17,24,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:opacity 240ms ease,transform 240ms ease,visibility 240ms;
  }

  .global-nav.is-open {
    opacity:1;
    visibility:visible;
    transform:none;
  }

  .global-nav a,
  .global-submenu-toggle {
    width:100%;
    justify-content:space-between;
    padding:14px 0;
    border-bottom:1px solid #d8e0e7;
  }

  .global-nav a::after,
  .global-submenu-toggle::after {
    display:none;
  }

  .global-nav-group {
    border-bottom:1px solid #d8e0e7;
  }

  .global-nav-group .global-submenu-toggle {
    border-bottom:0;
  }

  .global-submenu {
    position:static;
    min-width:0;
    padding:0 0 10px 14px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
  }

  .global-submenu a {
    padding:10px 0;
    border-bottom:0;
  }

  .global-submenu a:hover {
    background:transparent;
  }
}

/* VP Ads global floating WhatsApp */
a.floating-whatsapp {
  position:fixed !important;
  right:24px !important;
  bottom:24px !important;
  z-index:90 !important;
  display:grid !important;
  width:66px !important;
  height:66px !important;
  min-height:0 !important;
  place-items:center !important;
  padding:0 !important;
  color:#fff !important;
  border:5px solid rgba(255,255,255,.9) !important;
  border-radius:50% !important;
  background:#19c463 !important;
  box-shadow:0 22px 48px rgba(25,196,99,.34),0 0 0 18px rgba(25,196,99,.08) !important;
  font-weight:850 !important;
}

a.floating-whatsapp::before {
  position:absolute;
  right:10px;
  bottom:72px;
  min-width:136px;
  padding:10px 14px;
  content:"Fale conosco!";
  color:#0b1118;
  border:1px solid rgba(216,224,231,.82);
  border-radius:8px;
  background:#fff;
  box-shadow:0 12px 28px rgba(11,17,24,.14);
  font-size:.82rem;
  line-height:1;
  text-align:center;
}

a.floating-whatsapp::after {
  position:absolute;
  top:-9px;
  right:-5px;
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  content:"1";
  color:#fff;
  border:2px solid #fff;
  border-radius:50%;
  background:#ef4444;
  font-size:.78rem;
  font-weight:900;
}

a.floating-whatsapp svg { width:31px; height:31px; }
a.floating-whatsapp span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
a.floating-whatsapp:hover { transform:translateY(-4px) scale(1.03); background:#11b85a !important; box-shadow:0 26px 56px rgba(25,196,99,.42),0 0 0 20px rgba(25,196,99,.1) !important; }

@media (max-width:860px) {
  .global-header-actions { display:none !important; }
  a.floating-whatsapp {
    right:14px !important;
    bottom:14px !important;
    width:58px !important;
    height:58px !important;
  }
  a.floating-whatsapp::before {
    right:2px;
    bottom:64px;
    min-width:120px;
    padding:9px 12px;
    font-size:.78rem;
  }
}

/* Mobile navigation stability */
.global-header,
.global-header.is-scrolled,
.global-header.is-open {
  color:#fff !important;
  border-color:rgba(255,255,255,.14) !important;
  background:rgba(8,13,19,.86) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.18) !important;
}

.global-header.is-scrolled .global-brand img,
.global-header.is-open .global-brand img {
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35)) !important;
}

.global-header.is-scrolled .global-nav-toggle,
.global-header.is-open .global-nav-toggle {
  color:#fff !important;
  border-color:rgba(255,255,255,.28) !important;
  background:rgba(255,255,255,.08) !important;
}

.global-header.is-scrolled .global-header-cta,
.global-header.is-open .global-header-cta {
  color:#0b1118 !important;
  background:#fff !important;
}

.global-header.is-scrolled .global-social-link,
.global-header.is-open .global-social-link {
  color:#fff !important;
  border-color:rgba(255,255,255,.24) !important;
  background:rgba(255,255,255,.08) !important;
}

@media (max-width:860px) {
  .global-header {
    min-height:72px !important;
    padding:10px 20px !important;
  }

  .global-brand {
    width:68px !important;
  }

  .global-nav {
    position:fixed !important;
    top:72px !important;
    left:20px !important;
    right:20px !important;
    width:auto !important;
    max-height:calc(100dvh - 96px) !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    display:grid !important;
    gap:0 !important;
    padding:14px 18px 20px !important;
    color:#0b1118 !important;
    border:1px solid rgba(216,224,231,.92) !important;
    border-radius:8px !important;
    background:#fff !important;
    box-shadow:0 24px 54px rgba(0,0,0,.24) !important;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
  }

  .global-nav.is-open {
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }

  .global-nav > a,
  .global-submenu-toggle {
    min-height:48px !important;
    width:100% !important;
    padding:13px 0 !important;
    justify-content:space-between !important;
    color:#0b1118 !important;
    border-bottom:1px solid #d8e0e7 !important;
    font-size:1rem !important;
    font-weight:850 !important;
    line-height:1.2 !important;
  }

  .global-nav-group {
    width:100% !important;
    border-bottom:1px solid #d8e0e7 !important;
  }

  .global-nav-group .global-submenu-toggle {
    border-bottom:0 !important;
  }

  .global-submenu {
    position:static !important;
    left:auto !important;
    top:auto !important;
    min-width:0 !important;
    width:100% !important;
    padding:0 0 12px 0 !important;
    color:#0b1118 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
  }

  .global-submenu a {
    display:grid !important;
    width:100% !important;
    min-height:0 !important;
    gap:3px !important;
    padding:10px 0 10px 14px !important;
    color:#0b1118 !important;
    border:0 !important;
    border-left:2px solid #d8e0e7 !important;
    border-radius:0 !important;
    white-space:normal !important;
    overflow:visible !important;
  }

  .global-submenu strong,
  .global-submenu span {
    display:block !important;
    max-width:100% !important;
    overflow:visible !important;
    white-space:normal !important;
    text-overflow:clip !important;
    word-break:normal !important;
  }

  .global-submenu strong {
    color:#0b1118 !important;
    font-size:.95rem !important;
    line-height:1.22 !important;
  }

  .global-submenu span {
    color:#5c6876 !important;
    font-size:.82rem !important;
    line-height:1.35 !important;
  }
}
/* Header compact sizing */
.global-header {
  min-height:82px !important;
  height:auto !important;
  grid-template-columns:auto minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:28px !important;
  padding-block:10px !important;
}

.global-brand {
  width:82px !important;
  max-width:82px !important;
  flex:0 0 auto !important;
}

.global-brand img {
  width:100% !important;
  height:auto !important;
  max-height:72px !important;
  object-fit:contain !important;
}

.global-nav {
  min-width:0 !important;
}

.global-header-actions {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  justify-self:end !important;
}

.global-social-link {
  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  min-height:46px !important;
  max-width:46px !important;
  max-height:46px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 46px !important;
  overflow:hidden !important;
}

.global-social-link svg {
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  max-width:20px !important;
  max-height:20px !important;
  display:block !important;
  flex:none !important;
}

.global-header-cta {
  min-height:50px !important;
  height:50px !important;
  padding:0 18px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

.global-header-cta svg {
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  display:block !important;
  flex:none !important;
}

.global-nav-toggle {
  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  min-height:46px !important;
  padding:0 !important;
}

.global-nav-toggle svg {
  width:22px !important;
  height:22px !important;
  max-width:22px !important;
  max-height:22px !important;
  display:block !important;
  flex:none !important;
}

@media (max-width:860px) {
  .global-header {
    min-height:72px !important;
    grid-template-columns:auto auto !important;
    gap:12px !important;
    padding:10px 20px !important;
  }

  .global-brand {
    width:68px !important;
    max-width:68px !important;
  }

  .global-brand img {
    max-height:62px !important;
  }

  .global-header-actions {
    display:none !important;
  }

  .global-nav-toggle {
    display:grid !important;
    justify-self:end !important;
  }
}
@media (max-width:860px) {
  .global-nav {
    left:20px !important;
    right:auto !important;
    width:calc(100vw - 40px) !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
}
