*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
/*GERAL*/
html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    line-height:1.6;
    color:#424b54;
    background:#fff;
}
/*Menu*/
.navbar{
    position:fixed;
    top:0;
    width:100%;
    background:#424b54;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

.logo{
    color:#fff;
    font-weight:bold;
    font-size:1.2rem;
}

.logo img {
    height: 50px; 
    width: auto;
    display: block;
    background: transparent;
}

.menu{
    display:flex;
    list-style:none;
    gap:25px;
}

.menu a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.menu a:hover{
    color:#ebcfb2;
}


/*Imagem*/
.hero{
    min-height: 100vh;
    /* Junte o gradiente (cor) e a imagem na mesma propriedade background-image separados por vírgula */
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.6), /* Controla o escurecimento (Preto com 60% de opacidade) */
        rgba(66, 75, 84, 0.85) /* Sua cor original com 85% de opacidade */
    ), url("../image/cruz.png");
    
    background-repeat: no-repeat;  /* Não deixa a imagem repetir */
    background-size: cover;        /* Faz a imagem cobrir toda a tela sem distorcer */
    background-position: center;   /* Centraliza a imagem na tela */
    background-color:linear-gradient(
        rgba(66,75,84,.85),
        rgba(66,75,84,.85)
    );
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.hero-content{
    max-width:800px;
}

.hero h1{
    color:#fff;
    font-size:3rem;
}

.hero h2{
    color:#ebcfb2;
    margin-bottom:20px;
}

.hero p{
    color:#fff;
    margin-bottom:25px;
}

.btn{
    display:inline-block;
    background:#b38d97;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:8px;
    transition:.3s;
}

.btn:hover{
    background:#d5aca9;
}

/* Sobre nos e contato*/
.container{
    max-width:1200px;
    margin:auto;
    padding:80px 20px;
}

.container h2{
    text-align:center;
    margin-bottom:30px;
    color:#424b54;
}

.destaque{
    background:#f8f5f4;
}



/* SOBRE NOS com Wrapper lado a lado */
.sobre-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}

/* Imagem redonda */
.sobre-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #424b54;
}

/* Texto ocupa o restante */
.sobre-texto {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
}

.sobre-texto p{
  margin-bottom: 0.8rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .sobre-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .sobre-texto {
        text-align: center;
    }
}

/*Cultos*/
.cultos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.card{
    background:#fff;
    padding:30px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.card h3{
    color:#424b54;
}

.card p{
    font-size:1.8rem;
    color:#b38d97;
    font-weight:bold;
}

/*FORMULARIO*/
form{
    max-width:700px;
    margin:auto;
}

form input,
form textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #c5baaf;
    border-radius:8px;
}

form button{
    width:100%;
    border:none;
    padding:15px;
    background:#424b54;
    color:#fff;
    border-radius:8px;
    cursor:pointer;
}

form button:hover{
    background:#b38d97;
}

.lgpd {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

/* Deixa o checkbox menor */
.lgpd input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;   /* tamanho do check */
    height: 18px;
    cursor: pointer;
}

/* Texto maior e mais legível */
.txt-lgpd {
    font-size: 1rem;   /* aumenta a fonte */
    line-height: 1.4;
}

/*mENSAGEM DE RETORNO*/
#mensagemRetorno{
    text-align: center;
}

/*DOACOES*/
.doacoes{
    text-align:center;
}


.doacoes img{
    max-width:250px;
    width:100%;
    margin-top:20px;
}


/*RODA Pé*/
footer{
    background:#424b54;
    color:#fff;
    text-align:center;
    padding:20px;
}

footer a{
    text-decoration: none;
     font-weight: bold;
     color: #fff;
}

footer a:hover{
    color: #b38d97;
}




/* BOTÃO HAMBÚRGUER (desktop: escondido) */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* LOCALIZAÇÃO - layout lado a lado */
.local-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 30px;
}

/* Mapa menor */
.local-wrapper .map iframe {
    width: 350px;
    height: 250px;
    border: 0;
    border-radius: 10px;

}

/* Texto + botão */
.local-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 🔥 centraliza verticalmente */
    gap: 15px;
}

.local-info p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: left; /* mantém alinhamento natural */
}

.local-info .btn {
    align-self: flex-start; /* 🔥 alinha o botão com o texto */
    justify-content: center;
}



/* ============================
   MOBILE (até 768px)
   ============================ */
@media (max-width: 768px) {

    /* Logo menor */
    .logo img {
        height: 40px;
    }

    /* Exibe o botão hambúrguer */
    .hamburger {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
        color: white;
        z-index: 999;
    }

    /* Navbar mantém row (IMPORTANTE!) */
 .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #424b54; /* mantém o fundo */
}

    /* Menu fechado */
    .menu {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: #424b54;
        flex-direction: column;
        text-align: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        z-index: 998;
    }

    /* Menu aberto */
    .menu.show {
        max-height: 320px;
        padding: 20px 0;
    }

    /* Links do menu */
    .menu li {
        padding: 5px 0;
    }

    .menu a {
        color: white;
        font-size: 1.1rem;
        display: block;
    }

    /* Ajustes de layout */
        .local-wrapper {
        display: flex;
        flex-direction: column;   /* empilha */
        align-items: center;      /* centraliza horizontal */
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .local-wrapper .map iframe {
        width: 100%;
        max-width: 350px;         /* limite para não estourar */
        height: 250px;
        margin: 0 auto;           /* centraliza */
        display: block;
    }

    .local-info {
        align-items: center;
        text-align: center;
    }

    .local-info .btn {
        align-self: center;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    /* Texto centralizado */
    .sobre-texto {
        text-align: center;
    }
    
    /*Imagem centralizada*/
    .sobre-img {
   flex-direction: column;
   margin: 0 auto;
}
}

