header {
  width: 100%;
  height: 7.44rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

header nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

header nav .link {
  display: flex;
  height: 40px;
  width: 88px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background: rgba(151, 151, 151, 0.1);
  text-decoration: none;
  color: var(--Foundation-White-Light, #fff);
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  transition: background-color 0.3s ease;
  font-weight: 600;
  line-height: normal;
}

header nav .links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header nav .orcamento {
  display: flex;
  height: 56px;
  width: 251px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  transition: background-color 0.3s ease;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

header nav .orcamento:hover {
  background-color: var(--primary-highlight);
  border: 1px solid var(--primary-highlight);
}

header nav .catalogo {
  display: flex;
  height: 56px;
  width: 148px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background: #fff;
  transition: background-color 0.3s ease;
  color: var(--Foundation-Green-Normal, #071318);
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

header nav .catalogo:hover {
  background-color: var(--primary-highlight);
  color: #fff;
}

header nav .catalogo:hover svg path {
  stroke: #fff;
}

header nav .link:hover {
  background: #fff;
  color: #00719f;
}

/* header nav .link:hover svg path {
  fill: #fff;
} */

.active-link {
  display: flex;
  width: 88px;
  height: 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #00719f;
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-radius: 5px;
  background: #fff;
}

.active-link svg path {
  fill: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--Foundation-Green-Darker, #04351c);
  border-radius: 2px;
}

.menu-toggle svg path {
  fill: #fff;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 260px;
  height: 100vh;
  background: linear-gradient(25deg, #00354a 45.13%, #015c80 111.69%);
  transition: right 0.3s ease-in-out;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  padding-top: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  gap: 12px;
  width: 100%;
}

.sidebar ul li {
  display: flex;
  justify-content: center;
}

.sidebar ul li .link {
  display: flex;
  height: 40px;
  width: 150px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  background: rgba(151, 151, 151, 0.1);
  text-decoration: none;
  color: var(--Foundation-White-Light, #fff);
  text-align: center;
  font-size: 0.875rem;
  font-style: normal;
  transition: background-color 0.3s ease;
  font-weight: 600;
  line-height: normal;
}

.sidebar ul li .active-link {
  background-color: #fff;
  color: #00719f;
  width: 150px;
}

.sidebar ul li .link:hover {
  background-color: #fff;
  color: #00719f;
}

.sidebar ul li .link:hover svg path,
.sidebar ul li .active-link svg path {
  fill: #fff;
}

.close-sidebar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.sidebar.active {
  right: 0;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

header nav .links-mobile {
  display: none;
}

header nav .link,
header nav .link svg path {
  transition: color 0.3s ease, background-color 0.3s ease, fill 0.3s ease;
}

header nav .link svg path {
  fill: white;
}

header nav .link:hover svg path {
  fill: #00719f;
}

header nav .active-link:hover svg path {
  fill: #00719f;
}

header nav .active-link svg path {
  fill: #00719f;
}

.sidebar .menu-toggle svg path {
  fill: var(--primary-highlight);
}

.sidebar .link svg path {
  fill: #fff;
}

.sidebar ul li .link:hover svg path {
  fill: #00719f;
}

.sidebar ul li .active-link svg path {
  fill: #00719f;
}

@media screen and (min-width: 1025px) and (max-width: 1433px) {
  header nav .links {
    display: none;
  }

  header nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 1200px) {
  .logo {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  header nav .links {
    display: none;
  }

  header nav .orcamento,
  header nav .catalogo {
    width: 100%;
    padding: 0 5px;
    gap: 4px;
  }

  header nav {
    justify-content: space-between;
  }

  header nav .links-mobile {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 12px;
    flex-direction: column;
  }

  .nav-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  header nav ul {
    display: none;
    position: absolute;
    top: 8rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    z-index: 9999;
  }

  header nav ul.active {
    display: flex;
    justify-content: flex-start;
    align-items: start;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    border-radius: 5px;
    background: rgba(151, 151, 151, 0.1);
    display: flex;
    height: 2.5rem;
    width: 70%;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    color: var(--Foundation-White-Light, #fff);
    text-align: center;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  header nav ul li a:hover {
    background-color: #fff;
    color: #00719f;
  }

  header nav .orcamento:hover {
    color: #fff;
  }
}
