/* HEADER / NAV – estilos extraídos do style.css */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: 40px;     /* ajuste visual ideal */
  width: auto;
  display: block;
}

/* (Se futuramente voltar a usar marca em texto, já está pronto) */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--valbrinn-primary), var(--valbrinn-secondary));
  color: #ffffff;
  font-family: "Exo 2", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: lowercase;
  color: #1f1f1f;
}

/* Navegação principal */
.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  color: #444444;
  font-family: "Exo 2", system-ui, sans-serif;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--valbrinn-primary), var(--valbrinn-secondary));
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-active {
  color: var(--valbrinn-primary);
}

.nav-active::after {
  width: 100%;
}

/* Botão "Minha conta" no cabeçalho */
.btn-minha-conta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--valbrinn-primary);
  color: #ffffff;
  font-family: "Exo 2", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 10px 22px rgba(0, 85, 255, 0.25);
  transition: background 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.btn-minha-conta:hover {
  background: #003ec7;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 85, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Exo 2", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(0, 85, 255, 0.15);
  background: #ffffff;
  color: var(--valbrinn-primary);
  transition: transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out,
    color 0.15s ease-out,
    border-color 0.15s ease-out;
}

.btn-secondary:hover {
  background: rgba(0, 85, 255, 0.04);
  border-color: rgba(0, 85, 255, 0.35);
  transform: translateY(-1px);
}


/* Toggle mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #444444;
}

/* Responsivo do cabeçalho */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Esconde o botão "Minha conta" no mobile, se não quiser flutuando sozinho */
  .btn-minha-conta {
    display: none;
  }
}
