/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Saira", serif;
}

@font-face {
    font-family: "Pink";
    src: url("../font/Pink Blue.ttf");
    font-weight: normal;
    font-style: normal;
}

/* Preloader */
#preloader {
    pointer-events: none;
}

/* Animação Pulse */
@keyframes pulse {
    0%, 100% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
}

/* Estrutura principal */
section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    transition: 0.5s;
    z-index: 1;
}

/* Cabeçalho */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    max-width: 150px;
}

/* Menu de navegação */
.navigation {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navigation li a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
    position: relative;
}

.navigation li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff0060;
    transition: width 0.3s;
}

.navigation li a:hover::after {
    width: 100%;
}

/* Ícone do menu mobile */
.toggleMenu {
    display: none;
    width: 40px;
    height: 40px;
    background: url('../img/menu.png') no-repeat center;
    background-size: 30px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.toggleMenu.active {
    background-image: url('../img/close.png');
    background-size: 25px;
}



/* Sobre Nós */
.sobre {
    background: #000;
    padding: 100px;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: -1;
}

.sobre-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 100px;
    align-items: center;
}

.sobre-titulo {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #ffd800; /* Cor branca por padrão */
    text-shadow: 4px 4px 0px #ff0060, 0px 0px 0px #ff0060; /* Sem sombra inicial */
    transition: color 0.5s ease-in-out, text-shadow 0.5s ease-in-out; /* Transição suave */
}

.texto-sobre {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

.texto-sobre p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}


@media (max-width: 768px) {
    .sobre {
        padding: 60px 20px;
    }
    
    .sobre-content {
        flex-direction: column;
        text-align: justify;
        display: block;
    }
    
    .sobre-titulo {
        font-size: 2.5rem;
    }
    
    .texto-sobre {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sobre-titulo {
        font-size: 4rem;
    }
    
    .texto-sobre {
        font-size: 0.9rem;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    section {
        padding: 40px;
        padding-bottom: 150px;
    }
    
    header {
        padding: 15px 5%;
    }
    
    header .logo {
        max-width: 120px;
    }
    
    .toggleMenu {
        display: block;
        right: 30px;
        top: 20px;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        padding: 20% 0;
    }
    
    .navigation.active {
        left: 0;
    }
    
    .navigation li {
        margin: 0 0;
        opacity: 0;
        transform: translateX(-20px);
        animation: fadeIn 0.4s forwards;
    }
    
    @keyframes fadeIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .navigation li a {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
}

.silhueta-favela {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 400px; /* Largura da silhueta */
    height: 100%; /* Altura da silhueta (cobre toda a altura da tela) */
    background-image: url('../img/silhueta-favela-cinza.png'); /* Caminho da imagem */
    background-size: contain; /* Ajusta a imagem ao tamanho do container */
    background-repeat: no-repeat; /* Evita repetição */
    background-position: left bottom; /* Posiciona no canto esquerdo inferior */
    z-index: -1; /* Garante que fique acima do fundo, mas abaixo do conteúdo */
    opacity: 0.2; /* Transparência para não competir com o conteúdo */
}

/* Barra animada */
.moving-bar {
    height: 45px;
    background-image: url('../img/barra.jpg');
    background-size: auto 100%;
    background-repeat: repeat-x;
    animation: move 350s linear infinite;
    margin-bottom: 0px; /* Remove qualquer espaço extra */
}

@keyframes move {
    0% { background-position: 5000% 0; }
    100% { background-position: 0 0; }
}

@media (max-width: 768px) {
    .moving-bar {
        height: 35px; /* Menor altura no mobile */
        animation: move 550s linear infinite;
    }
    @keyframes move {
        100% { background-position: 5000% 0; }
        0% { background-position: 0 0; }
    }
}