header {
  position: fixed;
  z-index: 999;
  width: 100%;
  background-color: #fff;
}

header .header-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 131px;
  background: #fff;
}


header nav {
  width: 100%;
}

header nav .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav .nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 40px;
}

nav .nav-links .link {
  color: #424242;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 3px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

nav .links {
  display: flex;
  gap: 32px;
}

nav .links .search {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 80px;
  border: 1.5px solid #d8d8d8;
}

nav .falar-com-especialista {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 275px;
  height: 56px;
  color: #fbfaf7;
  font-size: 18px;
  font-style: normal;
  transition: background-color ease 0.3s;
  font-weight: 600;
  line-height: 24px;
  border-radius: 8px;
  background: #34a853;
  text-decoration: none;
}

nav .falar-com-especialista:hover {
  background-color: #289144;
}

.btn-menu {
  display: none;
}

.menu-mobile {
  position: fixed;
  top: 150px;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: #fff;
  transition: height 0.3s ease;
  z-index: 9999;
}

.menu-mobile.active {
  height: calc(100vh - 150px);
}

.nav-links li.has-submenu {
  position: relative;
}

.nav-links li.has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 100%;
  height: 80px;
}

.nav-links .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 358px;
  margin-top: 73px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  list-style: none;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 99999;
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-sizing: border-box;
}

.nav-links .submenu li a {
  display: block;
  width: 294px;
  padding: 4px 16px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  color: #424242;
  font-size: 18px;
  font-style: normal;
  text-decoration: none;
  font-weight: 400;
  line-height: 24px;
}

.nav-links .submenu li a:hover {
  color: #00abd3;
  background: #fafafa;
  border-color: #b1b3b5;
}

.nav-links li.has-submenu:hover > .submenu,
.nav-links .submenu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0px);
}

.nav-links .has-submenu .arrow {
  transition: transform 0.25s ease;
}

.nav-links li.has-submenu:hover > a .arrow {
  transform: rotate(180deg);
}

.nav-links li.has-submenu > a .arrow path {
  transition: fill 0.25s ease;
}

.nav-links li.has-submenu:hover > a .arrow path {
  fill: #002d4f;
}

nav .nav-links .link:hover {
  border-bottom: 3px solid #002d4f;
  color: #002d4f;
  font-weight: 500;
}

.nav-links li.has-submenu:hover > a.link {
  border-bottom: 3px solid #002d4f;
  color: #002d4f;
  font-weight: 500;
}

.line-header {
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, #10aac9 0%, #002d4f 100%);
}

.top-header {
  height: 44px;
  background-color: #0e99b9;
}

.top-header-container {
  width: 90%;
  max-width: 1604px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 44px;
  justify-content: space-between;
}

.top-header-social-network {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.top-header-social-network__icon {
  background: #FFF;
  width: 28px;
  height: 28px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-header-social-network__icon svg path {
  fill: #0E99B9;
}

.top-header-social-contact__contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-weight: 400;
  text-decoration: none;
}

.top-header-social-contact {
  gap: 16px;
  display: flex;
  flex-direction: row;
}


@media (max-width: 1440px) {
  nav .nav-links {
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  nav .links a {
    display: none;
  }

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

  nav .nav-links {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  nav .nav-links {
    display: none;
  }

  nav .links a {
    display: flex;
  }

  .btn-menu {
    display: block;
    border: none;
    background: transparent;
  }

  .menu-mobile ul {
    display: flex;
    flex-direction: column;
    list-style: none;
  }

  .menu-mobile li {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f4f4f4;
  }

  .menu-mobile li a {
    color: #424242;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }

  nav .links a {
    display: none;
  }

  nav .links .search {
    display: none;
  }

  .logo-cliente {
    max-width: 120px;
  }
}
