/* 
* Igreja Assembléia de Deus Betel - Estilos
* Versão: 1.0
*/

/* =================== Configurações Gerais =================== */
:root {
    --primary-color: #f15a29;
    --secondary-color: #2d4f6c;
	--tertiary-color: #030119;
    --text-color: #333;
    --light-color: #fff;
    --dark-color: #222;
    --gray-color: #f7f7f7;
    --border-color: #e1e1e1;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
	font-family: 'HelveticaNowDisplayBold', sans-serif;
}

.section-title h2 {
	color: var(--text-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
	font-family: 'HelveticaNowDisplayRegular1', sans-serif;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
	font-family: 'HelveticaNowDisplayRegular1', sans-serif;
}

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

.section-title.light h2,
.section-title.light p {
    color: var(--light-color);
}
/* nova eventos*/
.sections-title {
    text-align: center;
    margin-bottom: 50px;
}

.sections-title .subtitle {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
	font-family: 'HelveticaNowDisplayBold', sans-serif;
}

.sections-title h2 {
	color: var(--light-color);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
	font-family: 'HelveticaNowDisplayRegular1', sans-serif;
}

.sections-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-color);
	font-size: 20px;
	font-family: 'HelveticaNowDisplayRegular2', sans-serif;
}

.sections-title.light {
    color: var(--light-color);
}

.sections-title.light h2,
.sections-title.light p {
    color: var(--light-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

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

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.text-center {
    text-align: center;
}
/* =================== Header =================== */
#header {
    position: absolute;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
}

.top-bar {
    padding: 10px 0;
    background-color: var(--tertiary-color);
    color: var(--light-color);
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
	font-family: 'HelveticaNowDisplayRegular2', sans-serif;
    font-size: 15px;
}

.contact-info a {
    margin-right: 20px;
    font-size: 14px;
}

.contact-info i {
    margin-right: 5px;
}

.social-icons a {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.main-header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}
/* Fonte regular */
@font-face {
  font-family: 'HelveticaNowDisplayBold';
  src: url('../fonts/HelveticaNow/HelveticaNowDisplay-ExtraBold') format('woff2');
  font-weight: bold;
  font-style: normal;
}
/* Fonte regular */
@font-face {
  font-family: 'HelveticaNowDisplayRegular1';
  src: url('../fonts/HelveticaNow/HelveticaNowDisplay-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Fonte bold */
@font-face {
  font-family: 'HelveticaNowDisplayRegular2';
  src: url('../fonts/HelveticaNow/HelveticaNowDisplay-Thin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Menu de navegação */
nav ul li a {
  font-family: 'HelveticaNowDisplayRegular1', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--tertiary-color);
  padding: 5px 0;
  position: relative;
}

/* Parágrafo com destaque (ex: slogan) */
.slogan-secundario {
  font-family: 'HelveticaNowDisplayRegular2', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}
 
/* Estilo padrão do header */
.main-header {
    transition: all 0.3s ease;
}

/* Estilo padrão dos links */
.main-header nav ul li a {
    color:  var(--tertiary-color); /* Cor inicial */
    transition: color 0.3s ease;
}

.main-header.scrolled nav ul li a {
    color: var(--light-color) !important; /* Cor de contraste */
}

/* Se estiver usando o sublinhado animado */
.main-header.scrolled nav ul li a::after {
    background-color:var(--primary-color) !important;
}

/* Mantenha o estilo do item ativo */
.main-header.scrolled nav ul li a.active {
    color: var(--primary-color) !important;
}

/* Sticky Header */
#header.sticky {
    position: fixed;
    background-color: var(--tertiary-color);
    box-shadow: var(--box-shadow);
    animation: fadeInDown 0.5s ease;
}

#header.sticky .top-bar {
    display: none;
}

#header.sticky .main-header {
    padding: 10px 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================== Hero Section =================== */
.hero {
    height: 100vh;
    background: url('../images/hero/hero-bg_3.png') no-repeat center/cover;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--light-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.hero-slogan {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 20px;
    font-style: italic;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.hero-scroll a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}
/* =================== About Section =================== */
.about {
    padding: 100px 0;
    background-color: var(--gray-color);
}

.about-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 0 0 45%;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-experience {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 5px;
    color: var(--light-color);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.about-experience .years {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.about-experience .text {
    font-size: 16px;
    text-transform: uppercase;
}

.about-content {
    flex: 0 0 55%;
    padding-left: 50px;
}

.about-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 24px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.feature-text h4 {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* =================== Counter Section =================== */
.counter-section {
    padding: 80px 0;
    background-color: var(--tertiary-color);
    color: var(--light-color);
    text-align: center;
}

.counter-wrapper {
    display: flex;
    justify-content: space-between;
}

.counter-item {
    flex: 0 0 23%;
}

.counter-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.counter {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-item h4 {
    font-size: 18px;
    margin-top: 10px;
}

/* =================== Services Section =================== */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--gray-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 28px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}
/* =================== Events Section =================== */
.events {
    padding: 100px 0;
    background: url('../images/hero/event-bg.jpg') no-repeat center/cover;
    position: relative;
	display: flex;
}

.event-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    min-width: 60px;
    z-index: 1;
}

.event-date .day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
}

.event-image {
    position: relative;
}

.event-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.event-category {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
}

.event-content {
    padding: 25px;
}

.event-meta {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.event-meta span {
    margin-right: 15px;
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.event-content h3 {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.event-content p {
    margin-bottom: 20px;
    color: #666;
}

/* =================== Sermons Section =================== */
.sermons {
    padding: 100px 0;
    background-color: var(--light-color);
}

.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.sermon-card {
    background-color: var(--gray-color);
    border-radius: 10px;
    overflow: hidden;
}

.sermon-thumb {
    position: relative;
}

.sermon-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.sermon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.sermon-thumb:hover .sermon-overlay {
    opacity: 1;
}

.sermon-play {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: scale(0);
    transition: var(--transition);
}

.sermon-thumb:hover .sermon-play {
    transform: scale(1);
}

.sermon-content {
    padding: 25px;
}

.sermon-meta {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.sermon-meta span {
    margin-right: 15px;
}

.sermon-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.sermon-content h3 {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.sermon-content p {
    margin-bottom: 20px;
    color: #666;
}

.sermon-links {
    display: flex;
    gap: 15px;
}

.sermon-links a {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.sermon-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* =================== Testimonials Section =================== */
.testimonials {
    padding: 100px 0;
    background-color: var(--tertiary-color);
    color: var(--light-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    opacity: 0.3;
    color: var(--primary-color);
}

.testimonial-content p {
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* =================== Gallery Section =================== */
.gallery {
    padding: 100px 0;
    background: url('../images/hero/gallery-bg.jpg') no-repeat center/cover;
    position: relative;
	display: flex;
    overflow: hidden; /* Evita que as partículas vazem */
}

/* Adicionando o efeito de partículas */
.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 8%),
                     radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 6%),
                     radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 7%),
                     radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 6%),
                     radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.05) 0%, transparent 5%);
    z-index: 1;
    animation: floatingLight 15s infinite alternate ease-in-out;
    pointer-events: none; /* Garante que os cliques passem através das partículas */
}

/* Animação para as partículas */
@keyframes floatingLight {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 5% 10%, -5% 10%, 15% -5%, -10% 5%, 10% -10%;
    }
}

/* Garantir que os conteúdos da galeria fiquem acima das partículas */
.gallery .container {
    position: relative;
    z-index: 2;
}
/* Alteração de fonte para título e subtítulo da galeria */
.gallery .section-title h2 {
    font-family: 'HelveticaNowDisplayBold', sans-serif;
    color: var(--light-color); /* Ajuste para melhor visibilidade no fundo escuro */
}

.gallery .section-title .subtitle {
    font-family: 'HelveticaNowDisplayRegular1', sans-serif;
    color: var(--primary-color); /* Mantendo o destaque na cor primária */
}

.gallery .section-title p {
    font-family: 'HelveticaNowDisplayRegular2', sans-serif;
    color: var(--light-color); /* Ajuste para melhor visibilidade no fundo escuro */
}

.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: var(--light-color);
	 font-family: 'HelveticaNowDisplayBold', sans-serif;
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 15px;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}



.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    margin-bottom: 15px;
    transform: translateY(-20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-icon {
    transform: translateY(0);
}

.gallery-overlay h5 {
    color: var(--light-color);
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay h5 {
    transform: translateY(0);
}

/* =================== Contact Section =================== */
.contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-card {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    height: 100%;
}

.contact-card h3 {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.contact-card p {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: var(--primary-color);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-social {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-control {
    width: 100%;
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--gray-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
}

/* =================== Map Section =================== */
.map-section {
    position: relative;
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px 30px;
    border-radius: 5px;
    min-width: 300px;
    text-align: center;
}

.map-info h3 {
    margin-bottom: 10px;
}
/* =================== Footer =================== */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget h4 {
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-slogan {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 18px;
}

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

.footer-links li a {
    transition: var(--transition);
}

.footer-links li a i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    width: 100%;
    margin-top: 10px;
}

.newsletter-btn:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    font-size: 14px;
}
/* Ajustes para os ícones SVG sociais */
.social-icons a img {
    width: 18px;
    height: 18px;
}

.contact-social a img,
.footer-social a img {
    width: 20px;
    height: 20px;
}

/* Ajustes para os ícones SVG de ministérios */
.service-icon img {
    width: 40px;
    height: 40px;
}

/* Declarações @font-face para fontes locais */

/* Montserrat */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Poppins */
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
/* Link para assistir vídeo */
.watch-video-link {
    margin-top: 20px;
}

.watch-video-link a {
    color: var(--light-color);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
    opacity: 0.9;
}

.watch-video-link a i {
    font-size: 24px;
    margin-right: 8px;
    color: var(--primary-color);
}

.watch-video-link a:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Modal de vídeo */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--light-color);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.video-modal video {
    width: 100%;
    border-radius: 5px;
}

/* =================== Back to Top Button =================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* =================== Responsive Styles =================== */
@media screen and (max-width: 1200px) {
    .about-content {
        padding-left: 30px;
    }
}

@media screen and (max-width: 991px) {
    .about-wrapper {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 100%;
        margin-bottom: 50px;
    }

    .about-content {
        flex: 0 0 100%;
        padding-left: 0;
    }

    .counter-wrapper {
        flex-wrap: wrap;
        gap: 30px;
    }

    .counter-item {
        flex: 0 0 48%;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .mobile-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px 0;
        background-color: var(--dark-color);
        box-shadow: var(--box-shadow);
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .counter-item {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 576px) {
    .section-title h2 {
        font-size: 30px;
    }

    .about-experience {
        right: 10px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .event-slider, .sermon-grid, .gallery-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para a Seção de Time Pastoral Redesenhada */
.team {
    padding: 100px 0;
    background: url('../images/hero/equipe-bg.jpg') no-repeat center/cover;
    position: relative;
	display: flex;
}

/* Grade de perfis de pastores - estilo minimalista com fotos circulares */
.pastoral-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.pastor-profile {
    flex: 0 0 250px;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.pastor-profile:hover {
    transform: translateY(-10px);
}

.pastor-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--light-color);
}

.pastor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pastor-profile:hover .pastor-image img {
    transform: scale(1.05);
}

.pastor-profile h3 {
    margin-bottom: 5px;
   font-family: 'HelveticaNowDisplayBold', sans-serif; 
    color:  var(--light-color);
    font-size: 20px;
}

.pastor-profile .position {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.pastor-profile p {
	font-family: 'HelveticaNowDisplayRegular1', sans-serif; 
    color:  var(--light-color);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pastor-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pastor-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-color);
    transition: var(--transition);
}

.pastor-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.pastor-social a img {
    width: 16px;
    height: 16px;
}

/* Seção de Visão Pastoral com imagem lateral */
.vision-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--gray-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 50px 0;
}

.vision-content {
    flex: 0 0 60%;
    padding: 40px;
}

.vision-image {
    flex: 0 0 40%;
    position: relative;
    height: 100%;
    min-height: 400px;
}

.vision-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-content h3 {
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.vision-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.vision-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Estilos responsivos */
@media screen and (max-width: 991px) {
    .vision-section {
        flex-direction: column-reverse;
    }
    
    .vision-content,
    .vision-image {
        flex: 0 0 100%;
    }
    
    .vision-image {
        min-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .pastoral-team {
        gap: 20px;
    }
    
    .pastor-profile {
        flex: 0 0 45%;
    }
}

@media screen and (max-width: 576px) {
    .pastor-profile {
        flex: 0 0 100%;
        max-width: 280px;
    }
    
    .vision-content {
        padding: 30px 20px;
    }
}
/* =================== App Section =================== */
.app-section {
    padding: 100px 0;
    background: linear-gradient(to right, var(--gray-color) 60%, var(--light-color) 40%);
    overflow: hidden;
    position: relative;
}

.app-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.app-content {
    flex: 0 0 55%;
    padding-right: 50px;
}

.app-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
}

.app-content p {
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.app-features {
    margin: 30px 0;
}

.app-feature {
    display: flex;
    margin-bottom: 25px;
}

.app-feature:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 24px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
}

.feature-text p {
    margin-bottom: 0;
    font-size: 15px;
}

.app-download {
    margin-top: 40px;
}

.app-download h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

.download-btn {
    display: inline-block;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-5px);
}

.download-btn img {
    height: 50px;
}

.app-mockup {
    flex: 0 0 45%;
    position: relative;
    display: flex;
    justify-content: center;
    height: 600px;
}

.app-screenshot {
    height: 100%;
    position: relative;
    z-index: 2;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.0);
}

.mockup-shadow {
    position: absolute;
    width: 80%;
    height: 40px;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

/* Responsividade para a seção do App */
@media screen and (max-width: 1200px) {
    .app-section {
        background: var(--gray-color);
    }
    
    .app-content {
        padding-right: 30px;
    }
}

@media screen and (max-width: 991px) {
    .app-wrapper {
        flex-direction: column;
    }
    
    .app-content, .app-mockup {
        flex: 0 0 100%;
    }
    
    .app-content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .app-mockup {
        height: 500px;
    }
}

@media screen and (max-width: 576px) {
    .app-mockup {
        height: 400px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}







/* Estilos para Seção de Dízimos e Ofertas - Versão Final Ajustada */

/* Estrutura principal */
.giving-section {
    position: relative;
    background-color: #f0f0f0;
    padding: 120px 0;
    
    margin-top:-10px; /* Para permitir que os cards ultrapassem a seção anterior */
	margin-bottom:0px;
}

/* Conteúdo à esquerda */
.giving-section .container {
    padding-left: 0; /* Remove o padding do container */
}

.giving-left {
    width: 30%;
    position: relative;
    z-index: 2;
    overflow: hidden; /* Para conter os elementos que deslizam */
    padding-left: 0; /* Remove o padding à esquerda */
}

/* Animação de deslizamento para o texto */
.slide-in-text {
    transform: translateX(-100%);
    opacity: 0;
    animation-fill-mode: forwards;
}

.giving-left h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
    color: #333;
    font-family: 'HelveticaNowDisplayBold', sans-serif; /* Alterado para HelveticaNowDisplay */
    animation: slideInText 0.8s ease-out forwards;
    animation-delay: 0.3s;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.giving-left p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
    font-family: 'HelveticaNowDisplayRegular1', sans-serif; /* Alterado para HelveticaNowDisplay */
    animation: slideInText 0.8s ease-out forwards;
    animation-delay: 0.5s;
    margin-left:60;
    padding-left: 60;
    text-align: left;
}

@keyframes slideInText {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Barra laranja que desliza */
.orange-bar {
    position: absolute;
    height: 60px;
    background-color: #f15a29; /* Cor laranja específica */
    bottom: 80px; /* Posicionada mais para baixo conforme imagem */
    right: -200px; /* Começa fora da tela */
    width: 70%; /* Largura similar à row de cards */
    z-index: 1; /* Ajustado para ficar atrás dos cards mas acima do fundo */
    animation: slideInFromRight 2.2s ease forwards;
    animation-delay: 0.15s;
}

@keyframes slideInFromRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

/* Row de cards que ultrapassam a seção */
.giving-cards-row {
    position: absolute;
    right: 0;
    width: 65%;
    top: -50px; /* Faz os cards ultrapassarem a seção superior */
    display: flex;
    gap: 0px;
    z-index: 3;
    padding: 0 20px;
	margin-right: 1px;
}

/* Card individual */
.giving-card {
    flex: 0 0 300px;
    height: 400px;
	width:100px;
    position: relative;
	margin-left: 1px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Diferentes alturas para os cards */
.giving-card:nth-child(1) {
    margin-top: 20px;
    animation-delay: 0.2s;
}

.giving-card:nth-child(2) {
    margin-top: 60px;
    animation-delay: 0.4s;
}

.giving-card:nth-child(3) {
    margin-top: 30px;
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Imagem do card */
.card-image {
    width: 90%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Hover effect */
.giving-card:hover .card-image {
    transform: translateY(-10px);
}

/* Ajuste no overlay - inicialmente sem background, apenas texto */
.card-overlay {
    position: absolute;
    bottom: 0; /* Posicionado na parte inferior da imagem */
    left: 0;
    width: 100%;
    background-color: transparent; /* Inicialmente transparente */
    color: white;
    transition: all 0.3s ease;
    padding: 20px;
    text-align: left;
    height: auto;
}

/* O conteúdo que será revelado no hover */
.overlay-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-top: 5px;
}

/* Título do overlay sempre visível */
.card-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'HelveticaNowDisplay', sans-serif; /* Alterado para HelveticaNowDisplay */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6); /* Sombra para garantir legibilidade */
}

/* Efeitos no hover */
.giving-card:hover .card-overlay {
    background-color: rgba(0, 0, 0, 0.9); /* Fundo escuro apenas no hover */
}

.giving-card:hover .overlay-content {
    max-height: 200px; /* Altura suficiente para o conteúdo */
    opacity: 1;
}

.giving-card:hover .card-overlay h3 {
    margin-bottom: 10px; /* Adiciona espaço abaixo do título quando expandido */
    text-shadow: none; /* Remove a sombra quando o fundo está visível */
}

/* Estilo do texto dentro do overlay */
.overlay-content p {
    font-family: 'HelveticaNowDisplay', sans-serif; /* Alterado para HelveticaNowDisplay */
    margin-bottom: 6px;
    font-size: 15px;
}

/* Responsividade */
@media screen and (max-width: 1200px) {
    .giving-left {
        width: 40%;
    }
    
    .giving-cards-row {
        width: 60%;
    }
    
    .giving-card {
        flex: 0 0 280px;
        height: 380px;
    }
    
    .orange-bar {
        width: 65%;
    }
}

@media screen and (max-width: 991px) {
    .giving-section {
        padding: 80px 0 450px;
        margin-top: 0;
    }
    
    .giving-left {
        width: 100%;
        text-align: center;
        margin-bottom: 350px;
        padding-left: 15px; /* Restaurar padding em mobile */
    }
    
    .giving-section .container {
        padding-left: 15px; /* Restaurar padding em mobile */
    }
    
    .giving-left h2,
    .giving-left p {
        text-align: center; /* Centralizar em dispositivos móveis */
        margin-left: auto;
        margin-right: auto;
    }
    
    .giving-cards-row {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        top: auto;
        bottom: 100px;
        display: flex;
        justify-content: center;
        padding: 0 20px;
        gap: 15px;
    }
    
    .giving-card {
        flex: 0 0 220px;
        height: 320px;
        margin-top: 0 !important;
    }
    
    .orange-bar {
        top: auto;
        bottom: 60px;
        height: 50px;
        width: 100%;
    }
    
    .card-overlay {
        padding: 15px;
    }
    
    .card-overlay h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    .giving-section {
        padding: 60px 0 420px;
    }
    
    .giving-left h2 {
        font-size: 36px;
    }
    
    .giving-cards-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .giving-card {
        flex: 0 0 280px;
        margin-bottom: 20px;
    }
    
    .orange-bar {
        bottom: 50px;
    }
    
    .overlay-content p {
        font-size: 14px;
        margin-bottom: 4px;
    }
}