/* ============================================
   HOME PAGE STYLES - ADBelem
   ============================================ */

/* HEADER DROPDOWN MENU - DESATIVADO
   O submenu SÓ aparece dentro da página About
   Menu principal é link simples sem dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Esconder a seta do dropdown no menu principal */
.nav-dropdown-trigger svg {
    display: none;
}

/* DROPDOWN DESATIVADO - não aparece no hover */
.nav-dropdown-menu {
    display: none !important;
}

/* LANGUAGE SELECTOR */
.language-selector {
    position: relative;
}

.language-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    border-radius: 50%;
    transition: background 0.2s;
}

.language-btn:hover {
    background: var(--bg-secondary);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    min-width: 140px;
    border-radius: 8px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.language-dropdown a:hover {
    background: var(--bg-secondary);
}

.language-dropdown a.active {
    font-weight: 600;
    background: var(--bg-secondary);
}

/* MOBILE SUBMENU */
.mobile-submenu-container {
    width: 100%;
}

.mobile-submenu-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
}

.mobile-submenu-trigger .submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.mobile-submenu-container.open .submenu-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-left: 30px; /* Submenu alinhado mais à esquerda */
    background: var(--bg-secondary);
}

.mobile-submenu-container.open .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 10px 20px 10px 35px; /* Alinhado à esquerda abaixo de "Sobre Nós" */
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    text-align: left; /* Garantir alinhamento à esquerda */
}

.mobile-submenu a:hover {
    color: var(--text-primary);
}

/* HOME MAIN */
.home-main {
    padding-top: 80px;
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .home-main {
        padding-top: 65px;
    }
}

/* BANNER */
.home-banner {
    position: relative;
    width: 100%;
    max-width: 1667px;
    margin: 0 auto;
    aspect-ratio: 1667 / 662;
    overflow: hidden;
}

@supports not (aspect-ratio: 1667 / 662) {
    .home-banner {
        height: 0;
        padding-bottom: 39.71%;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .home-banner {
        aspect-ratio: 16 / 7;
        max-width: 100%;
    }
    @supports not (aspect-ratio: 16 / 7) {
        .home-banner {
            padding-bottom: 43.75%;
        }
    }
}

/* Mobile */
@media (max-width: 768px) {
    .home-banner {
        aspect-ratio: 4 / 5;
        max-width: 800px;
        max-height: 1000px;
    }
    @supports not (aspect-ratio: 4 / 5) {
        .home-banner {
            padding-bottom: 125%;
        }
    }
}

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

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg-desktop,
.banner-bg-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.banner-bg-mobile {
    display: none;
}

/* Tablet - mostrar desktop ainda */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-bg-desktop {
        display: block;
    }
    .banner-bg-mobile {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .banner-bg-desktop {
        display: none;
    }
    .banner-bg-mobile {
        display: block;
    }
}

.banner-content {
    position: absolute;
    bottom: 52px;
    left: 48px;
    z-index: 10;
    color: #fff;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-content {
        bottom: 44px;
        left: 32px;
        right: 32px;
        max-width: 460px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .banner-content {
        bottom: 40px;
        left: 20px;
        right: 20px;
        max-width: none;
        text-align: center;
    }
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-transform: none;
    letter-spacing: -0.01em;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-title {
        font-size: 1.4rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .banner-title {
        font-size: 1.3rem;
    }
}

.banner-pastor {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 2px 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.banner-subtitle {
    font-size: 0.9rem;
    opacity: 0.92;
    margin: 0 0 4px 0;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

@media (max-width: 768px) {
    .banner-subtitle {
        font-size: 0.9rem;
        margin: 0 0 12px 0;
        line-height: 1.3;
    }
}

.banner-cta {
    position: absolute;
    right: 120px;
    bottom: 40px;
    z-index: 10;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .banner-cta {
        right: 60px;
        bottom: 36px;
    }
}

@media (max-width: 768px) {
    .banner-cta {
        position: static;
        margin-top: 14px;
        display: flex;
        justify-content: center;
    }
}

.banner-btn {
    display: inline-block;
    background: #fff;
    color: #1a1a1a;
    padding: 13px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 0;
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.banner-btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    backdrop-filter: blur(5px);
}

.banner-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.3);
}

/* Mobile - botões */
@media (max-width: 768px) {
    .banner-btn,
    .banner-btn-secondary {
        padding: 14px 30px;
        font-size: 14px;
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        border-radius: 50px;
    }
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.banner-dot.active {
    background: #fff;
}

.home-banner .banner-dots {
    display: none !important;
}

.home-banner .banner-nav {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    width: auto;
    height: auto;
    background: none !important;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    margin: 0;
}

.home-banner .banner-nav svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.home-banner .banner-nav:hover svg {
    transform: scale(1.08);
}

.home-banner .banner-nav.prev {
    left: 24px;
}

.home-banner .banner-nav.next {
    right: 24px;
}

@media (max-width: 768px) {
    .home-banner .banner-content {
        bottom: 110px;
    }

    .home-banner .banner-dots {
        bottom: 28px;
    }

    .home-banner .banner-nav {
        padding: 10px;
    }

    .home-banner .banner-nav.prev {
        left: 16px;
    }

    .home-banner .banner-nav.next {
        right: 16px;
    }
}

.live-indicator-banner {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    animation: pulse-glow 2s ease-in-out infinite;
    z-index: 10;
}

/* SECTION STYLES */
.home-section {
    padding: 60px 0;
}

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

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

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

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title-center {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.section-subtitle-center {
    font-size: 1.15rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

/* Mobile - títulos menores */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }
    .section-title-center {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 15px;
    }
    .section-subtitle,
    .section-subtitle-center {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 30px;
    }
}

/* INVOLVED CARDS - 3 cards com imagens horizontais */
.involved-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

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

.involved-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.involved-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.involved-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
}

.involved-card-content {
    padding: 20px;
}

.involved-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.involved-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.involved-card-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.involved-card-link svg {
    transition: transform 0.2s;
}

.involved-card:hover .involved-card-link svg {
    transform: translateX(5px);
}

/* NEXTSTEP CARDS - 4 cards quadrados */
.nextstep-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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

.nextstep-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 180px;
}

.nextstep-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.nextstep-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nextstep-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.nextstep-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nextstep-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.nextstep-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* WORSHIP CARDS */
.worship-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

.worship-card {
    text-align: center;
    padding: 30px 20px;
}

.worship-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.worship-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.worship-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.worship-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.worship-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.worship-card-link:hover svg {
    transform: translateX(5px);
}

.worship-card-link svg {
    transition: transform 0.2s;
}

/* CONNECT CARDS */
.connect-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.connect-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.connect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.connect-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
}

.connect-card-content {
    padding: 18px 20px;
}

.connect-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.connect-card-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 10px;
}

.connect-card-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.connect-card:hover .connect-card-link svg {
    transform: translateX(5px);
}

.connect-card-link svg {
    transition: transform 0.2s;
}

/* APP SECTION */
.app-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

@media (max-width: 900px) {
    .app-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

.app-image {
    flex-shrink: 0;
}

.app-image img {
    max-width: 350px;
    height: auto;
}

@media (max-width: 600px) {
    .app-image img {
        max-width: 280px;
    }
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.app-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .app-buttons {
        justify-content: center;
    }
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.2s;
}

.app-store-btn:hover {
    transform: scale(1.05);
}

.app-store-btn img,
.app-store-btn svg {
    height: 40px;
    width: auto;
}

/* FOOTER */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 50px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-contact svg {
    fill: #ccc;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social a {
    color: #ccc;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #fff;
}

.footer-social svg {
    fill: currentColor;
}

.footer-copyright {
    font-size: 12px;
    color: #888;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-contact a {
        justify-content: center;
    }
}

.live-indicator-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* Espaço entre ícone e texto */
    margin-left: 15px;
    background-color: #d32f2f; /* Vermelho YouTube */
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 rgba(211, 47, 47, 0.4);
    animation: live-indicator-pulse 2s infinite;
    cursor: pointer;
    line-height: normal;
    border: none;
    transition: background-color 0.3s;
}

.live-indicator-button:hover {
    background-color: #f44336;
}

@keyframes live-indicator-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}/* ============================================
   CORREÇÃO BANNER MOBILE
   ============================================ */

/* Mobile - Correção completa do banner */
@media (max-width: 768px) {
    /* Banner ocupa altura adequada */
    .home-banner {
        aspect-ratio: 9 / 16 !important;
        max-width: 100% !important;
        max-height: 100vh !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        overflow: visible !important; /* IMPORTANTE: permite ver o botão */
    }
    
    /* Slide precisa conter tudo */
    .banner-slide {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding-bottom: 30px !important;
    }
    
    /* Garante que o background mobile ocupe toda altura */
    .banner-bg-mobile {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    /* Esconde desktop */
    .banner-bg-desktop {
        display: none !important;
    }
    
    /* Conteúdo do banner para mobile - position relative para botão ficar junto */
    .banner-content {
        position: relative !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0 20px !important;
        max-width: 100% !important;
        text-align: center !important;
        z-index: 10 !important;
    }
    
    /* Ajusta título para mobile - MENOR */
    .banner-title {
        font-size: 22px !important;
        line-height: 1.15 !important;
        margin: 0 0 4px 0 !important;
    }
    
    .banner-pastor {
        font-size: 13px !important;
        margin: 0 0 3px 0 !important;
        line-height: 1.2 !important;
    }
    
    .banner-subtitle {
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin: 0 0 10px 0 !important;
    }
    
    /* BOTÃO CTA - Garantir visibilidade no mobile */
    .banner-cta {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        padding: 0 20px !important;
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        z-index: 10 !important;
    }
    
    /* Botão visível e clicável */
    .banner-btn,
    .banner-btn-secondary {
        padding: 14px 32px !important;
        font-size: 15px !important;
        display: inline-block !important;
        width: auto !important;
        min-width: 180px !important;
        border-radius: 50px !important;
        background: #fff !important;
        color: #1a1a1a !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }
    
    /* Dots precisam ficar abaixo do botão */
    .banner-dots {
        bottom: 10px !important;
    }
}

/* Correção específica para dispositivos muito pequenos */
@media (max-width: 480px) {
    .home-banner {
        max-height: 95vh !important;
    }
    
    .banner-title {
        font-size: 20px !important;
    }
    
    .banner-btn,
    .banner-btn-secondary {
        padding: 12px 28px !important;
        font-size: 14px !important;
        min-width: 160px !important;
    }
}
