
.church-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.church-hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

.church-category {
    background-color: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.church-name {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.church-location-brief {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.church-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* --- GRID LAYOUT --- */
.church-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

/* --- COLUNA DE INFORMAÇÕES --- */
.info-card, .social-links-container, .church-gallery {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.info-card h3, .social-links-container h3, .church-gallery h3 {
    font-family: var(--serif);
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 1.5rem;
    background: var(--bg-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item strong {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* BOTÕES SOCIAIS */
.social-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.instagram { background-color: #E1306C; }
.facebook { background-color: #4267B2; }
.whatsapp { background-color: #25D366; }
.youtube { background-color: #FF0000; }
.website { background-color: var(--secondary); }

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* GALERIA */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-img:hover {
    filter: brightness(0.8);
}

/* --- COLUNA DE HORÁRIOS (DESTAQUE) --- */
.schedule-container {
    background-color: var(--secondary);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(12, 32, 54, 0.2);
    position: static;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.schedule-header .icon {
    font-size: 2rem;
}

.schedule-header h2 {
    font-family: var(--serif);
    color: var(--accent);
    font-size: 2rem;
    margin: 0;
}

.schedule-group {
    margin-bottom: 35px;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.gold-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
}

.group-title h3 {
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 1px;
}

.schedule-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row.highlight {
    background: rgba(212, 167, 44, 0.15);
    color: var(--accent);
    font-weight: 600;
}

.schedule-row strong {
    color: var(--accent);
    text-align: right;
    white-space: nowrap;
}





/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .church-main-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-container {
        position: static;
        order: -1; /* Traz os horários para cima no mobile */
    }

    .church-hero {
        height: 50vh;
        text-align: center;
    }

    .church-hero-actions {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .schedule-row strong {
        text-align: left;
        white-space: normal;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-container {
        padding: 25px 20px;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}




.church-map-container {
    margin-top: 30px;
}

.church-map-container h3 {
    font-family: var(--serif);
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.church-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.church-map iframe {
    display: block;
    width: 100%;
    min-height: 260px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.85rem;
    color: #ddd;
    margin-right: 5px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);

    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

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

/* Cores por rede */
.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.share-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.share-btn.copy:hover {
    background: #d4af37;
    border-color: #d4af37;
}





/* AJUSTES MOBILE DA PÁGINA DA IGREJA */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.church-hero,
.church-details,
.church-main-grid,
.church-info-column,
.church-schedule-column,
.info-card,
.social-links-container,
.schedule-container,
.schedule-list,
.schedule-row,
.church-map,
.church-map iframe {
    max-width: 100%;
}

.church-main-grid,
.church-info-column,
.church-schedule-column,
.info-card,
.social-links-container,
.schedule-container,
.schedule-list,
.schedule-row,
.schedule-row span,
.schedule-row strong,
.info-item div {
    min-width: 0;
}

.church-name,
.church-location-brief p,
.info-item p,
.info-item a,
.group-title h3,
.schedule-header h2,
.schedule-row span,
.schedule-row small,
.schedule-row strong {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* TABLETS E CELULARES */
@media (max-width: 768px) {
    .church-hero {
        height: auto;
        min-height: auto;
        padding: 70px 0 55px;
        text-align: center;
    }

    .church-hero-content {
        max-width: 100%;
    }

    .church-name {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
        line-height: 1.15;
    }

    .church-location-brief {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .church-location-brief p {
        max-width: 100%;
    }

    .church-hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .church-hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }

    .share-buttons {
        justify-content: center;
    }

    .church-details.section-padding {
        padding: 45px 0;
    }

    .church-main-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .schedule-container {
        padding: 28px 18px;
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(12, 32, 54, 0.18);
    }

    .schedule-header {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 28px;
    }

    .schedule-header .icon {
        font-size: 1.5rem;
        line-height: 1;
        flex-shrink: 0;
    }

    .schedule-header h2 {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .group-title {
        align-items: flex-start;
    }

    .gold-dot {
        margin-top: 8px;
        flex-shrink: 0;
    }

    .group-title h3 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .schedule-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 14px;
    }

    .schedule-row span {
        display: block;
        width: 100%;
    }

    .schedule-row small {
        display: inline;
        line-height: 1.45;
    }

    .schedule-row strong {
        width: 100%;
        text-align: left;
        white-space: normal;
        line-height: 1.4;
        font-size: 0.95rem;
    }

    .info-card,
    .social-links-container {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .info-item {
        align-items: flex-start;
        gap: 12px;
    }

    .info-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.15rem;
    }

    .social-buttons-grid {
        justify-content: flex-start;
    }

    .social-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .church-map iframe {
        height: 230px;
        min-height: 230px;
    }
}

/* CELULARES PEQUENOS */
@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .church-hero {
        padding: 55px 0 45px;
    }

    .church-category {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .church-name {
        font-size: clamp(1.7rem, 10vw, 2.35rem);
    }

    .church-location-brief {
        font-size: 0.9rem;
    }

    .schedule-container {
        padding: 22px 14px;
        border-radius: 12px;
    }

    .schedule-header {
        margin-bottom: 22px;
    }

    .schedule-header h2 {
        font-size: 1.35rem;
    }

    .schedule-group {
        margin-bottom: 28px;
    }

    .schedule-row {
        padding: 13px 12px;
        font-size: 0.9rem;
    }

    .info-card,
    .social-links-container {
        padding: 20px 14px;
    }

    .info-item {
        gap: 10px;
    }

    .info-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 1rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }

    .full-width {
        width: 100%;
        text-align: center;
    }
}



@media (max-width: 600px) {
    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .schedule-row strong {
        text-align: left;
        white-space: normal;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-container {
        padding: 25px 20px;
    }
}