@font-face {
    font-family: "IvyPresto";
    src: url("../fonts/IvyPrestoDisplay-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

html {
    overflow-y: scroll;
}

/* --- ESTILOS GERAIS --- */
body { 
    margin: 0;
    font-family: "IvyPresto", serif;
    position: relative;
    background-color: #4f5861;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.texto-secundario {
    font-family: "Raleway", sans-serif;
}

.bg-blur-blue {
    background-image: url("../img/textures/blur-blue/TEXTURA O4 - 1920x1080.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.conteudo-principal {
    flex: 1;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: #1d2023;
    z-index: 4000;
    position: relative;
}

.nav-left { flex: 1; display: flex; align-items: center; }
.nav-left img { height: clamp(30px, 4vw, 45px); width: auto; }

.nav-right { flex: 1; }

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 1.3rem;
    flex: 2;
}

.nav-center a, .dropdown-btn {
    color: #fffbe5;
    text-decoration: none;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- DROPDOWN --- */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1d2023;
    display: none;
    flex-direction: column;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    z-index: 5000;
}

.dropdown-menu a {
    padding: 12px 20px;
    font-size: 1.1rem;
    display: block;
}

.dropdown-menu hr { border: 0; border-top: 1px solid #333; margin: 5px 0; }
.ver-todos { font-weight: bold; color: #4183c5 !important; }


/* Remove o sublinhado padrão que você tinha */
.dropdown-btn:hover {
    text-decoration: none !important;
}

/* Estilo para o link e para o texto do botão */
.nav-center a, 
.dropdown-btn span {
    position: relative;
    text-decoration: none;
}

/* Criando a linha invisível (animação) */
.nav-center a::after, 
.dropdown-btn span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; /* Espessura da linha */
    bottom: -2px; /* Distância do texto */
    left: 0;
    background-color: #4183c5; /* Cor da linha */
    transition: width 0.3s ease; /* Velocidade da animação */
}

/* Quando passar o mouse, a linha cresce para 100% */
.nav-center a:hover::after, 
.dropdown-btn:hover span::after {
    width: 100%;
}

/* Mantém a troca de cor que você já tinha */
.nav-center a:hover, 
.dropdown-btn:hover {
    color: #4183c5;
}

/* Ajuste para a seta não herdar o comportamento da linha */
.dropdown-btn i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Bônus: a setinha gira quando o menu abre (opcional) */
.dropdown:hover .dropdown-btn i {
    transform: rotate(180deg);
}

/* Mostrar no Hover (Desktop) */
@media (min-width: 1081px) {
    .dropdown:hover .dropdown-menu { display: flex; }
}

/* Botão Hamburguer (Escondido por padrão) */
.mobile-menu-icon {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- BANNER --- */
.banner {
    width: 100%;
    height: 60vh;
    max-height: 600px;
    position: relative;
    background-image: url(../img/banner/LOGO_PRINCIPAL_DARK_c_TEXTURA.png);
    background-size: cover;
    background-position: center;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}
/*linha de separação*/
.separate-line{
    height: 5px;
    background-color: #0b5cac;
    width: 100vw; /*Garante que percorra toda tela*/
    position: relative;
    left: 50%;
    right:50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border: none;
    padding: 0;
}
.welcome {
    padding: 80x 10%;
    color: #fffbe5;
    text-align: center;
}

.welcome h2 { 
    font-size: 4.0rem; 
    margin-top: 40px; 
    color: #fffbe5; }
/* --- SEÇÃO VALORES --- */
.valores {
    padding: 60px 10%;
    color: #fffbe5;
    text-align: center;
}

.valores h2 { 
    font-size: 2.5rem; 
    margin-top: 40px; 
    color: #fffbe5; 
}
.valores p { 
    font-size: 1.4rem; 
    line-height: 1.6; 
    max-width: 800px; 
    margin: 0 auto; 
}

.quem-somos {
    /*padding: 60px 10%;*/
    color:#fffbe5;
    text-align: center;
}
.quem-somos h2{
    padding-top: 5%;;
    font-size: 3.0rem;
    color:#fffbe5
}
.quem-somos p{
    font-size: 1.4rem; 
    line-height: 1.6; 
    max-width: 800px; 
    margin: 0 auto;
}
/*---Progrmação da semana--*/
.agenda-container {
    display: flex;
    flex-direction: column; /* Coloca o título em cima e a agenda embaixo */
    justify-content: center;
    width: 100%;
    max-width: 1200px;      /* Largura máxima para não espalhar demais em telas grandes */
    margin: 0 auto;         /* Centraliza o container na página */
    padding: 40px 20px;
}

.titulo-agenda {
    text-align: center;
    color: #fffbe5;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid da Agenda */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;

}

/* Card de cada Dia */
.dia-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dia-card:hover {
    transform: translateY(-5px);
}

.dia-header {
    background-color: #fb62a2; /* Cor principal - Ajuste conforme sua logo */
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Estilo dos Eventos */
.evento {
    padding: 15px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
}

.evento:last-child {
    border-bottom: none;
}

.hora {
    background: #edf2f7;
    color: #1d2023;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-right: 12px;
    min-width: 50px;
    text-align: center;
}

.evento-nome {
    margin: 0;
    color: #1d2023;
    font-weight: 500;
}

/* Responsividade para Celulares */
@media (max-width: 600px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }
}
/*Agenda*/
/* Container das Seções */
.secao-ministerios {
    padding: 60px 5%;
    max-width: 1400px; /* Evita que os cards espalhem demais em telas UltraWide */
    margin: 0 auto;
}

.titulo-sessao {
    font-size: 2.5rem;
    color: #fffbe5;
    margin-bottom: 40px;
    border-left: 5px solid #faaacb;
    padding-left: 15px;
}

/* Grid de Cards */
.cards-grid {
    display: grid;
    /* Cria colunas de no mínimo 300px que se ajustam sozinhas */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Estilo do Card Individual */
.card-ministerio {
    background-color: #1d2023; /* Mesma cor da Navbar */
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 251, 229, 0.1);
    will-change: transform;
    backface-visibility: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 300px 400px;
}

.card-ministerio:hover {
    transform: translateY(-10px);
    border-color: #4183c5;
}

/* Imagem do Card */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
    transition: transform 0.5s ease;
}

.card-ministerio:hover .card-image img {
    transform: scale(1.1); /* Efeito de zoom na imagem ao passar o mouse */
}

/* Conteúdo do Texto */
.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-content h3 {
    color: #4183c5;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    font-family: "IvyPresto", serif;
}

.card-content p {
    color: #fffbe5;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/*--Doaçoes--*/
.dizimos{
    padding: 90px 10%;
    color: #fffbe5;
    text-align: center;

}
.dizimos h2 { 
    font-size: 2.5rem; 
    margin-top: 40px; 
    color: #fffbe5; 
}
.dizimos img{
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* --- PÁGINA DE CONTATO --- */

.contato-secao {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas iguais */
    gap: 40px;
    align-items: start;
}

.contato-card {
    background: #1d2023;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 251, 229, 0.1);
    color: #fffbe5;
}

.contato-card p{
    font-size: 1.4rem;
}

.titulo-contato {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #4183c5;
}

/* Estilo dos Links Grandes (Lado Esquerdo) */
.links-grandes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.item-social {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: #fffbe5;
    transition: transform 0.3s ease, background 0.3s ease;
}

.item-social i {
    font-size: 3rem; /* Ícones grandes */
    margin-right: 20px;
}

.item-social:hover {
    transform: translateX(10px);
    background: rgba(65, 131, 197, 0.2);
}

.instagram i { color: #e1306c; }
.youtube i { color: #ff0000; }

.info-social span {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
}

.info-social small {
    color: #999;
}

/* Estilo do Endereço e Imagem (Lado Direito) */
.endereco-texto {
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 20px 0;
}

.icone-mapa {
    margin-right: 12px; /* Ajuste o valor conforme achar melhor */
    color: #4183c5;     /* Aproveitando para manter a cor do seu padrão */
    vertical-align: middle; /* Ajuda a alinhar o ícone com o centro do texto */
}

.imagem-mapa {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.imagem-mapa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-clique {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.imagem-mapa:hover .overlay-clique {
    opacity: 1;
}

.overlay-clique a {
    background: #4183c5;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* Responsividade */
@media (max-width: 900px) {
    .contato-grid {
        grid-template-columns: 1fr; /* Stack em uma coluna no mobile */
    }
    
    .contato-card {
        padding: 25px;
    }
}

/* --- RODAPÉ --- */
.rodape {
    background-color: #1d2023;
    color: #fffbe5;
    padding: 40px 20px;
    text-align: center;

    /* fonte secundária no footer inteiro */
    font-family: "Raleway", sans-serif;

    /* corrige o visual do 2026 */
    font-variant-numeric: lining-nums proportional-nums;
}

.rodape-container p{
    margin: 0 0 15px 0;
    font-size: 20px;
}

.rodape-links a {
    color: #4183c5;
    text-decoration: none;
    margin: 0 10px;
    font-family: "Raleway", sans-serif;
}

.rodape-links a:hover{
    text-decoration: underline;
}

.rodape-links i {
    margin-right: 6px;
}

/* ícones */
.instagram-icon {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.youtube-icon {
    color: #FF0000;
}

/* --- RESPONSIVIDADE ULTRA WIDE --- */
@media (min-width: 1921px) {
    .banner {
        background-image: url(../img/banner/LOGO\ PRINCIPAL_DARK_c_textura_UWide.png);
        background-position: center center;
    }
}

/* --- RESPONSIVIDADE MOBILE/TABLET --- */
@media (max-width: 1080px) {
    .mobile-menu-icon { display: block; }
    
    .nav-right { display: none; }

    .nav-center {
        display: none; /* Esconde o menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1d2023;
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
    }

    .nav-center.active { display: flex; }

    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        background: #2a2e32;
        display: none;
    }

    .dropdown.active .dropdown-menu { display: flex; }
    
    .banner { height: 45vh; }
}

@media (max-width: 600px){
    .navbar{
        padding: 12px;
    }

    .nav-center{
        flex-direction: column;
        gap: 14px;
        font-size: 1rem;
    }

    .dropdown{
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu{
        position: static;
        min-width: unset;
        width: 100%;
        text-align: center;
    }

    .banner{
        height: 35vh;
        min-height: 220px;
    }

    .banner-content{
        left: 16px;
        right: 16px;
        text-align: center;
    }

    .rodape{
        padding: 30px 15px;
    }

    .rodape-links{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .rodape-links a{
        margin: 0;
    }

}