/* ==================== MENU RESPONSIVO ==================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  position: relative;
  box-shadow: var(--shadow-md);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
  flex: 1;
}

.header-navigation {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  flex: 2;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: rgba(187, 134, 252, 0.1);
  color: var(--accent-color);
}

.nav-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* MOBILE STYLES */
@media (max-width: 968px) {
  .header {
    padding: 12px;
    flex-wrap: nowrap;
  }

  .header-brand {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .header-navigation .nav-link {
    padding: 15px 20px;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .header-navigation .nav-link:last-child {
    border-bottom: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .brand-text {
    font-size: 18px;
  }
}
