/* =========================================
   ENHANCED HERO SECTION
   ========================================= */

/* Hero Background */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    will-change: transform;
    /* Otimização para animação */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Fica atrás do gradiente/padrão se necessário, ou ajustamos */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-video.playing {
    opacity: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.4) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(15, 15, 15, 0.7) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(214, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 208, 15, 0.03) 0%, transparent 50%);
    opacity: 0.6;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(214, 38, 38, 0.1);
    border: 1px solid rgba(214, 38, 38, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(214, 38, 38, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(214, 38, 38, 0);
    }
}

.hero-badge svg {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hero Title */
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
    color: #fff !important;
    text-shadow: none !important;
}

.hero-title .highlight {
    color: #f7d00f !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

/* Hero Description */
.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 32px;
    max-width: 540px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    flex-direction: row;
    /* Força linha */
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: nowrap;
    /* Não quebra linha */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    min-width: 240px;
    /* Tamanho fixo para ambos */
    text-align: center;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 30px rgba(214, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    border-radius: 50%;
}

.btn-primary:hover {
    background: #b51b1b;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(214, 38, 38, 0.5), 0 0 20px rgba(214, 38, 38, 0.2);
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary:hover svg {
    transform: scale(1.1) translateX(2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary:hover svg {
    transform: translateX(3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}





/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #666;
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #666;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn {
        min-width: 100%;
    }
}