.hero{
    display: flex;
    width: 100%;
    min-height: 100vh;
    margin-top: -96px;
    margin-left: 0;
}

.hero-content{
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 10;
    flex-direction: column;
    text-align: center;
    max-width: 100%;
}



.hero-title{
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1.4;
    color: black;
    margin-bottom:20px;
    text-align: center;
}


.hero-image{
    flex: 0 0 50%;
    height: 100vh;
}

.hero-image img{
    width:100%;
    height: 100%;
    object-fit: cover;
}

.hero-tagline {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #1A234E;
    color: white;
    padding: 10px 25px 10px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 2.5em;
}

.hero-tagline::before{
    content: "";
    position: absolute;
    left: 14px;
    width: 4px;
    height: 60%;
    background-color: #10FD8E;
    border-radius: 2px;
}

.hero-rotating-bar{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #f5f5f5;
    padding: 12px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    position: relative;
    z-index: 4;
}

.bar-indicator{
    width: 4px;
    height: 18px;
    background-color: #10FD8E;
    border-radius: 2px;
    flex-shrink: 0;
}

@media (max-width:900px){
    .hero-title {
        font-size: 0.5rem;
        line-height: 1.4;
    }

}
@media (max-width:600px){
    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: -92px; /* Compensa a altura da navbar para a hero começar no topo */
        padding-top: 5vh;

    }
    
    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Camada de contraste (Overlay) */
    .hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.4); /* Escurece 40% */
        z-index: 2;
    }
    
    .hero-content {
        position: relative;
        z-index: 3;
        padding: 0 20px;
        max-width: 90%;
    }
    
    .hero-title {
        color: white; /* Texto branco sobre a imagem */
        font-size: 2.6rem; /* Menor no mobile */
        line-height: 1.4;
        padding: 0;    
    }

    .hero-tagline{
        background-color: #000;
        font-size: 0.85rem;
        padding: 8px 18px 8px 28px;
    }

    .hero-tagline::before{
        background-color: #10FD8E;
        height: 55%;
    }

    .hero-rotating-bar {
        background-color: #1A234E;
        color: #fff;
        font-size: 0.5rem;
        
        /* AJUSTES AQUI: */
        width: 100%;          /* Garante que usa a largura disponível */
        max-width: 320px;     /* Limita para não ficar gigante em telas maiores */
        margin: 0 auto;       /* Centraliza a barra */
        padding: 10px 12px;   /* Reduzi o padding lateral para sobrar espaço pro texto */
        gap: 8px;             /* Reduzi o espaço entre a barrinha verde e o texto */
        
        display: flex;
        align-items: center;
        justify-content: center; /* Centraliza o conteúdo interno */
        box-sizing: border-box;
    }

    .rotating-text {
        flex: 1;
        min-width: 0;
        font-size: 0.85rem;  /* Diminuir levemente ajuda a caber em menos linhas */
        line-height: 1.2;
        text-align: left;    /* Alinhado à esquerda para leitura rápida */
        
        /* PERMITIR EXPANSÃO HORIZONTAL */
        display: block;      
        white-space: normal; /* Permite quebra se necessário, mas com mais espaço */
        overflow: visible;
    }
    
    .bar-indicator {
        width: 3px;          /* Barrinha ligeiramente mais fina no mobile */
        height: 14px;
    }
}

