*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #80808029;
    font-family: 'Raleway', sans-serif;
}

/*topo da página*/

header{
    width: 100%;
    height: 55px;
    background-color: #fff;
    display: flex; 
    justify-content: center;
}

.secao-limitada{
    max-width: 1024px;
}

.topo{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    color: #5d15d1;
}
   
.topo h1{
    margin-left: 3px;
    font-size: 24px;
    font-weight: 10;
}

.topo img{
    width: 32px;
    height: 32px;
}

/*css seção do formulario*/

section.orcamento{
    width: 100%;
    background-image: url('../IMAGENS/bahia.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.formulario-cabecalho{
    width: 100%;
    height: 35px;
    background-color: #5d15d1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;

}
.formulario-cabecalho img{
    width: 20px;
    height: 20px;
    rotate: -45deg;
    margin-right: 5px
}

.formulario-area{
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 50px 0 50px 0;
}

.container-formulario{
    width: 100%;
    padding: 30px 25px 20px 25px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.subtitulo-formulario{
    font-size: 22px;
    margin-bottom: 24px;
}

/*formulario*/

.formulario label{
    font-size: 16px;
}

.formulario select,
.formulario input{
    width: 100%;
    height: 32px;
    margin: 10px 0 10px 0;

}

.formulario input{
    padding: 0 5px 0 5px;
}

.formulario select{
    padding: 0 3px 0 3px;
}

.formulario-campo-duplo{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.formulario-campo-duplo div {
    width: calc(50% - 10px);
}

.radio {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.radio div {
    display: flex;
    align-items: center;
    width: 120px;
}

.radio input {
    width: 15px;
}

.radio label {
    margin: 0 0 0 8px;
}

.formulario button {
    width: 160px;
    height: 32px;
    border: none;
    background: #5d15d1;
    font-size: 16px;
    color: #fff;
    margin: 12px 0 0 0;
    cursor: pointer;
}

/*ofertas*/

section.area-ofertas{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    margin: 32px auto 0 auto;
}

.subtitulo-ofertas{
    font-size: 20px;
    margin-bottom: 10px;
}

.subtitulo-secundario-ofertas{
    font-weight: normal;
    font-size: 15px;
    margin-bottom: 15px;
}

.subtitulo-secundario-ofertas span{
    font-weight: bold;
}

.galeria-de-ofertas{
    width: 100%;
    height: 375px;
    display: flex;
    justify-content: space-around;
}

.oferta-destaque{
    position: relative;
    width: calc(50% - 10px);
    height: 100%;
}
.mini-ofertas{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: calc(50% - 10px);
    height: 100%;
}

figure img{
    width: 100%;
    height: 100%;
}

.mini-ofertas figure{
    position: relative;
    width: calc(50% - 10px);
    margin-left: 5px;
    flex-grow: 1;
}

figcaption{
    width: 100%;
    background-color: rgba(0, 0, 0, 50%);
    padding: 5px 10px 5px 10px;
    font-size: 17px;
    color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
}

section.area-anuncios{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    margin: 32px auto 0 auto;
}

.subtitulo-anuncios{
    font-size: 20px;
    margin-bottom: 10px;
}

.subtitulo-secundario-anuncios{
    font-weight: normal;
    font-size: 15px;
    margin-bottom: 15px;
}

.galeria-anuncios{
    width: 100%;
    display: flex;
    gap: 10px;
}

.galeria-anuncios figure{
    width: calc(50% - 10px);
    height: 100%;
    object-fit: cover;
}

.galeria-anuncios img{
    width: 100%;
    height: 100%;
}

.galeria-anuncios figcaption{
    width: 100%;
    padding: 20px;
    background-color: #fff;
    position: relative;
    
}

.galeria-anuncios figcaption h4{
    color: black;
    font-size: 16px;
    
}
figcaption p{
    font-size: 14px;
    color: gray;
    margin-top:15px;
}

footer{
    width: 100%;
    background-color: #5d15d1;
    margin-top: 32px;
}

.rodape{
    display: flex;
    justify-content: space-around;
}

.contato,
.rede-sociais{
    display: flex;
    flex-direction: column;
    margin: 15px 0 15px 0;
}

.titulo-contato,
.titulo-rede-sociais{
    color: #fff;
    margin-bottom: 15px;
    font-size: 20px;
}

.contato img,
.rede-sociais img{
    width: 18px;
}

.contato span,
.rede-sociais span{
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
}

.contato div,
.rede-sociais div{
    display: flex;
    align-items: center;
    justify-content: start;
    margin: 5px 0 5px 0;
}


@media(max-width:1100){
    .secao-limitada{
        width: 90%;
    }
}

@media(max-width:768px){
    
    .formulario button{
        width: 100%;
    }
    .galeria-de-ofertas{
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .mini-ofertas{
        width: 100%;
    }
    .galeria-de-ofertas figure{
        height: 225px;
        margin-top: 15px;
    }

    .galeria-de-ofertas figure,
    .galeria-de-ofertas figcaption{
        width: 100%;

    }

    .galeria-anuncios{
        display: flex;
        flex-direction: column;
    }

    .galeria-anuncios figure{
        width: 100%;
        margin-top: 15px;
    }

    .rodape {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rodape div,
    .rede-sociais div{
        width: 240px;
    }
}

@media(max-width:540px){
    .formulario-campo-duplo, .radio {
        flex-direction: column;
    }

    .formulario-campo-duplo div, .radio div {
        width: 100%;
    }
}
