:root {
  --bg: #fff;
  --text: #000;
  --hover: #555;
}
/* NAVEGAÇÃO */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease-in-out;
  background-color: var(--bg);
  border-bottom: 1px solid #ddd;
}
.contain {
  max-width: none;
  margin: 0 auto;
  width: 100%;
}
.header.contain{
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 15px 2vw;
  flex-wrap: nowrap !important;
}
.header-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
.header-show {
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}
/* ÍCONES - Esquerda */
.rightIcons {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  flex: 0 0 auto;
  padding: 0;
}
.dark-mode {
  --bg: #111;
  --text: #f1f1f1;
  --sidebar-bg: #222;
  --hover: #ddd;
  --swiper-bg: #333;
}
.dark-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text); 
  margin: 0;
  padding: 0;
}
.headerMenu {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: flex-start;
  cursor: pointer;
  color: var(--text);
}
.headerIcons i:hover,
.headerMenu i:hover {
  color: var(--hover);
  transform: scale(1.1);
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 1001;
  background-color: var(--bg);
  overflow-y: auto;
}
.sidebar.open {
  left: 0;
  opacity: 1;
  visibility: visible;
}
.closeBtn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 20px;
}
.sidebarMenu {
  list-style: none;
  padding: 0;
}
.sidebarMenu li {
  margin: 15px 0;
}
.sidebarMenu a {
  text-decoration: none; 
  font-size: 18px;
  transition: color 0.3s;
  color: var(--text);
}
.sidebarMenu a:hover {
  color: var(--hover);
}
/* LOGO - Centro */
.headerLogo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.headerLogo img { 
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
}
/* ÍCONES - Direita */
.headerIcons {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  font-size: 20px;
  color: var(--text);
}
.headerIcons button {
  all: unset;
  cursor: pointer;
  font-size: inherit; 
  display: flex;
  align-items: center;
  justify-content: center;
}
.headerIcons i {
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.headerIcons i:hover {
  color: var(--hover);
  transform: scale(1.2);
}

.dark-mode .searchHeader input::placeholder {
  color: #ccc;
}

@media (max-width: 425) {
  .fas {
    gap:10px;
    font-size: 18px;
  }
}
