* {
  font-family: "Poppins";
}

.hero-breadcrumb a {
  color: white;
}

a {
  color: inherit;
}

a.float-whatsapp {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: white;
  border-radius: 50%;
  padding: 7px 8px 10px 10px;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.08);
  color: #e54344;
}

header {
  &.site-header {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    width: 100%;
    z-index: 1000;
    width: 100%;
    border: none;
    background-color: #fff;
    transition: 300ms all ease;
    box-shadow: 5px 5px 8px 0 #2c2c2c26;

    &.is-scrolled {
      @media (min-width: 992px) {
        top: calc(var(--wp-admin--admin-bar--height, 0px) - 90px);

        &:hover,
        &:focus-within,
        &.is-peeking {
          top: var(--wp-admin--admin-bar--height, 0px);
        }
      }
    }
  }

  .header-top {
    padding: 20px 0;
    border-bottom: 1px solid #d7d7d7;

    @media (max-width: 991px) {
      display: none;
    }

    ul.menu {
      display: flex;
      justify-content: space-between;
      /* width: 100%; */
      margin: 0;
      padding: 0;
      /* gap: 100px; */
      list-style-type: none;

      li {
        a {
          color: #5a5a5a;
          padding: 20px 50px;
          border-right: 1px solid #d9d9d9;

          @media (min-width: 993px) and (max-width: 1200px) {
            padding: 18px;
          }
        }

        &:last-child {
          a {
            border: none;
          }
        }
      }
    }
  }

  .header-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;

    a.tab {
      background-color: #e54344;
      border-radius: 5px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: #fff;
      text-decoration: none;
      flex: 1 1 calc(30% - 32px);
      border: none;
      display: inline-flex;
      text-wrap-mode: nowrap;
    }

    .central-atendimento {
      color: #e54344;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: nowrap;
      gap: 10px;
      text-wrap-mode: nowrap;
      text-decoration: none;

      span {
        color: #e54344;
        font-weight: 600;
        font-size: 16px;
        font-family: "Poppins";
      }
    }
  }

  .header-search {
    display: flex;
    width: 100%;
    gap: 32px;

    input {
      padding: 10px 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      border: 1px solid #62737b;
      color: #62737b;
      width: 100%;
    }
  }

  .header-main {
    padding: 18px 0;

    #menuToggler {
      position: relative;
      width: 40px;
      height: 40px;
      border: none;
      outline: none;
      background: transparent;

      svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: 100ms all ease-in-out;
      }

      #cross {
        opacity: 0;
      }

      #burguer {
        opacity: 1;
      }
    }
  }

  .mobile-menu {
    /* background-color: #E54344; */
    border-top: 1px solid #ececec;
    /* position: relative; */
    transition: 300ms all ease-in-out;
    height: 0;
    overflow: hidden;

    &.opened {
      height: 100svh;
    }

    .wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 36px 0;
      gap: 24px;

      ul.menu-items {
        padding: 0;

        li {
          list-style-type: none;
          margin-bottom: 16px;

          a {
            color: #e54344;
            font-size: 20px;
            font-weight: 600;
          }
        }
      }

      .tab {
        /* background-color: #fff;
                color: #E54344;

                svg path {
                    fill: #E54344;
                    stroke: #E54344;
                } */
      }
    }
  }
}

main {
  margin-top: 100px;
  /* @media (max-width: 992px) {
    margin-top: 100px;
  } */
}

.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.button {
  width: fit-content;
  height: fit-content;
  border-radius: 5px;
  color: #fff;
  background-color: #e54344;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  gap: 10px;
  font-weight: 600;
  text-wrap-mode: nowrap;
}

section {
  margin-bottom: 72px;

  @media (max-width: 992px) {
    margin-bottom: 40px;
  }
}

.hero {
  overflow: hidden;
  position: relative;
  height: 55svh;

  @media (max-width: 992px) {
    height: 50svh;
    min-height: 350px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
  }

  .cta {
    height: 600px;
    padding-top: 0;

    h2 {
      font-size: 32px;
      color: #fff;
      font-weight: 400;

      span {
        font-weight: 600;
      }
    }

    p {
      font-weight: 400;
      font-size: 20px;
    }

    img {
      filter: brightness(0.8);
    }

    .hero-content {
      left: 0;

      a.button {
        box-shadow: 0px 4px 4px 0px #00000040;
      }
    }

    /* @media (max-width: 992px) {
      .hero-content {
        h2 {
          font-size: 24px;
        }

        p {
          font-size: 16px;
        }
      }
    } */
  }

  &.interna {
    margin-top: 100px;
    /* margin-bottom: 0; */
    height: 55svh;

    .hero-content {
      position: absolute;
      top: 0;
      height: 100%;
      width: 100%;

      h2 {
        font-size: 32px;
        color: #fff;
        font-weight: 400;

        span {
          font-weight: 600;
        }
      }

      p {
        font-weight: 500;
        font-size: 24px;
        color: #fff;
      }

      .hero-breadcrumb {
        p {
          font-weight: 600;

          a {
            font-weight: 500;
          }
        }
      }

      .text {
        color: #fff;
      }
    }

    @media (max-width: 992px) {
      margin-top: 92px;

      .hero-content {
        h2 {
          font-size: 24px;
          line-height: 160%;
        }

        p {
          font-size: 16px;
        }
      }
    }
  }

  @media (max-width: 992px) {
    .hero-content {
      h2 {
        font-size: 24px;
        line-height: 160%;
      }

      p {
        font-size: 16px;
      }
    }
  }
}

.img-sobre {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.nomobile {
  @media (max-width: 992px) {
    display: none;
  }
}

h2.title {
  margin: 0;
  padding-left: 15px;
  border-left: 5px solid #e54344;
  font-size: 32px;
  color: #5a5a5a;
  font-weight: 400;

  span {
    font-weight: 600;
  }
}

.breadcrumb {
  background-color: #f5f5f5;
  height: 70px;
  align-content: center;
  margin-top: 100px;
  margin-bottom: 72px;

  @media (max-width: 992px) {
    margin-bottom: 40px;
    margin-top: 90px;
  }

  p {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #5a5a5a;

    a {
      color: #5a5a5a;
      font-weight: 500;
    }
  }
}

.page-404 {
  h1 {
    color: #e54344;
  }

  a {
    &:hover {
      background-color: #e54344;
    }
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: #e54344;
}

img {
  max-width: 100%;
}

#blog-grid {
  align-items: stretch;
  article {
    height: 100%;
    overflow: hidden;
    .card-blog {
      display: flex;
      flex-direction: column;
      .body {
        height: 100%;
        justify-content: space-between;
      }
    }
  }
}

footer {
  .footer-top {
    padding: 40px 0;
    border: 1px solid #e1e1e1;

    .redes {
      display: flex;
      justify-content: center;
      gap: 40px;
      align-items: center;
    }
  }

  .footer-main {
    padding: 40px 0;

    .logos {
      display: flex;
      gap: 35px;
      flex-wrap: wrap;

      .item {
        width: fit-content;
        height: auto;
        display: flex;

        /* flex: 1 1 calc(33% - 40px); */
        img {
          width: 100%;
          height: auto;
          object-fit: contain;
        }
      }

      @media (max-width: 992px) {
        justify-content: center;
      }
    }

    nav {
      ul {
        list-style-type: none;
        padding: 0;

        a {
          font-weight: 400;
          font-size: 16px;
          line-height: 180%;
          color: #5a5a5a;
        }
      }

      @media (max-width: 992px) {
        text-align: center;

        .ul {
          text-align: center;
        }
      }
    }
  }

  h4 {
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    color: #5a5a5a;
  }

  p {
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    color: #5a5a5a;
  }

  .alfama {
    width: auto;
  }

  .copyright {
    background-color: #f5f5f5;
    padding: 12px 0;
  }

  .texto {
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;

    .outer {
      padding: 4px;
      border: 1px solid #000;
      border-radius: 3px;
    }

    .ans {
      border: 1px solid #000;
      border-radius: 3px;
      background-color: #2c2c2c;
      background-clip: padding-box;
      padding: 4px;
      color: #fff;
    }

    p {
      margin: 0;
    }
  }
}
