/* --- CONFIGURAÇÕES GLOBAIS --- */
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: sans-serif;
    scrollbar-width: none;
    margin-top: 70px; /* Ajuste para o conteúdo não iniciar sob a barra fixa */
}
body::-webkit-scrollbar { display: none; }

/* --- BARRA DE NAVEGAÇÃO (FIXA E TRANSLÚCIDA) --- */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

#img01 { width: 50px; height: 50px; border-radius: 50%; }
.acas { font-size: 1.2rem; font-weight: bold; margin: 0; }

/* NAVEGAÇÃO DESKTOP */
nav { display: flex; gap: 1rem; }
.button {
    text-decoration: none;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}
.button:hover { background-color: rgba(255, 255, 255, 0.6); }

.menu-toggle { display: none; font-size: 2rem; background: none; border: none; cursor: pointer; }

/* --- SEÇÕES E CONTEÚDO --- */
.Inicio {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: black;
}
#img02 { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; top: 0; left: 0; }

.conteiner {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
}

.content { max-width: 1000px; text-align: center; width: 100%; }

/* --- LAYOUT DOS GRUPOS (LADO A LADO NO PC) --- */
.ascom, .grupo_musica, .formacao, .liturgia {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

.musica-text, .ascom-text, .formacao-text, .liturgia-text {
    flex: 1;
    max-width: 500px;
    text-align: left; /* No PC o texto fica alinhado conforme o layout */
}

#img_config { 
    width: 300px; 
    border-radius: 10px; 
    flex-shrink: 0;
}

/* --- RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 768px) {
    .menu-toggle { display: block; order: 1; }
    
    .logo-center { 
        order: 2; 
        position: absolute; 
        left: 50%; 
        transform: translateX(-50%); 
    }
    
    nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-sizing: border-box;
        gap: 10px;
    }

    nav.active { display: flex; }

    /* AJUSTE DOS GRUPOS NO CELULAR */
    .ascom, .grupo_musica, .formacao, .liturgia {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }

    /* Força a imagem a ficar no topo e o texto embaixo */
    .ascom img, .grupo_musica img, .formacao img, .liturgia img {
        order: 1 !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .musica-text, .ascom-text, .formacao-text, .liturgia-text {
        order: 2 !important;
        text-align: center !important;
        max-width: 100%;
        margin: 0 !important;
    }

    #img_config { 
        width: 90%; 
        margin: 1rem 0; 
    }
    
    .title_prin { font-size: 1.2rem; }
}