/* Importação de Fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* Variáveis CSS para facilitar a manutenção */
:root {
    --primary-color: #A32D2C;
    /* Um vermelho mais escuro, semelhante ao The Sanctuary */
    --secondary-color: #2F3645;
    /* Um cinza escuro, quase preto */
    --accent-color: #FFC107;
    /* Um toque de amarelo/dourado para destaque */
    --text-color: #333333;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --dark-bg: #222222;
    /* Para seções escuras */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --header-height: 80px;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Títulos Globais */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #6607ff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(221, 220, 220, 0.95);
    box-shadow: 0 4px 8px rgba(89, 226, 62, 0.15);
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: font-size 0.3s ease;
}

.main-header.scrolled .logo {
    font-size: 1.6rem;
}


.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-list li {
    margin-left: 25px;
    /* AJUSTE PARA O ALINHAMENTO DO MENU */
}

.main-nav .nav-list li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    /* AJUSTE PARA O ALINHAMENTO DO MENU */
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease, font-size 0.3s ease;
}

.main-header.scrolled .nav-list li a {
    font-size: 0.85rem;
    /* Levemente menor quando scrolled para manter a compactação */
}


.main-nav .nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.main-nav .nav-list li a:hover::after {
    width: 100%;
}

.hamburger-menu {
    display: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Seções */
.section {
    padding: 80px 0;
    text-align: center;
}

.section h2 {
    margin-bottom: 2rem;
    font-size: 3rem;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section.bg-dark {
    background-color: var(--dark-bg);
}

.section.text-white {
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/background-image.jpg');
    /* Adiciona a imagem de fundo e uma sobreposição escura */
    background-size: cover;
    background-position: center;
    color: #fff;
    /* Muda a cor do texto para branco para ficar visível sobre o fundo escuro */
    min-height: 100vh;
    /* Faz com que a seção ocupe a altura total da tela */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-content .btn {
    margin: 0 10px;
}

/* --- Ajustes na Seção "Nossa Missão" (About Section) --- */
.about-section {
    padding: 80px 0;
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas de largura igual para telas grandes */
    gap: 30px;
    margin-top: 3rem;
    text-align: left;
}

/* Garante que o grid se comporte bem em telas menores */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        /* Itens em uma única coluna em telas menores */
    }
}

.about-item {
    background-color: var(--white);
    /* Fundo branco para os cards, destaca-os do bg-light da seção */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.about-item h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-item ul {
    list-style: none;
    margin-top: 1rem;
    padding-left: 0;
    /* Garante que a lista não tenha recuo */
}

.about-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
}

.about-item ul li::before {
    content: '\f00c';
    /* Font Awesome Checkmark */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Sermons Section (Original index.html) */
.sermons-section h2 {
    font-size: 3rem;
}

.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.sermon-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

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

.sermon-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sermon-card h3 {
    margin: 15px 20px 5px 20px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.sermon-card .sermon-date {
    font-size: 0.9rem;
    color: #777;
    margin: 0 20px 10px 20px;
}

.sermon-card p {
    font-size: 1rem;
    margin: 0 20px 15px 20px;
    color: #555;
}

.sermon-card .btn {
    margin: 0 20px 20px 20px;
    display: block;
    width: calc(100% - 40px);
}

/* Sermão em Destaque */
.featured-sermon-section {
    padding: 60px 0;
}

.featured-sermon {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.featured-sermon-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.featured-sermon-preacher {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

/* Container do vídeo para ser responsivo (proporção 16:9) */
.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Seção de Arquivo e Cards */
.sermons-archive-list {
    padding-top: 40px;
}

/* Estilos para os filtros */
.sermon-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap; 
}

.sermon-filters input, .sermon-filters select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 250px;
    max-width: 100%;
}

/* O grid de sermões */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Estilos para os cards individuais */
.sermon-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    padding: 15px;
    text-align: center;
}

.sermon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Give Section (Original index.html) */
.give-section {
    padding: 100px 0;
    background-color: var(--dark-bg);
    color: var(--white);
}

.give-section h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.give-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section (Original index.html) */
.contact-section h2 {
    font-size: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #02031a;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-right: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
    flex-grow: 1;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* Estilos para ministries.html */
.ministries-list {
    padding-top: 40px;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.ministry-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ministry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ministry-card h3 {
    margin: 15px 20px 5px 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.ministry-card p {
    font-size: 1rem;
    margin: 0 20px 20px 20px;
    color: #555;
}

/* Estilos para páginas de detalhe de ministérios, sermões e eventos */
.ministry-detail-content,
.event-detail-content,
.sermon-detail-content,
.privacy-content {
    padding-top: 40px;
    text-align: left;
}

.ministry-detail-content h3,
.event-detail-content h3,
.sermon-detail-content h3,
.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.ministry-detail-content ul,
.event-detail-content ul,
.sermon-detail-content ul,
.privacy-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.ministry-detail-content ul li,
.event-detail-content ul li,
.sermon-detail-content ul li,
.privacy-content ul li {
    margin-bottom: 0.8rem;
}

.ministry-detail-content .ministry-detail-img,
.event-detail-content .event-detail-img,
.sermon-detail-content .sermon-detail-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para events.html */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.event-listing-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.event-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-listing-card .card-content {
    padding: 20px;
}

.event-listing-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.event-listing-card .event-date-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.event-listing-card .event-date-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-listing-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.event-listing-card .btn {
    width: auto;
    margin-top: 10px;
}

/* Estilos para give.html */
.give-content {
    padding-top: 40px;
}

.give-content .give-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.give-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.give-option-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.give-option-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.give-option-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.give-option-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.give-option-card small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Estilos para contact.html */
.contact-section h2 {
    font-size: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #02031a;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-right: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
    flex-grow: 1;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Estilos para ministries.html */
.ministries-list {
    padding-top: 40px;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.ministry-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ministry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ministry-card h3 {
    margin: 15px 20px 5px 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.ministry-card p {
    font-size: 1rem;
    margin: 0 20px 20px 20px;
    color: #555;
}

/* Estilos para páginas de detalhe de ministérios, sermões e eventos */
.ministry-detail-content,
.event-detail-content,
.sermon-detail-content,
.privacy-content {
    padding-top: 40px;
    text-align: left;
}

.ministry-detail-content h3,
.event-detail-content h3,
.sermon-detail-content h3,
.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.ministry-detail-content ul,
.event-detail-content ul,
.sermon-detail-content ul,
.privacy-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.ministry-detail-content ul li,
.event-detail-content ul li,
.sermon-detail-content ul li,
.privacy-content ul li {
    margin-bottom: 0.8rem;
}

.ministry-detail-content .ministry-detail-img,
.event-detail-content .event-detail-img,
.sermon-detail-content .sermon-detail-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para events.html */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.event-listing-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.event-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-listing-card .card-content {
    padding: 20px;
}

.event-listing-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.event-listing-card .event-date-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.event-listing-card .event-date-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-listing-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.event-listing-card .btn {
    width: auto;
    margin-top: 10px;
}

/* Estilos para give.html */
.give-content {
    padding-top: 40px;
}

.give-content .give-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.give-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.give-option-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.give-option-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.give-option-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.give-option-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.give-option-card small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Estilos para contact.html */
.contact-section h2 {
    font-size: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #02031a;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-right: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
    flex-grow: 1;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}
/* Estilos para ministries.html */
.ministries-list {
    padding-top: 40px;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.ministry-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ministry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ministry-card h3 {
    margin: 15px 20px 5px 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.ministry-card p {
    font-size: 1rem;
    margin: 0 20px 20px 20px;
    color: #555;
}

/* Estilos para páginas de detalhe de ministérios, sermões e eventos */
.ministry-detail-content,
.event-detail-content,
.sermon-detail-content,
.privacy-content {
    padding-top: 40px;
    text-align: left;
}

.ministry-detail-content h3,
.event-detail-content h3,
.sermon-detail-content h3,
.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.ministry-detail-content ul,
.event-detail-content ul,
.sermon-detail-content ul,
.privacy-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.ministry-detail-content ul li,
.event-detail-content ul li,
.sermon-detail-content ul li,
.privacy-content ul li {
    margin-bottom: 0.8rem;
}

.ministry-detail-content .ministry-detail-img,
.event-detail-content .event-detail-img,
.sermon-detail-content .sermon-detail-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para events.html */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.event-listing-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.event-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-listing-card .card-content {
    padding: 20px;
}

.event-listing-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.event-listing-card .event-date-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.event-listing-card .event-date-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-listing-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.event-listing-card .btn {
    width: auto;
    margin-top: 10px;
}

/* Estilos para give.html */
.give-content {
    padding-top: 40px;
}

.give-content .give-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.give-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.give-option-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.give-option-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.give-option-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.give-option-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.give-option-card small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Estilos para contact.html */
.contact-section h2 {
    font-size: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #02031a;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-right: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
    flex-grow: 1;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Estilos para ministries.html */
.ministries-list {
    padding-top: 40px;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.ministry-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ministry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ministry-card h3 {
    margin: 15px 20px 5px 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.ministry-card p {
    font-size: 1rem;
    margin: 0 20px 20px 20px;
    color: #555;
}

/* Estilos para páginas de detalhe de ministérios, sermões e eventos */
.ministry-detail-content,
.event-detail-content,
.sermon-detail-content,
.privacy-content {
    padding-top: 40px;
    text-align: left;
}

.ministry-detail-content h3,
.event-detail-content h3,
.sermon-detail-content h3,
.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.ministry-detail-content ul,
.event-detail-content ul,
.sermon-detail-content ul,
.privacy-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.ministry-detail-content ul li,
.event-detail-content ul li,
.sermon-detail-content ul li,
.privacy-content ul li {
    margin-bottom: 0.8rem;
}

.ministry-detail-content .ministry-detail-img,
.event-detail-content .event-detail-img,
.sermon-detail-content .sermon-detail-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para events.html */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.event-listing-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.event-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-listing-card .card-content {
    padding: 20px;
}

.event-listing-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.event-listing-card .event-date-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.event-listing-card .event-date-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-listing-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.event-listing-card .btn {
    width: auto;
    margin-top: 10px;
}

/* Estilos para give.html */
.give-content {
    padding-top: 40px;
}

.give-content .give-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.give-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.give-option-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.give-option-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.give-option-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.give-option-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.give-option-card small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Estilos para contact.html */
.contact-section h2 {
    font-size: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #02031a;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-right: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
    flex-grow: 1;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- ESTILOS PARA AS NOVAS PÁGINAS (about.html, pascoa.html, ministries.html, events.html, etc.) --- */
/* Cabeçalho de página para as novas páginas (não para index.html) */
.hero-page-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 100px 20px 60px;
    margin-top: var(--header-height);
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-page-header h1 {
    color: var(--white);
    font-size: 3.8rem;
    margin-bottom: 1rem;
}

.hero-page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Estilos para about.html */
.about-intro .container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap;
}

.about-intro .about-text {
    flex: 1;
    min-width: 300px;
}

.about-intro .about-image {
    flex-shrink: 0;
    width: 40%;
    max-width: 500px;
}

.about-intro .about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-vision-section {
    padding: 60px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
    text-align: left;
}

.mission-item,
.vision-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.mission-item h3,
.vision-item h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.leadership-section {
    padding: 80px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.leader-card {
    text-align: center;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.leader-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.leader-card h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.leader-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Estilos para ministries.html */
.ministries-list {
    padding-top: 40px;
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.ministry-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.ministry-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ministry-card h3 {
    margin: 15px 20px 5px 20px;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.ministry-card p {
    font-size: 1rem;
    margin: 0 20px 20px 20px;
    color: #555;
}

/* Estilos para páginas de detalhe de ministérios, sermões e eventos */
.ministry-detail-content,
.event-detail-content,
.sermon-detail-content,
.privacy-content {
    padding-top: 40px;
    text-align: left;
}

.ministry-detail-content h3,
.event-detail-content h3,
.sermon-detail-content h3,
.privacy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.ministry-detail-content ul,
.event-detail-content ul,
.sermon-detail-content ul,
.privacy-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 1.5rem;
}

.ministry-detail-content ul li,
.event-detail-content ul li,
.sermon-detail-content ul li,
.privacy-content ul li {
    margin-bottom: 0.8rem;
}

.ministry-detail-content .ministry-detail-img,
.event-detail-content .event-detail-img,
.sermon-detail-content .sermon-detail-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para events.html */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.event-listing-card {
    display: block;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.event-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.event-listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.event-listing-card .card-content {
    padding: 20px;
}

.event-listing-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.event-listing-card .event-date-location {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 8px;
}

.event-listing-card .event-date-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-listing-card p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}

.event-listing-card .btn {
    width: auto;
    margin-top: 10px;
}

/* Estilos para give.html */
.give-content {
    padding-top: 40px;
}

.give-content .give-intro {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.give-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.give-option-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.give-option-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.give-option-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.give-option-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.give-option-card small {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

/* Estilos para contact.html */
.contact-section h2 {
    font-size: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    text-align: left;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #02031a;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: auto;
    margin-top: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-right: 50px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
    flex-grow: 1;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Estilos para páginas de detalhe de ministérios (ex: ministries/infantil.html) --- */

/* Galeria de Fotos */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    /* Altura fixa para as imagens da galeria */
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 15px;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
    /* Remove margem inferior padrão */
}

/* Lista de Eventos da Semana */
.event-details-list {
    list-style: none;
    /* Remove marcadores padrão */
    padding: 0;
    text-align: left;
    /* Alinha o texto da lista à esquerda */
    margin-top: 2rem;
    max-width: 700px;
    /* Limita a largura para melhor leitura */
    margin-left: auto;
    margin-right: auto;
}

.event-details-list li {
    background-color: var(--light-bg);
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.event-details-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3rem;
}

.event-details-list li a {
    font-size: 1rem;
    /* Ajusta o tamanho do link dentro da lista */
    margin-left: 10px;
}

/* Participantes do Ministério (Professores/Voluntários) */
.ministry-participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    /* Cards menores para participantes */
    gap: 20px;
    margin-top: 2rem;
}

.participant-card {
    background-color: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.participant-card img {
    width: 100px;
    /* Tamanho da foto de perfil do participante */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.participant-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.participant-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

/* style.css (add these or similar styles) */

.course-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    /* MODIFICADO PARA FLEX */
    flex-direction: column;
    /* MODIFICADO PARA FLEX */
    justify-content: space-between;
    /* MODIFICADO PARA FLEX */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-card img {
    max-width: 100%;
    height: 180px;
    /* Adjust as needed */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.course-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.course-card p {
    color: #666;
    font-size: 0.95rem;
}

#course-detail-section .ministry-detail-img,
#artistic-expression-detail-section .ministry-detail-img {
    /* COMBINADO */
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    /* JÁ EXISTENTE, CONFERIDO */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    /* JÁ EXISTENTE, CONFERIDO */
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gallery-item img {
    /* JÁ EXISTENTE, CONFERIDO */
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    /* JÁ EXISTENTE, CONFERIDO */
    padding: 0.8rem;
    color: #555;
    font-size: 0.9em;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
/* A Chave:Video ministerio infantil Garante que o contêiner do vídeo tenha uma proporção de 16:9 */
.video-wrapper {
    position: relative; /* Necessário para posicionar o vídeo */
    width: 100%;
    padding-bottom: 100%; /* Isso é 9/16 * 100%. Define a altura. */
    height: 0; /* Zera a altura real, que agora é controlada pelo padding */
    overflow: hidden;
}

/* Garante que o elemento video preencha exatamente o wrapper */
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra a área sem distorcer (opcional) */
}

.video-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 1rem;
    /* Space for text below video */
    text-align: center;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    /* Adjust height as needed for responsive videos */
    display: block;
}

.video-item p {
    padding: 0.8rem;
    color: #555;
    font-size: 0.9em;
}

/* Ensure responsiveness for iframes */
@media (max-width: 768px) {
    .video-item iframe {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .video-item iframe {
        height: 150px;
    }

    .course-card img {
        height: 150px;
    }

    .gallery-item img {
        height: 150px;
    }
}

/* Estilo para o novo botão 'Converse Conosco' (DA SEÇÃO HERO) */
.btn-accent-outline {
    background-color: transparent;
    color: var(--accent-color);
    /* Cor de destaque */
    border: 2px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 15px 30px;
    /* Mais padding para destaque */
    margin: 0 10px;
    /* Alinhar com os outros botões */
}

.btn-accent-outline:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    /* Texto escuro ao passar o mouse */
    border-color: var(--accent-color);
    transform: translateY(-2px);
    /* Pequeno efeito de elevação */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-accent-outline i {
    margin-right: 8px;
    /* Espaçamento entre ícone e texto */
}

/* Garante que os botões na seção hero fiquem em uma linha em desktop */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Permite quebrar linha em telas menores */
    margin-top: 2.5rem;
}

.hero-buttons .btn {
    margin: 10px;
    /* Espaço entre os botões */
}

/* Media Query para responsividade do novo botão */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        /* Botões em coluna em telas pequenas */
    }

    .hero-buttons .btn {
        width: 80%;
        /* Botões mais largos em mobile */
        margin: 10px auto;
    }
}

/* --- NOVOS ESTILOS PARA O CHATBOT --- */
.novo-chatbot-container {
    /* Se você descomentar o ícone flutuante no HTML, ajuste estas propriedades */
    /* position: fixed; */
    /* bottom: 25px; */
    /* right: 25px; */
    /* z-index: 1000; */
}

/* Estilos para o ícone flutuante (opcional) */
.novo-chatbot-toggle-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* Ajustado para fas fa-comment-dots */
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.novo-chatbot-toggle-icon:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.novo-chatbot-window {
    width: 360px;
    max-height: 500px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, visibility 0s linear 0.3s, transform 0.3s ease;
}

.novo-chatbot-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.3s ease, visibility 0s linear 0s, transform 0.3s ease;
}

.novo-chatbot-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.novo-chatbot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

.novo-chatbot-close-btn {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.novo-chatbot-close-btn:hover {
    color: var(--primary-color);
}

.novo-chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f7f9fc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.novo-chatbot-message {
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.95rem;
    max-width: 85%;
    word-wrap: break-word;
}

.novo-chatbot-message.bot {
    background-color: #e9ecef;
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.novo-chatbot-message.user {
    background-color: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.novo-chatbot-message a {
    color: var(--accent-color);
    text-decoration: underline;
}

.novo-chatbot-message a:hover {
    color: var(--secondary-color);
}


.novo-chatbot-input-area {
    display: flex;
    padding: 12px 15px;
    border-top: 1px solid #e0e0e0;
    background-color: var(--white);
}

#novoChatbotInput {
    flex-grow: 1;
    border: 1px solid #ced4da;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 1rem;
    margin-right: 10px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s ease;
}

#novoChatbotInput:focus {
    border-color: var(--primary-color);
}

#novoChatbotSendButton {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#novoChatbotSendButton:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: rotate(15deg);
}

/* Responsividade para o Chatbot */
@media (max-width: 480px) {
    .novo-chatbot-window {
        width: calc(100% - 30px);
        max-height: 80vh;
        bottom: 15px;
        right: 15px;
    }

    .novo-chatbot-toggle-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Seção com fundo claro */
.section.bg-light {
    background-color: #4f616f;
    /* Um cinza claro para a seção de sermões, por exemplo */
    color: #333;
    /* Cor do texto para contraste */
}

/* Seção com fundo escuro */
.section.bg-dark {
    background-color: #36454e;
    /* Um cinza escuro para a seção de doação, por exemplo */
    color: #fff;
    /* Cor do texto para contraste */
}
/* --- NOVOS ESTILOS PARA A PÁGINA SOBRE NÓS --- */

/* Estilo para a seção hero da página Sobre Nós */
.hero-page-about {
    background-image: linear-gradient(rgba(47, 54, 69, 0.7), rgba(47, 54, 69, 0.7)), url('../img/sobrenos.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    min-height: 70vh; /* Altura um pouco maior para a seção de herói da página */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: var(--header-height);
}

.hero-page-about h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-page-about p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos para o layout de grade de 2 colunas */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
    margin: 60px 0;
}

.grid-2-cols.reverse-grid {
    direction: rtl; /* Inverte a ordem da grade */
}

.grid-2-cols.reverse-grid .content-text,
.grid-2-cols.reverse-grid .content-image {
    direction: ltr; /* Restaura a direção do texto e imagem */
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para a seção de valores com ícones */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
    text-align: center;
}

.value-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.value-item i {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Responsividade para layouts de grade */
@media (max-width: 992px) {
    .grid-2-cols, .values-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ESTILOS PARA A SEÇÃO 'NOSSA EQUIPE' (replica o design da Renewal Church) --- */

.team-section {
    padding: 80px 0;
    background-color: var(--background-light); /* Ou a cor de fundo que você preferir para essa seção */
}

.team-section h2 {
    margin-bottom: 15px;
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.team-section .section-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center; /* Centraliza os itens na grade */
}

.team-member {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Para flexbox interno */
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.member-photo {
    width: 180px; /* Largura da forma hexagonal */
    height: 180px; /* Altura da forma hexagonal */
    background: var(--light-gray); /* Cor de fundo para o espaço do hexágono */
    margin: 0 auto 25px auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Garante que a imagem não vaze do hexágono */
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o hexágono sem distorcer */
    /* Não aplicamos clip-path diretamente na imagem para evitar bordas brancas indesejadas */
}

.team-member h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.team-member .role {
    font-size: 1.1rem;
    color: var(--primary-color); /* Para dar destaque, como no exemplo */
    margin-bottom: 20px;
    flex-grow: 1; /* Empurra os links sociais para baixo se o texto do cargo for curto */
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links li a {
    color: var(--gray);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: var(--primary-color);
}

/* Responsividade para a grade da equipe */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .member-photo {
        width: 150px;
        height: 150px;
    }
}
/* Seção de Programação Semanal */
.weekly-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.schedule-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.schedule-header {
    background-color: #0056b3; /* Cor primária da sua igreja */
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-day {
    font-weight: 700;
    font-size: 1.25rem;
}

.schedule-time {
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.8;
}

.schedule-body {
    padding: 20px;
    flex-grow: 1;
}

.schedule-title {
    font-size: 1.5rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

.schedule-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.schedule-link {
    display: block;
    text-align: right;
    padding: 15px 20px;
    background-color: #f8f9fa;
    color: #0056b3;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.schedule-link:hover {
    background-color: #e9ecef;
}
/* Estilos para a seção de eventos com imagem de fundo */
.events-section {
    padding: 80px 0; /* Aumenta um pouco o padding para dar mais respiro */
    background: url('../img/backgrounds/events-bg.jpg') no-repeat center center/cover; /* Caminho da sua imagem */
    position: relative; /* Necessário para posicionar o overlay */
    color: #fff; /* Altera a cor do texto padrão para branco */
}

/* Overlay para melhorar a legibilidade do texto sobre a imagem */
.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Cor escura semitransparente */
    z-index: 1; /* Garante que o overlay fique abaixo do conteúdo */
}

/* Garante que o conteúdo da seção fique acima do overlay */
.events-section .container {
    position: relative;
    z-index: 2; 
}

/* Ajustes para o texto dentro da seção de eventos */
.events-section .section-title {
    color: #fff; /* Título branco para contraste */
    margin-bottom: 40px;
}

/* Ajustes para os cards dentro da seção de eventos */
.schedule-card {
    background-color: rgba(255, 255, 255, 0.95); /* Deixa os cards ligeiramente transparentes */
    border: none; /* Remove a borda se preferir */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.schedule-card .schedule-header {
    background-color: #007bff; /* Uma cor mais vibrante para o cabeçalho do card */
    /* Ou, se preferir uma versão mais escura da cor primária: */
    /* background-color: #004085; */ 
}

.schedule-card .schedule-link {
    background-color: rgba(248, 249, 250, 0.8); /* Fundo do link ligeiramente transparente */
    color: #0056b3;
}

.schedule-card .schedule-title {
    color: #333; /* Cor do título dentro do card */
}

.schedule-card .schedule-description {
    color: #555; /* Cor da descrição dentro do card */
}
/* Seção de Cursos e Eventos */
.courses-events-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1em;
    color: #666;
}

.courses-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-event-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3em;
    color: #007bff; /* Cor primária */
    margin-bottom: 15px;
}

.course-event-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.course-event-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .courses-events-grid {
        grid-template-columns: 1fr;
    }
}


/* Responsividade */
img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .container {
        padding: 0 10px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .grid, .row {
        display: block !important;
    }
}

/* ==== MENU HAMBURGUER ==== */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-menu a {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }
}

/* ==== HAMBURGUER ICON (3 linhas) ==== */
.menu-toggle {
  width: 30px;
  height: 25px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background: #333;
  border-radius: 2px;
}
/* ===== MENU RESPONSIVO ===== */
.menu-toggle, .hamburger-menu {
    display: none;
    cursor: pointer;
}

/* Estilo do hamburguer */
.hamburger-menu {
    font-size: 28px;
    color: #333;
}

/* Para mobile */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 10px;
        width: 80%;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        border-radius: 8px;
        z-index: 999;
    }

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

    .hamburger-menu {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .nav-list li {
        text-align: left;
    }
}
/* ========================================================= */
/* === OTIMIZAÇÕES PARA TELAS PEQUENAS (SMARTPHONES/TABLETS) === */
/* ========================================================= */

@media (max-width: 992px) {
    /* Ajusta o layout do rodapé para dispositivos móveis */
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-right: 0;
        width: 100%;
        align-items: center;
    }

    .footer-info {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    /* === TIPOGRAFIA === */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* === HEADER E NAVEGAÇÃO === */
    .main-header {
        padding: 15px 0;
    }

    .main-header .logo {
        font-size: 1.4rem;
    }

    /* Oculta o menu de navegação padrão */
    .main-nav {
        display: none;
    }

    /* Exibe o menu de hambúrguer */
    .hamburger-menu {
        display: block;
        font-size: 28px;
        color: var(--text-color);
    }

    /* Estilos do menu de hambúrguer aberto */
    .main-nav.active {
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        position: absolute;
        top: 70px;
        right: 10px;
        width: 80%;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        z-index: 999;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-nav .nav-list li {
        text-align: left;
        width: 100%;
    }

    .main-nav .nav-list li a {
        display: block;
        padding: 10px 0;
    }
    
    .main-nav .nav-list li .btn {
        width: 100%;
    }

    /* === SEÇÃO HERO === */
    .hero-content h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Botões na seção principal em coluna */
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 80%;
        margin: 10px auto;
    }

    /* === GRIDS E LAYOUTS === */
    .about-grid,
    .contact-grid,
    .weekly-schedule-grid,
    .courses-events-grid,
    .sermon-grid,
    .mission-vision-grid,
    .leadership-grid,
    .ministry-grid,
    .event-grid,
    .give-options-grid,
    .gallery-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-intro .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .about-intro .about-text {
        text-align: center;
    }
    
    .about-intro .about-image {
        width: 100%;
    }
    
    .grid-2-cols {
        grid-template-columns: 1fr;
    }

    .grid-2-cols.reverse-grid {
        direction: ltr; /* Desfaz a inversão em mobile */
    }

    .team-member {
        padding: 20px;
    }

    /* === CHATBOT === */
    .novo-chatbot-window {
        width: 90%;
        max-width: 340px;
        bottom: 15px;
        right: 15px;
    }
    
    .novo-chatbot-toggle-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
/* --- Seção de Galeria de Vigílias --- */
.gallery-vigilias {
    padding: 40px 0;
    background-color: #f9f9f9; /* Um fundo suave para destacar a galeria */
}

.gallery-vigilias .section-title {
    margin-bottom: 10px;
}

.gallery-vigilias .section-subtitle {
    margin-bottom: 30px;
    color: #666;
}

.gallery-container {
    display: grid; /* Usa Grid para o layout em blocos */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 3 colunas, responsivas */
    gap: 20px; /* Espaçamento entre as imagens */
    max-width: 1000px; /* Limita a largura máxima da galeria */
    margin: 0 auto; /* Centraliza a galeria */
}

.gallery-img {
    width: 100%; /* A imagem ocupa 100% da largura do seu bloco */
    height: 350px; /* Altura fixa para as imagens */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
    border-radius: 8px; /* Cantos arredondados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s ease; /* Efeito ao passar o mouse */
}

.gallery-img:hover {
    transform: translateY(-5px); /* Move a imagem ligeiramente para cima no hover */
}

/* Responsividade para telas menores (opcional, mas recomendado) */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduz para 2 colunas em telas médias */
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr; /* Uma única coluna em telas muito pequenas */
    }
}

/* Imagens de fundo para os Ministérios  imagens de fundo*/ 
.ministry-huios-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundoHuios.jpg');
            background-position: center;
            background-size: cover;
        }
/* Exemplo para outra página de ministério (você deve criar esta classe para a página correspondente) */
.ministry-infantil-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundoinfantil.jpg');
            background-position: center;
            background-size: cover;
        }

/* Exemplo para outra página de ministério (você deve criar esta classe para a página correspondente) */

.ministry-louvor-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundoLouvor.jpg');
            background-position: center;
            background-size: cover;
        }

.ministry-homens-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundohomens.jpg');
            background-position: center;
            background-size: cover;
        }
.ministry-adolescentes-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundoadolescentes.jpg');
            background-position: center;
            background-size: cover;
        }
.ministry-datasComemorativas-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundodatacomemorativas.jpg');
            background-position: center;
            background-size: cover;
        } 
.ministry-ministerios-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundoministerios.jpg');
            background-position: center;
            background-size: cover;
        } 
.ministry-pascoa-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundopascoa');
            background-position: center;
            background-size: cover;
        } 
.ministry-dna-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundodanca.jpg');
            background-position: center;
            background-size: cover;
        } 
.ministry-teatro-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundoteatro.jpg');
            background-position: center;
            background-size: cover;
        } 
.ministry-midia-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/midia1.jpg');
            background-position: center;
            background-size: cover;
        }
.ministry-ebd-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/ebdfundo.jpg');
            background-position: center;
            background-size: cover;
        } 
.ministry-producaoMidia-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/multmidiafundo');
            background-position: center;
            background-size: cover;
        }
.ministry-sonoplastia-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/sonoplastiafundo.jpg');
            background-position: center;
            background-size: cover;
        }
.ministry-mulheres-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundomulheres.jpg');
            background-position: center;
            background-size: cover;
        }
.ministry-casais-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundocasais.jpg');
            background-position: center;
            background-size: cover;
        }
.ministry-sociais-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundosociais');
            background-position: center;
            background-size: cover;
        }
.ministry-decoracao-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundodecoracao');
            background-position: center;
            background-size: cover;
        }
.ministry-sermao-bg {
            background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/ministries/fundosermao.jpg');
            background-position: center;
            background-size: cover;
        }


/* E assim por diante para cada ministério... */

/* Instagram Player Bastidores pascoa */
.instagram-reel-player {
    cursor: pointer;
    position: relative;
    width: 100%;
    max-width: 540px; /* Adapta-se ao tamanho do bloco do Instagram */
    margin: auto;
    overflow: hidden; /* Garante que a imagem não saia da borda */
    border-radius: 8px; /* Adiciona um toque visual */
}

.video-placeholder {
    position: relative;
    padding-bottom: 125%; /* Proporção de um Reel (4:5) */
    background-color: #000;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 8px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 4rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.instagram-reel-player:hover .play-icon {
    opacity: 1;
}

/* Oculta o link padrão do Instagram para evitar quebras de estilo */
.instagram-media a {
    display: none !important;
}

/* Ajusta o grid para o player do Instagram */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}