/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefaf5;
    color: #1e2a3a;
    scroll-behavior: smooth;
}

/* CORES INSTITUCIONAIS */
:root {
    --primary-dark: #1b2542;
    --primary-accent: #e58f25;
    --primary-accent-light: #f3a547;
    --gray-light: #f8f9fc;
}

/* NAVBAR */
.navbar {
    background: #fff;
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar-brand small {
    font-size: 0.7rem;
    display: block;
    color: var(--primary-accent);
}

.nav-link {
    font-weight: 600;
    color: #1b2542 !important;
    margin: 0 0.2rem;
    transition: 0.2s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--primary-accent);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

.hero-carousel .carousel-item {
    min-height: 650px;
    background-size: cover;
    background-position: center 30%;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 37, 66, 0.75), rgba(0, 0, 0, 0.5));
}

.carousel-caption {
    bottom: 28%;
    text-align: left;
    left: 14%;
    right: auto;
    background: rgba(27, 37, 66, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem 2.5rem;
    border-radius: 1.5rem;
    max-width: 550px;
    border-left: 5px solid var(--primary-accent);
}

.carousel-caption h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

/* BOTÕES */
.btn-primary-custom {
    background: var(--primary-accent);
    color: #1b2542;
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    box-shadow: 0 5px 12px rgba(229, 143, 37, 0.3);
}

.btn-primary-custom:hover {
    background: #d17e1a;
    transform: translateY(-2px);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-accent);
    color: var(--primary-accent);
    background: transparent;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-custom:hover {
    background: var(--primary-accent);
    color: #1b2542;
}

/* SEÇÕES */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: #1b2542;
}

.section-title span {
    color: var(--primary-accent);
}

.section-title:after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--primary-accent);
    display: block;
    margin: 1rem auto 0;
    border-radius: 4px;
}

/* CARDS MODERNOS (MINISTÉRIOS, MISSÃO/VISÃO/VALORES) */
.card-modern {
    border: none;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    padding: 1.8rem;
    text-align: center;
}

.card-modern:hover {
    transform: translateY(-8px);
}

.card-modern i {
    font-size: 2.8rem;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

/* CARDS EVENTOS E NOTÍCIAS COM IMAGEM */
.card-event, .card-news {
    border: none;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    overflow: hidden;
}

.card-event:hover, .card-news:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
}

.card-date {
    font-size: 0.85rem;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1b2542;
}

/* AO VIVO */
.live-section {
    background: #1b2542;
}

.live-card {
    background: linear-gradient(125deg, #1b2542, #10182e);
    border-radius: 2rem;
    padding: 2rem;
    color: white;
}

.live-badge {
    background: #e63946;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-weight: bold;
}

.video-wrapper iframe {
    height: 400px;
}

.video-wrapper {
    border-radius: 1.2rem;
    overflow: hidden;
}

iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* BÍBLIA ONLINE */
.biblia-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.8rem;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.verse-text {
    font-style: italic;
    font-size: 1rem;
    color: #2c3e66;
    border-left: 4px solid var(--primary-accent);
    padding-left: 1rem;
    margin-top: 1rem;
    background: #fefaf5;
    padding: 0.8rem;
    border-radius: 12px;
}

/* CONTATO */
.contact-details {
    background: #f5f3f0;
    border-radius: 1.5rem;
    padding: 2rem;
    height: 100%;
}

/* REDES SOCIAIS (ICONES LARANJA) */
.social-icons a {
    color: var(--primary-accent);
    font-size: 1.8rem;
    margin: 0 0.6rem;
    transition: 0.2s;
    display: inline-block;
}

.social-icons a:hover {
    color: #d17e1a;
    transform: scale(1.1);
}

/* FOOTER */
footer {
    background: #1b2542;
    color: #cdd4e8;
    padding: 3rem 0;
    text-align: center;
}

/* MAPA */
.map-frame {
    border-radius: 1rem;
    width: 100%;
    height: 350px;
    border: 0;
}

/* FUNDO DAS NOTÍCIAS */
.bg-news {
    background: #f9f7f4;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 20%;
        padding: 1rem;
    }
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero-carousel .carousel-item {
        height: 70vh;
    }
    .section-padding {
        padding: 3rem 0;
    }

    .mtb-0 {
        margin-top: 0px;
    }
}

.navbar-brand img {
    width: 200px;
}


footer p.mb-0 {
    margin-bottom: 0px;
}

.bloco-ministerios .icone img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    height: 210px;
    object-fit: cover;
}

.page-section {
    padding: 80px 0px;
}

.mb-20 {
    margin-bottom: 20px;
}

.dataCadastro {
    margin-bottom: 5px;
}

.display-5 {
    line-height: 1.0;
    margin-bottom: 15px;
}

/* Navbar fixo ao scroll */
.navbar {
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1030;
}

.navbar.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
    padding: 0px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Espaçador para evitar que o conteúdo pule */
.navbar-spacer {
    display: none;
    height: 0;
}

body.navbar-fixed-active .navbar-spacer {
    display: block;
    height: 80px; /* Ajuste conforme altura real do seu navbar */
}
.bgWhite {
    background: #fff;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mob20 {
    margin-bottom: 20px;
}

.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 54px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s;
    font-size: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}