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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #1e40af;
    margin: 0;
    padding: 0;
}

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

/* Header */
.header {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .main {
    font-size: 1.25rem;
    font-weight: 900;
}

.logo-text .sub {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    opacity: 0.9;
}

.nav a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .header .container {
        position: relative;
    }
    
    .nav {
        display: flex !important;
    }
    
    .menu-toggle {
        display: flex !important;
        z-index: 10001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #1e40af;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 10000;
    }
    
    .nav.active {
        right: 0 !important;
    }
    
    .nav a {
        font-size: 1.25rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(59, 130, 246, 0.8) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.slide-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(147, 197, 253, 0.3);
    backdrop-filter: blur(10px);
}

.slide-badge span {
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.slide-content h1 .gradient-text {
    background: linear-gradient(135deg, #93c5fd 0%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(219, 234, 254, 0.9);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slider-btn.prev {
        left: 1rem;
    }
    
    .slider-btn.next {
        right: 1rem;
    }
}

/* Hero (removido) */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: #1e40af;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-agenda-full {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-agenda-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-agenda-full:hover::before {
    left: 100%;
}

.btn-agenda-full:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.btn-text strong {
    font-size: 1rem;
}

.btn-text small {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.btn-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.btn-agenda-full:hover .btn-arrow {
    transform: translateX(5px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Sections */
.section {
    padding: 5rem 1rem;
}

.bg-light {
    background: white;
}

.section-dark {
    padding: 7rem 1rem;
    background: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.section-header-dark h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.section-header-dark h2 span {
    color: #60a5fa;
}

.section-header-dark p {
    color: rgba(147, 197, 253, 0.6);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

.label-dark {
    display: block;
    color: #3b82f6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.label {
    display: block;
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
}

.section-header h2 span {
    color: #2563eb;
}

/* About Preview */
.sobre-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sobre-image {
    position: relative;
}

.sobre-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.2);
    border: 4px solid white;
}

.sobre-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 3px solid white;
}

.badge-icon {
    font-size: 1.5rem;
}

.sobre-badge strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.sobre-badge small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.sobre-text-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sobre-highlight {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.highlight-bar {
    width: 6px;
    background: linear-gradient(180deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

.sobre-text {
    background: white;
    padding: 2rem;
    border-radius: 0 1.5rem 1.5rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    line-height: 1.8;
    text-align: left;
    flex: 1;
    border: 1px solid #f1f5f9;
}

.sobre-text p {
    color: #475569;
    font-size: 1.05rem;
    text-align: justify;
    margin-bottom: 0;
}

.btn-historia {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 1.25rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    align-self: flex-start;
}

.btn-historia:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

.btn-historia span:first-child {
    font-size: 1.5rem;
}

.btn-historia strong {
    display: block;
    font-size: 1rem;
}

.btn-historia small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.btn-historia .arrow {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.btn-historia:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .sobre-content {
        grid-template-columns: 1fr;
    }
    
    .sobre-image img {
        height: 300px;
    }
    
    .sobre-badge {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.card:hover h3 {
    color: #93c5fd;
}

.card .card-leader {
    font-size: 0.875rem;
    color: rgba(147, 197, 253, 0.8);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.card p {
    color: rgba(147, 197, 253, 0.6);
    position: relative;
    z-index: 1;
    line-height: 1.6;
    flex: 1;
}

/* Cards Sermões (fundo escuro) */
.sermoes-grid .card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
}

.sermoes-grid .card::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
}

.sermoes-grid .card:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.sermoes-grid .card h3 {
    background: rgba(148, 163, 184, 0.15);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin: -0.5rem -0.5rem 1rem -0.5rem;
}

.sermoes-grid .card:hover h3 {
    background: rgba(148, 163, 184, 0.25);
    color: #93c5fd;
}

.sermoes-grid .card p {
    color: rgba(147, 197, 253, 0.6);
}

/* Agenda */
.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agenda-item {
    display: flex;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    transition: all 0.3s;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.agenda-item:hover {
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.agenda-day-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 1rem;
    text-align: center;
    min-width: 120px;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.day-label {
    font-size: 0.65rem;
    font-weight: 900;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.day-time {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin: 0.25rem 0;
}

.day-name {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    text-transform: capitalize;
    font-weight: 600;
}

.agenda-details {
    flex: 1;
    padding: 1rem 1.5rem;
}

.agenda-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.agenda-details h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: #1e40af;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agenda-details h4::before {
    content: '▶';
    color: #3b82f6;
    font-size: 0.75rem;
}

.agenda-dirigente {
    color: #475569;
    font-size: 0.8rem;
    margin: 0.25rem 0;
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0.5rem;
    border-left: 3px solid #3b82f6;
}

.agenda-obs {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 0.5rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    color: #1e40af;
    margin-top: 0.5rem;
    border-left: 4px solid #3b82f6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .agenda-item {
        flex-direction: column;
    }
    
    .agenda-day-box {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        min-width: auto;
    }
}

/* Contact */
.contact-section {
    position: relative;
    padding: 4rem 1rem;
    background: #f8fafc;
    overflow: hidden;
}

.contact-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: #0f172a;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 2fr 3fr;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-col {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-col h2 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.contact-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item-box {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item-box h4 {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.25rem;
}

.contact-item-box p {
    font-size: 0.875rem;
    line-height: 1.6;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.contact-form-col {
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.875rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-field textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    font-size: 0.9rem;
}

.btn-submit:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

@media (max-width: 768px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 1rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #3b82f6;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.875rem;
    color: rgba(147, 197, 253, 0.6);
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    font-size: 0.875rem;
    color: rgba(147, 197, 253, 0.6);
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-col ul li a {
    color: rgba(147, 197, 253, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #3b82f6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.footer-social-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(147, 197, 253, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: rgba(147, 197, 253, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a {
    color: rgba(147, 197, 253, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Página Agenda */
.top-nav {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.back-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    color: #2563eb;
}

.nav-title {
    font-size: 0.75rem;
    font-weight: 900;
    color: #2563eb;
    letter-spacing: 0.2em;
}

.page-header {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-header h1 span {
    color: #fbbf24;
}

.filter-box {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.filter-header {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #64748b;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #e2e8f0;
}

.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.events-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.event-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.event-time {
    background: #f8fafc;
    padding: 2rem;
    text-align: center;
    min-width: 180px;
    border-right: 1px solid #e2e8f0;
}

.time-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: #2563eb;
    letter-spacing: 0.1em;
}

.time-value {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0.5rem 0;
}

.event-date {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: capitalize;
}

.event-details {
    flex: 1;
    padding: 2rem;
}

.event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.badge-ebd {
    background: #fef3c7;
    color: #92400e;
}

.badge-culto {
    background: #dbeafe;
    color: #1e40af;
}

.badge-gray {
    background: #f1f5f9;
    color: #475569;
}

.badge-turma {
    background: #d1fae5;
    color: #065f46;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    color: #64748b;
    font-size: 0.875rem;
}

.event-note {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: #475569;
}

.loading, .empty-state {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Admin */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: #0f172a;
    color: white;
    padding: 2rem 0;
}

.admin-logo {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.admin-logo h2 {
    font-size: 1.5rem;
}

.admin-nav-item {
    display: block;
    padding: 1rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: #1e293b;
    color: white;
}

.admin-main {
    flex: 1;
    padding: 2rem;
    background: #f8fafc;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #334155;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #1e40af;
}

.btn-secondary {
    background: #e2e8f0;
    color: #334155;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-card > div:first-child {
    flex: 1;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-edit, .btn-delete {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-edit {
    background: #fbbf24;
    color: white;
}

.btn-delete {
    background: #ef4444;
    color: white;
}

/* Editor Toolbar */
.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.editor-toolbar button {
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.editor-toolbar button:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.editor-toolbar button strong,
.editor-toolbar button em,
.editor-toolbar button u {
    font-size: 0.875rem;
}

/* Login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.login-box p {
    color: #64748b;
    margin-bottom: 2rem;
}

/* História */
.historia-page {
    padding: 3rem 1rem;
    min-height: 100vh;
}

.historia-header {
    text-align: center;
    padding: 3rem 0;
}

.historia-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.historia-header h1 span {
    color: #2563eb;
}

.divider {
    width: 60px;
    height: 4px;
    background: #2563eb;
    margin: 0 auto;
    border-radius: 2px;
}

.versiculo-box {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: #f1f5f9;
}

.versiculo-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #475569;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.versiculo-ref {
    color: #2563eb;
    font-weight: 700;
    margin-top: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.historia-content {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    line-height: 1.8;
    color: #475569;
}

.historia-content h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0f172a;
    margin: 2.5rem 0 1.5rem 0;
}

.historia-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.historia-content .first-letter::first-letter {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1e40af;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
}

.historia-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1.5rem;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.historia-intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.destaque-box {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 2rem 0;
}

.destaque-box p {
    margin: 0;
    color: #1e40af;
}

.legado-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.legado-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.legado-box p {
    text-align: center;
    opacity: 0.95;
}

/* Notícia */
.noticia-page {
    padding: 3rem 1rem;
    min-height: 100vh;
}

.noticia-page h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.noticia-data {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.noticia-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.noticia-texto {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    line-height: 1.8;
    color: #475569;
}

.noticia-texto p {
    margin-bottom: 1rem;
}

.noticia-texto h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0f172a;
    margin: 2rem 0 1rem 0;
}

.noticia-texto h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin: 1.5rem 0 1rem 0;
}

.noticia-texto strong {
    font-weight: 700;
    color: #0f172a;
}

.noticia-texto em {
    font-style: italic;
}

.noticia-texto u {
    text-decoration: underline;
}

.historia-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.historia-content ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.historia-content ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-time {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .admin-container {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
    }
}


/* Pop-up */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 1rem;
}

.popup-overlay.active {
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    animation: popupSlide 0.3s ease;
}

@media (min-width: 769px) {
    .popup-content {
        padding: 3rem;
        border-radius: 2rem;
        width: 90%;
        max-height: 90vh;
    }
}

@media (max-width: 768px) {
    .popup-content h2 {
        font-size: 1.5rem;
    }
    
    .popup-content p {
        font-size: 0.95rem;
    }
    
    .popup-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@keyframes popupSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f1f5f9;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    color: #64748b;
    z-index: 10;
}

.popup-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.popup-content h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.popup-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.popup-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 1rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
}

/* Página Em Que Cremos */
.page-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 5rem 1rem 4rem;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-hero h1 span {
    color: #fbbf24;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.cremos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cremos-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.cremos-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    border-color: #3b82f6;
}

.cremos-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.cremos-card:nth-child(1) .cremos-icon { animation-delay: 0s; }
.cremos-card:nth-child(2) .cremos-icon { animation-delay: 0.5s; }
.cremos-card:nth-child(3) .cremos-icon { animation-delay: 1s; }
.cremos-card:nth-child(4) .cremos-icon { animation-delay: 1.5s; }
.cremos-card:nth-child(5) .cremos-icon { animation-delay: 2s; }
.cremos-card:nth-child(6) .cremos-icon { animation-delay: 2.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cremos-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.cremos-card p {
    color: #475569;
    line-height: 1.8;
    text-align: justify;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .cremos-grid {
        grid-template-columns: 1fr;
    }
}

.cremos-icon svg {
    display: block;
}

.cremos-card {
    margin-bottom: 2rem;
}


/* Leaflet Popup Responsivo */
.leaflet-popup-content-wrapper {
    max-width: 90vw !important;
}

.leaflet-popup-content {
    margin: 0.75rem !important;
    max-width: 100% !important;
}

.popup-title {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.75rem;
    text-align: center;
}

.popup-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 0.5rem;
    margin: 0.5rem auto;
    display: block;
}

.popup-info {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #475569;
    max-width: 200px;
    margin: 0 auto;
}

.popup-info strong {
    color: #0f172a;
    display: block;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .leaflet-popup-content-wrapper {
        max-width: 85vw !important;
    }
    
    .popup-title {
        font-size: 1rem;
    }
    
    .popup-img {
        max-width: 180px;
    }
    
    .popup-info {
        font-size: 0.8rem;
        max-width: 180px;
    }
}
