/* ==========================================================================
   1. VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
    --primary-blue: #004e92;
    --dark-blue: #002a4d;
    --accent-gold: #c5a059;
    --light-gray: #f4f6f9;
}

/* ==========================================================================
   2. GERAL
   ========================================================================== */
html {
    overflow-x: hidden;
}

/* Permite que dropdowns do menu extrapolem os limites do container */
.navbar-main,
.navbar-main .container,
.navbar-nav,
.navbar-nav .nav-item {
    overflow: visible !important;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fafafa;
    color: #333;
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   3. CABEÇALHO (MENU PADRONIZADO E ALINHADO)
   ========================================================================== */
.topbar {
    background-color: var(--dark-blue);
    color: white;
    font-size: 0.85rem;
    padding: 10px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 15px;
    transition: 0.2s;
}
.topbar a:hover {
    color: var(--accent-gold);
}

.navbar-main {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    position: relative;
    z-index: 1000;
}

@media (max-width: 768px) {
    .navbar-main {
        padding: 12px 0;
    }
}
.navbar-brand {
    color: var(--primary-blue) !important;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 !important; /* Removido padding interno para centralizar melhor */
    margin-right: 0px; /* Reduzido para mobile */
    display: flex !important;
    align-items: center;
    height: auto;
    gap: 8px; /* Ajustado para aproximar logo do texto */
    max-width: 80%; /* Evita empurrar o botão hambúrguer */
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.05rem; /* Levemente menor para caber melhor */
        gap: 10px;
    }
}

.navbar-brand .logo-circle {
    flex-shrink: 0;
    width: 45px !important; /* Tamanho mobile default */
    height: 45px !important;
}

@media (min-width: 992px) {
    .navbar-brand .logo-circle {
        width: 55px !important;
        height: 55px !important;
    }
}

.navbar-brand .brand-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    height: auto;
    gap: 0;
}

.navbar-brand .brand-text span {
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* LINKS DO MENU */
.navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
}
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav .nav-link {
    color: #555 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin: 0 2px;
    height: 80px; /* Altura fixa para alinhar todos os itens */
    padding: 0 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    position: relative;
    border: none !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
}

/* Remove setas do Bootstrap */
.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* Linha Dourada (Hover) */
.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.navbar-nav .nav-link:hover::before {
    width: 70%;
}
.navbar-nav .nav-link.active::before {
    width: 0;
}

/* Submenu */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--accent-gold);
    border-radius: 0 0 5px 5px;
    padding: 10px 0;
    margin-top: 0;
}
.dropdown-item {
    font-size: 0.9rem;
    padding: 10px 25px;
    color: #555;
    font-weight: 500;
}
.dropdown-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 30px;
    transition: all 0.2s;
}

/* Botão Doar */
/* Botão Doar - Estado Normal */
.btn-donate {
    background-color: var(--accent-gold, #c5a059) !important;
    color: white !important;
    border-radius: 50px;
    padding: 0 30px !important;
    font-weight: bold;
    border: none;
    margin-left: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease !important; /* Suaviza a animação */

    /* Previne interferências do Bootstrap 5 */
    --bs-btn-bg: var(--accent-gold, #c5a059);
    --bs-btn-active-bg: var(--accent-gold, #c5a059);
}

/* Estado Ativo (Quando está na página de doação, mas sem o mouse em cima) */
.btn-donate.active {
    background-color: var(--accent-gold, #c5a059) !important;
    color: white !important;
    /* Sombreamento interno para mostrar que a página atual é essa */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.15) !important;
}

/* HOVER UNIFICADO: O mesmo efeito (cor escura + pulo) para normal e ativo */
.btn-donate:hover,
.btn-donate.active:hover {
    background-color: #b08d45 !important;
    color: white !important;
    transform: translateY(-2px) !important; /* O pulinho */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important; /* Sombra externa ao pular */
}

/* Garante que o ícone do coração também não suma */
.btn-donate i,
.btn-donate.active i {
    color: white !important;
}

/* ==========================================================================
   4. CABEÇALHO DAS PÁGINAS (PADRONIZAÇÃO TESTEMUNHOS/VELAS)
   ========================================================================== */
.page-header {
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--dark-blue)
    );
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid var(--accent-gold);
}
.page-header h1 {
    color: white !important;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   5. VELA VIRTUAL (CHAMA PERFEITA)
   ========================================================================== */
.candle-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    padding: 25px 20px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-gold);
}
.candle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 78, 146, 0.15);
}

.candle-visual {
    height: 140px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    background: radial-gradient(
        circle at center bottom,
        rgba(255, 223, 128, 0.25) 0%,
        transparent 60%
    );
}

.candle-body {
    width: 45px;
    background: linear-gradient(
        to right,
        #fcfcfc,
        #f3e5ce 30%,
        #f3e5ce 70%,
        #fcfcfc
    );
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: height 1s ease-in-out;
    min-height: 30px;
}

/* CHAMA GOTA (Quadrado Girado) */
.candle-flame {
    width: 30px;
    height: 40px;
    position: relative;
    top: 10px;
    z-index: 10;
    display: flex;
    justify-content: center;
}
/* Camada Externa */
.candle-flame::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ffeb3b, #ff9800);
    border-radius: 0 50% 50% 50%; /* A forma de gota */
    transform: rotate(45deg);
    animation: flicker-real 0.1s infinite alternate;
    box-shadow: 0 0 20px 5px rgba(255, 165, 0, 0.5);
}
/* Núcleo */
.candle-flame::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    animation: flicker-real 0.15s infinite alternate-reverse;
}

@keyframes flicker-real {
    from {
        transform: rotate(45deg) scale(1);
        opacity: 0.9;
    }
    to {
        transform: rotate(44deg) scale(1.05);
        opacity: 1;
    }
}

.candle-card h6 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 5px;
    width: 100%;
}
.candle-card small {
    color: #888;
    width: 100%;
    font-style: italic;
    font-size: 0.85rem;
}

/* ==========================================================================
   6. BÍBLIA TIMELINE
   ========================================================================== */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.timeline-wrapper::before {
    content: "";
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #e9ecef;
    margin-left: -2px;
    z-index: 0;
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}
.left-col .timeline-item {
    padding-right: 50px;
}
.right-col .timeline-item {
    padding-left: 50px;
}
.left-col .timeline-dot {
    right: -12px;
}
.right-col .timeline-dot {
    left: -12px;
}
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 4px solid white;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    top: 25px;
    background: #ccc;
}
.timeline-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    position: relative;
}
.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.left-col .timeline-content::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #fff;
}
.right-col .timeline-content::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
}
.left-col .header-box {
    justify-content: flex-end;
}
.left-col .text-content {
    text-align: right;
}
.left-col .books-grid {
    justify-content: flex-end;
}
.right-col .header-box {
    justify-content: flex-start;
}
.right-col .text-content {
    text-align: left;
}
.right-col .books-grid {
    justify-content: flex-start;
}
.books-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.book-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid transparent;
    display: inline-block;
}
.book-ot {
    background: #fff8e1;
    color: #8d6e3f;
    border-color: #ffe082;
}
.book-ot:hover {
    background: #ffe082;
}
.book-nt {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #90caf9;
}
.book-nt:hover {
    background: #bbdefb;
}
.highlight-book {
    background: var(--primary-blue) !important;
    color: white !important;
    transform: scale(1.1);
}
@media (max-width: 991px) {
    .timeline-wrapper::before,
    .timeline-dot,
    .timeline-content::after {
        display: none;
    }
    .left-col .timeline-item,
    .right-col .timeline-item {
        padding: 0;
    }
    .left-col .header-box {
        justify-content: flex-start !important;
        flex-direction: row !important;
    }
    .left-col .text-content {
        text-align: left !important;
    }
    .left-col .icon-box {
        order: -1;
        margin-left: 0 !important;
        margin-right: 1rem !important;
    }
    .left-col .books-grid {
        justify-content: flex-start !important;
    }
    .left-col {
        margin-bottom: 40px;
        border-bottom: 2px dashed #eee;
        padding-bottom: 20px;
    }
}

/* ==========================================================================
   7. HOME & TESTEMUNHOS
   ========================================================================== */

.icon-card.icon-card--schedule i {
    color: #1565c0;
}

.icon-card.icon-card--schedule {
    border-bottom-color: #1565c0;
}

.icon-card.icon-card--schedule:hover {
    background-color: #e3f2fd;
    transform: translateY(-6px);
    box-shadow:
        0 8px 22px rgba(21, 101, 192, 0.15),
        0 0 18px rgba(21, 101, 192, 0.15);
}

.icon-card.icon-card--youtube i {
    color: #be0d0d;
}

.icon-card.icon-card--youtube {
    border-bottom-color: #be0d0d;
}

.icon-card.icon-card--youtube:hover {
    color: #be0d0d;
    background-color: #fff0f0;
    transform: translateY(-6px);
    box-shadow:
        0 8px 22px rgba(190, 13, 13, 0.12),
        0 0 18px rgba(190, 13, 13, 0.12);
}

.icon-card.icon-card--pray i {
    color: #0dcaf0;
}

.icon-card.icon-card--pray {
    border-bottom-color: #0dcaf0;
}

.icon-card.icon-card--pray:hover {
    color: #0dcaf0;
    background-color: #f0faff;
    transform: translateY(-6px);
    box-shadow:
        0 8px 22px rgba(13, 202, 240, 0.12),
        0 0 18px rgba(13, 202, 240, 0.12);
}

.icon-card.icon-card--caravana i {
    color: #198754;
}

.icon-card.icon-card--caravana {
    border-bottom-color: #198754;
}

.icon-card.icon-card--caravana:hover {
    color: #198754;
    background-color: #f0fbf5;
    transform: translateY(-6px);
    box-shadow:
        0 8px 22px rgba(25, 135, 84, 0.12),
        0 0 18px rgba(25, 135, 84, 0.12);
}

.icon-card.icon-card--highlight i {
    color: #ff9f1a;
}
.icon-card.icon-card--highlight {
    border-bottom-color: #ff9f1a;
}
.icon-card.icon-card--highlight:hover {
    color: #ff9f1a;
    background-color: #fff7ef;
    transform: translateY(-6px);
    box-shadow:
        0 8px 22px rgba(255, 159, 26, 0.12),
        0 0 18px rgba(255, 159, 26, 0.12);
}

.carousel-item {
    height: 500px;
    position: relative;
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.carousel-caption {
    background: transparent;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 40px;
}
.quick-access {
    margin-top: -65px;
    z-index: 10;
    position: relative;
}

/* Garante overlap dos cards no mobile */
#heroCarousel,
#heroCarousel .carousel-inner {
    overflow: visible !important;
}
.icon-card {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
    border-bottom: 4px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* Make icon-card the positioning context so badges inside move with it on hover */
.icon-card {
    position: relative;
    overflow: visible;
}
.icon-card:hover {
    border-bottom-color: var(--accent-gold);
    color: var(--primary-blue);
    background-color: #fcfcfc;
    transform: translateY(-5px);
}
.icon-card i {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .icon-card {
        padding: 20px 10px;
    }
    .icon-card i {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    .icon-card h6 {
        font-size: 0.8rem;
    }
}

.icon-card h6 {
    font-size: 1rem;
    font-weight: 700;
}
.news-img-container {
    height: 300px;
}

@media (max-width: 768px) {
    .news-img-container {
        height: 200px !important;
    }
}
.news-img-lg {
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    width: 100%;
}
.news-img-sm {
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    width: 100%;
}
.news-link {
    color: var(--primary-blue);
    font-weight: bold;
    transition: 0.2s;
}
.news-link:hover {
    color: var(--accent-gold);
}
.cta-section {
    background-color: var(--light-gray);
    border-top: 5px solid var(--accent-gold);
}

/* Card Testemunho */
.testimony-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent-gold);
    margin-bottom: 20px;
    display: block;
    width: 100%;
    transition: transform 0.2s;
}
.testimony-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.testimony-body {
    position: relative;
    background-color: #fcfcfc;
    padding: 20px 20px 20px 50px;
    border-radius: 8px;
    border: 1px dashed #eee;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    margin-top: 10px;
}
.quote-icon {
    color: var(--accent-gold);
    opacity: 0.3;
    font-size: 1.8rem;
    position: absolute;
    top: 15px;
    left: 15px;
}

/* ==========================================================================
   8. PAGINAÇÃO E FOOTER
   ========================================================================== */
.pagination {
    margin-top: 2rem;
    justify-content: center;
}
.pagination .page-link {
    color: var(--primary-blue);
    border: 1px solid #dee2e6;
    margin: 0 3px;
    border-radius: 50% !important;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.pagination .page-link:hover {
    background: var(--light-gray);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}
.pagination .page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}
.pagination .page-item.disabled .page-link {
    background: transparent;
    color: #ccc;
    border-color: #eee;
}

footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 60px 0 20px 0;
    margin-top: auto;
}
footer h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
footer ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
footer a {
    color: #bbb;
    transition: 0.2s;
}
footer a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}
.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
    transform: translateY(-2px);
}
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.img-historica {
    filter: sepia(20%) contrast(110%);
    mix-blend-mode: multiply;
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 5px solid #fff;
    transform: rotate(-2deg);
    transition: 0.3s;
}
.img-historica:hover {
    transform: rotate(0deg) scale(1.02);
    filter: sepia(0%);
}

/* Fix: keep live 'ON' badge visible when icon-card is hovered (transform creates stacking context) */
.icon-card .live-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 6;
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* When card is hovered the badge will move together because it's a child */
.icon-card:hover .live-badge {
    transform: translateY(-5px);
}

/* ==========================================================================
   CARROSSEL HERO
   ========================================================================== */
.hero-carousel {
    height: 650px;
    overflow: visible;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 485px;
    }
}

.hero-carousel .carousel-inner {
    height: 100%;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: transparent;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 1.8rem !important;
    }
    .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white !important; /* Força cor branca */
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 9999; /* Z-index máximo para não sumir */
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-button:hover {
    background-color: #1eaa51;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-button:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        display: none !important; /* Esconde o botão no celular */
    }
}

/* ==========================================================================
   Cookie Banner Style
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 720px;
    background: #fff;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    border-left: 5px solid #c5a059;
    display: none;
    align-items: center;
    gap: 20px;
}

.cookie-banner-content {
    flex: 1;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.cookie-banner-content p strong {
    color: #333;
    font-weight: 700;
}

.cookie-banner-content a {
    color: #004e92;
    text-decoration: underline;
    font-weight: 700;
}

.cookie-banner-actions {
    flex-shrink: 0;
}

.btn-cookie-accept {
    background-color: #004e92;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.btn-cookie-accept:hover {
    background-color: #003a6d;
}

@media (max-width: 991px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .cookie-banner-actions {
        width: 100%;
        text-align: right;
        margin-top: 10px;
    }
}

/* ==========================================================================
   Seção de Mensagem de Fátima
   ========================================================================== */
.fatima-message-section {
    background-color: #1a5276; /* Tom de azul da imagem */
    color: white;
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.fatima-message-section .quote-icon {
    color: #c5a059;
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.fatima-message-section h2 {
    color: #c5a059;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.fatima-message-section blockquote {
    font-size: 1.4rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .fatima-message-section blockquote {
        font-size: 1.1rem;
    }
    .fatima-message-section h2 {
        font-size: 1.4rem;
    }
}

.fatima-message-section .divider {
    width: 60px;
    height: 3px;
    background-color: #c5a059;
    margin: 20px auto;
}

.fatima-message-section .footer-text {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .fatima-message-section h2 {
        font-size: 1.4rem;
    }
    .fatima-message-section blockquote {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Seção Bem-vindos (Acolhida)
   ========================================================================== */
.welcome-section {
    padding: 80px 0;
    background-color: #fff;
}

.welcome-title {
    color: #004e92;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.welcome-underline {
    width: 60px;
    height: 4px;
    background-color: #c5a059;
    margin-bottom: 35px;
    border-radius: 2px;
}

.welcome-text {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 600px;
}

.welcome-btn {
    display: inline-block;
    border: 2px solid #004e92;
    color: #004e92;
    background-color: transparent;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.welcome-btn:hover {
    background-color: #004e92;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 78, 146, 0.2);
}

.welcome-img-wrapper {
    position: relative;
    padding: 15px;
}

.welcome-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.welcome-img:hover {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .welcome-section {
        padding: 50px 0;
        text-align: center;
    }
    .welcome-underline {
        margin: 0 auto 30px;
    }
    .welcome-text {
        margin: 0 auto 25px;
    }
    .welcome-img-wrapper {
        margin-top: 40px;
    }
}

/* ==========================================================================
   Efeitos de Scroll (Aparecer ao Rolar)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease-out;
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   Mensagem Flutuante do WhatsApp
   ========================================================================== */
.whatsapp-bubble-msg {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 0.95rem;
    font-weight: 700;
    color: #003a6d; /* Azul escuro igual ao site */
    white-space: nowrap;
    border-bottom: 3px solid #25d366; /* Detalhe verde na base */
    animation: bounce-msg 3s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pequeno triângulo na base da bolha */
.whatsapp-bubble-msg::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
}

@keyframes bounce-msg {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .whatsapp-bubble-msg {
        bottom: 85px;
        right: 20px;
        font-size: 0.85rem;
        padding: 8px 15px;
    }
}

/* ==========================================================================
   Seção Graças Alcançadas (Testemunhos)
   ========================================================================== */
.testimonies-section {
    padding: 80px 0;
    background-color: #fafafa;
    text-align: center;
}

.testimonies-title {
    color: #002a4d;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.testimonies-underline {
    width: 50px;
    height: 3px;
    background-color: #c5a059;
    margin: 15px auto 30px;
}

.testimonies-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

.testimony-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #c5a059;
    position: relative;
    transition: transform 0.3s ease;
}

.testimony-card:hover {
    transform: translateY(-5px);
}

.testimony-card i.heart-icon {
    color: #c5a059;
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.testimony-card h4 {
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.testimony-location {
    color: #004e92;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.testimony-location i {
    margin-right: 5px;
}

.testimony-text {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonies-footer {
    margin-top: 50px;
}

.btn-testimonies {
    border: 2px solid #004e92;
    color: #004e92;
    background: transparent;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-testimonies:hover {
    background-color: #004e92;
    color: white;
}

@media (max-width: 768px) {
    .testimonies-title {
        font-size: 1.8rem;
    }
    .testimony-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Ajustes Seção Romaria (CTA)
   ========================================================================== */
.cta-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.romaria-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Isso vai esconder o símbolo no canto */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    height: 550px; /* Altura aumentada para não ficar tão achatado */
}

.romaria-img-wrapper img {
    width: 100%;
    height: 105%; /* Ligeiramente maior para podermos cortar as bordas */
    object-fit: cover;
    object-position: center 10%; /* Foca na parte de cima, cortando o símbolo do Google no rodapé */
}

.cta-section h2 {
    font-size: 2.5rem;
    color: #004e92;
    margin-bottom: 20px;
}

.cta-section .lead {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 35px;
}

/* ==========================================================================
   Melhoria Visual - Tipografia do Banner (Hero)
   ========================================================================== */
.hero-carousel .carousel-caption {
    bottom: 25%;
    background: transparent;
    z-index: 10;
}

.hero-carousel .carousel-caption h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow:
        0 4px 12px rgba(0, 0, 0, 0.7),
        0 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.hero-carousel .carousel-caption p {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.4;
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.hero-carousel .carousel-caption .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
}

.hero-carousel .carousel-caption .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

/* Ajustes para telas menores */
@media (max-width: 992px) {
    .hero-carousel .carousel-caption h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-caption {
        bottom: 15%;
    }
    .hero-carousel .carousel-caption h2 {
        font-size: 1.2rem;
        letter-spacing: 0;
    }
    .hero-carousel .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    .hero-carousel .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Melhoria dos Indicadores e Navegação do Carousel */
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: #fff;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--accent-gold);
    transform: scale(1.3);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-size: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: 0.3s;
}

.hero-carousel .carousel-control-prev-icon:hover,
.hero-carousel .carousel-control-next-icon:hover {
    background-color: var(--accent-gold);
}
