/*CONFIGURAÇÕES GERAIS*/
:root {
    --cor-fundo-claro: #F8F6F2; 
    --cor-fundo-verde: #EAEFEC; 
    --cor-texto: #3D403D; 
    --cor-titulo: #25482c; 
    --cor-dourado: #B59A53; 
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif; 
    line-height: 1.7;
    background-color: var(--cor-fundo-claro);
    color: var(--cor-texto);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif; 
    color: var(--cor-titulo);
    font-weight: 600;
    line-height: 1.3;
}

section {
    padding: 80px 0;
}

.fundo-verde {
    background-color: var(--cor-fundo-verde);
}


/*CABEÇALHO E NAVEGAÇÃO*/
header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 60px;
    border-radius: 8px;
}

nav a {
    color: var(--cor-texto);
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--cor-dourado);
}

header {
    background: var(--cor-titulo); 
    padding: 15px 0;
    border-bottom: 3px solid var(--cor-dourado); 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; 
}

.logo-titulo {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.logo {
    max-height: 60px;
}

.header-texto h1,
.header-texto p {
    color: #fff;
}

.header-texto h1 {
    font-size: 1.8em;
    margin: 0;
}

.header-texto p {
    margin: 0;
    font-size: 0.9em;
}

.main-nav {
    display: flex;
    gap: 25px; 
}

.main-nav a {
    color: #fff; 
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--cor-dourado); 
    border-bottom-color: var(--cor-dourado);
}


/*BOAS-VINDAS*/
#hero {
    background-color: var(--cor-fundo-verde);
    text-align: center;
    padding: 120px 0;
}

#hero h1,
#hero p {
    color: var(--cor-titulo);
    text-shadow: none;
}

#hero h1 {
    font-size: 2.8em;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

#hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background-color: var(--cor-dourado);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #a18642;
}


/*CARDS DE APRESENTAÇÃO*/
#intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden; 
    text-align: center;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 20px 20px 10px 20px;
}

.card p {
    padding: 0 20px 20px 20px;
}

/*SOBRE NÓS*/
#sobre-nos {
    padding: 60px 20px;
    background: #f9f9f9;
}

.sobre-nos-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.sobre-nos-texto {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.sobre-nos-texto h2 {
    font-size: 2.5rem;
    color: var(--cor-titulo);
    margin-bottom: 15px;
}

.sobre-nos-texto p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.swiper {
    flex: 1;
    max-width: 1200px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.swiper-pagination-bullet {
  background: var(--cor-dourado) !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  background: var(--cor-titulo) !important;
  opacity: 1 !important;
}

/*SEÇÕES DE CONTEÚDO (SERVIÇOS, PAF, CONTATO)*/
#servicos h2, #paf h2, #contato h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}
p.subtitulo {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
}

/*SERVIÇOS*/
.servico-box {
    background: #fff;
    max-width: 600px;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--cor-fundo-verde);
}
.servico-box .preco {
    font-family: 'Lora', serif;
    font-size: 1.8em;
    font-weight: 600;
    color: var(--cor-titulo);
}

/*PAF*/
.paf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}
.paf-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
}
.paf-card ul {
    list-style: none;
}
.paf-card li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
#paf h4 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/*PLANOS PAF*/
.planos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.plano-box {
    border: 2px solid var(--cor-dourado);
    border-radius: 8px;
    padding: 25px;
    width: 280px;
    text-align: center;
    background: #fff;
}
.plano-titulo { font-size: 1.5em; font-weight: bold; color: var(--cor-titulo); }
.plano-preco { font-size: 2.2em; font-weight: bold; color: var(--cor-dourado); margin: 15px 0; }
.plano-detalhe { font-size: 1.1em; }
.taxa-inscricao { text-align: center; margin-top: 30px; font-style: italic; }

/*CAPELA DA PAZ*/
#estrutura {
    background-color: #F0F0F0;
}

.estrutura-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.estrutura-imagem, .estrutura-texto {
    flex: 1;
}

.estrutura-imagem img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.estrutura-texto h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.estrutura-texto p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-galeria {
    background-color: var(--cor-titulo);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-galeria:hover {
    background-color: var(--cor-dourado);
}

#estrutura .estrutura-principal {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

#estrutura .estrutura-principal .estrutura-texto {
    flex: 1;
    order: 1;
    text-align: left;
}

#estrutura .estrutura-principal .estrutura-imagem {
    flex: 1;
    order: 2;
    display: flex;
    justify-content: flex-end;
}

#estrutura .estrutura-principal .estrutura-imagem img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    #estrutura .estrutura-principal {
        flex-direction: column;
        gap: 30px;
    }
    #estrutura .estrutura-principal .estrutura-texto,
    #estrutura .estrutura-principal .estrutura-imagem {
        order: unset;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    #estrutura .estrutura-principal .estrutura-imagem img {
        max-width: 100%;
    }
}
#contato {
    text-align: center;
}
#contato .contato-info a {
    color: inherit;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}
#contato .contato-info a:hover {
    color: var(--cor-dourado);
}

/*REDES SOCIAIS*/
#redes-sociais {
    background-color: var(--cor-fundo-claro);
    padding: 80px 0;
}

.redes-sociais-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.redes-sociais-texto {
    flex: 2;
    min-width: 300px;
}

.redes-sociais-texto h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.redes-sociais-botoes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 200px;
}

.btn-social {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    text-align: center;
    background-color: transparent;
    color: var(--cor-titulo);
    border: 2px solid var(--cor-titulo);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all o.3s ease;
}

.btn-social:hover {
    background-color: var(--cor-titulo);
    color: #fff;
}

/*CONTATO POR FORMULÁRIO*/
#contato {
    text-align: left;
}

.contato-wrapper {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.contato-info, .contato-form {
    flex: 1;
}

.contato-info h3, .contato-form h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.contato-info p, .contato-form p {
    margin-bottom: 20px;
}

.telefones a:hover {
    color: var(--cor-dourado);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--cor-titulo);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--cor-dourado);
    outline: none;
}

.btn-enviar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--cor-titulo);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: var(--cor-dourado);
}

/*LOCALIZAÇÃO E MAPA*/
#localizacao {
    background-color: var(--cor-fundo-claro); 
}

#localizacao h2, #localizacao .subtitulo {
    text-align: center;
}

.localizacao-content {
    display: flex;
    align-items: center;
    gap: 60px; 
    margin-top: 40px;
}

.localizacao-texto {
    flex: 1; 
    text-align: left; 
}

.localizacao-texto h3 {
    font-size: 1.8em;
}

.localizacao-texto .endereco-texto {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 15px 0 30px 0;
}

.localizacao-texto h4 {
    margin-top: 20px;
}

.localizacao-mapa {
    flex: 1;
}

.mapa-container {
    width: 100%;
    position: relative;
    padding-bottom: 75%; 
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*FOOTER*/
footer {
    background: var(--cor-titulo);
    color: #f0f0f0;
    padding: 60px 0 20px 0;
    font-size: 0.9em;
    padding-top: 80px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 220px;
}

.footer-column h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--cor-dourado);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.footer-bottom .dev-link {
    display: inline-block;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-bottom .dev-link:hover {
    color: var(--cor-dourado);
    transform: translateY(-2px);
}

.dev-link svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/*PÁGINA DA GALERIA - CAPELA DA PAZ*/
.gallery-container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.gallery-intro h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-footer {
    text-align: center;
    margin-top: 60px;
}

.btn-voltar {
    color: var(--cor-titulo);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-voltar:hover {
    color: var(--cor-dourado);
}

/*BOTÃO DE VOLTAR AO TOPO*/
#back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    background-color: var(--cor-titulo);
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top-btn:hover {
    background-color: var(--cor-dourado);
    transform: scale(1.1);
}

/*RESPONSIVIDADE*/
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo-titulo {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .header-texto h1 {
        font-size: 1.45em;
    }

    .header-texto p {
        font-size: 0.85em;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .main-nav a {
        font-size: 1em;
        padding: 4px 0;
    }

    .sobre-nos-container {
        flex-direction: column;
        text-align: center;
    }

    .swiper {
        max-width: 100%;
    }

    .swiper-slide img {
        max-height: 350px;
    }

    .paf-grid {
        grid-template-columns: 1fr;
    }

    .estrutura-content {
        flex-direction: column;
        gap: 40px;
    }

    .contato-wrapper {
        flex-direction: column;
    }

    .footer-main {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 0;
    }

    .logo-titulo {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        max-height: 52px;
    }

    .header-texto h1 {
        font-size: 1.25em;
    }

    .header-texto p {
        font-size: 0.8em;
    }

    .main-nav {
        gap: 10px 14px;
    }

    .main-nav a {
        font-size: 0.95em;
    }
}
