/* ---------------CSS RESETING ELEMENTS-------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove margens e paddings padrões */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
dl,
dd,
ol,
ul,
figure,
hr,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

/* Remover list-style de listas */
ul,
ol {
  list-style: none;
}

/* Remove decorações de links */
a {
  text-decoration: none;
  color: inherit;
}

/* Botões e inputs sem estilos nativos */
button,
input,
select,
textarea {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Garantir altura total da tela */
html,
body {
  height: 100%;
}

/* Imagens e mídias com responsividade básica */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Typography smoothing */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tabelas sem espaçamento */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Form controls não estilizados */
button {
  cursor: pointer;
  background: none;
  border: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

@font-face {
  font-family: "Gilroy-Medium";
  src: url("../assets/fonts/Gilroy-Medium.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy-Refular";
  src: url("../assets/fonts/Gilroy-Regular.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Averta-Light";
  src: url("../assets/fonts/averta-light.otf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Averta-Extra-Bold";
  src: url("../assets/fonts/averta-extra-bold.otf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins-Medium";
  src: url("../assets/fonts/Poppins-Medium.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins-Extra-Light";
  src: url("../assets/fonts/Poppins-ExtraLight.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins-Regular";
  src: url("../assets/fonts/Poppins-Regular.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins-Light";
  src: url("../assets/fonts/Poppins-Light.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins-Extra-Bold";
  src: url("../assets/fonts/Poppins-ExtraBold.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body,
html {
  width: 100%;
  min-height: 100%;
}
body {
  background: #f1f1f1;
  font-family: "Poppins-Regular";
  color: #000;
  overflow-x: hidden;
}
section#main {
  width: 100%;
  max-width: 1550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-x:hidden; 

  a {
    transition: 0.5s;
  }
}

section#main section#menu-top {
  width: 100%;
  min-height: 80px;
  background: #fff;

  /* blue bar */
  div.blue-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    background: #0f4d7e;
    padding: 10px;
    min-height: 30px;
    div.social-mobile {
      display: none;
      flex-direction: row;
      width: max-content;
      column-gap: 15px;
      margin-right: 15px;
      @media (max-width: 580px) {
        display: flex;
      }
    }
  }
  /* area menu */
  div.area-menu {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #fff;
    padding: 25px 100px;
    align-items: center;
    justify-content: space-between;
    @media (max-width: 1100px) {
      padding: 20px;
    }
    @media (max-width: 580px) {
      padding: 20px 15px;
    }
    a.collapsed {
      display: none;
      @media (max-width: 910px) {
        display: flex;
      }
    }
    img.logo-top {
      width: 100%;
      max-width: 200px;
      height: auto;
      @media (max-width: 580px) {
        max-width: 100px;
      }
    }

    div.group-menu {
      position: relative;
      width: 100%;
      max-width: 650px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      @media (max-width: 910px) {
        display: none;
      }

      ul.menu-opt {
        width: 100%;
        max-width: 900px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        column-gap: 15px;

        li {
          a {
            font-family: "Gilroy-Medium";
            font-size: 15px;
            text-transform: uppercase;
            font-weight: 600;
          }
        }
      }
      ul.social-desk {
        display: flex;
        width: max-content;
        column-gap: 10px;
      }
    }
    ul.menu-mobile-opt {
      position: absolute;
      display: none;
      flex-direction: column;
      top: 150px;
      right: 15px;
      background: #0f4d7e;
      padding: 20px;
      row-gap: 8px;
      z-index: 4;
      &.hidden {
        display: none;
      }
      @media (max-width: 910px) {
        display: flex;
      }
      @media (max-width: 580px) {
        top: 120px;
      }
      li {
        a {
          font-size: 14px;
          text-transform: uppercase;
          color: #fff;
          font-weight: 600;
          &:hover {
            color: yellow;
          }
        }
      }
    }
  }
}

/* banner top */
section#main section#banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 657px;
  padding: 50px 200px;
  background: url(../assets/images/banner-top/bg-desktop.jpg) no-repeat top
    center;
  background-size: cover;
  @media (max-width: 1270px) {
    padding: 50px;
  }
  @media (max-width: 950px) {
    padding: 50px 25px;
  }
  @media (max-width: 910px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  div.groupText {
    width: max-content;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    @media (max-width: 910px) {
      align-items: center;
      justify-content: center;
    }
    h2 {
      font-family: "Averta-Extra-Bold";
      color: #fff;
      font-size: 70px;
      line-height: 1em;
      margin-bottom: 15px;
      text-shadow: 1px 4px 4px rgba(0, 0, 0, 0.25);
      @media (max-width: 910px) {
        text-align: center;
      }
      @media (max-width: 580px) {
        font-size: 50px;
      }
    }
    p {
      font-family: "Averta-Light";
      font-size: 23px;
      color: #fff;
      line-height: 1.1em;
      text-shadow: 1px 4px 4px rgba(0, 0, 0, 0.25);
      @media (max-width: 910px) {
        text-align: center;
        margin-bottom: 40px;
      }
      @media (max-width: 580px) {
        font-size: 18px;
      }
    }
  }
}

/* form contact  */
section#main div.group-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 450px;
  height: auto;
  @media (max-width: 910px) {
    width: 100%;
    max-width: 500px;
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 580px) {
    width: 90%;
  }
  p {
    margin-bottom: 20px;
    color: #fff;
  }

  form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    @media (max-width: 910px) {
      align-items: center;
      justify-content: center;
    }
    input.field {
      width: 100%;
      background: #fff;
      padding: 15px;
      margin-bottom: 15px;
      border-radius: 5px;
    }
    button.cta {
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 10px;
      width: max-content;
      padding: 15px;
      background: #79b826;
      border-radius: 5px;
      transition: 0.5s;
      &:hover {
        background: #37f412;
      }
      @media (max-width: 580px) {
        margin-top: 20px;
      }
      p {
        font-family: "Gilroy-Medium";
        font-size: 20px;
        color: #000;
        margin: 0;
        text-transform: uppercase;
      }
    }
  }
  div.api-response {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
    min-height: 40px;
    font-size: 18px;
    color: yellow;
  }
}

/* Advantage */
section#main section#advantage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #f6e4c4;
  padding: 50px 100px;
  @media (max-width: 910px) {
    padding: 50px 20px;
  }

  h2 {
    font-family: "Poppins-Medium";
    font-size: 45px;
    color: #0f4d7e;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.1em;
    @media (max-width: 910px) {
      font-size: 35px;
    }
  }
  div.group-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    justify-content: space-between;
    row-gap: 20px;
    @media (max-width: 768px) {
      flex-wrap: nowrap;
      flex-direction: column;
      row-gap: 30px;
    }
    div.card {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      img {
        margin-bottom: 20px;
      }
      p {
        font-family: "Poppins-Extra-Light";
        font-size: 20px;
        text-align: center;
        color: #0f4d7e;
      }
    }
  }
}

/* Services */
section#main section#services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  padding: 50px 100px;
  background: url("../assets/images/services/bg_service.jpg") no-repeat center
    center;
  background-size: cover;
  min-height: 800px;
  h2 {
    font-family: "Poppins-Regular";
    font-size: 75px;
    line-height: 1em;
    margin-bottom: 30px;
    color: #fff;
    margin-bottom: 50px;
    @media (max-width: 910px) {
      font-size: 50px;
    }
    @media (max-width: 580px) {
      font-size: 40px;
      text-align: center;
      font-weight: 600;
    }
  }
  div.group-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    div.card {
      display: flex;
      flex-direction: column;
      width: max-content;
      height: auto;
      align-items: center;
      justify-content: center;
      margin-bottom: 50px;
      img {
        width: 100%;
        max-width: 120px;
        height: auto;
        margin-bottom: 20px;
        @media (max-width: 580px) {
          max-width:100px;
          height:auto;
        }
      }
      p {
        font-family: "Poppins-Light";
        font-size: 37px;
        color: #fff;
        text-align: center;
        line-height: 1.1em;
        @media (max-width: 910px) {
          max-width: 90%;
          font-size:30px;
        }
      }
    }
  }
  a.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 10px 20px;
    border-radius: 5px;
    background: #79b826;
    color: #fff;
    margin-top: 50px;
    font-family: "Gilroy-Medium";
    font-size: 19px;
    text-transform: uppercase;
  }
}

/* About */
section#main section#about {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 50px 100px;
  background: #fff;
  align-items: center;
  justify-content: center;
  @media (max-width: 1460px) {
    padding: 50px 20px 80px 20px;
  }
  h2 {
    font-family: "Poppins-Extra-Bold";
    font-size: 75px;
    color: #1e2d45;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.1em;
    @media (max-width: 768px) {
      font-size: 50px;
    }
    @media (max-width: 580px) {
      font-size: 40px;
    }
  }
  h4 {
    font-family: "Poppins-Regular";
    font-size: 25px;
    color: #1e2d45;
    margin-bottom: 50px;
    text-align: center;
    line-height: 1.1em;
    @media (max-width: 768px) {
      font-size: 20px;
    }
    @media (max-width: 580px) {
      font-size: 16px;
    }
  }
  div.group-info {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    column-gap: 40px;
    @media (max-width: 1300px) {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    img {
      width: 100%;
      max-width: 750px;
      height: auto;
    }
    p {
      width: 100%;
      max-width: 500px;
      height: auto;
      line-height: 1.4em;
      font-family: "Averta-Light";
      font-size: 23px;
      color: #1e2d45;
      @media (max-width: 1300px) {
        max-width: 900px;
        margin-bottom: 50px;
      }
      @media (max-width: 580px) {
        font-size: 20px;
        letter-spacing: -1px;
        line-height: 1.5em;
      }
    }
  }
}

/* footer  */
section#main footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px;
  background: #1e2d45;
  @media (max-width: 580px) {
    padding: 50px 15px;
  }

  h2 {
    font-family: "Poppins-Medium";
    font-size: 70px;
    color: #fff;
    margin-bottom: 100px;
    text-align: center;
    line-height: 1.1em;
    @media (max-width: 580px) {
      font-size: 45px;
    }
    &.big {
      font-family: "Poppins-Extra-Bold";
      margin-top: 100px;
      font-size: 90px;
      letter-spacing: -1px;
      @media (max-width: 580px) {
        font-size: 45px;
        margin-bottom: 20px;
        margin-top:0;
      }
    }
  }
  div.group {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 50px;
    @media (max-width: 580px) {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    div.l_side {
      display: flex;
      flex-direction: column;
      @media (max-width: 580px) {
        margin-bottom: 20px;
      }

      a {
        font-family: "Poppins-Regular";
        color: #fff;
        font-size: 25px;
        text-decoration: none
        @media (max-width: 580px) {
          font-size: 20px;
        }
        &.contact {
          font-family: "Poppins-Light";
        }
      }
    }
  }
}
div.sign {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #79b826;
  column-gap: 10px;
  p {
    font-family: "Gilroy-Refular";
    font-size: 16px;
    color: #fff;
  }
  a {
    font-family: "Gilroy-Refular";
    font-size: 16px;
    color: #fff;
    font-weight: 600;
  }
}
