/* Estatísticas Luxuosas com Refinamento */
.stats-section {
    position: relative;
    z-index: 5;
    margin-top: -80px;
    margin-bottom: 80px;
    padding: 0 20px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.stats-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 30px 50px;
    background: rgba(46, 42, 37, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(245, 227, 192, 0.3);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(245, 227, 192, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 40px rgba(245, 227, 192, 0.15);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(245, 227, 192, 0.5) 20%,
            rgba(245, 227, 192, 0.8) 50%,
            rgba(245, 227, 192, 0.5) 80%,
            transparent 100%);
    box-shadow: 0 0 10px rgba(245, 227, 192, 0.5);
}

.stats-bar:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    /* Make border more prominent */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--primary-color);
    /* Add a glowing shadow */
    background: rgba(46, 42, 37, 0.8);
    /* Slightly darker background on hover */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    /* Alterado para sans-serif */
    font-weight: 700;
    /* Negrito */
    font-size: 3.5rem;
    /* Ajustado para fonte bold */
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(243, 169, 80, 0.3);
}

.stat-label {
    font-family: 'Arimo', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.stat-separator {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.5;
    margin: 0 20px;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
    display: flex;
    gap: 5px;
}

/* Responsividade Estatísticas */
@media (max-width: 992px) {
    .stats-bar {
        flex-wrap: wrap;
        border-radius: 30px;
        padding: 30px;
    }

    .stat-separator {
        display: none;
    }

    .stat-item {
        flex: 1 1 50%;
        margin-bottom: 30px;
    }

    .stat-item:nth-last-child(1),
    .stat-item:nth-last-child(2) {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex: 1 1 100%;
        margin-bottom: 40px;
    }

    .stat-item:nth-last-child(1) {
        margin-bottom: 0;
    }

    .stats-section {
        margin-top: -40px;
    }
}

/* Gradiente entre new_background.png (About) e fundo2.jpg (Plans) */
#sobre.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(46, 42, 37, 0.2) 25%,
            rgba(46, 42, 37, 0.5) 50%,
            rgba(46, 42, 37, 0.8) 75%,
            var(--light-bg) 100%);
    z-index: 4;
    pointer-events: none;
}

/* Fade Effect na parte superior da Stats Section */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom,
            var(--light-bg) 0%,
            rgba(46, 42, 37, 0.7) 50%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Fade Effect na parte inferior da Stats Section para transição com Plans */
.stats-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(46, 42, 37, 0.2) 20%,
            rgba(46, 42, 37, 0.4) 40%,
            rgba(46, 42, 37, 0.7) 60%,
            rgba(46, 42, 37, 0.9) 80%,
            var(--light-bg) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Sobrescrita do Título da Seção de Planos */
.plans h2 {
    font-family: 'Allison', cursive !important;
    font-size: 7rem !important;
}

@media (max-width: 768px) {
    .plans h2 {
        font-size: 5.0em !important;
    }
}

/* Fix Zoom Effect for Vision and Values */
.mvv-item.vision:hover {
    transform: translateY(-50%) scale(1.05) !important;
}

.mvv-item.values:hover {
    transform: translateY(-100%) scale(1.05) !important;
}