@import url('https://fonts.googleapis.com/css2?family=Miranda+Sans:ital,wght@0,400..700;1,400..700&display=swap');

*{
    margin: 0;
    padding: 0;
}

html {
    overflow-y: auto;
}

body {
    min-height: 100dvh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.cabecalho {
    display: flex;
    align-items: center;
    margin: 1%;
    
}

.cabecalho img {
    max-width: 100%;
    height: auto;
}

.cabecalho__menu {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: row;
    list-style: none;
    margin: 0 12.4% 0 0;
    gap: 2%;
    flex-flow: row wrap;
}

.cabecalho__menu a {
    font-size: 1.5rem;
    font-weight: 450;
    font-family: "Miranda Sans", sans-serif;
    text-decoration: none;
    color: #1351d8;
}

.cabecalho__menu a:hover {
    color: #1268b9;
}



.principal__home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-family: "Miranda Sans", sans-serif;
    margin: 1%;
    flex: 1;
}

.principal__home img {
    max-width: 100%;
    height: auto;
}



.principal__lancamento {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 20px;
}

.principal__lancamento iframe {
    padding: 25px 0 0 0;
    max-width: 100%;
    max-height: auto;
}

.principal__lancamento h2 {
    text-align: center;
    color: #1351d8;
    font-family: "Miranda Sans", sans-serif;
}

.principal__lancamento__texto {
    text-align: justify;
    width: 100%;
    max-width: 40rem;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 1.05rem;
    font-family: "Miranda Sans", sans-serif;
}

.principal__lancamento__lista {
    display: flex;
    list-style: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    font-family: "Miranda Sans", sans-serif;
    gap: 50px;
}

.principal__lancamento__lista__carros {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
}

.principal__lancamento__lista__carros__linha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.principal__lancamento__lista__carros__coluna {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.principal__lancamento__lista__carros__info {
    position: relative;
}

.principal__lancamento__lista__carros__info img {
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: block;
}

.texto {
    position: absolute;
    width: 300px;
    bottom: 20px;
    left: 30px;
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.principal__lancamento__lista__carros__info:hover .texto {
    opacity: 1;
}

.principal__lancamento__lista__carros__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.principal__lancamento__lista__carros__checkbox input {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.principal__lancamento__lista__carros__titulo {
    font-size: 1.25rem;
    color: #1351d8;
}

.principal__lancamento__lista__carros__valor {
    font-size: 1rem;
}

.principal__lancamento__botao {
    color: white;
    font-size: 1rem;
    font-family: "Miranda Sans", sans-serif;
    background-color: #1242ac;
    border: none;
    padding: 15px 50px;
    margin: 0 0 20px 0;
    border-radius: 16px;
}

.principal__lancamento__botao:hover {
    color: white;
    background-color: #1268b9;
    transform: scale(1.05);
    cursor: pointer;
}



.principal__contato {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.principal__contato img {
    width: 463px;
    height: auto;
}

.principal__contato_input {
    display: flex;
    flex-direction: column;
    font-size: 1.25rem;
    font-family: "Miranda Sans", sans-serif;
    gap: 2px;
}

.principal__contato_input input[type="text"] {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 0.875rem;
}

.principal__contato_input input[type="email"] {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 0.875rem;
}

.principal__contato_input input[type="number"] {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 0.875rem;
}

.principal__contato_input select[id="seletor"] {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 16px;
    font-size: 0.875rem;
}

.principal__contato__botao {
    margin-top: 10px;
    padding: 10px;
    background-color: #1242ac;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
}

.principal__contato__botao:hover {
    color: white;
    background-color: #1268b9;
    cursor: pointer;
    transform: scale(1.05);
}



.rodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3% 0.8%;
    background-color: #1b2f66;
    color: white;
    font-size: 1rem;
    font-family: "Miranda Sans", sans-serif;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.rodape img {
    width: 100%;
    height: auto;
}

.rodape__redes_sociais {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rodape__redes_sociais img {
    display: flex;
    max-width: 30px;
    max-height: 30px;
}

.rodape__direitos_autorais {
    margin: 0 6% 0 0;
}



@media (max-width: 850px) {
    .cabecalho {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .cabecalho img {
        width: 150px;
        height: auto;
    }

    .cabecalho__menu {
        margin: 0;
        gap: 4%;
        flex-flow: row wrap;
    }

    .cabecalho a {
        font-size: 1.1rem;
    }

    .principal__home {
        text-align: center;
        margin: 3%;
        font-size: 0.8rem;
    }

    .principal__lancamento h2 {
        font-size: 1.2rem;
    }

    .principal__lancamento__texto {
        font-size: 0.9rem;
    }

    .principal__contato {
        flex-direction: column;
    }

    .principal__contato img {
        width: auto;
        max-width: 100%;
        height: auto;
    }

    .principal__contato__botao {
        margin-bottom: 30px;
    }

    .rodape {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
        gap: 10px;
    }

    .rodape p {
        margin: 0;
    }
}

@media (max-width: 1269px) {
    .principal__lancamento iframe {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

@media (max-width: 1660px) {
    .texto {
    position: absolute;
    width: 260px;
    bottom: -110px;
    left: -280px;
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    }
}