/* --- VARIÁVEIS E RESET --- */
:root {
    --primary: #1a1a1a;
    --accent: #ffd700;
    --text: #333;
    --white: #fff;
    --gray: #f8f8f8;
    --brown-dark: #3d2b1f;
    --green-action: #2ecc71;
    --transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- REGRAS GERAIS --- */
section {
    padding: 100px 10%;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.header-center {
    text-align: center;
    margin-bottom: 60px;
}

/* --- HEADER & NAVEGAÇÃO --- */
header.menu {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 20px;
}

.video-fundo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.4);
}

.video-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    z-index: 1;
}

/* --- HEADER & NAVEGAÇÃO (AJUSTADO PARA RESPONSIVIDADE) --- */
nav {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 10%;
    z-index: 10;
}

/* Container que organiza o menu e os botões lado a lado */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: 0.3s;
}

/* --- BOTÕES DE IDIOMA CORRIGIDOS --- */
.btn-idioma {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-idioma .lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.btn-idioma .lang-btn:hover,
.btn-idioma .lang-btn.active {
    color: var(--white) !important;
    opacity: 1;
}

/* --- AJUSTES DE MEDIA QUERY (MOBILE) --- */
@media (max-width: 900px) {
    .nav-container {
        flex-direction: column; /* Empilha o menu e os botões no mobile para não colidirem */
        justify-content: center;
        gap: 15px;
    }

    nav {
        padding: 20px 5%;
    }

    nav ul {
        gap: 20px;
    }

    nav a {
        font-size: 0.75rem;
    }
}

.logo-assinatura {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;              /* Estilo palito/fino */
    text-transform: uppercase;      /* Caixa alta traz impacto */
    letter-spacing: 18px;           /* Super espaçamento que você gostou */
    color: var(--white);
    font-size: 4.5rem;              /* Tamanho ajustado para o espaçamento funcionar */
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    text-align: center;
}

.versiculo {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    line-height: 1.8;
}

.versiculo strong {
    font-weight: 700;
    color: var(--accent);
}

/* --- SEÇÃO SOBRE (CORRIGIDA) --- */
.flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.texto-bloco {
    flex: 1;
}

.subtitulo-secao {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.foto-destaque {
    flex: 1;
    display: flex;
    justify-content: center;
}

.foto-destaque img {
    width: 100%;          /* Ocupa a largura total do bloco flexível */
    max-width: 500px;     /* Impede que a logo/imagem cresça demais em telas gigantes */
    height: auto;         /* Preserva as proporções exatas da imagem */
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* --- SEÇÃO PILARES --- */
.secao-pilares {
    background-color: var(--primary);
    color: var(--white);
}

.label-pilares {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.titulo-frentes {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-top: 15px;
}

.grid-pilares {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
}

.pilar-item {
    padding: 50px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.pilar-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
}

.pilar-icon-wrapper i {
    font-size: 1.4rem;
    color: var(--accent);
}

.pilar-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.pilar-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- SEÇÃO INSTITUTO (COMUNITÁRIO) --- */
.secao-clara {
    background: var(--gray);
}

.titulo-blanka {
    font-family: 'Blanka', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 15px;
    color: #cac9c9;
}

.titulo-blanka.yellow {
    color: var(--accent);
    opacity: 0.8;
}

.tagline {
    font-weight: 700;
    letter-spacing: 5px;
    margin-top: -15px;
    text-transform: uppercase;
}

.sub-secao-instituto {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-separador {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0px;
    color: var(--brown-dark);    
    display: inline-block;
    width: 100%;
    padding-bottom: 15px;
}

.titulo-separador2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--brown-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: inline-block;
    width: 100%;
    padding-bottom: 15px;
}

.grid-comunitario {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-projeto {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-projeto h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.logo-projeto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

/* --- SEÇÃO MOVING --- */
.moving {
    background: #000000; 
    padding: 50px;
    border-radius: 20px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.moving-container {
    display: flex;
    align-items: center; 
    gap: 40px;          
}

.moving-foto {
    flex: 0 0 35%;       
}

.moving-foto img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    object-fit: cover;
}

.moving-texto {
    flex: 1;            
    text-align: left;   
}

.moving-texto p {
    color: #ffffff;      
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- SEÇÃO MISSIONÁRIOS --- */
.grid-missionarios {       
    gap: 20px;
    margin-top: 20px;
    width: 50%;
    display: flex;
}

.card-missionario {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;

}

.card-missionario .foto-missao img {
    width: 100%;
    height: 300px;
    object-fit: fill;
}

.info-missao {
    padding: 20px;
}

.info-missao h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.localizacao {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

/* --- SEÇÃO RELAÇÕES INTERNACIONAIS --- */
.grid-internacionais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-internacional {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    padding: 20px;
    gap: 20px;
    transition: transform 0.3s ease;
}

.card-internacional:hover {
    transform: translateY(-5px);
}

.foto-internacional {
    flex: 0 0 100px;
    height: 100px;
}

.foto-internacional img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; 
    border: 2px solid var(--accent);
    object-position: top; 
}

.info-internacional {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-internacional h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.cargo-internacional {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.btn-whatsapp-direto {
    align-self: flex-start;
    background: #25d366; 
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-whatsapp-direto:hover {
    background: #128c7e;
}

/* Ajuste rápido para telas pequenas */
@media (max-width: 480px) {
    .card-internacional {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .btn-whatsapp-direto {
        align-self: center;
    }
}

/* --- SEÇÃO COMO APOIAR --- */
.secao-apoiar {
    position: relative;
    padding: 120px 10%;
    background-image: url('imagens/img5.jpeg');
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    background-attachment: scroll; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.apoio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 43, 31, 0.85);
    z-index: 1;
}

.apoio-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
}

.tagline-light {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-align: center;
}

.grid-apoio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.card-apoio-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    color: #fff;
}

.card-apoio-glass h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.icon-apoio {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.btn-apoio-laranja {
    display: inline-block;
    background: #bd5a34;
    color: #fff;
    padding: 16px 45px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-apoio-laranja:hover {
    background: #a34a27;
}

/* --- SEÇÃO TREINAMENTO --- */
.secao-escura {
    background: var(--primary);
    color: #fff;
}

.container-treinamento-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.coluna-fotos-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 35%;
}

.foto-vertical {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 25px;
}

.duas-fotos-pequenas {
    display: flex;
    gap: 15px;
}

.duas-fotos-pequenas img {
    width: 50%;
    height: 250px;
    object-fit: cover;
    border-radius: 25px;
}

.coluna-texto-treino {
    flex: 1;
}

.descricao-topo {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.lista-detalhada {
    list-style: none;
    margin-bottom: 40px;
}

.lista-detalhada li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    padding-left: 20px;
    border-left: 4px solid var(--accent);
}

.box-contato-dark {
    background: #222;
    padding: 40px;
    border-radius: 30px;
}

.btn-contato-verde {
    display: inline-block;
    background: var(--green-action);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-contato-verde:hover {
    transform: scale(1.03);
}

/* --- FOOTER --- */
footer {
    background: #000;
    color: #555;
    padding: 50px;
    text-align: center;
}

footer a {
    color: #2ed5ff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

/* --- RESPONSIVIDADE & AJUSTES MOBILE --- */
@media (max-width: 900px) {
    .logo-assinatura {
        font-size: 2.2rem;   
        letter-spacing: 8px; 
    }
    
    .versiculo {
        font-size: 1rem;
        padding: 0 10px;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.65rem;
    }

    section {
        padding: 60px 5%;
    }

    /* Ajuste da Seção Sobre no Mobile: Inverte para o texto ficar por cima da foto */
    .flex-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .foto-destaque img {
        width: 80%;
        max-width: 350px;
    }

    .container-treinamento-flex {
        flex-direction: column;
    }

    .coluna-fotos-vertical {
        width: 100%;
    }

    .titulo-blanka {
        font-size: 2.2rem;
        letter-spacing: 8px;
    }

    .titulo-frentes {
        font-size: 2.2rem;
    }

    .grid-pilares {
        grid-template-columns: 1fr;
    }

    .pilar-item {
        border-right: none;
    }
}