:root{
  --ov3-bg:#050505;
  --ov3-panel:#0a0a0a;
  --ov3-panel2:#0f0d09;
  --ov3-gold:#d8b35b;
  --ov3-gold-2:#f1d58f;
  --ov3-text:#f2ead9;
  --ov3-muted:#afa38e;
  --ov3-line:rgba(216,179,91,.22);
  --ov3-line-soft:rgba(255,255,255,.07);
  --ov3-shadow:0 24px 70px rgba(0,0,0,.46);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#050505}
body{margin:0;background:#050505;color:var(--ov3-text);font-family:Arial,Helvetica,sans-serif}
body::before{content:"";position:fixed;inset:0;z-index:-3;background:linear-gradient(rgba(0,0,0,.60),rgba(0,0,0,.78)),url('img/fundo_marmore_v3.png') center/cover fixed}
body::after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(circle at 50% 0,rgba(209,153,52,.08),transparent 35%),linear-gradient(90deg,rgba(0,0,0,.24),transparent 25%,transparent 75%,rgba(0,0,0,.24))}
a{color:inherit}

.ov3-home-hero {
    position: relative;
    min-height: 620px;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.48),
            rgba(0,0,0,0.62)
        ),
        url('img/fundo_site.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cabeçalho V3 */
.ov3-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(5,5,5,.76);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);border-bottom:1px solid var(--ov3-line-soft);transition:.25s ease}
.ov3-header.scrolled{background:rgba(3,3,3,.94);box-shadow:0 12px 32px rgba(0,0,0,.28);border-bottom-color:var(--ov3-line)}
.ov3-header-inner{width:min(1380px,calc(100% - 36px));height:86px;margin:auto;display:flex;align-items:center;gap:24px}
.ov3-brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.ov3-brand img{display:block;height:68px;width:auto;max-width:190px;object-fit:contain}
.ov3-nav{margin-left:auto;display:flex;align-items:center;gap:10px}
.ov3-nav a{position:relative;text-decoration:none;color:#ddd3c0;padding:12px 11px;font-size:.93rem;white-space:nowrap;transition:.2s ease}
.ov3-nav a:not(.ov3-nav-cta)::after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:1px;background:var(--ov3-gold);transform:scaleX(0);transition:.2s ease}
.ov3-nav a:hover,.ov3-nav a.ativo{color:var(--ov3-gold-2)}
.ov3-nav a:hover::after,.ov3-nav a.ativo::after{transform:scaleX(1)}
.ov3-nav-cta{margin-left:10px;padding:12px 20px!important;border-radius:999px!important;color:#171109!important;font-weight:700;background:linear-gradient(135deg,#f3d17c,#c9963f);box-shadow:0 8px 24px rgba(210,159,63,.16)}
.ov3-nav-cta:hover{filter:brightness(1.06);transform:translateY(-1px)}
.ov3-menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid var(--ov3-line);border-radius:12px;background:rgba(255,255,255,.025);padding:11px;cursor:pointer}
.ov3-menu-toggle span{display:block;height:2px;background:var(--ov3-gold-2);margin:5px 0;border-radius:4px}
body{padding-top:86px}

/* Rodapé */
.ov3-footer{margin-top:42px;background:rgba(2,2,2,.94);border-top:1px solid var(--ov3-line-soft);color:#bdb19a}
.ov3-footer-inner{width:min(1380px,calc(100% - 36px));margin:auto;min-height:92px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.ov3-footer-brand img{height:58px;width:auto;opacity:.88}
.ov3-footer-center{text-align:center;display:flex;flex-direction:column;gap:5px}.ov3-footer-center strong{font-family:Georgia,'Times New Roman',serif;color:var(--ov3-gold-2);font-weight:500;font-size:1.1rem}.ov3-footer-center span{font-size:.84rem}
.ov3-footer-links{justify-self:end;display:flex;gap:18px}.ov3-footer-links a{text-decoration:none;font-size:.84rem}.ov3-footer-links a:hover{color:var(--ov3-gold-2)}
.ov3-footer-copy{text-align:center;padding:12px 16px;border-top:1px solid rgba(255,255,255,.04);font-size:.75rem;color:#766d5e}

/* Home */
.ov3-home{min-height:calc(100vh - 86px);display:flex;flex-direction:column}
.ov3-home-hero{position:relative;min-height:610px;display:grid;place-items:center;text-align:center;padding:70px 18px 50px;overflow:hidden}
.ov3-home-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 38%,rgba(189,132,39,.13),transparent 33%),linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.36));pointer-events:none}
.ov3-home-content{position:relative;z-index:2;width:min(860px,100%)}
.ov3-eyebrow{display:inline-flex;align-items:center;gap:12px;color:#aa9569;font-size:.74rem;text-transform:uppercase;letter-spacing:.28em;margin-bottom:12px}.ov3-eyebrow::before,.ov3-eyebrow::after{content:"";width:42px;height:1px;background:rgba(216,179,91,.36)}
.ov3-home h1,.ov3-mural-hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:var(--ov3-gold-2);letter-spacing:-.02em;margin:0}
.ov3-home h1{font-size:clamp(2.7rem,7vw,5.3rem)}
.ov3-candle-frame{width:230px;height:300px;margin:24px auto 10px;border:1px solid rgba(216,179,91,.34);border-radius:28px;background:linear-gradient(180deg,rgba(15,11,7,.8),rgba(4,4,4,.8));box-shadow:0 18px 60px rgba(0,0,0,.52),0 0 44px rgba(195,138,35,.08);overflow:hidden;display:flex;align-items:center;justify-content:center}
.ov3-candle-frame img{width:100%;height:100%;object-fit:contain;display:block}
.ov3-home-count{font-family:Georgia,'Times New Roman',serif;font-size:1.2rem;color:#ded0b4;margin-top:12px}
.ov3-home-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}
.ov3-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 26px;border-radius:999px;border:1px solid var(--ov3-line);text-decoration:none;font-weight:700;cursor:pointer;transition:.2s ease;font-size:.95rem}
.ov3-btn-primary{border:0;background:linear-gradient(135deg,#f3d17c,#d19a43);color:#171109;box-shadow:0 10px 30px rgba(210,159,63,.18)}
.ov3-btn-secondary{background:rgba(8,8,8,.62);color:#eadbbd}
.ov3-btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.ov3-home-lead{max-width:720px;margin:30px auto 0;line-height:1.75;color:#cfc2a9;font-size:1.02rem}
.ov3-prayers{width:min(1260px,calc(100% - 36px));margin:0 auto;padding:20px 0 10px}
.ov3-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.ov3-section-head h2{font-family:Georgia,'Times New Roman',serif;color:var(--ov3-gold-2);font-weight:400;font-size:2rem;margin:0}.ov3-section-head a{text-decoration:none;color:#bda66f;font-size:.88rem}
.ov3-prayer-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ov3-prayer-card{min-height:190px;padding:18px;border-radius:18px;background:linear-gradient(180deg,rgba(13,12,10,.93),rgba(5,5,5,.94));border:1px solid var(--ov3-line-soft);box-shadow:var(--ov3-shadow);display:grid;grid-template-columns:95px 1fr;gap:16px;align-items:center}
.ov3-prayer-card img{width:95px;height:145px;object-fit:cover;border-radius:14px;background:#050505}.ov3-prayer-card h3{margin:0 0 5px;color:#ead29a;font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:1.15rem}.ov3-prayer-card small{color:#887d69}.ov3-prayer-card p{color:#cfc6b7;font-size:.9rem;line-height:1.52;margin:10px 0 12px}.ov3-prayer-card a{text-decoration:none;color:#e9d398;font-size:.84rem}

/* Mural */
.ov3-mural-page{min-height:100vh}.ov3-mural-hero{position:relative;padding:48px 18px 28px;text-align:center;border-bottom:1px solid var(--ov3-line-soft);overflow:hidden}.ov3-mural-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.72)),url('../fundo_wallpaper2.png') center/cover no-repeat;z-index:-1}.ov3-mural-hero h1{font-size:clamp(2.5rem,6vw,4.4rem)}.ov3-mural-hero p{max-width:850px;margin:14px auto 0;line-height:1.7;color:#d1c4ab;font-size:1rem}
.ov3-mural-wrap{width:min(1460px,calc(100% - 30px));margin:0 auto;padding:20px 0 24px}
.ov3-filterbar{position:sticky;top:94px;z-index:20;margin:0 0 22px;padding:12px;border:1px solid var(--ov3-line);border-radius:18px;background:rgba(6,6,6,.87);backdrop-filter:blur(14px);display:grid;grid-template-columns:minmax(240px,1fr) 220px 220px 190px 110px;gap:10px;box-shadow:0 14px 36px rgba(0,0,0,.28)}
.ov3-filterbar input,.ov3-filterbar select{width:100%;height:46px;border-radius:12px;border:1px solid rgba(216,179,91,.18);background:#0b0b0b;color:#e7dcc7;padding:0 13px;outline:none}.ov3-filterbar input:focus,.ov3-filterbar select:focus{border-color:rgba(216,179,91,.52)}.ov3-filterbar button{border:0;border-radius:12px;background:linear-gradient(135deg,#f0cf79,#c9963e);color:#181108;font-weight:700;cursor:pointer}
.ov3-results-meta{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 2px 14px;color:#8f8574;font-size:.82rem}
.ov3-mural-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ov3-vela-card{position:relative;overflow:hidden;min-height:430px;border:1px solid var(--ov3-line-soft);border-radius:18px;background:linear-gradient(180deg,rgba(13,12,10,.96),rgba(4,4,4,.98));box-shadow:0 20px 52px rgba(0,0,0,.34);display:grid;grid-template-columns:115px 1fr;transition:.22s ease}.ov3-vela-card:hover{transform:translateY(-3px);border-color:rgba(216,179,91,.28)}
.ov3-vela-img{min-height:100%;background:#050505;overflow:hidden}.ov3-vela-img img{width:100%;height:100%;object-fit:cover;display:block}.ov3-vela-content{padding:16px 15px 14px;display:flex;flex-direction:column;min-width:0}.ov3-vela-title{margin:0;color:#ecd69c;font-family:Georgia,'Times New Roman',serif;font-size:1.07rem;font-weight:400;text-transform:uppercase}.ov3-vela-date{margin-top:4px;color:#7d7466;font-size:.72rem}.ov3-vela-meta{margin-top:7px;color:#b49a61;font-size:.78rem;line-height:1.35}.ov3-vela-prece{margin:14px 0;color:#d6cfc1;font-size:.88rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}.ov3-vela-spacer{flex:1}.ov3-vela-status{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#9f927c;font-size:.76rem;margin-bottom:10px}.ov3-vela-actions{display:flex;align-items:center;gap:8px}.ov3-pray-btn{flex:1;min-height:42px;border-radius:999px;border:1px solid rgba(216,179,91,.2);background:#141414;color:#eee1c4;text-decoration:none;display:flex;align-items:center;justify-content:center;font-size:.83rem;font-weight:700}.ov3-pray-btn.ativo{background:#2a2417;color:#f4d98e}.ov3-share-btn{width:42px;height:42px;border-radius:50%;border:1px solid var(--ov3-line);background:#080808;color:#d9c58d;cursor:pointer}.ov3-reacender{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#efd07c,#ba8430);color:#171008;text-decoration:none;font-weight:700}
.ov3-pagination{display:flex;justify-content:center;gap:7px;margin-top:28px;flex-wrap:wrap}.ov3-pagination a,.ov3-pagination span{min-width:40px;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--ov3-line-soft);display:flex;align-items:center;justify-content:center;text-decoration:none;color:#cfc2aa;background:#090909}.ov3-pagination .atual{background:linear-gradient(135deg,#f0cf79,#c8953e);color:#171108;border:0;font-weight:700}
.ov3-empty{padding:60px 20px;text-align:center;border:1px solid var(--ov3-line-soft);border-radius:18px;background:rgba(0,0,0,.5);color:#bbae98}

/* Compatibilidade V2 / páginas internas */
.ov2-body{padding-top:86px!important;background:linear-gradient(rgba(0,0,0,.66),rgba(0,0,0,.76)),url('img/fundo_marmore_v3.png') center/cover fixed!important}.ov2-topbar,.ov2-bottom-nav{display:none!important}.ov2-main{padding-top:34px!important}.ov2-card,.ov2-form,.ov2-chat-shell,.ov2-conv{border-color:var(--ov3-line-soft)!important;background:rgba(8,8,8,.93)!important}.ov2-title{color:var(--ov3-gold-2)!important}.ov2-btn{background:linear-gradient(135deg,#efd07c,#c8943d)!important;color:#171108!important}.ov2-footer{display:none!important}
#musica{position:fixed;right:22px;bottom:22px;z-index:1200;width:48px;height:48px;border-radius:50%;border:1px solid rgba(216,179,91,.36);background:rgba(5,5,5,.9);box-shadow:0 8px 24px rgba(0,0,0,.35);cursor:pointer}#musica::before{content:'♪';display:grid;place-items:center;width:100%;height:100%;color:var(--ov3-gold-2);font-size:1.2rem}#musica.pausado::before{content:'♫'}

@media(max-width:1180px){.ov3-nav{gap:3px}.ov3-nav a{font-size:.86rem;padding:11px 8px}.ov3-mural-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ov3-filterbar{grid-template-columns:1fr 1fr 1fr}.ov3-filterbar button{min-height:46px}.ov3-filterbar .ov3-order{grid-column:2}.ov3-filterbar .ov3-search-submit{grid-column:3}.ov3-prayer-track{grid-template-columns:repeat(2,minmax(0,1fr))}.ov3-prayer-card:last-child{display:none}}
@media(max-width:860px){body{padding-top:72px}.ov3-header-inner{height:72px;width:calc(100% - 22px)}.ov3-brand img{height:56px;max-width:150px}.ov3-menu-toggle{display:block}.ov3-nav{position:absolute;top:72px;left:11px;right:11px;display:none;flex-direction:column;align-items:stretch;padding:12px;border:1px solid var(--ov3-line);border-radius:16px;background:rgba(4,4,4,.98);box-shadow:0 24px 50px rgba(0,0,0,.45)}.ov3-nav.aberto{display:flex}.ov3-nav a{padding:13px 12px;border-radius:10px}.ov3-nav-cta{margin-left:0!important;text-align:center}.ov3-footer-inner{grid-template-columns:1fr;text-align:center;padding:24px 0}.ov3-footer-brand,.ov3-footer-links{justify-self:center}.ov3-mural-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ov3-filterbar{top:80px;grid-template-columns:1fr 1fr}.ov3-filterbar input{grid-column:1/-1}.ov3-filterbar .ov3-order,.ov3-filterbar .ov3-search-submit{grid-column:auto}.ov3-prayer-track{grid-template-columns:1fr}.ov3-prayer-card:last-child{display:grid}.ov3-home-hero{min-height:560px;padding-top:46px}}
@media(max-width:580px){.ov3-home h1{font-size:2.65rem}.ov3-candle-frame{width:190px;height:250px;border-radius:22px}.ov3-home-actions{flex-direction:column;align-items:stretch}.ov3-btn{width:100%}.ov3-prayers{width:calc(100% - 22px)}.ov3-section-head{align-items:center}.ov3-section-head h2{font-size:1.55rem}.ov3-prayer-card{grid-template-columns:74px 1fr;padding:13px}.ov3-prayer-card img{width:74px;height:118px}.ov3-mural-wrap{width:calc(100% - 18px)}.ov3-mural-grid{grid-template-columns:1fr}.ov3-filterbar{position:relative;top:auto;grid-template-columns:1fr}.ov3-filterbar input,.ov3-filterbar .ov3-order,.ov3-filterbar .ov3-search-submit{grid-column:auto}.ov3-vela-card{grid-template-columns:105px 1fr;min-height:390px}.ov3-mural-hero{padding-top:34px}.ov3-mural-hero p{font-size:.91rem}.ov3-results-meta{align-items:flex-start;flex-direction:column}}
