@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:wght@400;600&display=swap');

:root{
    --fonte-primaria: 'Krona One', sans-serif;
    --fonte-secundaria: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
}

body{
    background-image: url('assets/fundo2.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-size: cover;
    background-attachment: fixed;
    box-sizing: border-box;
    font-family: var(--fonte-secundaria);
}

/* MENU DE NAVEGAÇÃO */
.topnav {
    backdrop-filter: brightness(35%);
    display: none;
    flex-direction: column;
    align-content: center;
    text-align: center;
    position: absolute;
    top: 70px;
    left: 0;
    width: 200px;
    z-index: 1000;
    margin: auto;
}

.topnav a {
    padding: 12px 16px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    display: block;
    transition: 0.3s;
}

.topnav a:hover {
    background-color: #575757;
}

.topnav a.active {
    background-color: rgba(0, 0, 255, 0.507);
    color: white;
}

.icon {
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
    grid-row: 1;
    grid-column: 1;
}

.menu-img {
    width: 40px;
    height: auto;
}

.cabecalho{
    display: flex;
    flex-direction: grid;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
    align-items: flex-start; 
    margin: 1rem;
    align-content: center;
    position:relative;

}


.cabecalho__titulo{
    font-family: var(--fonte-primaria);
    font-size: 5.25rem;
    font-weight: bold;
    color: aliceblue;
    max-width: 28.75rem;
    height: auto;
    text-align: justify;
    grid-row: 2;
    grid-column: 1;
}

.cabecalho__legenda__texto{
    font-family: var(--fonte-secundaria);
    background-color: rgba(0, 0, 0, 0.192);
    background-blend-mode: screen;
    border-radius: 1rem;
    max-width: 16.25rem;
    height: auto;
    font-size: 0.875rem;
    font-weight: bold;
    color: aliceblue;
    text-align: left;
    padding: 1rem;
    inset-block-end: auto;
    grid-row:3;
    grid-column: 1;
}

.cabecalho__logo{
    width: 100%;
    max-width: 16.25rem;
    height: auto;
    grid-row: 1;
    grid-column: 5;
}

.cabecalho__itens{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5625rem;
    width: 100%;
    margin: 0;
    
}

.cabecalho__itens__item{
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: saturate(3);
    border-radius: 1rem;
    max-width: 12.5rem;
    height: 18.75rem;
    padding: 1rem;
    gap: 1rem;
}

.cabecalho__itens__item__titulo{
font-family: var(--fonte-primaria);
font-size: 0.875rem;
font-weight: bold;
color: aliceblue;
text-align: center;
}

.cabecalho__itens__item__icon{
    max-width: 8.75rem;
    height: auto;

}

.cabecalho__itens__item__texto{
    font-family: var(--fonte-secundaria);
    font-size: 0.75rem;
    font-weight: bold;
    color: aliceblue;
    text-align: center;
}

.barra__marcas{
    display: flex;
    backdrop-filter: brightness(70%);
    border-radius: 1rem;
    align-items: center;
    justify-content: center;
    max-width: 45rem;
    height: auto;
    margin: 0 auto;
}

.barra__marcas__texto{
    font-family: var(--fonte-primaria);
    font-size: 1rem;
    font-weight: bold;
    color: aliceblue;
    text-align: center;
    margin: 1rem;
}
    

.barra__marcas__logos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem;

}

.barra__marcas__logos__logo{
    max-height: 13rem;
    width: auto;
}

.chamada_contato{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.50rem;
    backdrop-filter: brightness(70%);
    border-radius: 1rem;
    max-width: 45rem;
    height: auto;
    margin: 0 auto;
    padding: 1rem;
}

.chamada_contato__texto{
    font-family: var(--fonte-primaria);
    font-size: 1rem;
    font-weight: bold;
    color: aliceblue;
    text-align: center;
}

.chamada_contato__texto__legenda{
    font-family: var(--fonte-secundaria);
    font-size: 0.85rem;
    font-weight: bold;
    color: aliceblue;
    text-align: center;
}

.formulario {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.formulario form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: saturate(2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 43rem;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.formulario__input,
.formulario__input__mensagem {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 1rem;
    background-color: rgba(0, 0, 0, 0.4); /* escurece o campo */
    color: white;
    font-size: 1rem;
}

.formulario__input::placeholder,
.formulario__input__mensagem::placeholder {
    font-family: var(--fonte-secundaria);
    color: rgba(255, 255, 255, 0.6);
}

.formulario__input__mensagem {
    height: 150px;
    resize: none;
}

.formulario__botao {
    align-self: flex-end;
    padding: 0.75rem 2rem;
    background: linear-gradient(45deg, #0066ff, #00ccff);
    color: white;
    font-family: var(--fonte-secundaria);
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.formulario__botao:hover {
    transform: scale(1.05);
}

.mensagem__status{
    font-family: var(--fonte-secundaria);
    font-size: 1rem;
    font-weight: bold;
    color: aliceblue;
    text-align: center;
    margin: 1rem;
}

.rodape{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    backdrop-filter: brightness(70%);
    max-height: 2rem;
    width: auto;
    margin: 0 auto;
    padding: 1rem;
}

.texto__rodape{
    font-family: var(--fonte-secundaria);
    font-size: 1.25rem;
    color: aliceblue;
    text-align: center;
}

.rodape__icones{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.rodape__icones__icone{
    max-height: 2rem;
    width: auto;
}

@media (max-width: 1024px) {
  .cabecalho {
    justify-content: space-between;
    align-items: center;
    /*flex-wrap: wrap;*/
   flex-flow: column-reverse nowrap;
    text-align: left;
    margin: 1rem;
    gap: 1rem;
  }

.cabecalho__texto {
    display: flex;
    flex-direction: row; 
    justify-content: space-evenly;
 }

  .cabecalho__titulo {
    font-size: 3rem;
    max-width: 60%;
    height: auto;
  }

  .topnav {
        width: 100%;
        top: 60px;
        position:absolute;
    }

    .icon {
        top: 0;
        left: 0;
        margin-top: -0.75rem;
        margin-left: -0.75rem;
        position:absolute;
    }

  .cabecalho__logo {
    max-width: 13rem;
    min-width: 8rem;
    flex-shrink: 0;
  }

  .cabecalho__legenda__texto {
    font-size: 0.75rem;
    width: 45%;
  }

  .cabecalho__itens {
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .cabecalho__itens__item{
    max-width: 22.5rem;
  }


  .barra__marcas,
  .chamada_contato {
    max-width: 90%;
  }

  .barra__marcas__texto{
    font-size: 0.75rem;
  }

  .barra__marcas__logos__logo {
    max-height: 9.25rem;
    width: auto;        
  }

  .rodape {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
  }

  .texto__rodape {
    font-size: 0.75rem;
  }

  .formulario form {
    max-width: 100%;
  }

  .formulario__input,
  .formulario__input__mensagem {
    font-size: 0.75rem;
  }

  .menu-img {
        width: 30px;
    }
}
