#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #231f1c;
  background-image: linear-gradient(
    to bottom,
    rgb(19, 80, 2) 40%,
    rgba(19, 80, 2, 0)
  );
  z-index: 1000;
}

.hide-header {
  top: -120px !important;
}

#header a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

#header img {
  max-height: none;
  height: auto;
  width: auto;
  display: block;
}

#header a > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; /* maior */
  height: 56px; /* maior */
  min-width: 56px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font-size: 1.375rem;
  line-height: 1;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.12s ease;
  position: relative;
}

#header a:hover > span,
#header a:focus-within > span {
  background: rgba(245, 195, 10, 0.12);
  transform: translateX(-2px);
  border-color: rgba(245, 195, 10, 0.18);
}

#header a > span::after {
  content: "Voltar a página";
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  display: block;
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.95;
  pointer-events: none;
}

@media (max-width: 640px) {
  #header a > span::after {
    display: none;
  }
}

.tab-btn {
  border-bottom-width: 4px !important;
  border-bottom-style: solid !important;
  border-bottom-color: transparent !important;
  color: #ffffff;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
  background: transparent;
}

.tab-btn.active {
  border-bottom-color: #f5c30a !important;
  color: #f5c30a;
}

.tab-btn:hover {
  color: #f5c30a;
}

.tab-content {
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-btn[aria-selected="true"] {
  border-bottom-color: #f5c30a !important;
  color: #f5c30a !important;
}

.scroll-gutter-stable {
  scrollbar-gutter: stable;
}
