/* ==========================================================================
   MIMS - CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Colors */
    --primary-deep: #0B1F4D;
    --primary-royal: #163E8C;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #b8952b;
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --dark-bg: #050E24;
    --gray-text: #94A3B8;
    --text-dark: #1E293B;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.4);
    
    /* Spacing */
    --section-padding: 100px;
}

/* ==========================================================================
   RESET & GLOBAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-text); }
.gold-text { color: var(--accent-gold); }
.bg-dark { background-color: var(--dark-bg); }
.bg-light { background-color: var(--white); }
.bg-gray { background-color: var(--light-bg); }
.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }

/* Typography Basics */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-royal);
    display: block;
    margin-bottom: 10px;
}

.section-header {
    margin-bottom: 60px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

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

.btn-text {
    background: transparent;
    color: var(--white);
    padding: 14px 0;
}

.btn-text i {
    transition: transform 0.3s ease;
}

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

.btn-glow {
    background: #25D366;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 18px 40px;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.btn-glow:hover {
    background: #1ebc5a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.6);
}

.btn-radio-play {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-radio-play:hover {
    background: var(--white);
    color: var(--primary-deep);
    border-color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.btn-radio-play i {
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-radio-play:hover i {
    transform: scale(1.1);
}

.btn-nav-radio {
    border-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-nav-radio:hover {
    background: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-glow);
}

.nav-cta a {
    min-width: 140px;
    height: 48px;
    padding: 0 24px !important;
    font-size: 1rem !important;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(11, 31, 77, 0.95);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

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

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

.mobile-only-btn {
    display: none !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--primary-deep);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s linear;
    transform: scale(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 14, 36, 0.4), rgba(5, 14, 36, 0.9));
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-headline i {
    font-weight: 400;
    color: var(--accent-gold);
}

.hero-subheadline {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 12px;
}

.slide-btn {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slide-btn.active {
    background: var(--accent-gold);
    width: 60px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(90deg);
    transform-origin: right bottom;
}

.scroll-indicator .line {
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

/* ==========================================================================
   QUEM SOMOS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images-card {
    background: var(--white);
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.about-images {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    z-index: 1;
    object-fit: cover;
    border: 6px solid var(--primary-royal);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.img-overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
    border: 6px solid var(--primary-royal);
    object-fit: cover;
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: 0.3s;
}

/* Scroll Animation Trigger */
.about-images-card.active .img-main {
    opacity: 1;
    transform: translateY(0);
}

.about-images-card.active .img-overlay {
    opacity: 1;
    transform: translateX(0);
}

/* Hover Interaction */
.about-images-card:hover .img-main {
    transform: scale(1.02);
}

.about-images-card:hover .img-overlay {
    transform: scale(1.05) translateY(-10px);
}

.about-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pillar {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.pillar:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-royal);
    border-radius: 50%;
    margin-left: 15px;
}

.text-content p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 20px;
}

.text-content .highlight-text {
    font-size: 1.25rem;
    color: var(--primary-royal);
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    font-family: var(--font-serif);
}

/* ==========================================================================
   AGENDA DE CULTOS
   ========================================================================== */
.schedule {
    position: relative;
}

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

.schedule-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    color: var(--white);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.schedule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-gold);
}

.schedule-card h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.schedule-card .time {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.schedule-card p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ==========================================================================
   MISSÕES
   ========================================================================== */
.large-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-family: var(--font-serif);
    color: var(--primary-deep);
    line-height: 1.8;
}

.missions {
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, #f0f4f8 100%);
    overflow: hidden;
    z-index: 1;
}

.missions::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(22, 62, 140, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.missions::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.action-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, var(--primary-deep), #06112a);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(11, 31, 77, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    height: 100%;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    pointer-events: none;
    transition: all 0.5s ease;
}

.action-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    pointer-events: none;
}

.action-card:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(11, 31, 77, 0.25), 0 0 40px rgba(212, 175, 55, 0.15);
    background: linear-gradient(145deg, #09193D, var(--primary-deep));
}

.action-card:hover::before {
    opacity: 1;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}

.action-card:hover::after {
    left: 200%;
    opacity: 1;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.action-card i {
    font-size: 36px;
    color: var(--accent-gold);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.action-card:hover .card-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-gold), #b8952b);
    transform: scale(1.15) translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.action-card:hover i {
    color: var(--primary-deep);
    transform: scale(1.1);
}

.action-card h4 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.action-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.glass-leadership {
    background: var(--primary-deep);
    color: var(--white);
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-leadership::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
}

.glass-leadership i.ph-quotes {
    font-size: 40px;
    color: var(--accent-gold);
    opacity: 0.5;
    margin-bottom: 20px;
}

.glass-leadership .quote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-family: var(--font-serif);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.glass-leadership .leader-name {
    font-weight: 600;
    color: var(--accent-gold);
}

.glass-leadership .leader-name span {
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

/* ==========================================================================
   MINISTÉRIOS
   ========================================================================== */
.ministries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.min-card {
    flex: 1 1 calc(14% - 20px);
    min-width: 140px;
    max-width: 180px;
    background: var(--white);
    padding: 30px 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    box-sizing: border-box;
}

.min-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-soft);
    background: var(--primary-deep);
}

.min-card i {
    font-size: 40px;
    color: var(--primary-royal);
    margin-bottom: 15px;
    transition: color 0.3s;
}

.min-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s;
}

.min-card:hover i,
.min-card:hover h3 {
    color: var(--white);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--primary-deep);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.45;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 31, 77, 0.75) 0%, rgba(6, 17, 42, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 10;
    color: var(--white);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 80px 0 30px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.footer ul li {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer ul li i {
    margin-top: 5px;
    color: var(--accent-gold);
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 50px;
}

.social-links a:hover {
    background: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   PAGE HEADER (ONDE ESTAMOS)
   ========================================================================== */
.page-header {
    position: relative;
    padding: 220px 0 160px;
    background: var(--primary-deep);
    text-align: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imagem onde estamos.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.page-header-content {
    position: relative;
    z-index: 10;
    color: var(--white);
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-sans);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   LOCATIONS LIST
   ========================================================================== */
.locations-list {
    display: flex;
    flex-direction: column;
}

.location-item {
    display: flex;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.location-item:hover {
    transform: translateX(15px);
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

.location-item:hover .location-number {
    color: var(--primary-royal);
    transform: scale(1.05);
}

.location-number {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 700;
    color: rgba(11, 31, 77, 0.08); /* very light blue for watermark effect */
    margin-right: 40px;
    min-width: 90px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.location-info {
    flex: 1;
}

.location-name {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.location-item:hover .location-name {
    color: var(--accent-gold);
}

.location-name span {
    font-weight: 400;
    color: #64748B;
    font-size: 1.2rem;
}

.location-address {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .location-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0;
    }
    
    .location-item:hover {
        transform: translateX(5px);
    }
    
    .location-number {
        margin-right: 0;
        margin-bottom: 10px;
        line-height: 1;
    }
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-images {
        min-height: 400px;
        margin-bottom: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    /* Mobile Menu Style */
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-deep);
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        gap: 20px;
    }

    .nav-links.mobile-active a.mobile-only-btn {
        display: inline-block !important;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .min-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
        height: 130px;
        padding: 20px 10px;
    }
    .min-card i {
        font-size: 32px;
        margin-bottom: 10px;
    }
    .min-card h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .cta-bg {
        background-attachment: scroll;
    }
}

/* ==========================================================================
   PEQUENOS GRUPOS (PGs)
   ========================================================================== */
.pgs-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, #f0f4f8 100%);
}

.pg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.pg-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(22, 62, 140, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.pg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-royal), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11, 31, 77, 0.1);
    border-color: rgba(212, 175, 55, 0.25);
    background: var(--white);
}

.pg-card:hover::before {
    opacity: 1;
}

.pg-card-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pg-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.pg-card:hover .pg-icon-wrapper {
    background: var(--primary-royal);
    color: var(--white);
}

.pg-leader {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin: 0;
}

.pg-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.pg-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.5;
}

.pg-info-item i {
    font-size: 20px;
    color: var(--primary-royal);
    margin-top: 2px;
}

.pg-info-item.address {
    font-weight: 500;
}

.pg-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pg-btn-participar {
    background: var(--primary-royal);
    color: var(--white);
    border: none;
}

.pg-btn-participar:hover {
    background: var(--primary-deep);
    box-shadow: 0 5px 15px rgba(22, 62, 140, 0.3);
}

.pg-btn-mapa {
    background: transparent;
    color: var(--primary-royal);
    border: 1px solid rgba(22, 62, 140, 0.2);
}

.pg-btn-mapa:hover {
    border-color: var(--primary-royal);
    background: rgba(22, 62, 140, 0.03);
}

/* Responsive for PGs */
@media (max-width: 992px) {
    .pg-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .pg-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .pgs-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   MINISTRAÇÕES (SERMONS) PAGE
   ========================================================================== */
.ministracoes-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, #edf2f7 100%);
}

.ministracoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

.ministracoes-card {
    background: var(--white);
    border: 1px solid rgba(22, 62, 140, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ministracoes-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 31, 77, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.ministracoes-thumb {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background-color: var(--primary-deep);
}

.ministracoes-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.ministracoes-card:hover .ministracoes-thumb img {
    transform: scale(1.05);
}

.ministracoes-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-royal);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.ministracoes-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 31, 77, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.ministracoes-card:hover .ministracoes-play-overlay {
    opacity: 1;
}

.ministracoes-play-overlay i {
    font-size: 50px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ministracoes-card:hover .ministracoes-play-overlay i {
    transform: scale(1);
}

.ministracoes-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ministracoes-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 12px;
}

.ministracoes-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ministracoes-meta i {
    color: var(--accent-gold);
}

.ministracoes-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 12px;
    line-height: 1.3;
}

.ministracoes-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.ministracoes-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mims-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mims-btn-primary {
    background: var(--primary-royal);
    color: var(--white);
    border: none;
}

.mims-btn-primary:hover {
    background: var(--primary-deep);
    box-shadow: 0 5px 15px rgba(22, 62, 140, 0.2);
}

.mims-btn-secondary {
    background: transparent;
    color: var(--primary-royal);
    border: 1px solid rgba(22, 62, 140, 0.2);
}

.mims-btn-secondary:hover {
    background: rgba(22, 62, 140, 0.03);
    border-color: var(--primary-royal);
}

/* MODAL SYSTEM */
.mims-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 14, 36, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.mims-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mims-modal-container {
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    width: 100%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.mims-modal-overlay.active .mims-modal-container {
    transform: scale(1);
}

.mims-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-deep);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.mims-modal-close:hover {
    background: var(--primary-royal);
    color: var(--white);
    transform: rotate(90deg);
}

.mims-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: #000;
}

.mims-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.mims-modal-content {
    padding: 40px;
}

.mims-modal-content h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-deep);
    margin-bottom: 10px;
}

.mims-modal-meta {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.mims-modal-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mims-study-text {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.mims-study-text p {
    margin-bottom: 20px;
}

.mims-study-text blockquote {
    background: rgba(22, 62, 140, 0.05);
    border-left: 4px solid var(--accent-gold);
    padding: 20px;
    border-radius: 0 16px 16px 0;
    font-family: var(--font-serif);
    font-style: italic;
    margin: 25px 0;
    color: var(--primary-deep);
}

.mims-study-text h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary-deep);
    margin: 30px 0 15px;
}

.mims-study-text ul {
    margin: 15px 0 25px 20px;
    list-style-type: disc;
}

.mims-study-text li {
    margin-bottom: 10px;
}

/* Responsiveness for Ministrações */
@media (max-width: 992px) {
    .ministracoes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .ministracoes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .ministracoes-section {
        padding: 60px 0;
    }
    .mims-modal-content {
        padding: 25px;
    }
    .mims-modal-content h3 {
        font-size: 1.5rem;
    }
}


