/* =========================================================
   CENTRAL DE COTAÇÕES — LABORATÓRIOS
   HEADER PADRÃO
   ========================================================= */

.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(5, 47, 53, 0.08);
}

.site-header,
.site-header * {
  box-sizing: border-box;
}

.site-header .container.nav {
  width: 100%;
  max-width: 1600px;
  min-height: 82px;
  margin: 0 auto;
  padding: 0 28px;

  display: flex;
  align-items: center;
  gap: 28px;
}

/* LOGO */

.site-header .logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.site-header .logo img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 285px;
  object-fit: contain;
}

/* MENU DESKTOP */

.site-header .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  flex: 1 1 auto;
  min-width: 0;
  gap: 22px;
}

.site-header .menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #064f57;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;

  white-space: nowrap;
  text-decoration: none;

  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.site-header .menu a:hover {
  color: #00a99d;
}

.site-header .menu a.active {
  color: #008f88;
}

/* CTA — nome exclusivo para não conflitar com outros .cta da página */

.site-header .menu a.header-cta {
  flex: 0 0 auto;
  min-height: 82px;
  margin-left: 4px;
  padding: 0 24px;

  background: #075c64;
  color: #ffffff;

  font-size: 14px;
  font-weight: 750;
}

.site-header .menu a.header-cta:hover {
  background: #064f57;
  color: #ffffff;
}

/* HAMBÚRGUER */

.site-header .menu-toggle {
  display: none;

  width: 42px;
  height: 38px;
  flex: 0 0 42px;

  align-items: center;
  justify-content: center;

  padding: 0;

  background: #ffffff;
  border: 1px solid #cbd5d8;
  border-radius: 4px;

  color: #064f57;
  font-size: 20px;
  line-height: 1;

  cursor: pointer;
}

.site-header .menu-toggle:hover {
  background: #f5fbfa;
}

.site-header .menu-toggle:focus-visible,
.site-header .menu a:focus-visible {
  outline: 2px solid #03d2a8;
  outline-offset: 3px;
}

/* DESKTOP GRANDE */

@media (min-width: 1451px) {
  .site-header .container.nav {
    padding-left: 32px;
    padding-right: 32px;
  }

  .site-header .logo img {
    height: 56px;
    max-width: 300px;
  }

  .site-header .menu {
    gap: 24px;
  }

  .site-header .menu a {
    font-size: 15px;
  }
}

/* NOTEBOOK */

@media (max-width: 1450px) and (min-width: 1101px) {
  .site-header .container.nav {
    min-height: 78px;
    padding: 0 20px;
    gap: 20px;
  }

  .site-header .logo img {
    height: 50px;
    max-width: 245px;
  }

  .site-header .menu {
    gap: 15px;
  }

  .site-header .menu a {
    font-size: 13px;
  }

  .site-header .menu a.header-cta {
    min-height: 78px;
    padding: 0 17px;
    font-size: 13px;
  }
}

/* TABLET / MOBILE */

@media (max-width: 1100px) {
  .site-header .container.nav {
    min-height: 76px;
    padding: 0 18px;
    justify-content: space-between;
  }

  .site-header .logo img {
    height: 52px;
    max-width: 235px;
  }

  .site-header .menu-toggle {
    display: flex;
  }

  .site-header .menu {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: #ffffff;
    border-top: 1px solid rgba(5, 47, 53, 0.08);
    box-shadow: 0 15px 35px rgba(5, 47, 53, 0.12);
  }

  .site-header .menu.active {
    display: flex;
  }

  .site-header .menu a {
    width: 100%;
    min-height: 52px;
    padding: 14px 22px;

    justify-content: flex-start;

    border-bottom: 1px solid rgba(5, 47, 53, 0.07);
    font-size: 15px;
  }

  .site-header .menu a.header-cta {
    min-height: 56px;
    margin: 0;
    padding: 14px 22px;
    justify-content: center;
  }
}

/* CELULAR */

@media (max-width: 600px) {
  .site-header .container.nav {
    min-height: 70px;
    padding: 0 14px;
  }

  .site-header .logo img {
    height: 46px;
    max-width: 205px;
  }

  .site-header .menu-toggle {
    width: 40px;
    height: 36px;
    flex-basis: 40px;
    font-size: 19px;
  }

  .site-header .menu a {
    min-height: 50px;
    padding: 13px 18px;
    font-size: 14px;
  }
}

/* CELULAR MUITO PEQUENO */

@media (max-width: 380px) {
  .site-header .logo img {
    height: 42px;
    max-width: 180px;
  }
}
