/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
   :root {
    /* Color Palette - Black, Gray, Graphite with Blue/Beige Accents */
    --primary-color: #121212; /* Deep Black/Graphite */
    --secondary-color: #66B5BC; /* Azul 2 (Detalhes) */
    --secondary-hover: #1B2A54; /* Azul 1 (Hover/Detalhes) */
    --accent-color: #FDE7B3; /* Bege (Detalhes) */
    
    --bg-light: #1A1A1A; /* Dark Gray for light sections */
    --bg-dark: #121212; /* Almost Black */
    --bg-darker: #0A0A0A; /* Pure Black */
    
    --text-main: #E0E0E0; /* Light Gray for readability */
    --text-light: #9E9E9E; /* Muted Gray */
    --text-white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }
.opacity-80 { opacity: 0.8; }

.section-light-gray { background-color: var(--bg-light); }
.section-dark { background-color: var(--bg-dark); }
.section-dark-accent { background-color: var(--bg-darker); }

/* Grid Layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color); /* Azul Claro */
    color: var(--primary-color); /* Preto/Grafite para o texto */
    box-shadow: 0 4px 14px rgba(102, 181, 188, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-color); /* Bege */
    color: var(--primary-color); /* Preto/Grafite para o texto */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 231, 179, 0.5);
}

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

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

.btn-youtube {
    background-color: #2D2D2D;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    border: 1px solid #404040;
}

.btn-youtube:hover {
    background-color: #404040;
    transform: translateY(-3px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    padding: 1rem 0;
}

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

.logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--text-white);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-live {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-live::after { display: none; }
.btn-live:hover { background-color: rgba(255, 255, 255, 0.1); }

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(102, 181, 188, 0.4);
    animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
    to { box-shadow: 0 0 0 10px rgba(102, 181, 188, 0); }
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-white);
    transition: var(--transition);
}

/* ==========================================================================
   Page Headers (Multi-page)
   ========================================================================== */
.page-header {
    padding: 10rem 0 4rem 0;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-light));
    text-align: center;
}

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

.page-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Hero Section (Home)
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #2A2A2A 0%, #121212 100%);
    color: var(--text-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjMTIxMjEyIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDBMOCA4Wk04IDBMMCA4WiIgc3Ryb2tlPSIjMUExQTFBIiBzdHJva2Utd2lkdGg9IjEiPjwvcGF0aD4KPC9zdmc+');
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.headline {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--text-white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.headline span {
    color: var(--secondary-color);
}

.hero-subtext {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.text-content {
    font-size: 1.1rem;
    color: var(--text-main);
}

.text-content p {
    margin-bottom: 1.2rem;
}

.highlight-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
    margin-top: 2rem;
}

.mockup-img {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(45deg, #2A2A2A, #1A1A1A);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
}
.mockup-img::after {
    content: '📸 Imagem';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-weight: 600;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
}

.card:hover::before {
    left: 150%;
}

.card:hover {
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5);
    border-color: rgba(102, 181, 188, 0.3);
    transform: translateY(-5px);
}

/* Células */
.celula-intro {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--text-main);
}

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

.celula-placeholder {
    padding: 3rem;
    border: 2px dashed #4A4A4A;
    border-radius: 10px;
    color: #9E9E9E;
    text-align: center;
}

/* Ministérios */
.ministerios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.min-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
}

.min-card h3 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.min-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.min-card p {
    margin-bottom: 2rem;
}

.min-schedule {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
}

/* Programação */
.prog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.prog-card {
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.prog-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.prog-time {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.prog-events span {
    display: block;
    padding: 0.5rem;
    background: var(--bg-dark);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #333;
}

/* Unidades */
.unidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.unidade-card .icon-map {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.unidade-card h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.unidade-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.unidade-card .btn {
    margin-top: 1rem;
}

/* Pastores */
.pastores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pastor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #1A1A1A;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 2px solid #4A4A4A;
    object-fit: cover;
}

.pastor-card h4 {
    font-size: 1.2rem;
    color: var(--text-white);
}

/* Culto Online */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    background-color: #000;
    border: 1px solid #333;
}

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

/* Oferta */
.oferta-dados {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pix-card {
    background: #FFFFFF;
    border-left: 5px solid var(--secondary-color);
    color: var(--primary-color);
}

.pix-card *, .bank-card * {
    color: var(--primary-color);
}

.pix-key { font-size: clamp(1.2rem, 6vw, 2rem); font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 1px; color: var(--primary-color); white-space: nowrap; }

.bank-card {
    background: #FFFFFF;
    border-left: 5px solid var(--accent-color);
    color: var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-darker);
    color: white;
    padding: 4rem 0 0 0;
    border-top: 1px solid #2A2A2A;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 120px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid #333;
}

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

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-light);
}

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

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #1A1A1A;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    transition: var(--transition);
    padding: 12px;
}

.floating-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0); /* Deixa a imagem totalmente preta */
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(253, 231, 179, 0.6);
    background-color: #EAD5A1; /* Bege ligeiramente mais escuro no hover */
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 35px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

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

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .headline { font-size: 3.5rem; }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        padding: 10px;
    }

    .back-to-top {
        bottom: 80px;
        right: 25px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .menu-toggle { display: block; }
    
    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.5);
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid #333;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .headline { font-size: 2.8rem; line-height: 1.1 !important; }
    h1, h2, h3, .section-title { line-height: 1.1 !important; }
    p, .section-subtitle { line-height: 1.4; }
    .section { padding: 4rem 0; }
    
    .page-header { padding: 8rem 0 3rem 0; }
    .page-header h1 { font-size: 2.5rem; }
}
