.header {
  position: relative;
  z-index: 50;
  background: var(--color-secondary, #0f172a);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* =========================================================
   MARCA
========================================================= */
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   NAVEGAÇÃO
========================================================= */
.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
}

.nav-link {
  position: relative;
  padding: 1.7rem 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-primary, #f97316);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* =========================================================
   CONTATO
========================================================= */
.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  text-decoration: none;
}

.contact-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-primary, #f97316);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-info small {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 500;
}

.contact-info strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================================
   MOBILE
========================================================= */
.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 900px) {
  .header-container {
    min-height: 70px;
    gap: 1rem;
  }

  .navigation {
    gap: 1.2rem;
  }

  .contact-info,
  .contact-link {
    display: none;
  }
}

@media (max-width: 700px) {
  .header-container {
    position: relative;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
  }

  .header-contact {
    margin-left: auto;
  }

  .mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--color-secondary, #0f172a);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }

  .navigation.mobile-open {
    display: flex;
  }

  .nav-link {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:last-child {
    border-bottom: 0;
  }
}
