@font-face {
    font-family: "fonteTitulo";
    src: url("../fonte/fontePrincipal.ttf") format("opentype");
    font-weight: 500;

}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar-thumb {
  background-color: #D07024;
  border-radius: 10px;
}

body {
  background-color: #ff8c00;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins";
}

button {
  font-family: "Poppins";
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  border: none;
  outline: none;
  font-size: 16px;
  opacity: .8;
  transition: all 0.3s;
  cursor: pointer;
}

p {
  font-size: 1.2vw;
  opacity: .7;
}

a {
  color: white;
  opacity: .7;
  transition: all .3s;
  text-decoration: none;
  &:hover {
    opacity: 1;
  }
}

header {
  width: 100%;
  display: flex;
  padding: 4%;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 99;

  ul {
    display: flex;
    gap: 20px;
    list-style-type: none;
    background-color: rgb(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(20px);
  }
}

.logoTipo {
  width: 60px;
}

section {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 4%;
}

.secao1 {
  background-image: url("../img/fundo1.webp");
  background-size: cover;
  background-position: center;
  height: 100vh;
  justify-content: center;
  align-items: center;

  p {
    text-align: center;
  }

    h2 {
      font-family: "fonteTitulo";
      font-size: 10vw;
      color: #FF5C00;
      opacity: .85;
      background-image: linear-gradient(90deg, #FF5C00, #FF0055, #FFB000, #FF0055, #FF5C00);
      background-size: 300% 100%;
      background-position: 0% 50%;

      -webkit-background-clip: text;
          background-clip: text;
          
      -webkit-text-fill-color: transparent;
          color: transparent;

      animation: lavaTexto 7s ease-in-out infinite;
    }
}
@keyframes lavaTexto {
      0% {
          background-position: 0% 50%;
      }

      50% {
          background-position: 100% 50%;
      }

      100% {
          background-position: 0% 50%;
      }
  }

.conteudoPrincipal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
  }
}

.divBotoes {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  opacity: 1;
}

.botaoPrimario {
  background-color: rgba(255, 255, 255, 0.9);
  gap: 12px;
  padding: 6px 6px 6px 20px;

  a {
    font-family: "Poppins";
    color: #000000;
  }
  img {
    width: 44px;
  }
  &:hover {
    transition: .3s;
    opacity: 1;
  }
}

.botaoSecundario {
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  &:hover {
    transition: .3s;
    opacity: 1;
  }
}

.tituloSecao {
  z-index: 2;
  font-size: 60px;
  font-weight: 500;
}

.secao2 {
  align-items: center;
  background-image: url("../img/fundo2.webp");
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.secao2::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(#020113, #02011300, #020113);
  position: absolute;
  top: 0;
  left: 0;
}
.secao2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent,
        #020113
    );
    z-index: 0;
}

.secaoFinal {
    background-color: #020113;
    text-align: center;
    align-items: center;
    position: relative;
    padding: 30px 0;

    img {
        height: 40px;
        width: 40px;
    }

    footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    }
    p{
        margin: 5px 0 0;
    }

}


.secao3 {
    background-image: url("../img/fundo3.webp");
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    &::before {
        content: "";
        width: 100%;
        height: 100%;
        background: linear-gradient(
            #020113,
            #02011300,
            #020113
        );
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

    &::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 180px;
        background: linear-gradient(
            to bottom,
            transparent,
            #020113
        );
        z-index: 0;
    }

    .tituloSecao {
        position: relative;
        z-index: 1;
        margin-bottom: 20px;
        text-align: center;
        font-size: 3rem;
        font-weight: 700;
        color: #ffffff;
    }

    .descricaoOrcamento {
        position: relative;
        z-index: 1;
        max-width: 700px;
        margin-bottom: 50px;
        text-align: center;
        font-size: 1.1rem;
        line-height: 1.8;
        color: #bcb9c9;
    }

    .formularioOrcamento {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 850px;
        padding: 45px;
        display: flex;
        flex-direction: column;
        gap: 25px;
        border: 1px solid rgba(208, 112, 36, 0.35);
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: 0 0 40px rgba(208, 112, 36, 0.08);
        backdrop-filter: blur(10px);

        .campo {
            display: flex;
            flex-direction: column;
            gap: 10px;

            label {
                font-size: 0.95rem;
                font-weight: 600;
                color: #ffffff;
            }

            input,
            select,
            textarea {
                width: 100%;
                padding: 15px 18px;
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 12px;
                outline: none;
                background: rgba(0, 0, 0, 0.25);
                color: #ffffff;
                font-family: "Poppins", sans-serif;
                font-size: 0.95rem;
                transition: 0.3s ease;

                &:focus {
                    border-color: #d07024;
                    box-shadow: 0 0 15px rgba(208, 112, 36, 0.2);
                }

                &::placeholder {
                    color: #777482;
                }
            }

            select {
                cursor: pointer;

                option {
                    background: #030013;
                    color: #ffffff;
                }
            }

            textarea {
                min-height: 130px;
                resize: vertical;
            }
        }

        .botaoEnviar {
            width: 100%;
            margin-top: 10px;
            padding: 16px 25px;
            border: none;
            border-radius: 40px;
            background: #d07024;
            color: #ffffff;
            font-family: "Poppins", sans-serif;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s ease;

            &:hover {
                transform: translateY(-3px);
                box-shadow: 0 10px 30px rgba(208, 112, 36, 0.3);
            }

            &:active {
                transform: translateY(0);
            }
        }
    }
}

.menuLateral {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    padding: 100px 40px 40px;
    background: rgb(3, 0, 19, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 200;
    transition: right 0.4s ease;

    h2 {
        font-size: 35px;
        margin-bottom: 40px;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 25px;

        a{
            font-size: 20px;
            color: white;
            opacity: .7;

            &:hover {
                opacity: 1;
                color: #FF5C00;
            }
        }
    }
}

.menuLateral.aberto {
    right: 0;

    .animarMenu {
        opacity: 1;
        transform: translateX(0);
    }
    
    .animarMenu:nth-child(1) {
        transition-delay: .2s;
    }
    .animarMenu:nth-child(2) {
        transition-delay: .3s;
    }
    .animarMenu:nth-child(3) {
        transition-delay: .4s;
    }
    .animarMenu:nth-child(4) {
        transition-delay: .5s;
    }
    .animarMenu:nth-child(5) {
        transition-delay: .6s;
    }
    .animarMenu:nth-child(6) {
        transition-delay: .7s;
    }
    .animarMenu:nth-child(7) {
        transition-delay: .8s;
    }
}

.fecharMenu {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.fundoMenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 150;
    transition: .4s;
}

.fundoMenu.aberto {
    opacity: 1;
    visibility: visible;
}

.animar {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animarEsquerda {
    opacity: 0;
    transform: translateX(-80px);
    transition: .8s ease;
}

.animarDireita {
    opacity: 0;
    transform: translateX(80px);
    transition: .8s ease;
}

.animarCima {
    opacity: 0;
    transform: translateY(80px);
    transition: .8s ease;
}

.animarMenu {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .5s ease, transform .5s ease;
}

.animar.visivel, .animarEsquerda.visivel,
.animarDireita.visivel, .animarCima.visivel {
    opacity: 1;
    transform: translateY(0);
}

.centro {
  text-align: center;
}


/* TABLET */
@media screen and (min-width: 701px) and (max-width: 1024px) {

  header {
    padding: 5%;

    ul {
      gap: 15px;
      padding: 14px 18px;

      li {
        a {
          font-size: 15px;
        }
      }
    }
  }

  .logoTipo {
    width: 55px;
  }

  section {
    padding: 5%;
  }

  .secao1,
  .secao2 {
    min-height: 100vh;
    height: auto;
  }

  .secao1 {
    h2 {
      font-size: 13vw;
    }

    p {
      font-size: 18px;
    }
  }

  .conteudoPrincipal {
    h1 {
      font-size: 34px;
    }
  }

  .divBotoes {
    gap: 15px;
  }

  p {
    font-size: 18px;
  }

  .tituloSecao {
    font-size: 48px;
    text-align: center;
  }

  .secao3 {
    min-height: auto;
    padding: 100px 5% 150px;

    .tituloSecao {
      font-size: 48px;
    }

    .descricaoOrcamento {
      max-width: 650px;
      font-size: 18px;
      margin-bottom: 40px;
    }

    .formularioOrcamento {
      max-width: 750px;
      padding: 35px;
      gap: 22px;

      .campo {
        label {
          font-size: 15px;
        }

        input,
        select,
        textarea {
          font-size: 16px;
        }
      }

      .botaoEnviar {
        font-size: 16px;
      }
    }

    &::after {
      height: 150px;
    }
  }
}


/* CELULAR */
@media screen and (max-width: 700px) {

  header {
    padding: 20px;

    ul {
      gap: 10px;
      padding: 12px 14px;

      li {
        a {
          font-size: 14px;
        }
      }
    }
  }

  .logoTipo {
    width: 45px;
  }

  section {
    padding: 20px;
  }

  .secao1,
  .secao2 {
    min-height: 100vh;
    height: auto;
  }

  .secao1 {
    h2 {
      font-size: 18vw;
    }

    p {
      font-size: 18px;
    }
  }

  .conteudoPrincipal {
    h1 {
      font-size: 28px;
    }
  }

  .divBotoes {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .botaoPrimario,
  .botaoSecundario {
    font-size: 14px;
  }

  .tituloSecao {
    font-size: 38px;
    text-align: center;
  }

  p {
    font-size: 18px;
  }

  .secao3 {
    min-height: auto;
    padding: 90px 20px 120px;

    .tituloSecao {
      font-size: 38px;
      margin-bottom: 15px;
    }

    .descricaoOrcamento {
      max-width: 100%;
      margin-bottom: 30px;
      font-size: 16px;
      line-height: 1.6;
    }

    .formularioOrcamento {
      width: 100%;
      max-width: 100%;
      padding: 25px 18px;
      gap: 20px;
      border-radius: 20px;

      .campo {
        gap: 8px;

        label {
          font-size: 14px;
        }

        input,
        select,
        textarea {
          padding: 14px;
          font-size: 16px;
          border-radius: 10px;
        }

        textarea {
          min-height: 120px;
        }
      }

      .botaoEnviar {
        width: 100%;
        padding: 15px 20px;
        font-size: 15px;
      }
    }

    &::after {
      height: 120px;
    }
  }

  .secaoFinal {
    padding: 25px 15px;

    footer {
      gap: 20px;
    }
  }
}


/* CELULARES PEQUENOS */
@media screen and (max-width: 400px) {

  header {
    padding: 15px;

    ul {
      gap: 7px;
      padding: 10px;

      li {
        a {
          font-size: 12px;
        }
      }
    }
  }

  .logoTipo {
    width: 40px;
  }

  section {
    padding: 15px;
  }

  .secao1 {
    h2 {
      font-size: 20vw;
    }

    p {
      font-size: 16px;
    }
  }

  .conteudoPrincipal {
    h1 {
      font-size: 24px;
    }
  }

  .tituloSecao {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }

  .secao3 {
    padding: 80px 15px 100px;

    .tituloSecao {
      font-size: 32px;
      margin-bottom: 15px;
    }

    .descricaoOrcamento {
      font-size: 15px;
      line-height: 1.5;
      margin-bottom: 25px;
    }

    .formularioOrcamento {
      padding: 20px 15px;
      gap: 18px;
      border-radius: 18px;

      .campo {
        gap: 7px;

        label {
          font-size: 13px;
        }

        input,
        select,
        textarea {
          padding: 13px;
          font-size: 15px;
          border-radius: 9px;
        }

        textarea {
          min-height: 110px;
        }
      }

      .botaoEnviar {
        padding: 14px;
        font-size: 14px;
      }
    }

    &::after {
      height: 100px;
    }
  }

  .secaoFinal {
    padding: 20px 10px;

    footer {
      gap: 15px;
    }

    img {
      width: 35px;
      height: 35px;
    }
  }
}



/* CORREÇÕES PARA CELULAR */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #020113;
}

* {
    min-width: 0;
}

img,
input,
select,
textarea,
button {
    max-width: 100%;
}

@media screen and (max-width: 700px) {

    .secao1 {
        width: 100%;
        max-width: 100%;
        overflow: hidden;

        h2 {
            width: 100%;
            max-width: 100%;
            font-size: clamp(32px, 12vw, 58px);
            line-height: 1.15;
            text-align: center;
            overflow-wrap: break-word;
        }
    }

    .secao3 {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding-left: 16px;
        padding-right: 16px;

        .tituloSecao {
            width: 100%;
            max-width: 100%;
            font-size: clamp(26px, 8vw, 38px);
            line-height: 1.2;
            text-align: center;
            overflow-wrap: break-word;
        }

        .descricaoOrcamento {
            width: 100%;
            max-width: 100%;
            overflow-wrap: break-word;
        }

        .formularioOrcamento {
            width: 100%;
            max-width: 100%;
            padding: 22px 16px;

            .campo {
                width: 100%;
                max-width: 100%;

                input,
                select,
                textarea {
                    width: 100%;
                    max-width: 100%;
                    min-width: 0;
                }
            }
        }
    }

    .menuLateral {
        width: min(380px, 100%);
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {

    .secao1 {
        h2 {
            font-size: clamp(28px, 11vw, 44px);
        }
    }

    .secao3 {
        .tituloSecao {
            font-size: clamp(24px, 7.5vw, 30px);
        }

        .formularioOrcamento {
            padding: 18px 12px;
        }
    }
}
