/* CGD Analytics — shell compartilhado (páginas de solução) */
:root {
  --cgd-shell-h: 76px;
}

.cgd-shell-header {
  position: relative;
  z-index: 300;
  height: var(--cgd-shell-h);
  background: rgba(3, 26, 22, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgd-shell-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-left)) 0 max(24px, env(safe-area-inset-right));
}

.cgd-shell-header__logo img {
  display: block;
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.cgd-shell-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.cgd-shell-header__nav a {
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s;
}

.cgd-shell-header__nav a:hover,
.cgd-shell-header__nav a.is-active {
  color: #2ECF9A;
}

.cgd-shell-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: #00A878;
  color: #ffffff !important;
  font-family: 'Darker Grotesque', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.cgd-shell-header__cta:hover {
  background: #2ECF9A;
  color: #0B3F36 !important;
}

.cgd-shell-header__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .cgd-shell-header__nav {
    display: none;
    position: absolute;
    top: var(--cgd-shell-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(3, 26, 22, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cgd-shell-header__nav.is-open {
    display: flex;
  }

  .cgd-shell-header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .cgd-shell-header__cta {
    display: none;
  }

  .cgd-shell-header__toggle {
    display: inline-flex;
  }
}
