/* --- CONFIGURAÇÕES EXCLUSIVAS DA TELA INICIAL --- */
body.quemsomos-view {
    background-color: var(--fundo-base);
    color: var(--texto);
    margin: 0;
    height: 100vh;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
}

.hero-container {
    flex: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(13, 18, 38, 0.75), rgba(13, 18, 38, 0.9)), url('../assets/fundo.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    margin-top: 100px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: center;
    width: 100%;
}

.tagline {
    color: var(--primaria);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: clamp(0.7rem, 1.5vh, 0.9rem);
    margin-bottom: 2vh;
    display: block;
    text-transform: uppercase;
}

.hero-info h1 {
    font-size: clamp(2rem, 7vh, 4rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 3vh;
}

.hero-info p {
    font-size: clamp(0.9rem, 2vh, 1.2rem);
    color: var(--cinza);
    margin-bottom: 4vh;
    max-width: 500px;
}

.btn-saiba-mais {
    display: inline-block;
    background: var(--laranja);
    color: #fff;
    padding: 1.5vh 3vw;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.btn-saiba-mais:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 123, 61, 0.3);
}

/* --- MOSAICO --- */
.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 65vh;
    max-height: 550px;
}

.mosaic-tile {
    border-radius: 12px;
    overflow: hidden;
    background: #1a2639;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.tile-tall {
    grid-row: span 2;
}

/* --- TRANSIÇÃO GLOBAL --- */
#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--fundo-solido);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.8s;
}

#transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- RESPONSIVIDADE DO HERO (MOBILE) --- */
@media (max-width: 900px) {
    body.quemsomos-view {
        height: auto;
        overflow-y: auto;
        display: block;
    }

    .hero-container {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px 0; /* Ajuste no topo */
        margin-top: 0; /* Removi o margin-top de 35px que estava empurrando */
        display: flex;
        align-items: center;
    }
    
    /* ESSENCIAL: Garante que o conteúdo não vá para a direita */
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-info {
        padding: 0 15px; /* Margem interna de segurança */
        width: 100%;
    }

    .hero-info p {
        margin: 0 auto 30px auto;
        max-width: 100%; /* Permite ocupar a largura da tela */
    }

    /* Ajuste do Mosaico para não cortar */
    .mosaic-grid {
        width: 90%; /* Não deixa colar na borda */
        margin: 40px auto 0 auto;
        height: 450px;
        max-height: none;
    }
    
    .hero-info h1 {
        font-size: 2.2rem; /* Tamanho mais amigável para celular */
        width: 100%;
    }
}
