/* ==== HERO SECTION - VERSÃO FINAL CORRIGIDA (ESCOPADA) ==== */

/* Hero Section - Overrides específicos */
.hero-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

/* Badge do topo - escopado ao hero */
.hero-section .hero-badge {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-top: 100px;
}

/* Ajustar espaçamento vertical na seção hero */
.hero-section .hero-content {
    margin-bottom: 2rem;
}

/* Títulos do hero */
.hero-section .hero-title,
.hero-section h1,
.hero-section .display-4,
.hero-section .display-5 {
    color: white;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Subtítulo com gradiente dourado - escopado ao hero */
.hero-section .text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: none;
}

/* Descrição em branco - escopado ao hero */
.hero-section .hero-description,
.hero-section .lead,
.hero-section p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

/* Cards de estatísticas - escopado ao hero */
.hero-section .stat-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: inherit;
    margin-bottom: 1.5rem;
}

/* Pseudo-elemento clicável */
.hero-section .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: auto;
}

/* Hover - escopado ao hero */
.hero-section .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
}

/* Link envolvendo o card - escopado ao hero */
.hero-section a .stat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

/* Ícone - escopado ao hero */
.hero-section .stat-icon {
    color: #fbbf24;
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Número - escopado ao hero */
.hero-section .stat-number {
    color: #1e3a8a;
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

/* Rótulo - escopado ao hero */
.hero-section .stat-label {
    color: #4b5563;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
}

/* Botões - escopado ao hero */
.hero-section .btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    color: white;
}

.hero-section .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    background: transparent;
}

.hero-section .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

/* Responsividade - escopado ao hero */
@media (max-width: 768px) {
    .hero-section .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: 100px;
    }

    .hero-section .hero-title,
    .hero-section h1 {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    }

    .hero-section .hero-description,
    .hero-section .lead {
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-section .text-gradient {
        color: #fbbf24; /* Fallback para mobile */
    }

    .hero-section .stat-number {
        font-size: 2.2rem;
    }

    .hero-section .stat-label {
        font-size: 0.95rem;
    }

    .hero-section .stat-icon {
        font-size: 2.5rem;
    }
}