/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start; /* Alinhado ao topo */
    background-color: var(--bg-section);
    overflow: hidden;
    padding-top: 100px; /* Aumentado para compensar o header */
}

/* Background Layers */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__pattern {
    position: absolute;
    inset: 0;
    /* Imagem padrão (modo dark) */
    background-image: url('../img/blacklent.JPG?v=20260102-2');
    background-size: cover; /* Imagem cobre toda a tela */
    background-position: right center; /* Mostra a parte direita da imagem */
    background-repeat: no-repeat;
    opacity: 1; /* Imagem totalmente visível */
    z-index: 1;
}

[data-theme="light"] .hero__pattern {
    /* Imagem no modo claro */
    background-image: url('../img/whitelent.JPG?v=20260102-2');
    background-size: cover; /* Imagem cobre toda a tela */
    background-position: right center; /* Mostra a parte direita da imagem */
    opacity: 1; /* Imagem totalmente visível */
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(26, 35, 40, 0.20) 0%, 
        rgba(34, 45, 51, 0.20) 50%, 
        rgba(42, 54, 61, 0.20) 100%);
    z-index: 2;
}

[data-theme="light"] .hero__gradient {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.20) 0%, 
        rgba(252, 253, 255, 0.20) 50%,
        rgba(248, 250, 252, 0.20) 100%);
}

/* Gradiente inferior para transição suave com stats */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px; /* Aumentado para transição mais suave */
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(15, 20, 24, 0.5) 40%,
        rgba(15, 20, 24, 0.9) 80%,
        rgba(26, 35, 40, 1) 100%); /* Cor de fundo do body no modo dark */
    z-index: 3;
    pointer-events: none;
}

[data-theme="light"] .hero::after {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(240, 244, 248, 0.5) 40%,
        rgba(240, 244, 248, 0.9) 80%,
        rgba(255, 255, 255, 1) 100%); /* Cor de fundo do body no modo light (branco) */
}

/* Content */
.hero__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: flex-start; /* Alinhado ao topo em vez de centro */
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 2rem; /* Reduzido para subir o conteúdo */
}

.hero__content {
    max-width: 600px;
    margin-top: 0.5rem; /* Ajuste para aproximar do header */
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 175, 55, 0.12); /* Dourado suave */
    color: var(--secondary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero__brand {
    margin-bottom: var(--space-md); /* Espaçamento entre logo e título */
    display: block;
    margin-left: -2rem; /* Traz as logos mais para a esquerda no desktop */
}

.hero__brand-img {
    height: auto;
    max-width: 500px;
    width: auto;
    display: block;
}

.hero__brand-img--light {
    display: none;
}

.hero__brand-img--dark {
    display: block;
}

[data-theme="light"] .hero__brand-img--light {
    display: block;
}

[data-theme="light"] .hero__brand-img--dark {
    display: none;
}

.hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: var(--space-lg); /* Espaçamento para o botão */
    background: linear-gradient(45deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.hero__desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    line-height: 1.7;
}

.hero__ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Visual Element */
.hero__visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(65, 107, 153, 0.05) 0%, transparent 70%);
    z-index: -1;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--secondary); /* Destaque em dourado */
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translateY(0) translateX(-50%); 
    }
    40% { 
        transform: translateY(-10px) translateX(-50%); 
    }
    60% { 
        transform: translateY(-5px) translateX(-50%); 
    }
}

/* Responsive */
@media (max-width: 1023px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__content {
        margin: 0 auto;
    }
    
    .hero__ctas {
        justify-content: center;
    }
    
    .hero__visual {
        display: none;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.25rem;
    }

    /* Hero responsivo: ajuste de enquadramento da imagem */
    .hero__pattern {
        background-size: cover !important; /* Imagem cobre toda a tela no tablet */
        background-position: 75% center !important; /* Parte direita centralizada */
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__brand {
        margin-left: 0;
    }
    
    .hero__brand-img {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero__brand {
        margin-left: 2rem; /* Move as logos mais para a direita no mobile */
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: var(--space-lg);
        display: flex;
        align-items: flex-start;
    }
    
    .hero__container {
        padding-top: 0.5rem;
        padding-bottom: 2rem;
    }
    
    .hero__content {
        margin-top: 0;
    }
    
    .hero__title {
        font-size: 1.75rem;
        margin-bottom: var(--space-md);
    }
    
    .hero__subtitle {
        font-size: 1.125rem;
    }
    
    .hero__desc {
        font-size: 1rem;
    }
    
    .hero__pattern {
        /* Imagem mobile para modo dark */
        background-image: url('../img/blacklent_mob.png') !important;
        background-size: cover !important; /* Imagem cobre toda a tela no mobile */
        background-position: center center !important; /* Centralizada no mobile */
    }
    
    [data-theme="light"] .hero__pattern {
        /* Imagem mobile para modo light */
        background-image: url('../img/whitelent_mob.png') !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    .hero__scroll {
        display: none; /* Esconde o scroll indicator no mobile */
    }
}
