﻿/*********** Numeros *************/
.numeros .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas desktop */
    gap: 40px;
    margin-bottom: 80px;
}

.numeros .item {
    padding: 20px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center top;
}

.numeros .item .value {
    padding-top: 50px;
    font-size: 40pt;
    font-weight: bold;
}

.numeros .item .text {
    font-size: 14pt;
    margin-top: 10px;
}

/* Ícones de fundo para cada item */
/* .numeros .item:nth-child(1) {background-image: url('../img/numeros/icone_DLPIEFSS.png');}
.numeros .item:nth-child(2) {background-image: url('../img/numeros/icone_instalacoes.png');}
.numeros .item:nth-child(3) {background-image: url('../img/numeros/icone_acoes estrangeiro.png');}
.numeros .item:nth-child(4) {background-image: url('../img/numeros/icone_oficiais lig.png');}
.numeros .item:nth-child(5) {background-image: url('../img/numeros/icone_MAI Mundo.png');}
.numeros .item:nth-child(6) {background-image: url('../img/numeros/icone_violencia.png');} */

/*********** RESPONSIVIDADE *************/
@media (max-width: 992px) {
    .numeros .items {
        grid-template-columns: repeat(2, 1fr); /* tablet 2 colunas */
        gap: 30px;
    }

    .numeros .item .value {
        font-size: 32pt;
        padding-top: 40px;
    }

    .numeros .item .text {
        font-size: 13pt;
    }
}

@media (max-width: 600px) {
    .numeros .items {
        grid-template-columns: repeat(2, 1fr); /* mobile sempre 2 colunas */
        gap: 20px;
    }

    .numeros .item  {
        background-size: 50%;
    }

    .numeros .item .value {
        font-size: 28pt;
        padding-top: 30px;
    }

    .numeros .item .text {
        font-size: 12pt;
    }
}

@media (max-width: 400px) {
    .numeros .items {
        grid-template-columns: repeat(2, 1fr); /* garante 2 colunas mesmo em ecrãs muito pequenos */
        gap: 15px;
    }
    
    .numeros .item  {
        background-size: 50%;
    }

    .numeros .item .value {
        font-size: 24pt;
        padding-top: 25px;
    }

    .numeros .item .text {
        font-size: 11pt;
    }
}