/* ============================================================================
   STATS HIGHLIGHT SECTION
   ============================================================================ */

.stats-highlight-section {
    padding: 0;
    height: 100dvh;
    background-color: #E0EDF4; /* Azul pastel suave, igual ao carrossel da equipe */
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-highlight-header {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
    padding: 0 5%;
}

.stats-horizontal-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 12vh; /* Empurra os cards mais para baixo, distanciando do título */
}

.stats-highlight-container {
    display: flex;
    gap: 80px; /* Reduz o distanciamento entre os cards */
    padding-left: 35vw; /* O primeiro card entra mais rápido na tela */
    padding-right: 15vw; /* Espaço vazio após o último card */
    width: max-content;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    background-color: #FFFFFF; /* Fundo branco para contraste */
    padding: 60px 48px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(42, 67, 86, 0.08); /* Sombra elegante usando o tom escuro da marca */
}

/* Tipografia Base dos Números */
.stat-num-part1, 
.stat-num-part2, 
.stat-percent {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
    /* Aplica um rosa aconchegante e elegante */
    background: linear-gradient(135deg, #F28FA4, #E8708B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; /* Remove o corte acidental no topo */
}

/* O Primeiro Número (Ex: 5) */
.stat-num-part1 {
    font-size: clamp(8rem, 12vw, 14rem);
    margin-right: -0.05em; /* Aproxima os números levemente */
}

/* O Lado Direito (Número Cortado + Texto) */
.stat-content-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 0.05em; /* Alinhamento sutil pelo topo */
}

/* Grupo do Número Cortado */
.stat-cut-group {
    display: flex;
    align-items: flex-start;
    /* A altura define o corte. Com line-height: 1, 0.55em corta +/- na metade inferior */
    height: 0.55em; 
    overflow: hidden;
    font-size: clamp(8rem, 12vw, 14rem);
}

/* O Segundo Número (Ex: 8) */
.stat-num-part2 {
    font-size: 1em; /* Herda do grupo */
}

/* Símbolo de Porcentagem */
.stat-percent {
    font-size: 0.5em; /* Metade do tamanho do número */
    margin-left: 0.05em;
    margin-top: 0.1em;
}

/* Texto Explicativo */
.stat-text {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.5;
    color: #4B5563;
    margin-top: 16px; /* Fica logo abaixo do corte */
    max-width: 200px;
}

.stat-text strong {
    color: #111827;
    font-weight: 700;
}

/* Responsividade */
@media screen and (max-width: 1024px) {
    .stats-highlight-container {
        gap: 40px;
    }
    
    .stat-text {
        margin-top: 12px;
    }
}

@media screen and (max-width: 768px) {
    .stats-highlight-section {
        padding: 80px 5%;
    }
    
    .stats-highlight-container {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-cut-group {
        height: 0.48em; /* Ajuste fino do corte no mobile */
    }
}
