* {
  font-family: "Chivo", sans-serif;
}

h1 {
  font-weight: 400;
  font-size: 40px;
  line-height: 66px;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;

  span {
    font-weight: 600;
  }
}

h2 {
  font-weight: 300;
  font-size: 34px;
  line-height: 160%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2c2c2c;

  span {
    font-weight: 600;
  }
}

h3 {
  font-weight: 600;
  font-size: 30px;
  line-height: 160%;
  letter-spacing: 0.1em;
  color: #2c2c2c;
  text-transform: uppercase;

  &.h3-small {
    font-size: 22px;
    font-weight: 600;
  }

  &.h3-footer {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 100%;
    color: #fff;
  }
}

h4 {
  font-weight: 500;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2c2c2c;
}

h5 {
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

header {
  padding: 30px 0;
  border-bottom: solid 1px #ffffff80;
  z-index: 1;
  position: relative;

  .nav-link {
    font-weight: 300;
    font-size: 16px;
    line-height: 84px;
    letter-spacing: 0.3px;
    color: #fff !important;
  }

  .nav-efeito {
    margin: 0 22px;
    display: flex;
    justify-content: center;
    position: relative;

    &::after {
      content: "";
      height: 2px;
      width: 0;
      background: #dd6d34;
      position: absolute;
      bottom: 26px;
      transition: all 0.25s;
    }
    &:hover::after {
      width: calc(100% - 20px);
    }
  }

  .box-social-central {
    li {
      list-style-type: none;
    }
  }

  .navbar-nav {
    margin-right: 140px;
  }
}

/* DESKTOP BREAKPOINTS */
@media (max-width: 1919px) {
  header .navbar-nav {
    margin-right: 115px;
  }
}

@media (max-width: 1659px) {
  header .navbar-nav {
    margin-right: 50px;
  }
}

@media (max-width: 1499px) {
  header .navbar-nav {
    margin-right: 0;
  }
}

#mySidenav a {
  position: fixed;
  right: -185px;
  transition: 0.3s;
  padding: 23px;
  width: 250px;
  text-decoration: none;
  font-size: 15px;
  color: white;
  border-radius: 0;
  z-index: 10;
  text-transform: uppercase;
}

.atalho {
  position: fixed;
  right: 0;
  transition: 0.3s;
  padding: 8px 0;
  width: 65px;
  text-decoration: none;
  font-size: 12px;
  color: white;
  border-radius: 0;
  z-index: 10;

  background-color: #393939;
  top: 265px;
  text-align: center;
}

#mySidenav a:hover {
  right: -10px;
}

#cont-atalho {
  top: 300px;
  background-color: #393939;
  transition: 300ms all ease-in-out;
}

#tel-atalho {
  top: 370px;
  background-color: #393939;
  transition: 300ms all ease-in-out;
}

#whats-atalho {
  top: 441px;
  background-color: #00cc45;
  transition: 300ms all ease-in-out;
}

.icon-atalho {
  margin-right: 18px;
}

#mySidenav #cont-atalho:hover {
  background-color: #009651;
}

#mySidenav #tel-atalho:hover {
  background-color: #dd6d34;
}

footer {
  padding: 90px 0 0;
  background-color: #2c2c2c;
  color: #fff;
  overflow: hidden;

  .logo-footer {
    margin-bottom: 28px;
    object-fit: contain;
    height: 60px;
  }

  .form-footer {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;

    label {
      text-transform: initial;
    }

    input {
      height: 40px;
      border-radius: 0;
      font-weight: 400;
      font-size: 16px;
      line-height: 150%;
    }
  }

  .menu-footer {
    margin: 0;
    padding: 0;

    li {
      list-style-type: none;
      font-weight: 200;
      font-size: 15px;
      line-height: 250%;
      color: #fff;
      word-break: break-word;

      a {
        color: #fff;
        text-decoration: none;
      }
    }
  }

  .btn-form-footer {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.8px;
    background-color: #707070;
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 0;
    color: #fff;
    transition: 300ms all ease-in-out;

    &:hover {
      background-color: #009651;
    }
  }

  h4 {
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 10%;
    text-transform: uppercase;
  }

  .social-footer {
    display: flex;
    margin: 30px 0px 0 0px;
    padding: 0;

    li {
      list-style-type: none;
      margin-right: 46px;
    }
  }

  .copy {
    font-weight: 400;
    font-size: 15px;
    line-height: 190%;
    letter-spacing: 0.8px;
    text-transform: initial;

    span {
      font-weight: 500;
    }
  }

  hr {
    opacity: 1;
    color: #969696;
  }

  .publi-footer {
    font-weight: 300;
    font-size: 15px;
    line-height: 160%;
    text-transform: math-auto;
  }

  .alinhar-final {
    display: flex;
    justify-content: flex-end;
  }

  .linha-separadora {
    height: 100%;
    background-color: #969696;
    width: 1px;
    position: relative;
    left: 30px;

    &::after {
      background-color: #969696;
      background-size: auto;
      display: inline-block;
      width: 1px;
      height: 17px;
      content: "";
      bottom: -17px;
      right: 0;
      position: absolute;
      z-index: 0;
    }
    &::before {
      background-color: #969696;
      background-size: auto;
      display: inline-block;
      width: 1px;
      height: 132px;
      content: "";
      top: -89px;
      right: 0;
      position: absolute;
      z-index: 0;
    }
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 992px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 28px;
  }

  header {
    transition: background-color 0.3s ease;

    .social-menu {
      ul {
        display: flex;
        justify-content: space-evenly;
        padding: 0;
        width: 100%;
      }
    }

    .nav-link {
      line-height: 54px;
    }

    .navbar-toggler:focus {
      box-shadow: none;
    }

    .nav-efeito {
      &::after {
        bottom: 6px;
      }
    }

    .navbar-nav {
      margin-right: 0;
    }
  }
  footer {
    text-align: center;
    color: #fff;

    .linha-separadora {
      &::before {
        display: none;
      }
      &::after {
        display: none;
      }
    }

    h5 {
      margin: 50px 0px 10px 0;
    }

    .form-footer {
      text-align: justify;

      input {
        margin-bottom: 0px;
      }
    }

    .social-footer {
      justify-content: space-evenly;

      li {
        margin-right: 0;
      }
    }

    .alinhar-final {
      justify-content: center;
      margin-bottom: 30px;
    }
  }
}

/* MOBILE */
@media all and (max-width: 767px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 28px;
  }

  .atalho {
    display: none;
  }

  #mySidenav a {
    padding: 15px;
    width: 230px;
  }

  #tel-atalho {
    top: 350px;
  }
  #whats-atalho {
    top: 402px;
  }
  header {
    transition: background-color 0.3s ease;

    .social-menu {
      ul {
        display: flex;
        justify-content: space-evenly;
        padding: 0;
        width: 100%;
      }
    }

    .nav-link {
      line-height: 54px;
    }

    .navbar-toggler:focus {
      box-shadow: none;
    }

    .nav-efeito {
      &::after {
        bottom: 6px;
      }
    }
  }

  footer {
    padding: 70px 0 0;
    text-align: center;

    .logo-footer {
      margin-bottom: 40px;
    }

    .publi-footer {
      margin-bottom: 40px;
    }

    .linha-separadora {
      &::before {
        display: none;
      }
      &::after {
        display: none;
      }
    }

    h5 {
      margin: 50px 0px 10px 0;
    }

    .form-footer {
      text-align: justify;
      margin-bottom: 0;

      input {
        margin-bottom: 10px;
      }
    }

    .social-footer {
      justify-content: space-evenly;

      li {
        margin-right: 0;
      }
    }

    .alinhar-final {
      justify-content: center;
      margin-bottom: 30px;
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .footer-links .menu-footer {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .footer-links .menu-footer li {
      line-height: normal;
    }

    .footer-links + .footer-links {
      margin-top: 45px;
    }

    .footer-newsletter-mobile {
      margin-top: 45px;
    }
  }
}

/* Para garantir que o fundo cubra toda a área do menu no mobile */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: transparent; /* Fundo do próprio menu */
    transition: 300ms all ease-in-out;
  }

  header.menu-open {
    background-color: #3e613e !important;
    transition: 300ms all ease-in-out;
  }
}