/* ===================================================================
   NAVBAR DO SITE PÚBLICO — Igreja Filhos da Promessa
   Compartilhado entre index.php raiz, /loja/*, /evento/*, etc
   =================================================================== */

.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0 !important;
    min-height: 90px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Espaço pro conteúdo embaixo da navbar fixa */
body { padding-top: 90px; }

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 90px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Logo controlado (não pode passar de 70px de altura, nunca!) */
.logo-vertical {
    display: flex;
    align-items: center;
    max-height: 70px;
}
.logo-vertical a {
    display: flex;
    align-items: center;
    max-height: 70px;
    line-height: 1;
}
.logo-vertical img {
    max-height: 70px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}
.logo-placeholder {
    font-size: 2.5rem;
    color: var(--cor-primaria, #C41E3A);
}

/* Redes sociais */
.redes-sociais {
    display: flex;
    gap: .5rem;
    align-items: center;
}
.rede-social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform .15s ease;
    font-size: .95rem;
}
.rede-social:hover { transform: translateY(-2px); color: #fff; }
.rede-social.facebook { background: #1877f2; }
.rede-social.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.rede-social.youtube { background: #ff0000; }
.rede-social.whatsapp { background: #25d366; }
.rede-social.email { background: #0078d4; }
.rede-social.phone { background: #6c757d; }

/* Itens do menu */
.navbar-nav .nav-link {
    padding: .5rem 1.1rem !important;
    border-radius: 100px;
    transition: all .15s ease;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    background: rgba(196, 30, 58, .08);
    color: var(--cor-primaria, #C41E3A) !important;
}

/* Toggle mobile */
.navbar-toggler {
    border: 0;
    padding: .4rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* Responsivo */
@media (max-width: 991px) {
    .navbar-container { padding: 0 1rem; }
    .logo-vertical img { max-height: 50px !important; }
    .navbar-left { gap: 15px; }
    .redes-sociais { display: none !important; }
}

@media (max-width: 576px) {
    .navbar-container { padding: 0 .75rem; }
    .logo-vertical img { max-height: 44px !important; }
}
