        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #0f766e;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #64748b;
            --success: #10b981;
        }
section{
    align-items: center;
    justify-content: center;
    display: flex;
}
.btn-consultar{
    text-decoration: none;
    color: white;
}
/*contadores*/
.contadores{
    align-items: center;
    justify-content: space-around;
    display: flex;
    height: 100px;
    background: var(--dark);
}
.icon i{
    color: var(--light);
    font-size: 30px;
    text-align: center;
    margin: 4px;
}
.icon{
    display: flex;
    flex-direction: column;
}
.icon p{
    color: #fff;
    font-size: 25px;
}
/*sobre*/
.all-about{
    align-items: center;
    justify-content: center;
    display: flex;
}
.about{
    align-items: center;
    justify-content: space-around;
    display: flex;
    width: 80%;
    margin: 20px;
}
.img{
    width: 50%;
    overflow: hidden;
}
.img img{
    border-radius: 20px;
    width: 400px;
}
.text-about {
    width: 50%;
}
.text-about h1, p{
    color: #fff;
}

/*card_service*/
.all-cards{
    align-items: center;
    justify-content: center;
    display: flex;
}
.cards{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
}
.card{
    width: 300px;
    height: 425px;
    border-radius: 12px;
    margin: 10px;
    border: 1px solid #757373;
    overflow: hidden;
}
.portfolio-image {
    overflow: hidden;
    height: 250px;
    background: linear-gradient(135deg, rgb(125, 125, 204), rgb(37, 33, 29));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
 }

.content {
    padding: 25px;
}
.content p{
    color: var(--light);
    margin-top: 5px;
    margin-bottom: 5px;
}
.content h3{
    color: #fff;

}
.content a{
    color: skyblue;
    text-decoration: none;
    margin-top: 8px;
}
/*serviços*/
.services{
    align-items: center;
    justify-content: center;
    display: flex;
}
.all-services{
    align-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, 2fr);
}
.service{
    padding: 12px;
    border: 1px solid #fff;
    border-radius: 15px;
    margin: 15px;
    width: 450px;
}

/* ===============================
   RESPONSIVIDADE (MOBILE)
   NÃO REMOVE NADA DO TEU CSS
=================================*/

/* impedir scroll lateral */
html, body{
    overflow-x: hidden;
}



/* tablets e telemóveis */
@media (max-width: 1024px){

    section{
        flex-direction: column;
    }

    /* HERO */
    .hero-container{
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .right button{
        width: 100%;
        max-width: 250px;
    }

    /* CONTADORES */
    .contadores{
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
        gap: 20px;
    }

    /* ABOUT */
    .about{
        flex-direction: column;
        width: 95%;
        text-align: center;
        gap: 20px;
    }

    .img{
        width: 100%;
    }

    .img img{
        width: 90%;
        max-width: 350px;
    }

    .text-about{
        width: 100%;
        padding: 10px;
    }

    /* CARDS (SERVIÇOS) */
    .cards{
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .card{
        width: 90%;
        max-width: 340px;
    }

    /* LISTA DE SERVIÇOS */
    .all-services{
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .service{
        width: 90%;
        max-width: 400px;
    }

    /* FOOTER */
    .rodape{
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 20px;
    }

    .rodape .logo img{
        width: 120px;
    }

    .links ol,
    .link ol{
        padding: 0;
        list-style: none;
    }

}

/* TELEFONES PEQUENOS */
@media (max-width: 600px){

    h1{
        font-size: 26px;
    }

    p{
        font-size: 14px;
    }

    .cards{
        grid-template-columns: 1fr;
    }

    .portfolio-image{
        height: 180px;
        font-size: 1.2rem;
    }

    .card{
        height: auto;
    }

    .content{
        padding: 15px;
    }

    .icon p{
        font-size: 20px;
    }

    .icon i{
        font-size: 24px;
    }

}
