/* ==========================================================================
   ESTILOS ULTRA-PREMIUM - SECÇÃO ESTATÍSTICAS (STATS)
   ========================================================================== */
   .stats {
    background-color: #0a0a0a; /* Fundo Preto Absoluto para realçar os números */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Adiciona um efeito subtil de malha/gradiente de luxo ao fundo */
.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 30, 39, 0.05) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas idênticas e simétricas */
    gap: 40px;
    align-items: center;
}

/* ==========================================================================
   CARTÕES DE STATUS
   ========================================================================== */
.stat-card {
    text-align: center;
    padding: 20px 10px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ÍCONES PREMIUM */
.stat-icon {
    color: #D4AF37; /* Vermelho Vivo nos Ícones */
    font-size: 38px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}

/* CONFIGURAÇÃO DO CONTADOR NUMÉRICO */
.stat-card h2.counter {
    color: #ffffff;
    font-size: 54px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -1px;
    font-family: system-ui, -apple-system, sans-serif;
}

/* Adiciona o símbolo de percentagem de forma elegante no segundo card */
.stat-card:nth-child(2) h2.counter::after {
    content: '%';
    color: #D4AF37;
    font-size: 32px;
    font-weight: 800;
    margin-left: 2px;
}

/* TEXTO DESCRITIVO */
.stat-card p {
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* INTERAÇÃO / HOVER */
.stat-card:hover .stat-icon {
    transform: translateY(-8px) scale(1.05);
}

.stat-card:hover h2.counter {
    color: #D4AF37; /* O número acende em vermelho ao passar o rato */
}

/* ==========================================================================
   RESPONSIVIDADE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .stats {
        padding: 60px 0;
    }
    
    .stats-grid {
        gap: 30px;
    }

    .stat-card h2.counter {
        font-size: 42px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr; /* Transforma em 1 coluna vertical no telemóvel */
        gap: 45px;
    }

    .stat-card {
        position: relative;
    }

    /* Adiciona uma linha divisória minimalista entre os cards no telemóvel */
    .stat-card:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 480px) {
    .stats {
        padding: 50px 0;
    }
    
    .stat-card h2.counter {
        font-size: 38px;
    }
}
