/* 
   CES Bulle - Site Premium Design System
   Architecture: Antigravity 2.4 - Diamond Phoenix
*/

:root {
    --primary-gold: #d4af37;
    --primary-gold-rgb: 212, 175, 55;
    --dark-bg: #050505;
    --dark-card: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(212, 175, 55, 0.2);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Premium Model Styles v67.2.0 --- */

/* Navbar Redesign */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-top { font-size: 0.65rem; letter-spacing: 5px; color: #fff; opacity: 0.7; }
.brand-main { font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; color: #fff; line-height: 1; }
.brand-sub { font-size: 0.7rem; letter-spacing: 6px; color: var(--primary-gold); font-weight: 600; }

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: 0.3s;
}

.nav-menu a.active, .nav-menu a:hover {
    opacity: 1;
    color: var(--primary-gold);
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-member {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-member:hover { background: rgba(255,255,255,0.1); }

.btn-cta-gold {
    background: var(--primary-gold);
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
}

.btn-cta-gold:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4); }

/* Hero Refinement */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 3rem;
}

.hero-btns .btn-primary {
    background: var(--primary-gold);
    color: #000;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.9rem;
}

.hero-btns .btn-outline {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 18px 40px;
    border-radius: 12px;
    background: transparent;
}

/* Image Slices Premium - Diamond Phoenix v67.5.0 */
.image-slices-premium {
    display: flex;
    position: relative;
    justify-content: flex-end;
    align-items: center;
}

.slice-skewed {
    width: 260px;
    height: 620px;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    overflow: hidden;
    margin-left: -70px;
    background: #000;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: 20px 0 50px rgba(0,0,0,0.4);
}

.slice-skewed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
    filter: brightness(0.4) grayscale(100%);
}

.slice-skewed.bw {
    z-index: 5;
}

.slice-skewed.active {
    z-index: 20;
    width: 280px;
    height: 660px;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.slice-skewed.active img {
    filter: brightness(1.1) grayscale(0%);
    transform: scale(1.08);
}

.slice-skewed:hover {
    z-index: 30;
    transform: translateY(-15px) scale(1.02);
    border-color: #fff;
}

.slice-skewed:hover img {
    filter: brightness(1.2) grayscale(0%);
}

/* Watch Message */
.watch-message {
    position: absolute;
    right: -20px;
    top: 30%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.play-btn:hover { background: var(--primary-gold); color: #000; transform: scale(1.1); }

.watch-text {
    display: flex;
    flex-direction: column;
}

.watch-text span { font-size: 0.7rem; color: #fff; opacity: 0.7; letter-spacing: 2px; }
.watch-text strong { font-size: 0.85rem; color: #fff; letter-spacing: 1px; font-weight: 800; }

/* Nossos Cultos Styles */
.cultos {
    background: linear-gradient(to bottom, #000, #0a0a0a);
    padding: 100px 0;
}

.cultos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culto-item {
    background: rgba(20,20,20,0.4);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 60px 40px; /* More vertical breathing room */
    text-align: center;
    border-radius: 32px; /* Smoother rounded corners */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.culto-item i {
    font-size: 2.2rem; /* Minimalist icon size */
    color: var(--primary-gold);
    margin-bottom: 25px;
    display: block;
}

.culto-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.time-badge {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.culto-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

.culto-item:hover {
    background: rgba(30,30,30,0.6);
    border-color: var(--primary-gold);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

}

/* --- Modal História Premium --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    z-index: 5000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

/* Video Modal Specifics - Cinema Glass v68.0.1 */
.modal-card-video {
    width: 90%;
    max-width: 400px;
    height: 80vh;
    background: #000;
    border: 2px solid var(--primary-gold);
    border-radius: 32px;
    position: relative;
    box-shadow: 0 0 100px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-card-historia {
    width: 95%;
    max-width: 900px;
    height: 90vh;
    background: #0a0a0a;
    border: 1px solid var(--primary-gold);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 150px rgba(212, 175, 55, 0.3);
}

.modal-scroll-area {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

.img-full-compact {
    width: 100%;
    display: block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-gold);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.close-modal:hover {
    background: var(--primary-gold);
    color: black;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile Fixes */

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

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

/* --- Layout --- */

.container {
    max-width: 1440px; /* Expanded for high-impact wide screens */
    margin: 0 auto;
    padding: 0 4rem; /* More breathing room */
}

section {
    padding: 100px 0;
}

/* --- Typography --- */

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gold-text {
    color: var(--primary-gold);
    background: linear-gradient(45deg, #d4af37, #f7e08b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: #f7e08b;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

/* --- Glassmorphism --- */

.glass-card {
    background: var(--dark-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

/* --- Hero Section --- */

/* --- Hero Section - Refined v66.1.4 --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background: radial-gradient(circle at 70% 30%, #1a1a1a 0%, #050505 100%);
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* More space for the high-impact photos */
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-accent {
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin-bottom: 2rem;
    box-shadow: 0 0 15px var(--primary-gold);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* --- Architectural Image Slices v67.0.5 --- */
.image-slices-perfect {
    display: flex;
    gap: -30px; /* Modern overlap */
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    perspective: 1000px;
}

.slice-skewed {
    width: 260px; /* Slightly wider slices */
    height: 580px;
    overflow: hidden;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    border: 2px solid var(--primary-gold);
    transition: var(--transition-smooth);
    position: relative;
    background: #000;
    margin-left: -60px; /* Tighter architectural overlap */
    box-shadow: 20px 0 50px rgba(0,0,0,0.5);
}

.slice-skewed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.5) grayscale(30%);
    transition: var(--transition-smooth);
}

/* Center Slice Focus */
.slice-skewed.active {
    width: 280px;
    height: 620px;
    z-index: 10;
    border-color: #fff;
    clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

.slice-skewed.active img {
    filter: brightness(1.1) grayscale(0%);
    transform: scale(1.05);
}

.slice-skewed:hover {
    z-index: 20;
    border-color: #fff;
    transform: translateY(-10px);
}

.slice-skewed:hover img {
    filter: brightness(1.2);
}

@media (max-width: 1024px) {
    .image-slices-perfect {
        justify-content: center;
        margin-top: 2rem;
        transform: scale(0.6) translateX(40px);
    }
    .slice-skewed {
        width: 150px;
        height: 400px;
    }
}

@media (max-width: 1024px) {
    .image-slices-perfect {
        justify-content: center;
        margin-top: 4rem;
        padding-right: 0;
        transform: scale(0.7) translateX(20px);
    }
    .slice-skewed {
        width: 120px;
        height: 320px;
    }
    .slice-skewed:nth-child(2) {
        height: 360px;
    }
}

.hero .container {
    position: relative;
    z-index: 10; /* Above all slides */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* --- Sections --- */

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: var(--primary-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Cultos Grid --- */

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

.culto-item {
    text-align: center;
}

.culto-item i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

/* --- Ministries --- */

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

.ministry-card {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
}

.ministry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.ministry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transition: var(--transition-smooth);
}

.ministry-card:hover img {
    transform: scale(1.1);
}

.ministry-card:hover .ministry-overlay {
    padding-bottom: 3rem;
}

/* --- Footer --- */

footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

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

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

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Animations --- */

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile & Tablet Optimization v80.1.0 --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 40px;
    }

    .hero-content {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-slices-premium {
        order: 1;
        justify-content: center;
        transform: scale(0.85);
        margin-bottom: -50px;
    }

    .nav-menu {
        display: none; /* Mobile menu logic required */
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .image-slices-premium {
        transform: scale(0.65) translateX(30px);
        height: 400px;
        margin-top: -80px;
    }

    .slice-skewed {
        width: 140px;
        height: 380px;
        margin-left: -40px;
    }

    .slice-skewed.active {
        width: 160px;
        height: 420px;
    }

    .cultos-grid, .ministries-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo-wrapper, .footer-logo .logo-wrapper {
        justify-content: center;
    }

    .nav-actions {
        display: none;
    }
    
    .watch-cta-minimal {
        bottom: 20px;
        right: 20px;
        transform: scale(0.9);
    }
}
/* --- Modals --- */
.modal-overlay {
    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: 10000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.modal-card-historia {
    background: var(--dark-bg);
    width: 95%;
    max-width: 800px;
    height: 90vh;
    border-radius: 30px;
    position: relative;
    border: 1px solid var(--primary-gold);
    overflow: hidden;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
}

.modal-scroll-area {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) transparent;
}

.img-full-compact {
    width: 100%;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Mobile Menu Toggle & Overlay Styles */
.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.mobile-nav-content {
    width: 100%;
    text-align: center;
    padding: 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.mobile-btn-member, .mobile-btn-connect {
    padding: 15px 30px;
    border-radius: 50px;
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 250px;
}

.mobile-btn-member { border: 1px solid rgba(255,255,255,0.2); }
.mobile-btn-connect { background: var(--primary-gold); color: #000; }

.close-mobile-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle { display: block; }
}
