/* ============================================
           SEÇÃO DE IGREJAS - Estilos Completamente Isolados
           ============================================ */

        .ij-wrapper {
            max-width: 1600px;
            margin: 0 auto;
        }

        .ij-titulo-container {
            text-align: center;
            margin-bottom: 30px;
        }

        .ij-titulo-h2 {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            color: #6ec5f3;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 3px;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .ij-titulo-h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, transparent, #6ec5f3, transparent);
        }

        .ij-subtitulo {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1rem;
            margin-top: 10px;
            font-weight: 300;
        }

        .ij-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            padding: 15px 10px;
        }

        .ij-card {
            background: #000;
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(10px);
            border: 1px solid background: #fff;
            animation: ij-slideUp 0.6s ease forwards;
            opacity: 0;
        }

        .ij-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(110, 197, 243, 0.3),
                        0 0 30px rgba(110, 197, 243, 0.15);
            border-color: rgba(110, 197, 243, 0.6);
        }

        .ij-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(110, 197, 243, 0.15), transparent);
            transition: left 0.5s ease;
            z-index: 1;
        }

        .ij-card:hover::before {
            left: 100%;
        }

        .ij-img-box {
            position: relative;
            width: 100%;
            padding-top: 100%;
            overflow: hidden;
            cursor: pointer;
        }

        .ij-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .ij-card:hover .ij-img {
            transform: scale(1.1);
        }

        .ij-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .ij-card:hover .ij-overlay {
            opacity: 1;
        }

        .ij-zoom {
            width: 60px;
            height: 60px;
            background: rgba(110, 197, 243, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: scale(0);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .ij-card:hover .ij-zoom {
            transform: scale(1);
        }

        .ij-zoom i {
            color: #1a1a2e;
            font-size: 1.5rem;
        }

        .ij-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, #6ec5f3, #a8dff0);
            color: #1a1a2e;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 3;
            box-shadow: 0 4px 15px rgba(110, 197, 243, 0.4);
        }

        .ij-content {
            padding: 25px 20px;
            text-align: center;
            position: relative;
        }

        .ij-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #6ec5f3, #a8dff0);
            border-radius: 1px;
        }

        .ij-nome {
            font-size: 1.2rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 8px;
            text-transform: capitalize;
            line-height: 1.3;
        }

        .ij-tipo {
            font-size: 0.85rem;
            color: #6ec5f3;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .ij-loading {
            grid-column: 1 / -1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 80px 20px;
        }

        .ij-spinner {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(110, 197, 243, 0.2);
            border-top-color: #6ec5f3;
            border-radius: 50%;
            animation: ij-spin 1s linear infinite;
        }

        .ij-loading-text {
            margin-top: 20px;
            color: #6ec5f3;
            font-size: 1rem;
            font-weight: 500;
        }

        .ij-error {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            border: 1px dashed rgba(110, 197, 243, 0.3);
        }

        .ij-error-icon {
            font-size: 4rem;
            color: rgba(110, 197, 243, 0.5);
            margin-bottom: 20px;
        }

        .ij-error-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.1rem;
        }

        .ij-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 20px;
            animation: ij-fadeIn 0.3s ease;
        }

        .ij-lightbox.show {
            display: flex;
        }

        .ij-lightbox-box {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .ij-lightbox-img {
            width: clamp(200px, 80%, 600px);
            height: clamp(200px, 80%, 600px);
            aspect-ratio: 1 / 1;
            object-fit: cover;
            border-radius: 15px;
            border: 4px solid #8B4513;
            box-shadow: 0 30px 60px rgba(255, 255, 255, 0.4);
        }

        .ij-close-btn {
            position: fixed;
            top: clamp(20px, 5vh, 40px);
            right: clamp(20px, 5vw, 40px);
            width: 45px;
            height: 45px;
            background: #6ec5f3;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10001;
        }

        .ij-close-btn:hover {
            background: #a8dff0;
            transform: rotate(90deg);
        }

        .ij-close-btn i {
            color: #1a1a2e;
            font-size: 1.2rem;
        }

        .ij-lightbox-title {
            text-align: center;
            color: #ffffff;
            font-size: 1.3rem;
            margin-top: 20px;
            font-weight: 600;
        }

        @keyframes ij-slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes ij-fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes ij-spin {
            to { transform: rotate(360deg); }
        }

        @media (min-width: 1400px) {
            .ij-grid { grid-template-columns: repeat(4, 1fr); gap: 30px; }
        }

        @media (max-width: 1399px) and (min-width: 1025px) {
            .ij-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
        }

        @media (max-width: 1024px) and (min-width: 769px) {
            .ij-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
            .ij-content { padding: 20px 15px; }
            .ij-nome { font-size: 1.1rem; }
        }

        @media (max-width: 768px) and (min-width: 481px) {
            body { padding: 15px; }
            .ij-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
            .ij-content { padding: 18px 12px; }
            .ij-nome { font-size: 1rem; }
            .ij-titulo-h2 { font-size: 1.8rem; letter-spacing: 2px; }
        }

        @media (max-width: 480px) {
            body { padding: 10px; }
            .ij-grid { grid-template-columns: 1fr; gap: 15px; padding: 5px; }
            .ij-content { padding: 15px 12px; }
            .ij-nome { font-size: 0.95rem; }
            .ij-tipo { font-size: 0.75rem; }
            .ij-badge { font-size: 0.65rem; padding: 4px 10px; }
            .ij-titulo-h2 { font-size: 1.5rem; letter-spacing: 1px; }
            .ij-subtitulo { font-size: 0.9rem; }
            .ij-loading { padding: 60px 15px; }
            .ij-spinner { width: 50px; height: 50px; border-width: 3px; }
            .ij-loading-text { font-size: 0.9rem; }
        }