@media (max-width: 769px) {

    header {
        width: 100%;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        margin: 0;
        padding: 10px;
    }

    .cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
    }

    .cards .flip-card-cobertura:last-child{
        grid-column: 1;
    }


    .nav.active {
        transform: translateX(0);
    }

    .nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: #383838;
        padding: 10px 0 0 0;
        margin: 0;
        z-index: 999;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    .nav a {
        color: #fff;
        width: 100%;
        height: 10%;
        padding: 20px;
        text-align: center;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        margin-top: 20%;
    }

    .nav a:hover {
        background-color: #cd7f32;
        color: #000;
    }

    #btn-list {
        display: none;
        font-size: 2rem;
        position: relative;
        border: none;
        background: transparent;
        border: none;
        padding: 0;
        outline: none;
    }

    .btnFechar {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
    }

    .titulo {
        display: flex;
        flex-direction: column;
        padding: 2px;
        margin: 2px;
    }

    .titulo p {
        font-size: 0.60rem;
    }

    .titulo h1 {
        font-size: 1.15rem;
    }

    .contato-servico {
        display: flex;
        flex-wrap: wrap;
        margin-top: 25px;
    }

    .trabalhos {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 15px;
    }

    .info-trabalho {
        padding: 20px;
        gap: 10px;
        max-width: 95%;
    }

    .info-trabalho img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .info-trabalho h2 {
        font-size: 1.2rem;
    }

    .container-header h1 {
        font-size: 2.5rem;
    }

    .container-header p {
        font-size: 20px;
    }

    .orcamento p {
        font-size: 1.0rem;
        align-items: center;
        margin: 5%;
        text-align: center;
        font-weight: 500;
    }

    .footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 30px 20px;
    }

    .filtros-galeria {
        flex-wrap: wrap;
    }

    .text{
        font-size: 15px;
    }

    .filtros-galeria button {
        font-weight: 500;
    }

    .tittle {
        padding: 20px 10px 10px;
    }
}

@media (max-width: 768px) {
    #btn-list {
        display: block;
    }
}