/* Estilo automático para a página: sobre-nos */

main p {
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  text-align: justify;
  vertical-align: middle;
  color: #2c2c2c;
}

#cabecalho {
  min-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -170px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;

  .sombra-servico {
    background-image: linear-gradient(#00000054, black);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    top: 0;
  }

  .barras {
    &::after {
      background-color: #ffffff;
      background-size: auto;
      display: inline-block;
      width: 100%;
      height: 1px;
      content: "";
      right: 135px;
      position: absolute;
      z-index: 0;
      bottom: 60px;
    }
    &::before {
      background-color: #ffffff;
      background-size: auto;
      display: inline-block;
      width: 1px;
      height: 360px;
      content: "";
      right: 135px;
      position: absolute;
      z-index: 0;
      bottom: 0;
    }
  }

  .cabecalho {
    display: flex;
    justify-content: center;
    margin-top: 100px;

    li {
      font-weight: 300;
      font-size: 18px;
      line-height: 160%;
      text-align: center;
      color: #fff;
      list-style-type: none;
      letter-spacing: 1px;
    }
    .destaque {
      font-weight: 600;
    }
  }

  h1 {
    vertical-align: middle;
    color: #fff;
  }
}

#trajetoria {
  padding: 100px 0 0px;

  h2 {
    margin-bottom: 30px;
  }

  img {
    min-height: 485px;
    width: 100%;
    object-fit: cover;
  }
}

#fazemos {
  padding: 50px 0 100px;

  h2 {
    margin-bottom: 30px;

    span {
      font-weight: 600;
    }
  }

  .img-fazemos {
    height: 465px;
    width: 100%;
    object-fit: cover;
  }

  .btn-padrao {
    border: 1px solid #2c2c2c;
    padding: 0 0px 0 22px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 1px;
    text-align: center;
    color: #2c2c2c;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: 300ms all ease-in-out;

    .moldura-seta {
      padding: 22px;
      transition: 300ms all ease-in-out;
      border-left: solid 1px #2c2c2c;
      margin-left: 22px;
      background-color: #fff;
    }
  }
  .btn-padrao:hover {
    background-color: #009651;
    color: #fff;
    border: 1px solid #fff;
  }
  .btn-padrao:hover .moldura-seta {
    border-left: solid 1px #fff;
    background-color: #dd6d34;
  }
  .btn-padrao:hover .moldura-seta img {
    transition: 300ms all ease-in-out;
    filter: invert(100%) sepia(0%) saturate(7486%) hue-rotate(296deg)
      brightness(109%) contrast(99%);
  }
}

#pilares {
  background: #466041;
  overflow: hidden;

  h2 {
    color: #fff;
    margin-top: 40px;
  }

  h3 {
    color: #fff;
    margin-top: 40px;
    margin-left: 70px;
  }

  .barra-1 {
    width: 101%;
    height: 1px;
    background-color: #fff;
    position: relative;

    &::after {
      background-color: #ffffff;
      background-size: auto;
      display: inline-block;
      width: 50%;
      height: 1px;
      content: "";
      top: 0px;
      left: -40%;
      position: absolute;
      z-index: 0;
    }
  }

  .barra-2 {
    width: 100%;
    height: 1px;
    background-color: #fff;
    position: relative;
    left: -12px;

    &::after {
      background-color: #ffffff;
      background-size: auto;
      display: inline-block;
      width: 100%;
      height: 1px;
      content: "";
      top: 0px;
      right: -100%;
      position: absolute;
      z-index: 0;
    }
  }

  .barra-pilares {
    border-right: solid 1px #fff;
  }

  .list-pilares {
    font-weight: 300;
    font-size: 18px;
    line-height: 220.00000000000003%;
    letter-spacing: 0%;
    color: #fff;
    list-style-type: none;

    img {
      margin-right: 8px;
    }
  }

  .central-setas {
    display: flex;
    margin-left: 70px;
    justify-content: flex-start;

    .setas {
      margin-bottom: 40px;
    }
  }
}

#qualidade {
  padding: 100px 0 50px;

  h2 {
    margin-bottom: 30px;
  }

  .align-items-stretch {
    height: auto;
  }

  .d-flex {
    display: flex !important;
  }

  .image-container,
  .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .img-qualidade {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .text-content {
    padding: 20px;
  }

  hr {
    opacity: 1;
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 992px) {
  #cabecalho {
    .barras {
      display: none;
    }
  }

  #trajetoria {
    img {
      height: 455px;
      margin-bottom: 30px;
    }
  }
  #fazemos {
    .img-fazemos {
      height: 395px;
      margin-top: 30px;
    }
  }

  #pilares {
    h3 {
      margin-left: 20px;
    }

    .barra-pilares {
      border-right: none;
    }

    .central-setas {
      display: flex;
      margin-left: 20px;
      justify-content: flex-start;

      .setas {
        margin-bottom: 50px;
        width: 100%;
      }
    }

    .barra-1 {
      &::after {
        left: -50%;
      }
    }
  }
}

/* MOBILE */
@media all and (max-width: 767px) {
  #cabecalho {
    .barras {
      display: none;
    }
  }

  #trajetoria {
    padding-top: 60px;
    img {
      height: 390px;
      margin-bottom: 30px;
    }
  }

  #fazemos {
    padding: 60px 0;

    h2 {
      margin-bottom: 0;
    }
    .img-fazemos {
      height: 380px;
      margin: 30px 0;
    }
  }

  #pilares {
    h3 {
      margin-top: 0;
      margin-left: 30px;
    }

    .barra-pilares {
      border-right: none;
    }
    .central-setas {
      margin-left: 30px;
    }
  }

  #qualidade {
    padding: 60px 0 50px;
  }
}