.global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(10, 45, 69, 0.08);
  backdrop-filter: blur(18px);
}

.global-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.global-brand {
  flex: 0 0 auto;
  text-decoration: none;
}

.global-brand img {
  display: block;
  width: 158px;
  height: auto;
}

.global-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-left: auto;
}

.global-desktop-nav a {
  position: relative;
  color: #345064;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.global-desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #20c7c9,
    #2e7df1
  );
  transition: right 0.22s ease;
}

.global-desktop-nav a:hover::after,
.global-desktop-nav a.active::after {
  right: 0;
}

.global-dashboard-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 14px;
  border: 1px solid rgba(32, 199, 201, 0.25);
  border-radius: 10px;
  background: #eafafa;
  color: #0d6f79 !important;
}

.global-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;

  min-width: 174px;
  min-height: 42px;
  padding: 10px 13px;

  border-radius: 10px;
  background: #071b2d;
  color: #ffffff;

  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.global-header-cta span {
  display: block;
  white-space: nowrap;
}

.global-header-cta img {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.global-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(13, 48, 75, 0.12);
  border-radius: 11px;
  background: #ffffff;
  cursor: pointer;
}

.global-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #071b2d;
}

.global-mobile-nav {
  position: fixed;
  inset: 78px 0 auto;
  z-index: 999;
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  padding: 20px;
  border-bottom: 1px solid rgba(13, 48, 75, 0.12);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(6, 30, 48, 0.12);
}

.global-mobile-nav a {
  display: block;
  padding: 14px 5px;
  border-bottom: 1px solid rgba(10, 44, 67, 0.08);
  color: #27465c;
  font-weight: 700;
  text-decoration: none;
}

.global-mobile-nav a.active {
  color: #0d8490;
}

.global-mobile-dashboard {
  color: #0d6f79 !important;
}

.global-mobile-cta {
  margin-top: 12px;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 10px;
  background: #071b2d;
  color: #ffffff !important;
  text-align: center;
}

/* RODAPÉ CLARO */

.global-footer {
  padding: 64px 0 0;
  background: #f5f9fc;
  color: #183246;
  border-top: 1px solid rgba(15, 61, 91, 0.1);
}

.global-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 36px;
}

.global-footer-brand img {
  width: 190px;
  height: auto;
}

.global-footer-brand p {
  max-width: 330px;
  margin: 20px 0;
  color: #657d8e;
  font-size: 14px;
  line-height: 1.7;
}

.global-footer-about {
  color: #167f91;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.global-footer-about:hover {
  color: #0f5f70;
}

.global-footer-grid > div:not(.global-footer-brand) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.global-footer-grid strong {
  margin-bottom: 7px;
  color: #061827;
  font-size: 13px;
}

.global-footer-grid a,
.global-footer-grid span {
  color: #657d8e;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

.global-footer-grid a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.global-footer-grid a:hover {
  color: #167f91;
  transform: translateX(2px);
}

.global-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid rgba(15, 61, 91, 0.1);
}

.global-footer-bottom p,
.global-footer-bottom a {
  margin: 0;
  color: #78909f;
  font-size: 11px;
  text-decoration: none;
}

.global-footer-bottom a:hover {
  color: #167f91;
}

.component-load-error {
  padding: 15px;
  background: #fff1f1;
  color: #8f2525;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1080px) {
  .global-desktop-nav {
    gap: 13px;
  }

  .global-desktop-nav a {
    font-size: 11px;
  }

  .global-header-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .global-desktop-nav {
    display: none;
  }

  .global-menu-toggle {
    display: inline-flex;
  }

  .global-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .global-header-inner {
    min-height: 72px;
  }

  .global-brand img {
    width: 145px;
  }

  .global-mobile-nav {
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
  }

  .global-footer {
    padding-top: 46px;
  }

  .global-footer-grid {
    grid-template-columns: 1fr;
  }

  .global-footer-brand {
    grid-column: auto;
  }

  .global-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
