
        /* --- CORE VARIABLES --- */
        :root {
            --primary: #1e293b; 
            --accent: #d4af37; 
            --bg: #0b0f19; 
            --surface: rgba(30, 41, 59, 0.4); 
            --glass-border: rgba(255, 255, 255, 0.08);
            --text: #f8fafc; 
            --text-muted: #94a3b8; 
            --curve: cubic-bezier(0.25, 1, 0.5, 1);
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }
        
        body { 
            zoom: 0.8; /* Zoom para Desktop */
            font-family: 'Plus Jakarta Sans', sans-serif; 
            background-color: var(--bg); 
            color: var(--text); 
            overflow: hidden; 
            height: 100vh; 
            font-weight: 300; 
            line-height: 1.7; 
            letter-spacing: 0.3px; 
        }
        p { color: var(--text-muted); font-size: 1.05rem; }

        .ambient-bg { position: fixed; inset: 0; z-index: -2; background: var(--bg); }

        .glass { 
             background: var(--surface); 
             backdrop-filter: blur(16px); 
             -webkit-backdrop-filter: blur(16px); 
             border: 1px solid var(--glass-border); 
             border-radius: 16px; 
             box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
             transition: all 0.4s var(--curve);
        }
        
        .title-gold { font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: 2px; color: var(--accent); }

        .btn-premium { 
             padding: 16px 36px; background: var(--accent); color: #0b0f19; border: none; 
             border-radius: 8px; cursor: pointer; font-weight: 600; letter-spacing: 1.5px; 
             text-transform: uppercase; font-size: 0.85rem; transition: all 0.3s ease; 
             box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); z-index: 10;
        }
        .btn-premium:hover { background: #ebd288; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3); }

        .btn-edit { background: transparent; color: var(--accent); border: 1px solid var(--accent); padding: 10px 20px; border-radius: 6px; cursor: pointer; transition: 0.3s; margin-right: 5px; font-weight: 500; }
        .btn-edit:hover { background: var(--accent); color: #0b0f19; }

        /* --- HEADER & NAVIGATION --- */
        header { 
            position: fixed; top: 0; width: 100%; height: 90px; 
            display: flex; align-items: center; justify-content: space-between; 
            padding: 0 6%; z-index: 1000; background: rgba(11, 15, 25, 0.85); 
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
            border-bottom: 1px solid var(--glass-border); transition: all 0.4s ease; 
        }
        
        .logo-text { font-size: 1.4rem; font-weight: 800; cursor: pointer; letter-spacing: 2px;}
        .header-logo { max-height: 55px; max-width: 220px; object-fit: contain; cursor: pointer; display: none; transition: 0.3s ease; }
        .header-logo:hover { opacity: 0.8; }

        nav ul { display: flex; list-style: none; gap: 35px; }
        nav a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
        nav a:hover, nav a.active { color: var(--accent); }

        .notification-btn {
            font-size: 1.4rem; cursor: pointer; display: none; 
            background: rgba(255,255,255,0.1); padding: 8px 12px; border-radius: 50px;
            transition: 0.3s; margin-right: 15px; border: 1px solid var(--glass-border);
        }
        .notification-btn:hover { background: var(--accent); }

        /* --- PAGES --- */
        main { height: 100vh; position: relative; }
        .page { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; display: none; padding: 120px 6% 80px; overflow-y: auto; overflow-x: hidden; opacity: 0; transform: translateY(15px); }
        .page.active { display: block; animation: fadeIn 0.6s ease forwards; }
        @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

        ::-webkit-scrollbar { width: 8px; } 
        ::-webkit-scrollbar-track { background: var(--bg); } 
        ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; } 
        ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

        /* --- VITRINE (HOME) --- */
        #vitrine { padding: 0; display: block; }
        .hero-section { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; padding: 120px 6% 0 6%; }
        .hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(11, 15, 25, 0.4), var(--bg)), url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?q=80&w=2073&auto=format&fit=crop') center/cover; opacity: 0.4; mix-blend-mode: luminosity; }
        .hero-content h1.sub { font-size: 1.5rem; letter-spacing: 4px; margin-bottom: 10px; color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 400;}
        .hero-content h1.main { font-size: 5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 600; }
        .hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; font-weight: 300; }
        .next-service-box { display: inline-flex; flex-direction: column; align-items: center; padding: 20px 50px; border: 1px solid var(--glass-border); background: var(--surface); border-radius: 12px; min-width: 320px; }
        .next-service-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
        .next-service-time { font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 600; color: var(--accent); }
        .home-content { padding: 80px 6%; }
        .section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; }

        /* --- GRIDS, CARDS & CAROUSEL --- */
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
        
        .carousel-horizontal {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 20px;
            padding-bottom: 20px;
            scrollbar-width: thin;
            scrollbar-color: var(--accent) var(--bg);
            -webkit-overflow-scrolling: touch;
        }
        .carousel-horizontal::-webkit-scrollbar { height: 8px; }
        .carousel-horizontal::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; }
        .carousel-horizontal::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }
        .carousel-horizontal .card {
            flex: 0 0 85%;
            max-width: 400px;
            scroll-snap-align: center;
        }

        .card { padding: 30px; text-align: center; display: flex; flex-direction: column; border-radius: 16px; background: var(--surface); border: 1px solid var(--glass-border); transition: all 0.4s ease; z-index: 1; overflow: hidden; }
        .card:hover { transform: translateY(-5px); border-color: rgba(212, 175, 55, 0.3); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
        .img-zoom-container { overflow: hidden; margin: -30px -30px 20px -30px; border-bottom: 1px solid var(--glass-border); cursor: zoom-in; position: relative; }
        .card-banner { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.6s ease; }
        .card:hover .card-banner { transform: scale(1.05); }

        /* --- BOTÃO WHATSAPP EVENTOS --- */
        .btn-whatsapp-share {
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            background: #25D366; color: white; text-decoration: none; padding: 12px 15px;
            border-radius: 8px; font-weight: 600; font-size: 0.95rem; margin-top: auto; 
            transition: 0.3s; border: 1px solid rgba(255,255,255,0.1);
        }
        .btn-whatsapp-share:hover { background: #1ebd5a; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }

        /* --- CALENDARIO & EVENTOS --- */
        .card-culto { padding: 25px 30px; border-left: 4px solid var(--accent); text-align: left; background: linear-gradient(90deg, rgba(30,41,59,0.8) 0%, transparent 100%); justify-content: center;}
        .card-culto h4 { font-size: 1.4rem; color: var(--text); margin-bottom: 5px; font-weight: 600;}
        .card-culto p { font-size: 1.1rem; color: var(--accent); font-weight: 600; font-family: 'Cinzel', serif;}
        #home-eventos .card, #container-eventos .card { padding: 0 !important; text-align: left; }
        #home-eventos .img-zoom-container, #container-eventos .img-zoom-container { margin: 0 !important; border-bottom: none;}
        #home-eventos .card-banner, #container-eventos .card-banner { aspect-ratio: 16 / 11; }
        #home-eventos .card h3, #container-eventos .card h3 { padding: 20px 25px 10px !important; font-size: 1.3rem !important; }
        #home-eventos .card p, #container-eventos .card p { margin: 0 25px 20px !important; color: var(--text-muted) !important; font-size: 0.9rem !important; display: flex; align-items: center; }
        #home-eventos .btn-whatsapp-share, #container-eventos .btn-whatsapp-share { margin: auto 25px 25px !important; }

        /* --- MINISTÉRIOS --- */
        #home-ministerios .card { padding: 0; }
        #home-ministerios .card-img-min { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; display: block; filter: grayscale(20%); transition: 0.4s ease;}
        #home-ministerios .card:hover .card-img-min { filter: grayscale(0%); }
        #home-ministerios .card-icon-overlay { font-size: 2rem; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--glass-border); border-radius: 50%; margin: -35px auto 20px auto; position: relative; z-index: 5; }
        #home-ministerios .card h3 { padding: 0 20px; font-size: 1.4rem; }
        #home-ministerios .card p { padding: 0 20px 30px; font-size: 0.95rem; }
        .card:not(#home-ministerios .card) .card-img-circle { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 2px solid var(--accent); padding: 4px; background: transparent; }
        .card h3 { font-size: 1.4rem; margin-bottom: 8px;}

        /* --- MASONRY GALLERY --- */
        .gallery-masonry { column-count: 3; column-gap: 20px; }
        .photo-item { width: 100%; height: auto; display: block; margin-bottom: 20px; border-radius: 8px; cursor: zoom-in; transition: 0.3s; opacity: 0.9;}
        .photo-item:hover { opacity: 1; transform: scale(1.02); }

        /* --- LIGHTBOX & SLIDESHOW --- */
        #lightbox { display: none; position: fixed; inset: 0; background: rgba(11, 15, 25, 0.98); z-index: 5000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; padding: 20px; flex-direction: column; }
        #lightbox.active { display: flex; opacity: 1; }
        #lightbox img { max-width: 90%; max-height: 80vh; border-radius: 8px; object-fit: contain; border: 1px solid var(--glass-border); }
        .lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; transition: 0.3s; z-index: 5002;}
        .lightbox-close:hover { color: var(--accent); }
        .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 30px; color: rgba(255,255,255,0.5); cursor: pointer; padding: 20px; transition: 0.3s; z-index: 5001; }
        .lightbox-nav:hover { color: var(--accent); }
        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }
        
        .lightbox-play {
            position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.15); color: white; border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 12px 25px; border-radius: 50px; font-size: 0.95rem; cursor: pointer;
            backdrop-filter: blur(10px); z-index: 5003; transition: 0.3s; font-weight: 500;
            display: flex; align-items: center; gap: 8px;
        }
        .lightbox-play:hover { background: var(--accent); color: #000; border-color: var(--accent); }

        /* --- STAGGERED ANIMATIONS --- */
        .stagger-item { opacity: 0; transform: translateY(20px); }
        .page.active .stagger-item { animation: slideUp 0.6s ease forwards; }
        @keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

        /* --- DETALHES --- */
        .bible-verse { margin-top: 40px; padding: 25px; border-left: 2px solid var(--accent); background: rgba(255,255,255,0.02); font-style: italic; font-size: 1.2rem; color: var(--text); border-radius: 0 8px 8px 0; font-family: 'Cinzel', serif; }
        .video-container { width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--glass-border); }
        .video-container iframe { width: 100%; height: 100%; border: none; }
        .social-link { color: var(--text-muted); text-decoration: none; font-size: 1rem; margin-right: 20px; transition: 0.3s; display: inline-flex; align-items: center; gap: 5px; }
        .social-link:hover { color: var(--accent); }
        .purpose-tag { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--glass-border); padding: 6px 14px; border-radius: 4px; font-size: 0.8rem; display: inline-block; margin-bottom:8px; }
        .maps-link { display: inline-block; margin-top: 5px; margin-left: 28px; color: var(--accent); font-size: 0.85rem; text-decoration: none; transition: 0.3s; }
        .maps-link:hover { text-decoration: underline; }

        /* --- FORMS & INPUTS --- */
        .form-group { margin-bottom: 20px; text-align: left; }
        .form-group label { display: block; margin-bottom: 8px; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
        input, textarea, select { width: 100%; padding: 15px; background: rgba(0,0,0,0.2); border: 1px solid var(--glass-border); color: white; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: 0.3s; }
        input:focus, textarea:focus, select:focus { border-color: var(--accent); background: rgba(0,0,0,0.4); }

        /* --- TOASTS & LOADER --- */
        #toast-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
        .toast { background: var(--primary); border-left: 4px solid var(--accent); padding: 15px 25px; border-radius: 6px; color: #fff; font-size: 0.9rem; animation: toastEnter 0.4s ease forwards, toastLeave 0.4s ease 3.5s forwards; box-shadow: 0 5px 15px rgba(0,0,0,0.3);}
        @keyframes toastEnter { from { transform: translateX(120%); } to { transform: translateX(0); } }
        @keyframes toastLeave { from { transform: translateX(0); } to { transform: translateX(120%); } }

        #loader { position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: 0.5s ease; }
        .spinner { width: 50px; height: 50px; border: 2px solid var(--glass-border); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; }
        .loader-text { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 2px; }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* --- ADMIN DASHBOARD --- */
        #admin-panel { background: var(--bg); z-index: 3000; position: fixed; inset: 0; display: none; }
        .admin-sidebar { width: 280px; background: var(--primary); border-right: 1px solid var(--glass-border); padding: 30px 20px; display: flex; flex-direction: column; overflow-y: auto;}
        .admin-content { flex: 1; padding: 50px; overflow-y: auto; background: var(--bg); }
        .admin-nav { padding: 14px 18px; margin-bottom: 8px; border-radius: 6px; cursor: pointer; transition: 0.3s; color: var(--text-muted); font-size: 0.9rem; }
        .admin-nav:hover, .admin-nav.active { background: rgba(255,255,255,0.05); color: var(--accent); }
        .list-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: var(--surface); border-radius: 8px; margin-bottom: 10px; border: 1px solid var(--glass-border); }
        .btn-danger { background: transparent; color: #ef4444; border: 1px solid #ef4444; padding: 8px 16px; border-radius: 6px; cursor: pointer; transition: 0.3s; font-size: 0.85rem;}
        .btn-danger:hover { background: #ef4444; color: white; }
        .close-admin { background: none; border: none; color: var(--text-muted); font-size: 2rem; cursor: pointer; transition: 0.3s; line-height: 1; }
        .close-admin:hover { color: #fff; }
        .info-nuvem { background: rgba(255,255,255,0.03); border-left: 2px solid var(--accent); padding: 15px; border-radius: 4px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

        /* =========================================================
           LAYOUT MOBILE TOTALMENTE REESTRUTURADO E OTIMIZADO
        ========================================================= */
        .menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--text); z-index: 1001; position: relative;}
        
        @media (max-width: 768px) {
            body { zoom: 1 !important; font-size: 15px; } 
            header { padding: 0 20px; height: 75px; }
            .logo-text { font-size: 1.1rem; }
            .header-logo { max-height: 45px; }
            .menu-toggle { display: block; }
            
            nav ul { 
                position: fixed; top: 0; left: 0; width: 100%; height: 100vh; 
                background: rgba(11, 15, 25, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
                flex-direction: column; justify-content: center; align-items: center; 
                transform: translateY(-100%); transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1); gap: 30px; z-index: 999; 
            }
            nav ul.mobile-open { transform: translateY(0); }
            nav a { font-size: 1.2rem; }

            .hero-section { padding: 80px 20px 0; }
            .hero-content h1.main { font-size: 3rem; }
            .hero-content h1.sub { font-size: 1.1rem; letter-spacing: 2px; }
            .hero-content p { font-size: 1rem; }
            .next-service-box { min-width: 100%; padding: 20px; }
            .next-service-time { font-size: 1.4rem; }

            .home-content { padding: 50px 20px; }
            .section-title { font-size: 2rem; margin-bottom: 30px; line-height: 1.3;}
            .grid { grid-template-columns: 1fr; gap: 20px; }
            .card { padding: 20px; }
            .page { padding: 100px 20px 60px; }
            
            .gallery-masonry { column-count: 1; }

            #sobre h2, #equipe h2, #calendario h2, #galeria-publica h2, #midia h2, #apoio h2 { font-size: 2.2rem !important; }
            .glass[style*="padding: 60px"] { padding: 25px !important; font-size: 1rem !important;}
            .glass.card[style*="padding: 50px"] { padding: 25px !important; }
            .bible-verse { padding: 15px; font-size: 1rem; margin-top: 25px;}
            
            #admin-panel { flex-direction: column; }
            .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid var(--glass-border); padding: 20px; }
            .admin-content { padding: 20px; }
            
            div[style*="display: flex; gap: 25px;"] { flex-direction: column; gap: 15px !important; align-items: stretch !important;}
            div[style*="flex:1"] { width: 100%; }
            #min-icon { width: 100% !important; }
        }
    