.banner_back_azul::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--azul) 0%, var(--azul) 20%, #4c5db3 40%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.banner_back_cinza::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--font) 0%, var(--font) 20%, #707a89 40%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}


#case_suc {
  .carousel {
    height: 500px;
  }

  .cont_slide {
    justify-content: space-around;
  }
}

.banner {
  margin-bottom: 2rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 450px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  padding: 3rem 6rem 6rem;
  color: var(--fundo);
  background-size: cover;
  background-position: right center;

  .cont_slide {
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;

    p {
      word-wrap: break-word;
      overflow-wrap: break-word;
      font-size: 1.4rem;
    }
  }
}

#slide1 {
  position: relative;
  background-image: url('/assets/images/banner_hmpg01.jpg');
}

#slide2 {
  position: relative;
  background-image: url('/assets/images/banner_hmpg02.jpeg');
}

#slide3 {
  background-image: linear-gradient(to right, var(--azul) 0%, var(--azul) 20%, #4c5db3 40%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0) 100%), url('/assets/images/banner_1.jpg');
}

.nav-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.nav-buttons button {
  line-height: 0;
  padding: 0.3rem;
  border-radius: 50%;
}

.indicators {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.indicators span {
  height: 0.8rem;
  width: 0.8rem;
  background-color: var(--font);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s ease;
}

.indicators span:hover {
  background-color: var(--laranja);
}

.indicators .active {
  background-color: var(--amarelo);
}

/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
#logos_his {
  h1 {
    text-align: center;
  }
}

.c_logo {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: fit-content !important;

  .slide {
    padding: 2rem;

    .cont_slide {
      color: var(--font);
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 3rem;
      text-align: center;

      >div {
        display: flex;
        align-items: center;
        height: 7rem;
        gap: 2rem;

        img {
          max-width: 13rem;
          height: fit-content;
        }

        hr {
          width: 100%;
          height: 100%;
          border: 1px solid var(--font);
        }

        span {
          font-size: 5rem;
          font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
          color: var(--amarelo);
        }
      }
    }
  }

  .indicators {
    position: relative;
    bottom: 0;
    margin-top: 1rem;
  }

  .nav-buttons {
    position: relative;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(0);
    padding: 0;
    margin-top: 3rem;
    gap: 2rem;
  }
}


/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/


.banner_page {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  width: 100%;
  height: 250px;
  padding: 4rem;
  color: var(--fundo);
  background-size: cover;
  background-position: right center;

  h1 {
    z-index: 1;
  }
}



.banner_qmsm {
  background-image: url('/assets/images/banner_qmsm.jpg');
}

.banner_srv {
  background-image: url('/assets/images/banner_srv.jpg');
}

.banner_ntc {
  background-image: url('/assets/images/banner_ntc.jpg');
}

.banner_ctn {
  background-image: url('/assets/images/banner_ctn.jpg');
}




.section {
  padding: 3rem 9rem 5rem;
  display: flex;
  align-items: center;
  overflow: hidden !important;

  p {
    font-size: 1.3rem;
  }

  .leg_img {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
  }
}

.image_layout01 {
  position: relative;
  width: 300px;
  height: 300px;

  .borda-octagonal {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--amarelo);
    clip-path: polygon(10% 0%,
        90% 0%,
        100% 10%,
        100% 90%,
        90% 100%,
        10% 100%,
        0% 90%,
        0% 10%);
    z-index: 1;
    transition: all 0.3s ease;
  }

  .imagem-octagonal {
    background-color: var(--fundo);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(10% 0%,
        90% 0%,
        100% 10%,
        100% 90%,
        90% 100%,
        10% 100%,
        0% 90%,
        0% 10%);
    z-index: 2;
    transition: all 0.3s ease;
  }
}

.image_layout01:hover {
  cursor: pointer;

  .borda-octagonal {
    background-color: var(--laranja);
  }

  .imagem-octagonal {
    transform: translate(-5px, -5px);
  }

}


/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/


.sec_cont1 {
  justify-content: center;
  gap: 6rem;

  h1 {
    color: var(--azul);
    margin-bottom: 1rem;
  }

  aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: justify;

    button {
      margin-top: 1rem;
    }
  }

  /*
  >aside:nth-child(1) {
    flex: 1;
  }
  */

}

.sec_cont2 {
  padding: 3rem 9rem 7rem;
  flex-direction: column;
  color: var(--fundo);
  text-align: center;
  justify-content: center;
  background-size: cover;
  background-position: right center;
  background-image: linear-gradient(to right, #273478f5 0%, #4860def7 100%), url('/assets/images/fundo_texture.png');

  h1 {
    color: var(--fundo);
    margin-bottom: 1rem;
  }

  >div:nth-child(2) {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;

    svg {
      transition: all 0.3s ease-in-out;
    }

    .border_hover {
      fill: var(--amarelo);
      transition: 0.3s ease-in-out;
    }

    .border_hover:nth-child(1) {
      fill: transparent;
      stroke: var(--amarelo);
    }

    svg text {
      font-family: 'Open Sans', sans-serif !important;
      color: var(--azul) !important;
    }

    svg:hover {
      cursor: pointer;
      transform: translateY(-5px);

      .border_hover:nth-child(1) {
        stroke: var(--laranja);
      }

      .border_hover {
        fill: var(--laranja);
      }
    }
  }
}

.sec_cont3 {
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 3rem;

  h1 {
    color: var(--azul);
    margin-bottom: 1rem;
  }

  #patentes {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 3rem;

    .patente {
      display: flex;
      text-align: left;
      align-items: center;
      gap: 2rem;
      border-radius: 1rem;

      >p {
        text-align: justify;
      }

      aside {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        text-align: justify;
      }

      .patente_header {
        display: flex;
        text-align: left;
        align-items: center;
        gap: 1rem;

        svg {
          flex: 1;
          height: 5rem;
        }

        h2 {
          flex: 4;
        }
      }

      .patente_det {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        div {
          display: flex;
          gap: 0.5rem;
          flex-wrap: wrap;
        }
      }
    }
  }
}

.sec_cont4 {
  flex-direction: column;
  align-items: center;
  gap: 4rem;

  h1 {
    color: var(--azul);
  }

  #noticias {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;

    .noticia {
      background-color: var(--fundo);
      width: 300px;
      height: 100%;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 0.2rem solid var(--laranja);
      border-radius: 1rem;
      transition: all 0.3s ease-in-out;

      img {
        width: 100%;
        height: 180px;
        object-fit: cover;
      }

      .not_info {
        display: flex;
        flex-direction: column;
        text-align: left;
        gap: 1rem;
        padding: 1.5rem;

        p {
          font-size: 1rem;
        }

        span {
          color: var(--laranja);
          font-size: 0.9em;
        }

        h3 {
          color: var(--azul);
        }
      }
    }

    .noticia:hover {
      cursor: pointer;
      transform: translateY(-5px);
      box-shadow: 5px 8px 20px rgba(0, 0, 0, 0.136);
    }
  }
}

.sec_cont5 {
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;

  h1 {
    color: var(--azul);
  }

  >div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .redes_sociais {
    margin: 0;

    svg {
      path {
        transition: all 0.3s ease-in-out;
        fill: var(--azul);
      }
    }
  }
}

.sec_cont6 {
  gap: 3rem;
  justify-content: center;
  flex-direction: column;

  span {
    display: flex;
    z-index: 2;
    position: relative;
    width: 100%;
    padding: 2rem;
    gap: 2rem;
    background: var(--azul);
    clip-path: polygon(3% 0%,
        97% 0%,
        100% 15%,
        100% 85%,
        97% 100%,
        3% 100%,
        0% 85%,
        0% 15%);

    >svg {
      width: 7rem;

      path {
        fill: var(--azul);
      }

      circle {
        fill: var(--fundo);
      }
    }

    .cont {
      color: var(--fundo);
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;

      h2 {
        color: var(--fundo);
      }

      p {
        margin-top: 0.5rem;
      }
    }
  }

  .bor_oc01 {
    position: absolute;
    top: 17px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--azul);
    clip-path: polygon(3% 0%,
        97% 0%,
        100% 15%,
        100% 85%,
        97% 100%,
        3% 100%,
        0% 85%,
        0% 15%);
    z-index: 1;
    padding: 3px;

    .bor_oc02 {
      width: 100%;
      height: 100%;
      background-color: var(--fundo);
      clip-path: polygon(3% 0%,
          97% 0%,
          100% 15%,
          100% 85%,
          97% 100%,
          3% 100%,
          0% 85%,
          0% 15%);
    }
  }
}

.sec_cont7 {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  position: relative;

  #not_header {
    gap: 0.5rem;

    h1 {
      color: var(--azul);
    }
  }

  hr {
    width: 100%;
    margin: 1rem 0 2rem;
    border: 1px solid var(--laranja);
  }

  #not_cont {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-align: justify;

    h2 {
      margin-bottom: 1rem;
    }

    img {
      object-fit: cover;
      margin: 0 0 1rem;
      max-width: 100%;
      max-height: 40rem;
      width: 100%;
      height: auto;
      cursor: pointer;
    }
  }
}

.sec_cont8 {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5rem;
  width: 100%;
  position: relative;

  >h1 {
    color: var(--azul);
  }

  #cont_con {

    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 3rem;

    #form_con {

      padding: 2rem 3rem;
      background-color: var(--azul);
      border-radius: 1rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;

      p,
      label,
      span {
        color: var(--fundo);
      }

      >div {
        display: flex;
        flex-direction: column;
        gap: 2rem;

        h2 {
          color: var(--fundo);
          font-weight: bold;
        }
      }

      .form-section {
        width: 100%;
        margin-top: 0 !important;
        display: block !important;

        .d_inp {
          display: flex;
          width: 100%;
          gap: 1rem;
        }

        label {
          display: block;
          margin-top: 15px;
          font-weight: bold;
          width: 100%;
          text-align: left;
        }

        input,
        select,
        textarea {
          width: 100%;
          padding: 10px;
          margin-top: 5px;
          border-radius: 4px;
          border: 2px solid var(--fundo);
          transition: 0.3s ease;
        }

        input:hover,
        select:hover,
        textarea:hover {
          border-color: var(--amarelo) !important;
        }

        input:focus,
        select:focus,
        textarea:focus {
          border-color: var(--laranja) !important;
        }
      }
    }


    .cont-data-section {
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      #header_cont_c {
        h1 {
          color: var(--azul);
          margin-bottom: 1rem;
        }

        hr {
          border: 1px solid var(--laranja);
        }
      }

      #cont_cont_c {
        display: flex;
        flex-direction: column;
        gap: 2rem;
      }

      .group_data {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;

        a {
          color: var(--font);
        }

        .redes_sociais {
          margin: 0;

          svg {
            path {
              transition: all 0.3s ease-in-out;
              fill: var(--azul);
            }
          }

          svg:hover {
            path {
              fill: var(--amarelo);
            }
          }
        }
      }
    }
  }
}

.sec_cont9 {
  padding: 0 9rem 5rem;
}


#clientes {
  .cliente {
    width: 200px;
    height: 200px;

    .imagem-octagonal {
      object-fit: contain;
      padding: 1rem;
    }
  }
}

.svc.sec_cont1 {
  padding-bottom: 1rem;
}

.svc {
  flex-direction: column;
  gap: 3rem;

  h1 {
    text-align: left;
  }

  aside {
    width: 100%;
    gap: 3rem !important;
  }

  .slide {
    display: flex;
    justify-content: center;
  }

  .image_layout01 {
    position: relative;
    width: 85%;
    height: 450px;

    .borda-octagonal,
    .imagem-octagonal {
      clip-path: polygon(3% 0%,
          97% 0%,
          100% 10%,
          100% 90%,
          97% 100%,
          3% 100%,
          0% 90%,
          0% 10%);
    }

  }

  .indicators {
    margin: 0 !important;
  }

  .nav-buttons {
    margin-top: 1rem !important;
  }
}


/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/


.popup {
  display: none;
  cursor: pointer;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  padding: 4rem;
  box-sizing: border-box;

  .popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;

    .img_rapper {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      touch-action: pan-y;

      img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        background: var(--fundo);
        transition: opacity 0.3s ease;
      }

      img.fade {
        opacity: 0;
      }
    }

    .close-btn {
      position: absolute;
      top: -20px;
      right: -20px;
      background-color: #fff;
      border: none;
      font-size: 24px;
      cursor: pointer;
      border-radius: 50%;
      width: 40px;
      height: 40px;
    }
  }

  .popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  .popup-nav.left {
    left: -60px;
  }

  .popup-nav.right {
    right: -60px;
  }

  @media (max-width: 1000px) {
    .popup-nav {
      display: none !important;
    }
  }
}

.popup_dialog {
  text-align: center;
  min-width: 200px;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 5px 5px 10px #00000063;
  padding: 1rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  >span {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  button {
    margin-top: 2rem;
  }
}

#popupMensagem_ok {
  span {
    color: var(--azul);
  }
}

#popupMensagem_err {
  span {
    color: var(--laranja);
  }
}

#popupLoading {
  #loader {
    position: initial;
  }
}


.redes_sociais {
  margin: 2rem 0 4rem;
  display: flex;
  justify-content: center;
  gap: 2rem;

  svg {
    width: 2.5rem;
  }

  svg:hover {
    path {
      fill: var(--amarelo);
    }
  }
}


/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------------*/



@media (max-width: 1200px) {

  .sec_cont1 {
    padding: 3rem 6rem;
    gap: 3rem;
  }

  #cont_con {
    flex-direction: column;
    gap: 5rem !important;

    .cont-data-section {
      gap: 3rem;
    }
  }

  .sec_cont3 .patente {
    align-items: center !important;
    flex-direction: column;
  }
}

@media (max-width: 900px) {

  .banner_back_azul::before {
    background: linear-gradient(to right, #273478e3 0%, #4c5db3b0 100%) !important;
  }

  .banner_back_cinza::before {
    background: linear-gradient(to right, #4a5567e3 0%, #707a89d1 100%) !important;
  }

  .svc {
    .c_logo .slide {
      padding: 1rem !important;
    }

    >aside:nth-child(2) {
      padding: 0 !important;
    }
  }

  .c_logo .slide {
    padding: 0;

    .cont_slide>div {
      height: 100%;
      flex-direction: column;
    }
  }

  .banner_page {
    height: 150px;
    padding: 2rem;
  }

  .slide .cont_slide {
    width: 90%;

    p {
      font-size: 1.2rem;
    }
  }

  .sec_cont8 {
    padding: 2rem !important;

    #form_con {
      padding: 2rem !important;
    }
  }

  .section {
    padding: 2rem;

    p {
      font-size: 1rem;
    }
  }

  .svc.sec_cont9 {
    padding: 0 1rem 3rem;
  }

  .sec_cont1 {
    flex-direction: column;
    gap: 3rem;

    aside {
      align-items: center;
    }

    >aside:nth-child(2) {
      padding: 0 5rem;
    }
  }

  .sec_cont2 {
    padding: 3rem 3rem 5rem;
  }

  .noticia {
    width: 100% !important;
    max-width: 360px;
  }

  .container_cont {
    flex-direction: column;
  }

  .form-section {
    width: 100% !important;
  }

  .d_inp {
    flex-direction: column;
    gap: initial !important;
  }
}

@media (max-width: 500px) {
  .carousel {
    height: 350px;
  }

  .cont_slide {
    width: 100% !important;
  }

  .nav-buttons {
    display: none;
  }

  .slide {
    padding: 1rem 1rem 3rem;

    .cont_slide {
      p {
        font-size: 1rem;
      }
    }
  }

  .image_layout01 {
    width: 250px;
    height: 250px;
  }

  .sec_cont1>aside:nth-child(2) {
    padding: 0;
  }

  .svc {
    .image_layout01 {
      height: 200px;
    }

    .borda-octagonal,
    .imagem-octagonal {
      clip-path: polygon(7% 0%,
          93% 0%,
          100% 10%,
          100% 90%,
          93% 100%,
          7% 100%,
          0% 90%,
          0% 10%);
    }
  }

  .popup {
    padding: 2rem;
  }

  .patente_header {
    flex-direction: column;

    svg {
      flex: none !important;
    }

    h2 {
      flex: none !important;
      text-align: center;
    }
  }

  .patente_det div {
    flex-direction: column;
  }


  .sec_cont6 {

    span {
      flex-direction: column;
      align-items: center;
      gap: 1;
      clip-path: polygon(7% 0%,
          93% 0%,
          100% 10%,
          100% 90%,
          93% 100%,
          7% 100%,
          0% 90%,
          0% 10%);

      >svg {
        width: 5rem;
      }
    }

    .bor_oc01 {
      position: absolute;
      top: 17px;
      left: 10px;
      width: 100%;
      height: 100%;
      background-color: var(--azul);
      clip-path: polygon(7% 0%,
          93% 0%,
          100% 10%,
          100% 90%,
          93% 100%,
          7% 100%,
          0% 90%,
          0% 10%);
      z-index: 1;
      padding: 4px;

      .bor_oc02 {
        width: 100%;
        height: 100%;
        background-color: var(--fundo);
        clip-path: polygon(7% 0%,
            93% 0%,
            100% 10%,
            100% 90%,
            93% 100%,
            7% 100%,
            0% 90%,
            0% 10%);
      }
    }
  }

  #not_cont em {
    font-size: 0.7rem;
  }
}