/* Responsividade - JRA Engenharia */

/* Tablet (até 1024px) */
@media screen and (max-width: 1024px) {
    .centraliza.w-1000,
    #conteudo,
    footer > div {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    header > div.centraliza.w-1000 {
        width: 95%;
    }
}

/* Mobile (até 768px) */
@media screen and (max-width: 768px) {

    /* Header */
    header {
        height: auto;
        padding: 15px 0;
    }
    header > div.centraliza.w-1000 {
        width: 90%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #logo {
        position: static;
        margin-bottom: 10px;
    }
    #logo img {
        height: 100px;
    }
    #header-titulo {
        position: static;
        transform: none;
        text-align: center;
    }
    .header-subtitulo {
        font-size: 20px;
        letter-spacing: 1px;
        line-height: 28px;
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Conteúdo principal */
    #conteudo {
        width: 92%;
        padding: 10px;
        top: 0;
    }

    /* Boxes laranja */
    #boxes {
        height: auto;
    }
    .box-laranja {
        float: none;
        width: auto;
        height: auto;
        margin: 0 0 15px 0;
    }
    .box-laranja h2 {
        height: auto;
    }

    /* Seção Sobre */
    #sobre {
        float: none;
        width: 100%;
    }

    /* Box contato */
    #box-contato {
        float: none;
        width: auto;
        margin-left: 0;
        margin-top: 20px;
    }

    /* Onde estamos */
    .onde-estamos-content {
        flex-direction: column;
    }
    .onde-estamos-mapa {
        margin-left: 0;
        margin-top: 15px;
    }
    #onde-estamos #mapa img {
        width: 100%;
        height: auto;
    }

    /* Footer */
    footer > div {
        width: 90%;
    }
    footer nav {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    /* Popup */
    #popup2 {
        margin: 10px;
    }

    #popup2,
    .bMulti {
        min-width: auto;
        width: auto;
        padding: 15px;
    }

    .button.b-close,
    .button.bClose {
        right: 5px;
        top: 5px;
    }

    /* Imagens */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Mobile pequeno (até 480px) */
@media screen and (max-width: 480px) {
    .header-subtitulo {
        font-size: 16px;
    }
    #logo img {
        height: 70px;
    }
    .box-laranja h2 {
        font-size: 18px;
        line-height: 20px;
    }
    #box-contato h2 {
        font-size: 18px;
    }
    #onde-estamos h2 {
        font-size: 20px;
    }
    footer h3 {
        font-size: 16px;
    }
}
