/* =====================================================
   SITE TERREIRO LUZ DE ARUANDA
   Arquivo: css/style.css
   Aqui ficam todas as cores, tamanhos, espaçamentos e estilos.
===================================================== */

/* =====================================================
   PALETA DE CORES
===================================================== */

:root{
    --celeste:#A8F3EF;
    --azul-bebe:#82CBE5;
    --turquesa:#A8E6E4;
    --azul-profundo:#1F5F78;
    --azul-escuro:#143A4A;
    --fundo:#F6FEFD;
    --branco:#FFFFFF;
    --texto:#263238;
    --borda:#D7F3F2;
}

/* =====================================================
   CONFIGURAÇÕES GERAIS
===================================================== */

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

body{
    background:var(--fundo);
    color:var(--texto);
    font-family:Montserrat, sans-serif;
    line-height:1.8;
}

a{
    transition:.3s;
}

strong{
    color:var(--azul-escuro);
}

/* =====================================================
   MENU SUPERIOR
===================================================== */

nav{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 8%;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(10px);
    box-shadow:0 2px 16px rgba(31,95,120,.12);
    z-index:999;
}

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

.menu-logo img{
    width:48px;
    height:auto;
}

.menu-logo span{
    font-family:Cinzel, serif;
    font-size:20px;
    color:var(--azul-profundo);
    font-weight:700;
    white-space:nowrap;
}

.menu-links{
    display:flex;
    gap:22px;
    align-items:center;
}

.menu-links a{
    text-decoration:none;
    color:var(--azul-profundo);
    font-weight:600;
}

.menu-links a:hover{
    color:#0F96A8;
}

/* =====================================================
   BANNER PRINCIPAL
===================================================== */

header.hero-home{
    min-height:100vh;
    padding-top:90px;
    background-image:url("../imagens/principal.png");
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

header.hero-home::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(20,58,74,.72),
        rgba(130,203,229,.35)
    );
}

.hero{
    position:relative;
    z-index:2;
    max-width:760px;
    text-align:center;
    color:white;
    padding:42px;
    background:rgba(20,58,74,.28);
    border:1px solid rgba(255,255,255,.25);
    border-radius:24px;
    backdrop-filter:blur(4px);
}

.hero h1{
    font-family:Cinzel, serif;
    font-size:clamp(30px,4vw,44px);
    font-weight:700;
    letter-spacing:1px;
    line-height:1.2;
    margin-bottom:18px;
    text-transform:uppercase;
}

.hero h2{
    font-family:Lora, serif;
    font-size:21px;
    font-weight:400;
    margin-bottom:28px;
    color:#ECFFFF;
}

.hero p{
    font-size:17px;
    line-height:30px;
    margin-bottom:35px;
}

.botao{
    display:inline-block;
    padding:16px 36px;
    background:var(--azul-bebe);
    color:var(--azul-escuro);
    text-decoration:none;
    border-radius:50px;
    font-weight:700;
}

.botao:hover{
    background:var(--celeste);
    transform:translateY(-3px);
}

/* =====================================================
   SEÇÕES GERAIS
===================================================== */

section{
    padding:90px 10%;
    max-width:1220px;
    margin:auto;
}

section h2{
    font-family:Cinzel, serif;
    text-align:center;
    color:var(--azul-profundo);
    font-size:38px;
    margin-bottom:20px;
}

.divisor{
    width:110px;
    height:4px;
    background:linear-gradient(90deg,var(--celeste),var(--azul-bebe),var(--turquesa));
    margin:25px auto 50px;
    border-radius:10px;
}

.texto{
    max-width:900px;
    margin:auto;
    text-align:center;
    font-size:18px;
}

.foto{
    display:block;
    width:100%;
    max-width:900px;
    margin:60px auto;
    border-radius:20px;
    box-shadow:0 20px 35px rgba(31,95,120,.18);
}

/* =====================================================
   SEÇÃO PAI DANIEL
===================================================== */

.sobre-pai{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:55px;
    align-items:center;
    margin-top:50px;
}

.sobre-pai img{
    width:100%;
    border-radius:22px;
    box-shadow:0 20px 35px rgba(31,95,120,.18);
}

.sobre-pai h3{
    font-family:Cinzel, serif;
    color:var(--azul-profundo);
    margin-bottom:20px;
    font-size:26px;
}

.sobre-pai p{
    margin-bottom:18px;
    text-align:justify;
}

/* =====================================================
   TABELA DO CALENDÁRIO DAS GIRAS
===================================================== */

.tabela-giras{
    max-width:720px;
    margin:50px auto;
    overflow-x:auto;
}

.tabela-giras table{
    width:100%;
    border-collapse:collapse;
    background:var(--branco);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(31,95,120,.12);
}

.tabela-giras thead{
    background:var(--azul-profundo);
    color:white;
}

.tabela-giras th{
    padding:18px;
    font-family:Cinzel, serif;
    font-size:17px;
}

.tabela-giras td{
    padding:16px;
    text-align:center;
    border-bottom:1px solid var(--borda);
    font-size:17px;
}

.tabela-giras tbody tr:nth-child(even){
    background:#F0FCFB;
}

.tabela-giras tbody tr:hover{
    background:var(--celeste);
}

.tabela-giras td:first-child{
    font-weight:700;
    color:var(--azul-profundo);
}

/* =====================================================
   CARDS DO ATENDIMENTO
   Layout 2x2 para evitar card isolado.
===================================================== */

.cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:55px;
    align-items:stretch;
}

.card{
    background:var(--branco);
    border:1px solid var(--borda);
    border-radius:20px;
    padding:35px;
    box-shadow:0 10px 25px rgba(31,95,120,.10);
    transition:.3s;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    min-height:220px;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(31,95,120,.16);
}

.card h3{
    font-family:Cinzel, serif;
    color:var(--azul-profundo);
    font-size:24px;
    margin-bottom:18px;
}

.card p{
    font-size:17px;
    line-height:1.8;
}

/* =====================================================
   CAIXAS GRANDES DE INFORMAÇÕES
===================================================== */

.info{
    max-width:940px;
    margin:55px auto 0;
    background:var(--branco);
    border:1px solid var(--borda);
    border-left:7px solid var(--azul-bebe);
    border-radius:20px;
    padding:42px;
    box-shadow:0 10px 25px rgba(31,95,120,.10);
}

.info h3{
    font-family:Cinzel, serif;
    color:var(--azul-profundo);
    text-align:center;
    margin-bottom:25px;
}

.info li{
    margin-bottom:12px;
}

/* =====================================================
   FORMULÁRIO DE CONTATO
===================================================== */

.formulario{
    max-width:720px;
    margin:40px auto;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.formulario input,
.formulario textarea{
    padding:16px;
    border:1px solid var(--borda);
    border-radius:12px;
    background:var(--branco);
    font-family:Montserrat,sans-serif;
    font-size:16px;
}

.formulario input:focus,
.formulario textarea:focus{
    outline:none;
    border-color:var(--azul-bebe);
    box-shadow:0 0 0 4px rgba(130,203,229,.22);
}

.formulario button{
    padding:18px;
    border:none;
    border-radius:12px;
    background:var(--azul-profundo);
    color:white;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
}

.formulario button:hover{
    background:#0F96A8;
}

/* =====================================================
   PÁGINA DO REGIMENTO INTERNO
===================================================== */

.regimento-header{
    padding:95px 10% 65px;
    text-align:center;
    background:linear-gradient(135deg,var(--azul-escuro),var(--azul-profundo),var(--azul-bebe));
    color:white;
}

.regimento-header h1{
    font-family:Cinzel, serif;
    font-size:clamp(34px,5vw,54px);
    margin-bottom:16px;
    text-transform:uppercase;
}

.regimento-main{
    max-width:1120px;
    margin:60px auto;
    padding:0 8%;
}

.aviso{
    background:var(--branco);
    border-left:7px solid var(--azul-bebe);
    padding:28px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(31,95,120,.10);
    margin-bottom:35px;
}

.indice{
    background:var(--branco);
    padding:32px;
    border-radius:18px;
    box-shadow:0 10px 25px rgba(31,95,120,.10);
    margin-bottom:45px;
}

.indice h2{
    font-family:Cinzel, serif;
    color:var(--azul-profundo);
    margin-bottom:18px;
}

.indice a{
    display:block;
    color:var(--azul-profundo);
    text-decoration:none;
    margin-bottom:10px;
    font-weight:600;
}

.indice a:hover{
    color:#0F96A8;
}

.ferramentas{
    margin-top:25px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.botao-regimento{
    display:inline-block;
    padding:12px 22px;
    background:var(--azul-profundo);
    color:white;
    border-radius:30px;
    text-decoration:none;
    border:none;
    cursor:pointer;
    font-weight:700;
    font-family:Montserrat, sans-serif;
}

.botao-regimento:hover{
    background:#0F96A8;
}

.capitulo{
    background:var(--branco);
    padding:45px;
    border-radius:20px;
    box-shadow:0 12px 30px rgba(31,95,120,.12);
    margin-bottom:38px;
    border-top:6px solid var(--azul-bebe);
}

.capitulo h2{
    font-family:Cinzel, serif;
    color:var(--azul-profundo);
    margin-bottom:28px;
    font-size:28px;
    text-align:left;
}

.capitulo p{
    margin-bottom:12px;
    text-align:left;
}

.espaco{
    height:16px;
}

.voltar-topo{
    display:inline-block;
    margin-top:24px;
    padding:10px 20px;
    background:var(--celeste);
    color:var(--azul-escuro);
    text-decoration:none;
    border-radius:30px;
    font-weight:700;
}

/* =====================================================
   RODAPÉ
===================================================== */

footer{
    background:var(--azul-escuro);
    color:white;
    padding:70px 10% 35px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:35px;
    max-width:1200px;
    margin:auto;
}

.footer-coluna h3{
    font-family:Cinzel, serif;
    color:var(--celeste);
    margin-bottom:18px;
}

.footer-coluna a{
    color:white;
    text-decoration:none;
    display:block;
    margin-bottom:8px;
}

.instagram-link{
    display:inline-block !important;
    margin-top:12px;
    padding:10px 20px;
    background:var(--azul-bebe);
    color:var(--azul-escuro) !important;
    border-radius:30px;
    font-weight:700;
}

.footer-final{
    max-width:1200px;
    margin:45px auto 0;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.18);
    text-align:center;
    color:#D9F8F7;
}

/* =====================================================
   IMPRESSÃO / PDF DO REGIMENTO
===================================================== */

@media print{
    nav,
    .indice,
    .aviso,
    .voltar-topo,
    .ferramentas,
    footer{
        display:none;
    }

    body{
        background:white;
        color:black;
    }

    .regimento-header{
        background:white;
        color:black;
        padding:20px 0;
    }

    .regimento-main{
        margin:0;
        padding:0;
        max-width:100%;
    }

    .capitulo{
        box-shadow:none;
        border:1px solid #ddd;
        page-break-inside:avoid;
    }
}

/* =====================================================
   RESPONSIVIDADE PARA CELULAR
===================================================== */

@media(max-width:900px){
    nav{
        flex-direction:column;
        gap:12px;
        padding:12px;
        position:absolute;
    }

    .menu-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:14px;
        font-size:14px;
    }

    header.hero-home{
        padding-top:165px;
    }

    .hero{
        padding:26px;
    }

    section{
        padding:70px 7%;
    }

    section h2{
        font-size:31px;
    }

    .sobre-pai{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:1fr;
    }

    .info{
        padding:28px;
    }

    .capitulo{
        padding:28px;
    }
}

.popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    z-index:9999;
}

.popup-conteudo{

    width:420px;
    max-width:90%;

    background:#fff;

    border-radius:12px;

    padding:35px;

    text-align:center;

    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    box-shadow:0 20px 50px rgba(0,0,0,.35);

}

.fechar{

    position:absolute;

    top:12px;

    right:18px;

    cursor:pointer;

    font-size:28px;

}

.botao-popup{

    display:inline-block;

    margin-top:20px;

    background:#8c6a35;

    color:#fff;

    padding:14px 28px;

    text-decoration:none;

    border-radius:8px;

    font-weight:bold;

}

.sobre-pai a {
    color: #b78b3b;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.sobre-pai a:hover {
    color: #d8ae5b;
    text-decoration: underline;
}

.links-pai-daniel {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-pai-daniel a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 14px 18px;
    border-radius: 10px;

    background: #f7f1e6;
    border: 1px solid #d6b36a;

    color: #3b2b16;
    text-decoration: none;

    transition: 0.3s;
}

.links-pai-daniel a:hover {
    background: #d6b36a;
    color: #fff;
    transform: translateY(-2px);
}

.links-pai-daniel span {
    font-weight: 500;
}

.links-pai-daniel strong {
    font-size: 0.9rem;
}

.botao-obras-flutuante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;

    background: #8c6a35;
    color: #fff;

    padding: 14px 22px;
    border-radius: 40px;

    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;

    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.botao-obras-flutuante:hover {
    background: #b78b3b;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .botao-obras-flutuante {
        right: 15px;
        bottom: 15px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}
.botao-apoio-flutuante {

    position: fixed;

    right: 20px;

    bottom: 90px;   /* sobe o botão */

    z-index: 9999;

    background: #8c6a35;

    color: #fff;

    padding: 14px 22px;

    border-radius: 40px;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;

}

.botao-apoio-flutuante:hover{

    background:#b78b3b;

}