html {
  scroll-behavior: smooth;
}

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

:root {
  --azul-esucro: #133249;
  --azul-claro: #2abeff;
  --cinza: #d5d5d5;
  --branco: #f5f3f0;
  --preto: #000;
  --sombra: 4px 4px 20px 2px #56596759;
}

.form-control:focus {
  box-shadow: none;
}

h2 {
  color: var(--azul-esucro, #133249);
  font-size: 32px;
  font-weight: 500;
}

header {
  background-color: var(--azul-esucro);

  .menu-item {
    color: var(--branco) !important;
    font-size: 16px;
    font-weight: 500;
    text-wrap-mode: nowrap;
  }

  .btn-padrao-vazado {
    color: var(--branco) !important;

    .btn-padrao-vazado__border {
      color: var(--branco);
    }
  }

  @media (min-width: 992px) and (max-width: 1199.98px) {
    .menu-item {
      font-size: 14px;
    }
    .btn-padrao-vazado {
      padding: 14px 42px;
    }
  }
}

.btn-padrao-vazado {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-esucro) !important;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 17px 50px;

  .btn-padrao-vazado__border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--azul-esucro);
    pointer-events: none;
  }

  .btn-padrao-vazado__content {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .btn-padrao-vazado__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  &:hover {
    border-radius: 16px 16px 0 0;
    background: linear-gradient(268deg, #0d69d0 0%, #2abeff 81.47%);
    clip-path: polygon(10% 0, 90% 1%, 99% 104%, 1% 100%);
    color: var(--branco) !important ;

    .btn-padrao-vazado__border {
      color: transparent !important;
    }
  }
}

footer {
  padding: 40px 0 20px 0;
  border-top: solid 1px var(--cinza);

  .link-politica {
    color: var(--azul-texto, #060b35);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 32px;
    text-decoration-line: underline;
  }

  .social-footer {
    display: flex;
    justify-content: flex-start;
    margin: 20px 0;

    li {
      margin-right: 20px;
    }
  }
  .endereco {
    display: flex;
    align-items: center;
    color: var(--azul-esucro, #133249);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 12px;
  }
  .link-endereco {
    color: var(--azul-esucro, #133249) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration-line: underline !important;
  }
  .item-footer {
    color: var(--azul-esucro, #133249);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 16px;
  }
  ul.menu-footer {
    li {
      color: var(--azul-esucro, #133249);
      font-size: 14px;
      font-weight: 400;
      line-height: 24px;
      text-decoration-line: underline;
      margin-bottom: 8px;
    }
  }

  .item-fale {
    color: var(--azul-esucro, #133249);
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    display: flex;
    align-items: center;
    img {
      margin-right: 8px;
    }
  }
  .link-fale {
    color: var(--azul-esucro, #133249) !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    text-decoration: underline;
  }

  .min-h-footer {
    min-height: 180px;
  }

  .copy {
    color: var(--azul-texto, #060b35);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
  }
  a.link-politica.active {
    color: var(--azul-texto, #060b35);
    font-size: 14px;
    font-weight: 500;
    line-height: 32px;
    text-decoration-line: underline;
  }

  .alfama {
    display: flex;
    justify-content: flex-end;
  }
}

#cabecalho {
  padding: 100px 0;
  background-image: var(--bg-cabecalho-desktop);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 380px;
  position: relative;

  .cabecalho-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #d5d5d5 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .container {
    position: relative;
    z-index: 2;
  }

  .estagio {
    background-color: var(--azul-claro, #2abeff);
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    padding: 9px 30px;
    /* width: fit-content; */
    display: inline-block;
    clip-path: polygon(6% 0%, 94% 0%, 100% 100%, 0% 100%);
  }

  h1 {
    color: #133249;
    font-size: 36px;
    font-weight: 500;
    /* line-height: 20px;  */
    margin: 32px 0;
  }
  .text-cabecalho {
    color: var(--azul-esucro, #133249);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
  }
}

/* SEÇÕES */
#cta {
  padding: 90px 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  .titulo {
    display: flex;
    align-items: center;
    color: var(--branco);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
    justify-content: flex-start;

    img {
      margin-right: 10px;
    }
  }

  h2 {
    color: var(--branco) !important;
  }

  .text-cta {
    color: var(--cinza, #d5d5d5);
    font-size: 16px;
    font-weight: 400;
  }

  .btn-padrao-vazado {
    color: var(--azul-esucro) !important;
    clip-path: polygon(10% 0, 90% 1%, 99% 104%, 1% 100%);
    background-color: #2abeff;

    .btn-padrao-vazado__border {
      color: var(--azul-claro);
    }
  }
  .pad-l-8 {
    padding-left: calc(var(--spacing) * 8);
  }
}

#portfolio {
  .swiper {
    min-width: 0;
  }

  .titulo {
    display: flex;
    align-items: center;
    color: var(--azul-esucro);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
    justify-content: center;

    img {
      margin-right: 10px;
    }
  }

  .img-portofio {
    min-height: 460px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;

    .tag {
      color: var(--azul-esucro, #133249);
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      line-height: 20px;
      width: max-content;
      padding: 10px 30px;
      background-color: #fff;
      position: absolute;
      top: -1px;
      right: -1px;
      clip-path: polygon(5% 0%, 100% 0, 100% 100%, 0% 100%);
    }

    .nome-port {
      clip-path: polygon(0 0, 90% 1%, 100% 100%, 0% 100%);
      color: var(--branco);
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      line-height: 20px;
      width: max-content;
      padding: 10px 30px;
      background-color: var(--azul-esucro);
      position: absolute;
      bottom: 0;
      left: -1px;
    }
  }
  .box-info-port {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--cinza, #d5d5d5);
    padding: 16px;
  }
  .text-port {
    display: flex;
    align-items: center;
    color: var(--azul-esucro, #133249);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    gap: 8px;

    img {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    @media (max-width: 575.98px) {
        font-size: 14px;
        text-wrap-mode: nowrap;
        line-clamp: 1;
        max-width: 128px;
        overflow: hidden;
        gap: 6px;
        img {
            width: 20px;
            height: 20px;
        }
    }
  }

  .swiper-pagination-portf {
    position: relative;
    display: flex;
    justify-content: center;
  }

  .swiper-pagination-bullet {
    background: var(--cinza) !important;
    opacity: 1;
  }
  .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: var(--azul-claro) !important;
    opacity: 1;
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
  #cta {
    padding: 60px;

    h2 {
      margin-bottom: 24px;
    }

    .text-cta {
      margin-bottom: 24px;
    }
  }
  .pad-l-8 {
    padding-left: 0 !important;
  }

  footer {
    .min-h-footer {
      margin-top: 30px;
      text-align: center;
      min-height: 130px;
    }

    .central-mob {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .copy {
      text-align: center;
    }

    .alfama {
      display: flex;
      justify-content: center;
      margin: 10px 0;
    }
    .item-fale {
      justify-content: center;
    }
    .item-footer {
      margin-bottom: 8px;
    }
  }
}

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

  #cabecalho {
    background-image: var(--bg-cabecalho-mobile, var(--bg-cabecalho-desktop));
  }

  #cta {
    padding: 60px;
    text-align: center;

    .titulo {
      justify-content: center;
    }

    h2 {
      margin-bottom: 24px;
    }

    .text-cta {
      margin-bottom: 24px;
    }
  }
  .pad-l-8 {
    padding-left: 0 !important;
  }

  footer {
    text-align: center;

    .min-h-footer {
      min-height: auto;
      margin-top: 20px;
    }
    .alfama {
      display: flex;
      justify-content: center;
      margin: 15px 0;
    }

    .social-footer {
      justify-content: center;
    }
    .endereco {
      justify-content: center;
    }
    .item-fale {
      justify-content: center;
    }
    .central-mob {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .copy {
      text-align: center;
    }
    .item-footer {
      margin-bottom: 8px;
    }
  }
}
