/*
Theme Name: Cemitério Bela Vista
Theme URI: https://cemiteriobelavista.net.br
Author: Cemitério Bela Vista
Description: Tema WordPress clássico, elegante e acolhedor, desenvolvido sob medida para o Cemitério Bela Vista (cemiteriobelavista.net.br). Construído em PHP puro, HTML5, CSS3 e JavaScript, sem page builders.
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cemiterio-bela-vista
*/

/* =====================================================
   1. VARIÁVEIS DE COR E IDENTIDADE VISUAL
   ===================================================== */
:root {
    /* Paleta base */
    --cbv-verde-salvia: #1769AA;
    --cbv-verde-salvia-escuro: #0D4778;
    --cbv-verde-salvia-claro: #5B9BD5;
    --cbv-creme: #F5F9FD;
    --cbv-bege: #E3EEF8;
    --cbv-bege-escuro: #C5D9EA;
    --cbv-cinza-quente: #536777;
    --cbv-cinza-quente-claro: #7F94A6;
    --cbv-branco: #FFFFFF;

    /* Cor de destaque (títulos, botões, ícones) */
    --cbv-destaque: #1261B0;
    --cbv-destaque-escuro: #0B4F91;
    --cbv-destaque-claro: #4C8ED1;

    /* Texto */
    --cbv-texto-principal: #172B3A;
    --cbv-texto-secundario: #536777;
    --cbv-texto-claro: #F5F9FD;

    /* WhatsApp */
    --cbv-whatsapp: #1769AA;
    --cbv-whatsapp-escuro: #0D4778;

    /* Óbito / urgência */
    --cbv-obito-fundo: #0B3D68;
    --cbv-obito-destaque: #8FC4F0;

    /* Tipografia */
    --cbv-fonte-titulos: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --cbv-fonte-corpo: 'Jost', 'Helvetica Neue', Arial, sans-serif;

    /* Espaçamentos e bordas */
    --cbv-radius: 10px;
    --cbv-radius-sm: 6px;
    --cbv-sombra: 0 8px 24px rgba(59, 56, 47, 0.08);
    --cbv-sombra-hover: 0 12px 32px rgba(59, 56, 47, 0.14);
    --cbv-container: 1180px;
}

/* =====================================================
   2. RESET BÁSICO
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--cbv-fonte-corpo);
    color: var(--cbv-texto-principal);
    background: var(--cbv-creme);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
.container {
    width: 100%;
    max-width: var(--cbv-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   3. TIPOGRAFIA / HIERARQUIA
   ===================================================== */
h1, h2, h3, h4 { font-family: var(--cbv-fonte-titulos); color: var(--cbv-texto-principal); margin: 0 0 16px; line-height: 1.2; }
.secao-titulo {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 600;
    color: var(--cbv-verde-salvia-escuro);
    text-align: center;
    margin-bottom: 12px;
}
.secao-subtitulo {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--cbv-destaque);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    display: block;
}
.secao-texto {
    font-size: 1rem;
    color: var(--cbv-texto-secundario);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.secao { padding: 88px 0; }
.secao--bege { background: var(--cbv-bege); }
.secao--creme { background: var(--cbv-creme); }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: all .25s ease;
}
.btn--primario {
    background: var(--cbv-destaque);
    color: var(--cbv-texto-claro);
}
.btn--primario:hover { background: var(--cbv-destaque-escuro); transform: translateY(-2px); box-shadow: var(--cbv-sombra-hover); }
.btn--secundario {
    background: transparent;
    color: var(--cbv-verde-salvia-escuro);
    border-color: var(--cbv-verde-salvia);
}
.btn--secundario:hover { background: var(--cbv-verde-salvia); color: var(--cbv-texto-claro); }
.btn--whatsapp {
    background: var(--cbv-whatsapp);
    color: #fff;
}
.btn--whatsapp:hover { background: var(--cbv-whatsapp-escuro); transform: translateY(-2px); box-shadow: var(--cbv-sombra-hover); }
.btn--whatsapp svg { width: 18px; height: 18px; fill: currentColor; }

/* =====================================================
   4. NAVBAR
   ===================================================== */
.cbv-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(250, 247, 240, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 rgba(59,56,47,0.06);
}
.cbv-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}
.cbv-navbar__logo img { max-height: 56px; width: auto; }
.cbv-navbar__logo a { display: inline-flex; align-items: center; }
.cbv-navbar__logo-texto {
    font-family: var(--cbv-fonte-titulos);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cbv-verde-salvia-escuro);
}
.cbv-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.cbv-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cbv-texto-principal);
    position: relative;
    padding: 6px 0;
}
.cbv-menu a:hover,
.cbv-menu a:focus { color: var(--cbv-destaque); }
.cbv-navbar__acoes { display: flex; align-items: center; gap: 14px; }
.cbv-navbar__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cbv-whatsapp);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
}
.cbv-navbar__whatsapp:hover { background: var(--cbv-whatsapp-escuro); }
.cbv-navbar__whatsapp svg { width: 16px; height: 16px; fill: currentColor; }

.cbv-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
}
.cbv-menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--cbv-verde-salvia-escuro);
    display: block;
    transition: all .25s ease;
}
.cbv-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cbv-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cbv-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   5. HERO
   ===================================================== */
.cbv-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-color: var(--cbv-verde-salvia-claro);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.cbv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59,56,47,.45) 0%, rgba(59,56,47,.55) 100%);
}
.cbv-hero--sem-imagem {
    background: linear-gradient(135deg, var(--cbv-verde-salvia) 0%, var(--cbv-verde-salvia-escuro) 100%);
}
.cbv-hero__conteudo {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--cbv-texto-claro);
}
.cbv-hero__subtitulo {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cbv-destaque-claro);
    margin-bottom: 16px;
}
.cbv-hero__titulo {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: #fff;
    margin-bottom: 20px;
}
.cbv-hero__texto {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    max-width: 540px;
}
.cbv-hero__acoes { display: flex; flex-wrap: wrap; gap: 16px; }

/* =====================================================
   6. INSTITUCIONAL
   ===================================================== */
.cbv-institucional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.cbv-institucional__imagem img {
    border-radius: var(--cbv-radius);
    box-shadow: var(--cbv-sombra);
}
.cbv-institucional__imagem--placeholder {
    background: var(--cbv-bege-escuro);
    border-radius: var(--cbv-radius);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cbv-cinza-quente);
    font-family: var(--cbv-fonte-titulos);
    font-size: 1.2rem;
}
.cbv-institucional__conteudo .secao-subtitulo,
.cbv-institucional__conteudo .secao-titulo { text-align: left; }
.cbv-institucional__conteudo .secao-titulo { margin-bottom: 20px; }
.cbv-institucional__texto {
    color: var(--cbv-texto-secundario);
    margin-bottom: 28px;
}

/* =====================================================
   7. SERVIÇOS
   ===================================================== */
/* Serviços — visual mais vivo */
.cbv-servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.cbv-servico-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px 28px 26px;
    background: var(--cbv-branco);
    border: 1px solid var(--cbv-bege-escuro);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(13, 71, 120, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.cbv-servico-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--cbv-destaque), var(--cbv-verde-salvia-claro));
}
.cbv-servico-card:nth-child(2),
.cbv-servico-card:nth-child(5) { background: linear-gradient(145deg, #fff, #f1f7fd); }
.cbv-servico-card:nth-child(3),
.cbv-servico-card:nth-child(4) { background: linear-gradient(145deg, #f9fbfe, #eaf3fb); }
.cbv-servico-card:hover {
    transform: translateY(-8px);
    border-color: var(--cbv-destaque-claro);
    box-shadow: 0 16px 34px rgba(13, 71, 120, .16);
}
.cbv-servico-card__icone {
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(145deg, #e6f1fb, #cfe3f5);
    color: var(--cbv-destaque);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(23, 105, 170, .08);
}
.cbv-servico-card__icone svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cbv-servico-card::after {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: var(--cbv-fonte-titulos);
    font-size: .9rem;
    font-weight: 600;
    color: var(--cbv-destaque);
    opacity: .65;
}
.cbv-servico-card:nth-child(1)::after { content: '01'; }
.cbv-servico-card:nth-child(2)::after { content: '02'; }
.cbv-servico-card:nth-child(3)::after { content: '03'; }
.cbv-servico-card:nth-child(4)::after { content: '04'; }
.cbv-servico-card:nth-child(5)::after { content: '05'; }
.cbv-servico-card__titulo {
    color: var(--cbv-destaque-escuro);
    font-size: 1.48rem;
    margin-bottom: 10px;
}
.cbv-servico-card__texto {
    color: var(--cbv-texto-secundario);
    font-size: .94rem;
    line-height: 1.65;
    margin: 0 0 24px;
    flex-grow: 1;
}
.cbv-servico-card .btn { align-self: flex-start; padding: 10px 22px; font-size: .85rem; }


/* =====================================================
   BANNER DE ÓBITO — versão original
   ===================================================== */
.cbv-obito {
    position: relative;
    min-height: 500px;
    background: var(--cbv-obito-fundo);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    overflow: hidden;
}
.cbv-obito::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(224,178,107,0.18), transparent 60%);
}
.cbv-obito__conteudo { position: relative; z-index: 2; max-width: 720px; }
.cbv-obito__titulo {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 18px;
}
.cbv-obito__titulo strong {
    color: var(--cbv-obito-destaque);
    display: block;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    letter-spacing: 2px;
}
.cbv-obito__texto {
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* =====================================================
   FOOTER — versão original
   ===================================================== */
.cbv-footer {
    background: var(--cbv-verde-salvia-escuro);
    color: rgba(255,255,255,0.85);
    padding: 72px 0 28px;
}
.cbv-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.cbv-footer__logo img { max-height: 50px; margin-bottom: 16px; }
.cbv-footer__logo-texto {
    font-family: var(--cbv-fonte-titulos);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 16px;
    display: block;
}
.cbv-footer__descricao { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.cbv-footer h4 {
    color: #fff;
    font-family: var(--cbv-fonte-corpo);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.cbv-footer__telefone {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cbv-destaque-claro);
    display: block;
    margin-bottom: 8px;
}
.cbv-footer ul li { margin-bottom: 10px; font-size: 0.9rem; }
.cbv-footer ul li a:hover { color: var(--cbv-destaque-claro); }
.cbv-footer__redes { display: flex; gap: 12px; margin-top: 16px; }
.cbv-footer__redes a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
}
.cbv-footer__redes a:hover { background: var(--cbv-destaque); }
.cbv-footer__redes svg { width: 18px; height: 18px; fill: currentColor; }
.cbv-footer__bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.cbv-whatsapp-flutuante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cbv-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(13, 71, 120, .28);
    animation: cbv-pulso-whatsapp 2s infinite;
    transition: transform .2s ease, background .2s ease;
}
.cbv-whatsapp-flutuante:hover { transform: scale(1.08); background: var(--cbv-whatsapp-escuro); animation-play-state: paused; }
.cbv-whatsapp-flutuante svg { width: 29px; height: 29px; fill: currentColor; }
@keyframes cbv-pulso-whatsapp {
    0%, 100% { box-shadow: 0 8px 24px rgba(13, 71, 120, .28), 0 0 0 0 rgba(23, 105, 170, .34); }
    50% { box-shadow: 0 8px 24px rgba(13, 71, 120, .28), 0 0 0 11px rgba(23, 105, 170, 0); }
}

/* =====================================================
   10. CONTEÚDO PADRÃO (páginas, posts, blog, 404)
   ===================================================== */
.cbv-conteudo-padrao { padding: 72px 0; }
.cbv-conteudo-padrao .entry-title { color: var(--cbv-verde-salvia-escuro); font-size: 2.2rem; }
.cbv-conteudo-padrao .entry-content { color: var(--cbv-texto-secundario); }
.cbv-conteudo-padrao .entry-content a { color: var(--cbv-destaque); text-decoration: underline; }
.cbv-blog-lista { display: grid; gap: 40px; max-width: 780px; margin: 0 auto; }
.cbv-blog-card { background: var(--cbv-branco); border-radius: var(--cbv-radius); padding: 30px; box-shadow: var(--cbv-sombra); }
.cbv-blog-card__titulo { font-size: 1.5rem; margin-bottom: 8px; }
.cbv-blog-card__titulo a { color: var(--cbv-verde-salvia-escuro); }
.cbv-blog-card__meta { font-size: 0.85rem; color: var(--cbv-cinza-quente-claro); margin-bottom: 14px; }
.cbv-404 { text-align: center; padding: 120px 0; }
.cbv-404__codigo { font-family: var(--cbv-fonte-titulos); font-size: 6rem; color: var(--cbv-verde-salvia); margin-bottom: 0; }
.cbv-paginacao { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.cbv-paginacao a, .cbv-paginacao span {
    padding: 10px 16px; border-radius: var(--cbv-radius-sm); background: var(--cbv-bege); color: var(--cbv-texto-principal);
}
.cbv-paginacao .current { background: var(--cbv-destaque); color: #fff; }

/* Skip link acessibilidade */
.cbv-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--cbv-destaque);
    color: #fff;
    padding: 12px 20px;
    z-index: 9999;
}
.cbv-skip-link:focus { left: 12px; top: 12px; }

/* =====================================================
   11. RESPONSIVIDADE
   ===================================================== */
@media (max-width: 991px) {
    .cbv-servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .cbv-institucional { grid-template-columns: 1fr; gap: 40px; }
    .cbv-institucional__imagem { order: -1; }
    .cbv-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
    .cbv-menu-toggle { display: inline-flex; }
    .cbv-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cbv-creme);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 18px;
        box-shadow: var(--cbv-sombra);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .cbv-menu.is-aberto { max-height: 480px; padding-bottom: 24px; }
    .cbv-navbar__whatsapp span { display: none; }
    .cbv-hero { min-height: 520px; }
    .cbv-servicos-grid { grid-template-columns: 1fr; }
    .cbv-obito { min-height: 420px; }
    .secao { padding: 60px 0; }
    .cbv-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cbv-footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .cbv-hero__acoes { flex-direction: column; align-items: stretch; }
    .cbv-hero__acoes .btn { justify-content: center; }
    .cbv-obito__titulo strong { font-size: 2rem; }
}


/* =====================================================
   12. NOVAS SEÇÕES — HOME MAIS COMPLETA E VIVA
   ===================================================== */
.cbv-faixa-atendimento {
    background: var(--cbv-branco);
    border-bottom: 1px solid var(--cbv-bege-escuro);
}
.cbv-faixa-atendimento__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.cbv-faixa-atendimento__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 150px;
    padding: 24px 28px;
    text-align: center;
    border-right: 1px solid var(--cbv-bege-escuro);
}
.cbv-faixa-atendimento__item:last-child { border-right: 0; }
.cbv-faixa-atendimento__icone {
    width: 68px; height: 68px; flex: 0 0 68px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f2fb, #d4e6f6);
    color: var(--cbv-destaque);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(18,97,176,.10), inset 0 0 0 1px rgba(23,105,170,.08);
}
.cbv-faixa-atendimento__icone svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cbv-faixa-atendimento__item strong,
.cbv-faixa-atendimento__item span { display: block; }
.cbv-faixa-atendimento__item strong { font-size: .95rem; color: var(--cbv-texto-principal); }
.cbv-faixa-atendimento__item div { text-align: center; }
.cbv-faixa-atendimento__item div span { font-size: .82rem; color: var(--cbv-texto-secundario); }

.cbv-diferenciais { background: var(--cbv-branco); }
.cbv-diferenciais-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.cbv-diferencial-card {
    position: relative; overflow: hidden;
    background: linear-gradient(145deg, var(--cbv-creme), var(--cbv-bege));
    border: 1px solid var(--cbv-bege-escuro);
    border-radius: 16px;
    padding: 34px 30px 30px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cbv-diferencial-card:hover { transform: translateY(-5px); box-shadow: var(--cbv-sombra-hover); }
.cbv-diferencial-card__numero {
    font-family: var(--cbv-fonte-titulos);
    font-size: 3.3rem;
    line-height: 1;
    color: var(--cbv-destaque-claro);
    opacity: .55;
}
.cbv-diferencial-card h3 { color: var(--cbv-destaque-escuro); margin: 12px 0 8px; font-size: 1.45rem; }
.cbv-diferencial-card p { margin: 0; color: var(--cbv-texto-secundario); }

.cbv-etapas {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
    position: relative;
}
.cbv-etapa {
    text-align: center; position: relative; z-index: 1;
    padding: 12px 18px;
}
.cbv-etapa span {
    width: 54px; height: 54px; margin: 0 auto 18px;
    border-radius: 50%; background: var(--cbv-destaque);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--cbv-fonte-titulos); font-size: 1.5rem; font-weight: 700;
    box-shadow: 0 8px 20px rgba(18,97,176,.2);
}
.cbv-etapa h3 { color: var(--cbv-destaque-escuro); font-size: 1.3rem; }
.cbv-etapa p { color: var(--cbv-texto-secundario); font-size: .93rem; }

.cbv-estrutura { background: var(--cbv-branco); }
.cbv-estrutura__box {
    display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px;
    align-items: center;
    background: var(--cbv-bege);
    border-radius: 22px; padding: 56px;
}
.cbv-estrutura .secao-subtitulo, .cbv-estrutura .secao-titulo { text-align: left; }
.cbv-estrutura .secao-texto { text-align: left; margin-left: 0; }
.cbv-estrutura__box > div:first-child p { color: var(--cbv-texto-secundario); }
.cbv-check-list { display: grid; gap: 11px; margin-top: 24px; }
.cbv-check-list li { color: var(--cbv-texto-principal); padding-left: 28px; position: relative; }
.cbv-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cbv-destaque); font-weight: 800; }
.cbv-estrutura__destaque {
    min-height: 330px; border-radius: 18px;
    background: linear-gradient(145deg, var(--cbv-destaque), var(--cbv-verde-salvia-escuro));
    color: #fff; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; padding: 30px;
    box-shadow: var(--cbv-sombra-hover);
}
.cbv-estrutura__destaque > span { font-size: 3.5rem; line-height: 1; margin-bottom: 20px; }
.cbv-estrutura__destaque strong { font-family: var(--cbv-fonte-titulos); font-size: 2rem; line-height: 1.15; }
.cbv-estrutura__destaque small { margin-top: 18px; opacity: .8; letter-spacing: 1px; text-transform: uppercase; }

.cbv-localizacao__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.cbv-contato-card {
    background: var(--cbv-branco); border-radius: 16px; padding: 34px;
    box-shadow: var(--cbv-sombra); border: 1px solid var(--cbv-bege-escuro);
}
.cbv-contato-card__icone {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--cbv-bege); color: var(--cbv-destaque);
    font-size: 1.3rem; margin-bottom: 16px;
}
.cbv-contato-card h3 { color: var(--cbv-destaque-escuro); font-size: 1.5rem; }
.cbv-contato-card p { color: var(--cbv-texto-secundario); }
.cbv-contato-card > a:not(.btn) { display: block; color: var(--cbv-destaque); font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.cbv-contato-card .btn { margin-top: 8px; }

.cbv-faq { background: var(--cbv-branco); }
.cbv-faq-lista { max-width: 850px; margin: 0 auto; display: grid; gap: 12px; }
.cbv-faq-lista details {
    background: var(--cbv-creme); border: 1px solid var(--cbv-bege-escuro);
    border-radius: 12px; padding: 0 22px;
}
.cbv-faq-lista summary {
    cursor: pointer; list-style: none; padding: 21px 34px 21px 0;
    font-weight: 700; color: var(--cbv-destaque-escuro); position: relative;
}
.cbv-faq-lista summary::-webkit-details-marker { display: none; }
.cbv-faq-lista summary::after { content: "+"; position: absolute; right: 0; font-size: 1.5rem; font-weight: 400; }
.cbv-faq-lista details[open] summary::after { content: "−"; }
.cbv-faq-lista details p { color: var(--cbv-texto-secundario); margin: 0 0 20px; }

.cbv-noticias-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.cbv-noticia-card {
    overflow: hidden; background: var(--cbv-branco); border-radius: 15px;
    box-shadow: var(--cbv-sombra); border: 1px solid var(--cbv-bege-escuro);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cbv-noticia-card:hover { transform: translateY(-5px); box-shadow: var(--cbv-sombra-hover); }
.cbv-noticia-card__imagem { display: block; aspect-ratio: 16/9; overflow: hidden; }
.cbv-noticia-card__imagem img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cbv-noticia-card:hover .cbv-noticia-card__imagem img { transform: scale(1.04); }
.cbv-noticia-card__conteudo { padding: 24px; }
.cbv-noticia-card__conteudo > span { font-size: .8rem; color: var(--cbv-cinza-quente-claro); }
.cbv-noticia-card h3 { font-size: 1.35rem; margin: 8px 0; }
.cbv-noticia-card h3 a { color: var(--cbv-destaque-escuro); }
.cbv-noticia-card p { font-size: .92rem; color: var(--cbv-texto-secundario); }
.cbv-noticia-card__link { color: var(--cbv-destaque); font-weight: 700; font-size: .9rem; }
.cbv-noticias-vazio { max-width: 700px; margin: 0 auto; text-align: center; background: var(--cbv-bege); border-radius: 14px; padding: 35px; }
.cbv-noticias-vazio h3 { color: var(--cbv-destaque-escuro); }

.cbv-cta-final {
    padding: 64px 0;
    background: var(--cbv-branco);
    color: var(--cbv-texto-principal);
    border-top: 1px solid var(--cbv-bege-escuro);
    border-bottom: 1px solid var(--cbv-bege-escuro);
}
.cbv-cta-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cbv-cta-final span { text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem; color: var(--cbv-destaque); font-weight: 700; }
.cbv-cta-final h2 { color: var(--cbv-destaque-escuro); margin: 7px 0; font-size: clamp(1.8rem,3vw,2.5rem); }
.cbv-cta-final p { margin: 0; color: var(--cbv-texto-secundario); }
.cbv-cta-final .btn--whatsapp { flex-shrink: 0; padding: 15px 28px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].cbv-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 991px) {
    .cbv-faixa-atendimento__inner, .cbv-diferenciais-grid, .cbv-noticias-grid { grid-template-columns: 1fr 1fr; }
    .cbv-faixa-atendimento__item:nth-child(2) { border-right: 0; }
    .cbv-etapas { grid-template-columns: 1fr 1fr; }
    .cbv-estrutura__box { grid-template-columns: 1fr; padding: 40px; gap: 35px; }
    .cbv-localizacao__grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
    .cbv-faixa-atendimento__inner, .cbv-diferenciais-grid, .cbv-noticias-grid { grid-template-columns: 1fr; }
    .cbv-faixa-atendimento__item { border-right: 0; border-bottom: 1px solid var(--cbv-bege-escuro); min-height: 145px; }
    .cbv-faixa-atendimento__item:last-child { border-bottom: 0; }
    .cbv-etapas { grid-template-columns: 1fr; gap: 6px; }
    .cbv-estrutura__box { padding: 30px 24px; }
    .cbv-estrutura__destaque { min-height: 250px; }
    .cbv-cta-final__inner { flex-direction: column; align-items: flex-start; }
}



/* Fundo branco para a área central da Home */
.cbv-diferenciais,
.cbv-como-funciona,
.cbv-estrutura,
.cbv-localizacao,
.cbv-faq { background: #fff; }
.cbv-estrutura__box { background: var(--cbv-bege); }

/* Ajustes finais Bela Vista V2.2 */
.cbv-cta-final {
    background: #fff;
    border-top: 1px solid var(--cbv-bege-escuro);
    border-bottom: 1px solid var(--cbv-bege-escuro);
}
.cbv-cta-final__inner {
    padding-top: 58px;
    padding-bottom: 58px;
}
.cbv-cta-final .btn--whatsapp {
    background: var(--cbv-destaque);
    color: #fff;
}
.cbv-cta-final .btn--whatsapp:hover {
    background: var(--cbv-destaque-escuro);
}


/* =====================================================
   BELA VISTA V2.4 — CORREÇÕES VISUAIS FINAIS
   ===================================================== */
.cbv-obito {
    background: #0B3D68 !important;
    min-height: 500px !important;
    color: #fff !important;
}
.cbv-obito__titulo { color: #fff !important; }
.cbv-obito__titulo strong { color: #8FC4F0 !important; }
.cbv-obito__texto { color: rgba(255,255,255,.85) !important; }

.cbv-footer {
    background: #0D4778 !important;
    color: rgba(255,255,255,.85) !important;
    padding: 72px 0 28px !important;
}
.cbv-footer h4,
.cbv-footer__logo-texto { color: #fff !important; }
.cbv-footer__descricao,
.cbv-footer__bottom,
.cbv-footer p,
.cbv-footer li,
.cbv-footer a { color: rgba(255,255,255,.85); }
.cbv-footer__telefone { color: #8FC4F0 !important; }
.cbv-footer__bottom { border-color: rgba(255,255,255,.15); }

/* Área central branca */
.cbv-diferenciais,
.cbv-como-funciona,
.cbv-estrutura,
.cbv-localizacao,
.cbv-faq,
.cbv-cta-final {
    background: #fff !important;
}

/* Faixa superior: ícones grandes e realmente centralizados */
.cbv-faixa-atendimento { background: #fff !important; }
.cbv-faixa-atendimento__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 14px !important;
    min-height: 175px !important;
}
.cbv-faixa-atendimento__icone {
    width: 76px !important;
    height: 76px !important;
    flex: 0 0 76px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.cbv-faixa-atendimento__icone svg {
    width: 42px !important;
    height: 42px !important;
}
.cbv-faixa-atendimento__item > div {
    width: 100% !important;
    text-align: center !important;
}
.cbv-faixa-atendimento__item strong { font-size: 1rem !important; }
.cbv-faixa-atendimento__item div span { font-size: .84rem !important; }

/* WhatsApp sempre em azul */
.btn--whatsapp,
.cbv-navbar__whatsapp {
    background: #1769AA !important;
    color: #fff !important;
}
.btn--whatsapp:hover,
.cbv-navbar__whatsapp:hover {
    background: #0D4778 !important;
}
.cbv-whatsapp-flutuante {
    background: #1769AA !important;
    color: #fff !important;
    animation: cbv-pulso-whatsapp 2s infinite !important;
}
.cbv-whatsapp-flutuante:hover { background: #0D4778 !important; }

@media (max-width: 782px) {
    .cbv-faixa-atendimento__item { min-height: 155px !important; }
    .cbv-faixa-atendimento__icone { width: 68px !important; height: 68px !important; flex-basis: 68px !important; }
    .cbv-faixa-atendimento__icone svg { width: 38px !important; height: 38px !important; }
}

/* Correção final: texto dos botões WhatsApp e logo do rodapé */
.btn--whatsapp,
.btn--whatsapp span,
.cbv-navbar__whatsapp,
.cbv-navbar__whatsapp span {
    color: #fff !important;
}
.btn--whatsapp svg,
.cbv-navbar__whatsapp svg {
    fill: #fff !important;
}
.cbv-footer__logo img {
    filter: brightness(0) invert(1);
    opacity: .95;
}
