:root{
  --bg:#f4efe7; --paper:#fffdf9; --ink:#1b1a17; --muted:#6d685f;
  --accent:#8a5b34; --accent2:#c9a372; --dark:#171713; --line:#ddd4c7;
  --sage:#66705b; --soft:#eee3d4; --radius:26px; --shadow:0 22px 60px rgba(31,24,17,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}a{color:inherit;text-decoration:none}button,input{font:inherit}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}
.topbar{position:sticky;top:0;z-index:50;background:rgba(244,239,231,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(120,100,75,.14)}.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:850;letter-spacing:.01em}.brand-mark{width:40px;height:40px;border-radius:50%;background:var(--dark);color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:17px}.brand small{display:block;font-size:10px;letter-spacing:.18em;color:var(--muted);font-weight:800}.navlinks{display:flex;gap:19px;align-items:center;font-size:14px;color:#3d3934}.navlinks a:hover,.navlinks a.active{color:var(--accent)}.menu-btn{display:none;border:1px solid var(--line);background:var(--paper);width:44px;height:44px;border-radius:50%;cursor:pointer}.cta{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 18px;border:1px solid var(--dark);background:var(--dark);color:#fff;font-weight:780;font-size:14px;transition:.2s;cursor:pointer}.cta:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(20,20,17,.15)}.cta.alt{background:transparent;color:var(--ink);border-color:#aa9c88}.cta.light{background:#fff;color:var(--dark);border-color:#fff}
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.2em;color:var(--accent);font-weight:850}.hero{padding:76px 0 44px}.hero-grid{display:grid;grid-template-columns:1.22fr .78fr;gap:48px;align-items:center}.hero h1,.display{font-family:Georgia,'Times New Roman',serif;font-size:clamp(48px,7vw,90px);line-height:.93;letter-spacing:-.045em;margin:16px 0 24px}.hero p{font-size:20px;color:#4d4942;max-width:730px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-card{min-height:530px;border-radius:36px;background:linear-gradient(160deg,#2d2b25,#11110e 72%);color:#fff;position:relative;overflow:hidden;box-shadow:var(--shadow);padding:34px;display:flex;flex-direction:column;justify-content:space-between}.hero-card:before{content:"";position:absolute;width:320px;height:320px;border-radius:50%;border:1px solid rgba(255,255,255,.14);top:-55px;right:-70px}.hero-card:after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(201,163,114,.40),rgba(201,163,114,0) 66%);top:80px;left:38px}.hero-kicker{position:relative;z-index:2;display:flex;justify-content:space-between;font-size:12px;color:#cfc6b8;letter-spacing:.12em;text-transform:uppercase}.hero-card .quote{position:relative;z-index:2;font-family:Georgia,serif;font-size:31px;line-height:1.16;max-width:460px}.hero-card .meta{position:relative;z-index:2;color:#d2c9bb;margin-top:18px}.signature{font-family:Georgia,serif;font-style:italic;font-size:24px;color:var(--accent2)}
.section{padding:74px 0}.section.dark{background:var(--dark);color:#fff}.section.soft{background:#ebe1d2}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section-head h2{font-family:Georgia,serif;font-size:44px;line-height:1;margin:0}.section-head p{max-width:610px;color:var(--muted);margin:0}.dark .section-head p{color:#bdb7aa}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.portal-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;min-height:226px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 8px 24px rgba(30,25,18,.04);transition:.2s}.portal-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.portal-card .num{font-size:12px;color:var(--accent);font-weight:850;letter-spacing:.15em}.portal-card h3{font-size:24px;margin:28px 0 8px}.portal-card p{font-size:14px;color:var(--muted);margin:0}
.searchbar{display:flex;gap:10px;background:var(--paper);border:1px solid var(--line);padding:10px;border-radius:999px;box-shadow:0 10px 30px rgba(31,24,17,.06)}.searchbar input{flex:1;border:0;background:transparent;outline:0;padding:0 12px;color:var(--ink)}.search-results{margin-top:14px;display:grid;gap:10px}.search-item{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:15px 17px;display:flex;justify-content:space-between;gap:20px}.search-item small{color:var(--muted)}
.journey{display:grid;grid-template-columns:.95fr 1.05fr;gap:26px;align-items:stretch}.journey-copy{background:#efe3d1;border-radius:30px;padding:38px;border:1px solid #e2d2bc}.journey-copy h3{font-family:Georgia,serif;font-size:42px;line-height:1.02;margin:8px 0 16px}.journey-copy p{color:#595044}.progress-label{display:flex;justify-content:space-between;margin-top:28px;font-size:13px;color:#61584c}.progress{height:10px;background:#ded0bd;border-radius:99px;overflow:hidden;margin:10px 0 18px}.progress>div{height:100%;width:50%;background:var(--accent);transition:.3s}.steps{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:18px}.step{display:flex;gap:16px;padding:18px;border-radius:20px;cursor:pointer;transition:.15s}.step:hover,.step.active{background:#f3ede4}.step .dot{width:34px;height:34px;flex:0 0 34px;border:1px solid #b9ab96;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:800}.step.done .dot{background:var(--sage);color:white;border-color:var(--sage)}.step h4{margin:0 0 4px;font-size:16px}.step p{margin:0;color:var(--muted);font-size:13px}
.series-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.series-card{min-height:305px;border-radius:28px;padding:28px;background:#24231f;border:1px solid #37352e;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.series-card:after{content:"";position:absolute;width:185px;height:185px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-45px;top:-40px}.series-card .tag{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#c9a372;font-weight:850}.series-card h3{font-family:Georgia,serif;font-size:35px;margin:8px 0;max-width:470px}.series-card p{color:#c9c3b8;max-width:520px;margin:0}.series-card .link{margin-top:22px;font-size:14px;font-weight:800}.series-card .count{color:#9f998f;font-size:12px;margin-top:8px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:32px;min-height:320px;position:relative;overflow:hidden}.feature h3{font-family:Georgia,serif;font-size:38px;margin:8px 0 12px}.feature p{color:var(--muted);max-width:560px}.book-chip{display:inline-flex;padding:8px 11px;border-radius:999px;background:#eadcc8;color:#68492f;font-size:12px;font-weight:850}.topic-wrap{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.topic{border:1px solid #c7bba9;background:#fbf7f0;border-radius:999px;padding:10px 14px;font-size:14px;cursor:pointer}.topic:hover{background:#eee2d3}.path-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:24px;min-height:220px}.path-card strong{display:block;font-size:18px;margin:15px 0 8px}.path-card p{font-size:14px;color:var(--muted)}
.event-card{background:#fff;border-radius:28px;border:1px solid var(--line);display:grid;grid-template-columns:150px 1fr auto;gap:22px;align-items:center;padding:18px 22px;margin-bottom:12px}.datebox{border-radius:20px;background:#efe4d3;padding:18px;text-align:center}.datebox strong{display:block;font-family:Georgia,serif;font-size:34px}.datebox span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#7a6853}.event-card h4{margin:0 0 6px;font-size:20px}.event-card p{margin:0;color:var(--muted);font-size:14px}.badge{display:inline-flex;border-radius:999px;padding:7px 10px;background:#f0e7da;color:#765536;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;margin-bottom:7px}
.ieab{background:linear-gradient(135deg,#202019,#3a3229);border-radius:34px;color:#fff;padding:42px;display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center}.ieab h2{font-family:Georgia,serif;font-size:46px;margin:0 0 12px}.ieab p{color:#d6cfc2}.ieab .mini{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.mini div{border:1px solid rgba(255,255,255,.15);border-radius:18px;padding:16px;color:#ddd5c8;font-size:14px}
.page-hero{padding:62px 0 28px}.page-hero h1{font-family:Georgia,serif;font-size:clamp(48px,7vw,82px);line-height:.95;letter-spacing:-.04em;margin:14px 0}.page-hero p{max-width:750px;color:var(--muted);font-size:19px}.content-grid{display:grid;grid-template-columns:1fr 320px;gap:28px}.article{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:34px}.article h2{font-family:Georgia,serif;font-size:34px}.article h3{font-size:21px;margin-top:32px}.article p,.article li{color:#4f4a43}.sidebar{display:grid;gap:14px;align-content:start}.side-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:20px}.side-card h4{margin:0 0 9px}.side-card p{font-size:14px;color:var(--muted);margin:0}.episode{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:22px;display:grid;grid-template-columns:60px 1fr auto;gap:18px;align-items:center;margin:12px 0}.episode .n{font-family:Georgia,serif;font-size:30px;color:var(--accent)}.episode h3{margin:0 0 4px;font-size:19px}.episode p{margin:0;color:var(--muted);font-size:14px}.locked{opacity:.72}.note{background:#f0e6d8;border-left:4px solid var(--accent);padding:16px 18px;border-radius:12px;color:#5b5146}
footer{padding:52px 0 72px;border-top:1px solid var(--line);margin-top:72px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px}.footer-grid h5{margin:0 0 12px;font-size:13px;text-transform:uppercase;letter-spacing:.12em}.footer-grid a{display:block;color:var(--muted);font-size:14px;margin:7px 0}.footer-note{margin-top:38px;color:#8d877c;font-size:12px}.mobile-journey{display:none;position:fixed;bottom:14px;left:16px;right:16px;z-index:40}
@media(max-width:900px){.navlinks{display:none;position:absolute;top:76px;left:16px;right:16px;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:14px;box-shadow:var(--shadow)}.navlinks.open{display:grid}.menu-btn{display:block}.topbar>.wrap>.cta{display:none}.hero-grid,.journey,.two,.ieab,.content-grid{grid-template-columns:1fr}.grid4,.three{grid-template-columns:1fr 1fr}.series-grid{grid-template-columns:1fr}.hero{padding-top:42px}.hero-card{min-height:410px}.section{padding:56px 0}.event-card{grid-template-columns:100px 1fr}.event-card .cta{display:none}.footer-grid{grid-template-columns:1fr 1fr}.mobile-journey{display:block}}
@media(max-width:560px){.wrap{width:min(100% - 22px,1180px)}.grid4,.three{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.section-head h2{font-size:36px}.hero p{font-size:17px}.hero-card{padding:25px;min-height:365px}.hero-card .quote{font-size:27px}.event-card{grid-template-columns:78px 1fr;padding:14px}.datebox{padding:12px}.datebox strong{font-size:28px}.footer-grid{grid-template-columns:1fr}.ieab{padding:28px}.ieab h2{font-size:38px}.episode{grid-template-columns:46px 1fr}.episode .cta{display:none}}

/* Página de mensagem / jornada */
.sermon-hero{padding:66px 0 34px;background:linear-gradient(180deg,#eee2d2 0%,rgba(238,226,210,0) 100%)}.sermon-hero-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:32px;align-items:end}.sermon-hero h1{font-family:Georgia,serif;font-size:clamp(52px,7vw,88px);line-height:.92;letter-spacing:-.045em;margin:14px 0 20px}.sermon-hero .lead{font-size:20px;max-width:760px;color:#504a42}.sermon-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.sermon-meta span{background:rgba(255,255,255,.62);border:1px solid var(--line);border-radius:999px;padding:9px 12px;font-size:12px;color:#62594e}.exam-card{background:var(--dark);color:#fff;border-radius:30px;padding:30px;min-height:280px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}.exam-card:before{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.13);border-radius:50%;top:-55px;right:-45px}.exam-card span{font-size:11px;letter-spacing:.2em;color:var(--accent2);font-weight:850}.exam-card strong{font-family:Georgia,serif;font-size:48px;line-height:1;margin:9px 0 14px}.exam-card p{color:#cbc4b8;margin:0;position:relative}.sermon-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.sermon-content{display:grid;gap:18px}.sermon-block{background:var(--paper);border:1px solid var(--line);border-radius:28px;padding:32px}.sermon-block h2{font-family:Georgia,serif;font-size:34px;line-height:1.08;margin:10px 0 15px}.sermon-block p{color:#4d4942}.section-number{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eee1d0;color:var(--accent);font-weight:900;font-size:13px}.pastoral-line{margin-top:22px;padding:18px 20px;border-left:4px solid var(--accent);background:#f1e8dc;border-radius:12px;font-family:Georgia,serif;font-size:20px;line-height:1.35}.state-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.state-grid>div{border:1px solid var(--line);border-radius:20px;padding:18px;background:#fbf8f3}.state-grid span{font-size:10px;letter-spacing:.15em;color:var(--accent);font-weight:900}.state-grid h3{font-size:16px;margin:8px 0}.state-grid p{font-size:13px;margin:0;color:var(--muted)}.reflection-block{background:#eee3d4}.reflection-question{background:rgba(255,255,255,.65);border:1px solid #ddd0bc;border-radius:18px;padding:15px 17px;margin:10px 0}.reflection-question label{display:flex;gap:11px;align-items:flex-start;font-weight:650}.reflection-question input{margin-top:4px;accent-color:var(--accent)}.note-label{display:block;margin:24px 0 8px;font-weight:800}.notes-area{width:100%;min-height:190px;resize:vertical;border:1px solid #cfbea7;background:#fffdf8;border-radius:18px;padding:16px;outline:none;color:var(--ink);font:inherit}.notes-area:focus{border-color:var(--accent)}.prayer-block{background:linear-gradient(135deg,#1f1e1a,#302820);color:#fff;border-color:#302c25}.prayer-block p{color:#ddd4c8}.sermon-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:6px}.sermon-sidebar{display:grid;gap:14px}.sticky-card{position:sticky;top:94px}.scripture-ref{display:block;padding:10px 0;border-bottom:1px solid var(--line);font-weight:750}.tiny-note{font-size:12px!important;margin-top:14px!important}.done-btn{background:var(--sage);border-color:var(--sage)}
@media(max-width:900px){.sermon-hero-grid,.sermon-layout{grid-template-columns:1fr}.sticky-card{position:static}.state-grid{grid-template-columns:1fr}.exam-card{min-height:220px}}
@media(max-width:560px){.sermon-block{padding:23px}.sermon-block h2{font-size:29px}.sermon-actions .cta{width:100%}}
.wound-grid,.ego-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px}.wound-grid>div,.ego-grid>div{border:1px solid var(--line);border-radius:20px;padding:19px;background:#fbf8f3}.wound-grid span,.ego-grid span{font-size:10px;letter-spacing:.13em;color:var(--accent);font-weight:900}.wound-grid h3,.ego-grid h3{font-size:17px;line-height:1.2;margin:8px 0}.wound-grid p,.ego-grid p{font-size:13px;margin:0;color:var(--muted)}
@media(max-width:700px){.wound-grid,.ego-grid{grid-template-columns:1fr}}

/* V4 — arquitetura do portal */
:focus-visible{outline:3px solid rgba(138,91,52,.35);outline-offset:3px}.skip-link{position:fixed;left:12px;top:-80px;z-index:100;background:var(--dark);color:#fff;padding:10px 14px;border-radius:12px}.skip-link:focus{top:12px}.nav-tools{display:flex;align-items:center;gap:10px}.nav-search{width:40px;height:40px;border:1px solid var(--line);background:rgba(255,255,255,.55);border-radius:50%;display:grid;place-items:center;font-size:16px}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;font-size:11px;color:var(--muted);background:rgba(255,255,255,.45)}.status-pill:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--sage)}
.hero-v4{padding:72px 0 54px}.hero-v4-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr);gap:34px;align-items:stretch}.hero-v4-copy{padding:36px 0}.hero-v4 h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(52px,7vw,94px);line-height:.91;letter-spacing:-.055em;margin:17px 0 22px;max-width:800px}.hero-v4 .lead{font-size:20px;color:#4d4942;max-width:690px}.hero-panel{background:var(--dark);border-radius:34px;color:#fff;padding:30px;display:flex;flex-direction:column;justify-content:space-between;min-height:510px;position:relative;overflow:hidden}.hero-panel:before{content:"SB";position:absolute;right:-12px;bottom:-65px;font-family:Georgia,serif;font-size:250px;line-height:1;color:rgba(255,255,255,.035);font-weight:700}.hero-panel-top{display:flex;justify-content:space-between;gap:20px;font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:#c9c1b4;position:relative}.hero-panel-main{position:relative}.hero-panel-main .small-title{font-size:12px;color:var(--accent2);letter-spacing:.17em;font-weight:850;text-transform:uppercase}.hero-panel-main h2{font-family:Georgia,serif;font-size:44px;line-height:1.02;margin:10px 0 14px}.hero-panel-main p{color:#d0c8ba;max-width:430px}.hero-panel-bottom{display:flex;justify-content:space-between;align-items:end;gap:20px;position:relative}.monogram-large{font-family:Georgia,serif;font-size:34px;font-style:italic;color:var(--accent2)}
.quick-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:24px;overflow:hidden;background:rgba(255,255,255,.43)}.quick-strip a{padding:18px 20px;border-right:1px solid var(--line);transition:.18s}.quick-strip a:last-child{border-right:0}.quick-strip a:hover{background:var(--paper)}.quick-strip small{display:block;color:var(--accent);font-weight:850;text-transform:uppercase;letter-spacing:.12em;font-size:9px;margin-bottom:4px}.quick-strip strong{font-size:14px}
.library-head{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-bottom:26px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter-btn{border:1px solid var(--line);background:transparent;border-radius:999px;padding:9px 13px;color:var(--muted);cursor:pointer;font-weight:750;font-size:12px}.filter-btn.active,.filter-btn:hover{background:var(--dark);color:#fff;border-color:var(--dark)}[hidden]{display:none!important}.series-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.series-meta span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#9f998f;border:1px solid #3a3832;border-radius:999px;padding:6px 8px}
.page-index-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.index-card{background:var(--paper);border:1px solid var(--line);border-radius:26px;padding:26px;min-height:240px;display:flex;flex-direction:column;justify-content:space-between;transition:.18s}.index-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.index-card .icon-word{font-family:Georgia,serif;font-size:42px;color:var(--accent)}.index-card h3{margin:22px 0 8px;font-size:22px}.index-card p{color:var(--muted);font-size:14px;margin:0}.index-card .go{font-weight:850;font-size:13px;margin-top:20px}
.linkhub-shell{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 20% 10%,#eadbc6,transparent 35%),var(--bg)}.linkhub{width:min(620px,100%);background:rgba(255,253,249,.92);border:1px solid var(--line);border-radius:34px;padding:30px;box-shadow:var(--shadow)}.linkhub-brand{text-align:center;margin-bottom:26px}.linkhub-brand .brand-mark{margin:0 auto 12px;width:58px;height:58px;font-size:22px}.linkhub-brand h1{font-family:Georgia,serif;font-size:35px;margin:0}.linkhub-brand p{color:var(--muted);margin:8px auto 0;max-width:470px}.link-stack{display:grid;gap:10px}.link-button{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;border:1px solid var(--line);background:#fff;border-radius:18px;font-weight:800}.link-button:hover{border-color:#bba98e;transform:translateY(-1px)}.link-button small{font-weight:600;color:var(--muted)}.link-note{text-align:center;color:var(--muted);font-size:11px;margin:22px 0 0}
.empty-state{background:var(--paper);border:1px dashed #c8baa7;border-radius:28px;padding:34px;text-align:center}.empty-state h3{font-family:Georgia,serif;font-size:30px;margin:6px 0 9px}.empty-state p{max-width:620px;margin:0 auto;color:var(--muted)}.search-empty{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:14px;color:var(--muted);font-size:14px}.microcopy{font-size:12px;color:var(--muted)}
.footer-badge{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:7px 10px;color:var(--muted);font-size:11px;margin-top:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:36px;padding-top:20px;border-top:1px solid var(--line);color:#8d877c;font-size:12px}
@media(max-width:1050px){.navlinks{gap:12px;font-size:13px}.nav>.cta{display:none}.hero-v4-grid{grid-template-columns:1fr .8fr}.quick-strip{grid-template-columns:1fr 1fr}.quick-strip a:nth-child(2){border-right:0}.quick-strip a:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:900px){.hero-v4-grid{grid-template-columns:1fr}.hero-v4-copy{padding-top:8px}.hero-panel{min-height:390px}.page-index-grid{grid-template-columns:1fr 1fr}.nav-tools .nav-search{display:none}}
@media(max-width:560px){.hero-v4{padding-top:34px}.hero-v4 h1{font-size:50px}.hero-panel{min-height:350px;padding:24px}.hero-panel-main h2{font-size:36px}.quick-strip{grid-template-columns:1fr}.quick-strip a{border-right:0!important;border-bottom:1px solid var(--line)}.quick-strip a:last-child{border-bottom:0}.page-index-grid{grid-template-columns:1fr}.library-head{align-items:flex-start;flex-direction:column}.footer-bottom{align-items:flex-start;flex-direction:column}.status-pill{display:none}}

/* V5 — biblioteca geral e fluxo editorial */
.page-hero{padding:72px 0 32px}.page-hero h1{font-family:Georgia,serif;font-size:clamp(48px,7vw,82px);letter-spacing:-.045em;line-height:.95;margin:12px 0 16px}.page-hero p{font-size:19px;color:var(--muted);max-width:760px}.library-console{background:rgba(255,255,255,.46);border:1px solid var(--line);border-radius:28px;padding:18px;margin-bottom:26px}.library-filters{margin-top:14px}.library-count{margin-top:14px;color:var(--muted);font-size:12px;font-weight:750}.library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.library-item{background:var(--paper);border:1px solid var(--line);border-radius:25px;padding:24px;min-height:245px;display:flex;flex-direction:column;justify-content:space-between;transition:.18s}.library-item:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c7b59d}.library-item-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.content-type{display:inline-flex;font-size:9px;text-transform:uppercase;letter-spacing:.13em;font-weight:900;color:var(--accent);border:1px solid #d7c7b3;border-radius:999px;padding:6px 8px}.content-category{font-size:11px;color:var(--muted)}.library-item h3{font-family:Georgia,serif;font-size:26px;line-height:1.05;margin:24px 0 10px}.library-item p{font-size:14px;color:var(--muted);margin:0}.library-item-bottom{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-top:22px}.tagline{display:flex;gap:5px;flex-wrap:wrap}.tagline span{font-size:9px;border:1px solid var(--line);border-radius:999px;padding:4px 6px;color:#8b8378}.library-go{font-weight:850;font-size:12px;white-space:nowrap}.searchbar input{min-width:0}
.editor-shell{min-height:100vh;padding:34px;background:radial-gradient(circle at 12% 0%,#eadbc6,transparent 30%),var(--bg)}.editor-panel{width:min(920px,100%);margin:auto;background:var(--paper);border:1px solid var(--line);border-radius:32px;padding:30px;box-shadow:var(--shadow)}.editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.editor-head h1{font-family:Georgia,serif;font-size:48px;line-height:1;margin:8px 0 10px}.editor-head p{color:var(--muted);max-width:650px}.editor-warning{background:#f2e6d7;border:1px solid #dbc4a6;border-radius:16px;padding:14px 16px;font-size:13px;margin:22px 0}.editor-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.editor-form label{display:grid;gap:7px;font-size:12px;font-weight:850}.editor-form label:nth-of-type(4){grid-column:1/-1}.editor-form input,.editor-form select,.editor-form textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px 13px;color:var(--ink);font:inherit;outline:none}.editor-form input:focus,.editor-form select:focus,.editor-form textarea:focus{border-color:var(--accent)}.editor-actions{grid-column:1/-1;display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:4px}.text-button{border:0;background:transparent;font:inherit;font-weight:800;cursor:pointer;padding:9px}.text-button.danger{color:#8d3f36}.editor-list-head{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:30px;padding-top:24px}.editor-list-head h2{font-family:Georgia,serif;font-size:30px;margin:0}.editor-list-head span{font-size:12px;color:var(--muted)}.draft-list{display:grid;gap:10px;margin-top:14px}.draft-card{border:1px solid var(--line);border-radius:17px;padding:15px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.draft-card h3{font-size:16px;margin:0 0 4px}.draft-card p{font-size:12px;color:var(--muted);margin:0}.draft-card button{border:0;background:transparent;cursor:pointer;color:#8d3f36;font-weight:800}
@media(max-width:900px){.library-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.library-grid{grid-template-columns:1fr}.editor-shell{padding:14px}.editor-panel{padding:21px}.editor-head{flex-direction:column}.editor-head h1{font-size:39px}.editor-form{grid-template-columns:1fr}.editor-form label:nth-of-type(4),.editor-actions{grid-column:auto}.editor-actions .cta{width:100%}}
.center-action{text-align:center;margin-top:28px}.search-all{background:#f2e8dc}.navlinks a[href="biblioteca.html"]{font-weight:760}
@media(max-width:1100px){.nav-tools .cta{display:none}}@media(max-width:900px){.nav-tools{display:none}}
.not-found{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 15% 5%,#eadbc6,transparent 34%),var(--bg)}.not-found-card{width:min(720px,100%);background:var(--paper);border:1px solid var(--line);border-radius:34px;padding:34px;box-shadow:var(--shadow)}.not-found-card .eyebrow{margin-top:70px}.not-found-card h1{font-family:Georgia,serif;font-size:clamp(44px,7vw,72px);line-height:.95;letter-spacing:-.045em;margin:12px 0 18px}.not-found-card p{font-size:18px;color:var(--muted);max-width:600px}

/* V6 — identidade visual Pr. Salin Barros */
:root{
  --bg:#f2eee7; --paper:#fcfaf6; --ink:#1c1b18; --muted:#716b62;
  --accent:#8d5438; --accent2:#c79a62; --dark:#171713; --line:#d8cec0;
  --sage:#606a58; --soft:#e9dfd1; --radius:26px; --shadow:0 24px 70px rgba(29,23,17,.10);
  --display:Georgia,'Times New Roman',serif;
}
body{background:
  radial-gradient(circle at 8% 0%,rgba(199,154,98,.08),transparent 24rem),
  var(--bg)}
.topbar{background:rgba(242,238,231,.91);border-bottom:1px solid rgba(92,73,52,.13)}
.nav{height:82px}.brand{gap:13px}.brand-copy{display:grid;line-height:1.05}.brand-copy strong{font-family:var(--display);font-size:18px;font-weight:700;letter-spacing:-.015em}.brand-copy small{margin-top:5px;font-size:8.5px;letter-spacing:.19em;color:var(--muted);font-weight:850}
.brand-mark{width:46px;height:46px;border-radius:15px;background:linear-gradient(145deg,#27251f,#11110e);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 8px 18px rgba(24,20,16,.12);position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;place-items:center;padding:0 7px;color:#f6ead9;font-family:var(--display);font-size:15px;font-weight:700}
.brand-mark:before{content:"";position:absolute;left:50%;top:8px;bottom:8px;width:1px;background:rgba(199,154,98,.55)}.brand-mark span{position:relative;z-index:1}.brand-mark span:first-child{transform:translateX(-2px)}.brand-mark span:last-child{transform:translateX(2px);color:var(--accent2)}
.navlinks{font-weight:650}.navlinks a{position:relative}.navlinks a.active:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:2px;background:var(--accent);border-radius:9px}

.hero-v6{padding:64px 0 42px}.hero-v6-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr);gap:34px;align-items:stretch}.hero-v6-copy{padding:48px 0 42px}.hero-v6 .author-line{display:flex;align-items:center;gap:12px;color:var(--accent);font-weight:900;text-transform:uppercase;letter-spacing:.18em;font-size:11px}.hero-v6 .author-line:before{content:"";width:34px;height:1px;background:var(--accent)}.hero-v6 h1{font-family:var(--display);font-size:clamp(56px,7vw,96px);line-height:.91;letter-spacing:-.06em;margin:16px 0 24px;max-width:850px}.hero-v6 h1 em{font-weight:400;color:var(--accent);font-style:italic}.hero-v6 .lead{font-size:19px;line-height:1.65;color:#514c45;max-width:680px}.hero-v6 .hero-actions{margin-top:30px}.hero-micro{display:flex;gap:18px;flex-wrap:wrap;margin-top:32px;padding-top:22px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:800}
.hero-identity{border-radius:38px;background:linear-gradient(155deg,#24231e,#11110e 72%);color:#fff;position:relative;overflow:hidden;min-height:570px;padding:30px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow)}.hero-identity:before{content:"";position:absolute;inset:-20% auto auto 28%;width:430px;height:430px;border-radius:50%;background:radial-gradient(circle,rgba(199,154,98,.24),rgba(199,154,98,0) 67%)}.hero-identity:after{content:"SB";position:absolute;right:-20px;bottom:-82px;font-family:var(--display);font-size:300px;font-weight:700;letter-spacing:-.12em;color:rgba(255,255,255,.035)}.identity-top,.identity-center,.identity-bottom{position:relative;z-index:2}.identity-top{display:flex;justify-content:space-between;gap:16px;text-transform:uppercase;letter-spacing:.15em;font-size:10px;color:#c7c0b5}.identity-seal{width:70px;height:70px;border:1px solid rgba(255,255,255,.18);border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-style:italic;color:var(--accent2);font-size:20px}.identity-center{margin:auto 0}.identity-center .kicker{font-size:10px;text-transform:uppercase;letter-spacing:.22em;color:var(--accent2);font-weight:900}.identity-center h2{font-family:var(--display);font-weight:400;font-size:46px;line-height:1.02;letter-spacing:-.035em;margin:12px 0 14px;max-width:440px}.identity-center p{color:#d2cabc;max-width:390px;font-size:15px}.identity-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;border-top:1px solid rgba(255,255,255,.13);padding-top:20px}.identity-bottom strong{font-family:var(--display);font-size:25px;font-weight:400}.identity-bottom small{display:block;color:#aaa397;font-size:9px;text-transform:uppercase;letter-spacing:.14em;margin-top:4px}.identity-photo-ready{display:inline-flex;align-items:center;gap:8px;color:#cfc7ba;font-size:10px;text-transform:uppercase;letter-spacing:.12em}.identity-photo-ready:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--sage)}

.brand-band{padding:8px 0 22px}.brand-band-inner{display:grid;grid-template-columns:1.25fr repeat(3,.75fr);border:1px solid var(--line);background:rgba(255,255,255,.42);border-radius:24px;overflow:hidden}.brand-band-inner>*{padding:18px 20px;border-right:1px solid var(--line)}.brand-band-inner>*:last-child{border-right:0}.brand-band strong{font-family:var(--display);font-size:20px}.brand-band small{display:block;text-transform:uppercase;letter-spacing:.13em;color:var(--accent);font-weight:850;font-size:9px;margin-bottom:3px}.brand-band span{font-size:13px;color:#554f47;font-weight:750}

.pastor-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:26px;align-items:stretch}.pastor-signature{border-radius:30px;background:linear-gradient(150deg,#e7d7c4,#f4ece2);border:1px solid #d9c6ae;padding:34px;min-height:360px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.pastor-signature:after{content:"SB";position:absolute;font-family:var(--display);font-size:190px;color:rgba(121,79,48,.07);right:-13px;bottom:-46px;letter-spacing:-.12em}.pastor-signature .script{font-family:var(--display);font-size:42px;font-style:italic;color:var(--accent);position:relative;z-index:1}.pastor-signature p{position:relative;z-index:1;max-width:380px;color:#574f46}.pastor-copy{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:34px}.pastor-copy h2{font-family:var(--display);font-size:46px;line-height:1;margin:8px 0 16px;letter-spacing:-.035em}.pastor-copy p{color:var(--muted);max-width:680px}.pastor-points{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:28px}.pastor-points div{border-top:1px solid var(--line);padding-top:13px}.pastor-points strong{display:block;font-family:var(--display);font-size:20px}.pastor-points small{color:var(--muted);font-size:11px}

.portal-card,.path-card,.feature,.library-item,.event-card,.episode,.article,.side-card{box-shadow:0 7px 28px rgba(34,26,19,.035)}.portal-card{position:relative;overflow:hidden}.portal-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:transparent}.portal-card:hover:before{background:var(--accent)}.series-card{background:linear-gradient(145deg,#26251f,#1b1a16)}.series-card:before{content:"";position:absolute;left:28px;right:28px;bottom:0;height:3px;background:linear-gradient(90deg,var(--accent2),transparent)}
.section-head h2,.page-hero h1,.journey-copy h3,.feature h3,.ieab h2,.article h2,.editor-head h1,.linkhub-brand h1{font-family:var(--display)}

/* Página interna de identidade */
.identity-page-hero{padding:72px 0 30px}.identity-page-hero h1{font-family:var(--display);font-size:clamp(54px,8vw,90px);line-height:.9;letter-spacing:-.055em;margin:12px 0 20px}.identity-page-hero p{font-size:18px;color:var(--muted);max-width:760px}.brand-preview{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:30px}.brand-lockups{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.lockup{border:1px solid var(--line);border-radius:24px;padding:28px;min-height:180px;display:flex;align-items:center}.lockup.dark-lockup{background:var(--dark);color:#fff;border-color:var(--dark)}.lockup.dark-lockup .brand-copy small{color:#aaa397}.swatches{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.swatch{border-radius:22px;overflow:hidden;border:1px solid var(--line);background:var(--paper)}.swatch-color{height:110px}.swatch-meta{padding:12px}.swatch-meta strong{display:block;font-size:12px}.swatch-meta code{font-size:10px;color:var(--muted)}.type-specimen{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.type-card{border:1px solid var(--line);border-radius:28px;padding:28px;background:var(--paper)}.type-display{font-family:var(--display);font-size:50px;line-height:.98;letter-spacing:-.04em;margin:12px 0}.type-ui{font-size:16px;line-height:1.7}.brand-component-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.component-demo{border:1px solid var(--line);border-radius:24px;padding:24px;background:var(--paper);min-height:210px}.component-demo h3{margin:12px 0 8px}.photo-direction{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.photo-frame{aspect-ratio:4/5;border-radius:28px;background:linear-gradient(145deg,#26251f,#161510);color:#fff;padding:22px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}.photo-frame:before{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.12);border-radius:50%;top:34px;left:50%;transform:translateX(-50%)}.photo-frame strong,.photo-frame small{position:relative;z-index:1}.photo-frame small{color:#bbb3a7}.photo-frame.light-photo{background:linear-gradient(145deg,#eadcc8,#f8f1e7);color:var(--ink)}.photo-frame.light-photo small{color:var(--muted)}.photo-frame.event-photo{background:linear-gradient(145deg,#5d6654,#24291f)}

.linkhub-shell{background:radial-gradient(circle at 20% 10%,rgba(199,154,98,.25),transparent 35%),linear-gradient(180deg,#efe7db,#f4f0e9)}.linkhub{border-radius:38px}.linkhub-brand .brand-mark{margin:0 auto 14px;width:66px;height:66px;border-radius:21px;font-size:19px}.linkhub-brand h1{font-size:38px;letter-spacing:-.025em}.link-button{transition:.18s}.link-button:hover{background:#faf5ed;border-color:#c6ad8f}

@media(max-width:1050px){.hero-v6-grid{grid-template-columns:1fr .82fr}.brand-band-inner{grid-template-columns:1fr 1fr}.brand-band-inner>*{border-bottom:1px solid var(--line)}.brand-band-inner>*:nth-child(2){border-right:0}.brand-band-inner>*:nth-last-child(-n+2){border-bottom:0}}
@media(max-width:900px){.hero-v6-grid,.pastor-intro,.type-specimen{grid-template-columns:1fr}.hero-v6-copy{padding:14px 0 0}.hero-identity{min-height:430px}.swatches{grid-template-columns:repeat(3,1fr)}.brand-component-grid,.photo-direction{grid-template-columns:1fr 1fr}.navlinks a.active:after{display:none}}
@media(max-width:620px){.hero-v6{padding-top:34px}.hero-v6 h1{font-size:51px}.hero-v6 .lead{font-size:17px}.hero-identity{min-height:390px;padding:24px}.identity-center h2{font-size:38px}.brand-band-inner{grid-template-columns:1fr}.brand-band-inner>*{border-right:0!important;border-bottom:1px solid var(--line)!important}.brand-band-inner>*:last-child{border-bottom:0!important}.pastor-points{grid-template-columns:1fr}.brand-lockups,.swatches,.brand-component-grid,.photo-direction{grid-template-columns:1fr}.swatch-color{height:90px}.identity-page-hero h1{font-size:52px}.brand-copy strong{font-size:16px}.brand-copy small{font-size:7.5px}.nav{height:76px}}

/* ===== V7 HOME DARK ===== */
body.home-dark{background:#0c0d0b;color:#f4efe5}
body.home-dark .dark-topbar{background:rgba(10,11,9,.92);border-bottom:1px solid rgba(225,190,132,.14);backdrop-filter:blur(14px)}
body.home-dark .dark-topbar .brand-copy strong,body.home-dark .dark-topbar .navlinks a{color:#f6f1e8}
body.home-dark .dark-topbar .brand-copy small{color:#9f978d}
body.home-dark .dark-topbar .navlinks a:hover,body.home-dark .dark-topbar .navlinks a.active{color:#d7ad70}
body.home-dark .brand-mark{border-color:rgba(215,173,112,.45);color:#d7ad70}
body.home-dark .nav-search{color:#e9e1d6}
.ghost-dark{background:transparent!important;color:#f5ede2!important;border:1px solid rgba(245,237,226,.35)!important}
.gold{background:#d7ad70!important;color:#17120d!important;border-color:#d7ad70!important}
.dark-hero{background:radial-gradient(circle at 80% 10%,rgba(215,173,112,.11),transparent 26%),linear-gradient(135deg,#11120f 0%,#0c0d0b 62%,#15140f 100%);border-bottom:1px solid rgba(225,190,132,.12)}
.dark-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:640px}
.dark-hero-copy{padding:72px 42px 56px 0;display:flex;flex-direction:column;justify-content:center}
.dark-eyebrow{display:block;color:#d7ad70;font-size:11px;letter-spacing:.18em;text-transform:uppercase;font-weight:800}
.dark-hero h1{font-size:clamp(56px,7.4vw,104px);line-height:.88;letter-spacing:-.06em;margin:16px 0 24px;color:#fff}
.dark-hero h1 em{color:#e2b77a;font-family:Georgia,'Times New Roman',serif;font-style:normal;font-weight:700}
.dark-hero-copy>p{font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.45;max-width:650px;color:#d3cbc0;margin:0}
.dark-hero blockquote{margin:34px 0 0;padding-top:22px;border-top:1px solid rgba(215,173,112,.38);font-family:Georgia,'Times New Roman',serif;font-size:16px;font-style:italic;line-height:1.55;color:#d8d0c5;max-width:580px}
.dark-hero blockquote small{display:block;font-family:system-ui,sans-serif;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-style:normal;color:#91897d;margin-top:10px}
.dark-hero-media{position:relative;overflow:hidden;min-height:640px;background:#151612}
.dark-hero-media img{width:100%;height:100%;object-fit:cover;object-position:47% 24%;display:block;filter:saturate(.9) contrast(1.05) brightness(.88)}
.dark-hero-media .media-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0c0d0b 0%,transparent 24%,transparent 70%,rgba(12,13,11,.35) 100%),linear-gradient(0deg,rgba(12,13,11,.6),transparent 40%)}
.hand-note{position:absolute;right:26px;bottom:30px;color:#e5bc7f;font-family:Georgia,'Times New Roman',serif;font-size:27px;font-style:italic;line-height:1.08;text-align:right;transform:rotate(-3deg);z-index:2}
.dark-section{padding:58px 0;background:#0d0e0c}.featured-wrap{padding-top:44px;padding-bottom:26px}
.checkup-feature{display:grid;grid-template-columns:.86fr 1.14fr;border:1px solid rgba(225,190,132,.17);border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#171812,#10110e);text-decoration:none;color:inherit;box-shadow:0 20px 70px rgba(0,0,0,.25)}
.checkup-copy{padding:38px 40px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.checkup-copy h2{font-size:56px;line-height:.95;letter-spacing:-.05em;margin:12px 0 10px;color:#fff}.checkup-copy h2 em{color:#e2b77a;font-family:Georgia,'Times New Roman',serif;font-style:normal}.checkup-copy p{font-family:Georgia,'Times New Roman',serif;font-size:20px;color:#c9c0b2;margin:0 0 22px}.checkup-media{min-height:330px}.checkup-media img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.9) brightness(.82)}
.dark-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.dark-section-head h2{font-size:40px;letter-spacing:-.04em;margin:8px 0 0;color:#fff}.dark-section-head>a{color:#d7ad70;text-decoration:none;font-size:13px}
.dark-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.dark-card{border:1px solid rgba(225,190,132,.14);border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#181915,#11120f);padding-bottom:20px;text-decoration:none;color:#f5f0e7;transition:transform .2s,border-color .2s}.dark-card:hover{transform:translateY(-3px);border-color:rgba(215,173,112,.4)}.dark-card-img{height:190px;overflow:hidden;background:#1d1d18}.dark-card-img img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.85) brightness(.75)}.dark-card:first-child .dark-card-img img{object-position:50% 18%}.dark-card span,.dark-card h3,.dark-card p{margin-left:18px;margin-right:18px}.dark-card>span{display:block;margin-top:17px;color:#d7ad70;font-size:10px;letter-spacing:.18em;font-weight:800}.dark-card h3{font-family:Georgia,'Times New Roman',serif;font-size:25px;margin-top:8px;margin-bottom:5px}.dark-card p{color:#aaa297;font-size:14px;margin-bottom:0}.book-art{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 25%,rgba(215,173,112,.14),transparent 26%),linear-gradient(135deg,#2a261e,#11120f);font-family:Georgia,'Times New Roman',serif;color:#e4c99e;font-size:26px;text-align:center;line-height:1.2}
.church-dark{background:#0f100e;border-top:1px solid rgba(225,190,132,.12);border-bottom:1px solid rgba(225,190,132,.12)}.church-dark-grid{display:grid;grid-template-columns:.82fr 1.18fr;min-height:470px}.church-dark-copy{padding:58px 46px 58px 0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.church-dark-copy h2{font-size:58px;line-height:.94;letter-spacing:-.05em;margin:12px 0 18px;color:#fff}.church-dark-copy p{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.55;color:#c9c1b6;max-width:520px}.church-dark-media{position:relative;overflow:hidden}.church-dark-media>img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.95) brightness(.58)}.church-dark-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0f100e 0%,transparent 30%)}.church-values{position:absolute;z-index:2;right:22px;top:50%;transform:translateY(-50%);display:grid;gap:10px}.church-values div{background:rgba(9,10,8,.72);border:1px solid rgba(225,190,132,.16);border-radius:12px;padding:10px 13px;min-width:160px;backdrop-filter:blur(8px)}.church-values strong{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:10px;color:#f0e5d3}.church-values span{font-size:12px;color:#aaa296}
.dark-quote{padding:46px 0;background:radial-gradient(circle at 50% 0%,rgba(215,173,112,.11),transparent 35%),#11120f}.dark-quote blockquote{font-family:Georgia,'Times New Roman',serif;font-size:32px;font-style:italic;text-align:center;color:#eee3d2;margin:0 auto;max-width:850px}.dark-quote small{display:block;font-family:system-ui,sans-serif;font-style:normal;font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#8f877b;margin-top:14px}.dark-search{padding:54px 0 64px;background:#0d0e0c}.home-dark .searchbar input{background:#11120f;color:#fff;border:1px solid rgba(225,190,132,.18)}.home-dark .search-results{color:#eee}
.dark-footer{background:#090a08;border-top:1px solid rgba(225,190,132,.12);padding-top:30px}.dark-footer-grid{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.footer-id{display:flex;align-items:center;gap:14px}.footer-id img{width:54px;height:54px;object-fit:cover;border-radius:50%}.footer-id strong{font-family:Georgia,'Times New Roman',serif;font-size:22px}.footer-id small{display:block;font-size:9px;letter-spacing:.15em;color:#8f887e;margin-top:4px}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer-links a{color:#cfc6ba;text-decoration:none;font-size:13px}.home-dark .footer-bottom{color:#888176;border-top:1px solid rgba(225,190,132,.1);margin-top:26px;padding-top:18px;padding-bottom:22px}
@media(max-width:980px){.dark-hero-grid,.church-dark-grid{grid-template-columns:1fr}.dark-hero-copy{padding:56px 0 44px}.dark-hero-media{min-height:520px}.dark-card-grid{grid-template-columns:repeat(2,1fr)}.checkup-feature{grid-template-columns:1fr}.checkup-media{min-height:280px}.church-dark-copy{padding:50px 0 30px}.church-dark-media{min-height:430px}.church-values{left:20px;right:20px;top:auto;bottom:20px;transform:none;grid-template-columns:1fr 1fr}}
@media(max-width:640px){.dark-hero-copy{padding:42px 0 32px}.dark-hero h1{font-size:58px}.dark-hero-copy>p{font-size:18px}.dark-hero-media{min-height:400px}.checkup-copy{padding:28px 24px}.checkup-copy h2{font-size:42px}.dark-card-grid{grid-template-columns:1fr}.dark-section-head{align-items:flex-start;flex-direction:column}.church-dark-copy h2{font-size:48px}.church-values{grid-template-columns:1fr}.church-dark-media{min-height:560px}.dark-quote blockquote{font-size:25px}.dark-footer-grid{align-items:flex-start;flex-direction:column}.footer-links{gap:12px 18px}}


/* V9 — identidade Pr. Salin Barros: emblema circular coroado */
.brand-emblem{width:56px;height:56px;flex:0 0 56px;border-radius:50%;display:block;object-fit:cover;box-shadow:0 7px 18px rgba(0,0,0,.18);background:#11110e}
.brand-copy strong{font-size:19px}
.brand-copy small{margin-top:5px;letter-spacing:.17em;font-weight:850}
body.home-dark .dark-topbar .brand-copy strong{color:#d7ad70}
body.home-dark .dark-topbar .brand-copy small{color:#e0bd84}
body.home-dark .dark-topbar .brand-emblem{box-shadow:0 0 0 1px rgba(215,173,112,.08),0 7px 20px rgba(0,0,0,.38)}
.linkhub-brand .brand-emblem{width:76px;height:76px;margin:0 auto 14px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.lockup .brand-emblem{width:64px;height:64px;flex-basis:64px}
@media(max-width:620px){.brand-emblem{width:48px;height:48px;flex-basis:48px}.brand-copy strong{font-size:16px}.brand-copy small{font-size:7.5px;letter-spacing:.14em}}

/* ===== V12 — CALIBRAGEM DA LOGO / LOCKUP ===== */
.topbar .nav{height:88px}
.topbar .brand{gap:14px}
.topbar .brand-emblem{width:72px;height:72px;flex:0 0 72px;object-fit:cover}
.topbar .brand-copy strong{font-size:21px;line-height:1.02;letter-spacing:-.018em}
.topbar .brand-copy small{margin-top:6px;font-size:9px;letter-spacing:.18em}

footer .brand{gap:16px;align-items:center}
footer .brand-emblem{width:84px;height:84px;flex:0 0 84px;object-fit:cover}
footer .brand-copy strong{font-size:28px;line-height:1.02;letter-spacing:-.018em}
footer .brand-copy small{margin-top:6px;font-size:10px;letter-spacing:.17em}

body.home-dark .dark-topbar .brand-emblem{box-shadow:0 0 0 1px rgba(215,173,112,.10),0 9px 26px rgba(0,0,0,.42)}

@media(max-width:900px){
  .topbar .nav{height:84px}
  .topbar .brand-emblem{width:64px;height:64px;flex-basis:64px}
  footer .brand-emblem{width:74px;height:74px;flex-basis:74px}
  footer .brand-copy strong{font-size:24px}
}

@media(max-width:620px){
  .topbar .nav{height:78px}
  .topbar .brand{gap:11px}
  .topbar .brand-emblem{width:56px;height:56px;flex-basis:56px}
  .topbar .brand-copy strong{font-size:18px}
  .topbar .brand-copy small{font-size:8px;letter-spacing:.15em}
  footer .brand{gap:12px}
  footer .brand-emblem{width:64px;height:64px;flex-basis:64px}
  footer .brand-copy strong{font-size:21px}
  footer .brand-copy small{font-size:8.5px;letter-spacing:.15em}
}


/* ===== V13 — HERO LIMPO / FOTO PRINCIPAL ===== */
.dark-hero-media{
  background:
    radial-gradient(circle at 70% 18%, rgba(219,169,104,.16), transparent 35%),
    #11120f;
}
.dark-hero-media img{
  object-position:54% 34%;
  filter:saturate(.92) contrast(1.04) brightness(.82);
}
.dark-hero-media .media-shade{
  background:
    linear-gradient(90deg,#0c0d0b 0%,rgba(12,13,11,.78) 7%,rgba(12,13,11,.22) 25%,transparent 47%),
    linear-gradient(0deg,rgba(12,13,11,.72) 0%,transparent 38%),
    linear-gradient(180deg,rgba(12,13,11,.08),transparent 26%);
}
@media(max-width:980px){
  .dark-hero-media img{object-position:52% 28%}
}
@media(max-width:640px){
  .dark-hero-media img{object-position:50% 24%}
}


/* ===== V14 — HOME CLARA / AJUSTES DE PROPORÇÃO ===== */
body.home-light{background:linear-gradient(180deg,#f4efe7 0%,#f7f3ec 100%)}
body.home-light .topbar{background:rgba(244,239,231,.94);border-bottom:1px solid rgba(92,73,52,.11)}
body.home-light .navlinks a.active{color:var(--accent)}
body.home-light .navlinks a.active:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:2px;background:var(--accent);border-radius:10px}
body.home-light .nav-search{background:rgba(255,255,255,.65)}

.home-hero-light{padding:40px 0 26px}
.home-hero-card{display:grid;grid-template-columns:1.02fr .98fr;background:linear-gradient(135deg,#f8f4ee 0%,#f1e9de 100%);border:1px solid rgba(120,100,75,.12);border-radius:38px;overflow:hidden;box-shadow:0 24px 60px rgba(31,24,17,.07)}
.home-hero-copy{padding:64px 54px 56px;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}
.home-hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(56px,7vw,100px);line-height:.9;letter-spacing:-.06em;margin:14px 0 24px}
.home-hero-copy h1 em{font-style:normal;color:var(--accent2)}
.home-hero-copy .home-intro{font-family:Georgia,'Times New Roman',serif;font-size:21px;line-height:1.48;max-width:620px;color:#514a43;margin:0}
.home-hero-copy .hero-actions{margin-top:30px}
.home-quote{margin:30px 0 0;padding-top:22px;border-top:1px solid rgba(120,100,75,.18);font-family:Georgia,'Times New Roman',serif;font-size:16px;font-style:italic;line-height:1.6;color:#5c554d;max-width:580px}
.home-quote small{display:block;font-family:Inter,system-ui,sans-serif;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-style:normal;color:#8d8173;margin-top:11px}
.home-hero-media{position:relative;min-height:640px;background:linear-gradient(180deg,#d5c4ad 0%,#f0e7da 100%)}
.home-hero-media:before{content:"";position:absolute;left:-1px;top:0;bottom:0;width:120px;background:linear-gradient(90deg,#f1e9de 0%,rgba(241,233,222,.8) 35%,transparent 100%);z-index:2}
.home-hero-media-inner{position:absolute;inset:0}
.home-hero-media img{width:100%;height:100%;object-fit:cover;object-position:54% 28%;display:block;filter:saturate(.96) contrast(1.02) brightness(.98)}
.home-highlight-strip{padding-top:10px;padding-bottom:10px}
.home-pillars{background:rgba(255,255,255,.48)}
.home-pillars strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:26px;margin-bottom:6px}
.feature-banner{display:grid;grid-template-columns:.92fr 1.08fr;padding:0;overflow:hidden;text-decoration:none;color:inherit}
.feature-banner-copy{padding:34px 36px;display:flex;flex-direction:column;justify-content:center}
.feature-banner-copy h3{font-size:46px;line-height:.98;margin:16px 0 12px}
.feature-banner-copy .link{margin-top:18px;font-size:14px;font-weight:800}
.feature-banner-media{min-height:330px;background:#1a1814}
.feature-banner-media img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.88) brightness(.82)}
.home-card-grid .portal-card{min-height:240px}
.home-ieab{background:linear-gradient(135deg,#1c1c18,#383126);box-shadow:0 16px 44px rgba(18,16,12,.14)}
.home-ieab .mini div strong{display:block;margin-bottom:4px;color:#fff}

.topbar .brand-emblem{width:78px;height:78px;flex:0 0 78px}
.topbar .brand-copy strong{font-size:22px}
.topbar .brand-copy small{font-size:9px}
footer .brand-emblem{width:88px;height:88px;flex:0 0 88px}
footer .brand-copy strong{font-size:29px}
footer .brand-copy small{font-size:10px}

@media(max-width:1100px){
  .home-hero-card{grid-template-columns:1fr}
  .home-hero-copy{padding:54px 42px 34px}
  .home-hero-media{min-height:520px}
  .home-hero-media:before{left:0;right:0;top:0;bottom:auto;width:auto;height:90px;background:linear-gradient(180deg,#f1e9de 0%,rgba(241,233,222,.72) 38%,transparent 100%)}
  .feature-banner{grid-template-columns:1fr}
  .feature-banner-media{min-height:260px}
}
@media(max-width:900px){
  .topbar .nav{height:84px;gap:16px}
  .topbar .brand-emblem{width:68px;height:68px;flex-basis:68px}
  .topbar .brand-copy strong{font-size:19px}
  .topbar .brand-copy small{font-size:8.3px;letter-spacing:.15em}
  footer .brand-emblem{width:76px;height:76px;flex-basis:76px}
  footer .brand-copy strong{font-size:24px}
  .grid4.home-card-grid{grid-template-columns:1fr 1fr}
  .home-pillars{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .home-hero-light{padding-top:24px}
  .home-hero-card{border-radius:28px}
  .home-hero-copy{padding:34px 24px 28px}
  .home-hero-copy h1{font-size:58px;line-height:.92;margin-bottom:18px}
  .home-hero-copy .home-intro{font-size:18px}
  .home-hero-copy .hero-actions{gap:10px;flex-direction:column;align-items:stretch}
  .home-quote{margin-top:24px;padding-top:18px;font-size:15px}
  .home-hero-media{min-height:390px}
  .home-hero-media img{object-position:52% 22%}
  .home-pillars{grid-template-columns:1fr}
  .grid4.home-card-grid{grid-template-columns:1fr}
  .feature-banner-copy{padding:26px 24px}
  .feature-banner-copy h3{font-size:36px}
  .topbar .nav{height:78px}
  .topbar .brand{gap:10px}
  .topbar .brand-emblem{width:60px;height:60px;flex-basis:60px}
  .topbar .brand-copy strong{font-size:17px}
  .topbar .brand-copy small{font-size:7.6px;letter-spacing:.13em}
  footer .brand-emblem{width:68px;height:68px;flex-basis:68px}
  footer .brand-copy strong{font-size:21px}
  footer .brand-copy small{font-size:8.5px;letter-spacing:.14em}
}


/* ===== V15 — HOME CLARA / HERO INTEGRADO / MOBILE REFINADO ===== */
body.home-light{background:#f5f0e8}
body.home-light .wrap{width:min(1240px,calc(100% - 40px))}
body.home-light .topbar{background:rgba(247,243,236,.92);border-bottom:1px solid rgba(82,65,46,.10);box-shadow:0 8px 28px rgba(31,24,17,.025)}
body.home-light .topbar .nav{height:92px}
body.home-light .topbar .brand{gap:14px}
body.home-light .topbar .brand-emblem{width:74px;height:74px;flex:0 0 74px}
body.home-light .topbar .brand-copy strong{font-size:21px}
body.home-light .topbar .brand-copy small{font-size:8.5px;letter-spacing:.17em;margin-top:5px}
body.home-light .navlinks{gap:22px}
body.home-light .navlinks a{font-weight:760;color:#37332e;position:relative}
body.home-light .nav-tools{gap:10px}

.home-hero-light{padding:34px 0 24px}
.home-hero-card{position:relative;grid-template-columns:1.04fr .96fr;min-height:690px;background:linear-gradient(125deg,#fbf8f2 0%,#f3ebdf 54%,#e5d7c6 100%);border:0;border-radius:42px;overflow:hidden;box-shadow:0 28px 72px rgba(52,39,26,.085)}
.home-hero-card:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:4;box-shadow:inset 0 0 0 1px rgba(95,73,48,.08);border-radius:42px}
.home-hero-copy{padding:70px 54px 58px 58px;z-index:3}
.home-hero-copy .eyebrow{margin-bottom:6px}
.home-hero-copy h1{font-size:clamp(60px,6.8vw,100px);line-height:.89;margin:10px 0 26px;max-width:620px}
.home-hero-copy h1 em{color:#b8824f}
.home-hero-copy .home-intro{font-size:21px;line-height:1.48;max-width:580px;color:#4e473f}
.home-hero-copy .hero-actions{margin-top:30px}
.home-hero-copy .hero-actions .cta{min-height:50px;padding-inline:21px}
.home-quote{max-width:560px;margin-top:34px;padding-top:22px;color:#625a51}

.home-hero-media{min-height:690px;margin-left:-88px;background:transparent;z-index:1}
.home-hero-media-inner{inset:0}
.home-hero-media img{object-position:57% 28%;filter:saturate(.91) contrast(1.01) brightness(.99)}
.home-hero-media:before{content:"";position:absolute;z-index:2;left:0;top:0;bottom:0;width:255px;background:linear-gradient(90deg,#f3ebdf 0%,rgba(243,235,223,.95) 16%,rgba(243,235,223,.72) 38%,rgba(243,235,223,.26) 68%,transparent 100%)}
.home-hero-media:after{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(44,32,20,.18) 0%,transparent 28%),radial-gradient(circle at 73% 28%,transparent 0%,transparent 42%,rgba(73,51,31,.10) 78%,rgba(73,51,31,.18) 100%)}

.home-highlight-strip{padding:18px 0 4px}
.home-pillars{border-radius:28px;border-color:rgba(96,76,53,.10);box-shadow:0 12px 32px rgba(48,36,24,.035)}
.home-pillars>div{padding:21px 20px}
.home-pillars strong{font-size:24px}
.home-pillars span{line-height:1.45}

.home-featured{padding-top:68px}
.home-featured .section-head{margin-bottom:26px}
.feature-banner{border-radius:34px;box-shadow:0 16px 42px rgba(43,33,23,.055)}
.feature-banner-copy{padding:42px 42px}
.feature-banner-copy h3{font-size:48px}
.feature-banner-media{min-height:360px}

.home-card-grid{gap:16px}
.home-card-grid .portal-card{min-height:228px;padding:25px}
.home-card-grid .portal-card h3{font-size:23px;line-height:1.15}
.home-ieab{border-radius:36px;padding:46px}

@media(max-width:1100px){
  body.home-light .navlinks{gap:14px;font-size:13px}
  body.home-light .topbar .brand-emblem{width:66px;height:66px;flex-basis:66px}
  .home-hero-card{min-height:0;grid-template-columns:1fr}
  .home-hero-copy{padding:54px 44px 38px}
  .home-hero-copy h1{max-width:760px}
  .home-hero-media{margin-left:0;min-height:540px}
  .home-hero-media:before{left:0;right:0;top:0;bottom:auto;width:auto;height:145px;background:linear-gradient(180deg,#f3ebdf 0%,rgba(243,235,223,.86) 30%,rgba(243,235,223,.32) 70%,transparent 100%)}
  .home-hero-media img{object-position:52% 25%}
}

@media(max-width:900px){
  body.home-light .wrap{width:min(100% - 28px,1240px)}
  body.home-light .topbar .nav{height:82px}
  body.home-light .topbar .brand-emblem{width:62px;height:62px;flex-basis:62px}
  body.home-light .topbar .brand-copy strong{font-size:18px}
  body.home-light .topbar .brand-copy small{font-size:7.8px}
  body.home-light .navlinks{top:82px}
  .home-hero-light{padding-top:24px}
  .home-hero-card{border-radius:32px}
  .home-hero-card:after{border-radius:32px}
  .home-hero-copy h1{font-size:clamp(56px,10vw,82px);line-height:.91}
  .home-hero-media{min-height:500px}
}

@media(max-width:620px){
  body.home-light .wrap{width:min(100% - 20px,1240px)}
  body.home-light .topbar .nav{height:74px;gap:8px}
  body.home-light .topbar .brand{gap:9px;min-width:0}
  body.home-light .topbar .brand-emblem{width:54px;height:54px;flex-basis:54px}
  body.home-light .topbar .brand-copy strong{font-size:16px;white-space:nowrap}
  body.home-light .topbar .brand-copy small{font-size:6.9px;letter-spacing:.11em;white-space:nowrap}
  body.home-light .menu-btn{width:42px;height:42px;flex:0 0 42px}
  body.home-light .navlinks{top:74px;left:10px;right:10px}
  .home-hero-light{padding:14px 0 18px}
  .home-hero-card{border-radius:27px;background:linear-gradient(180deg,#fbf8f2 0%,#f1e8dc 62%,#e7dac9 100%)}
  .home-hero-card:after{border-radius:27px}
  .home-hero-copy{padding:31px 22px 24px}
  .home-hero-copy .eyebrow{font-size:10px;letter-spacing:.17em}
  .home-hero-copy h1{font-size:clamp(50px,15vw,67px);line-height:.91;letter-spacing:-.055em;margin:10px 0 18px}
  .home-hero-copy .home-intro{font-size:17px;line-height:1.5;max-width:100%}
  .home-hero-copy .hero-actions{margin-top:24px;display:grid;grid-template-columns:1fr;gap:9px}
  .home-hero-copy .hero-actions .cta{width:100%;min-height:48px}
  .home-quote{font-size:14px;line-height:1.55;margin-top:24px;padding-top:17px}
  .home-quote small{font-size:8.5px}
  .home-hero-media{min-height:420px}
  .home-hero-media:before{height:105px;background:linear-gradient(180deg,#f1e8dc 0%,rgba(241,232,220,.86) 32%,rgba(241,232,220,.30) 72%,transparent 100%)}
  .home-hero-media:after{background:linear-gradient(0deg,rgba(44,32,20,.16),transparent 30%)}
  .home-hero-media img{object-position:53% 22%}
  .home-highlight-strip{padding-top:4px}
  .home-pillars{border-radius:24px}
  .home-pillars>div{padding:18px 18px}
  .home-pillars strong{font-size:22px}
  .home-featured{padding-top:52px}
  .feature-banner{border-radius:28px}
  .feature-banner-copy{padding:28px 23px}
  .feature-banner-copy h3{font-size:36px}
  .feature-banner-media{min-height:245px}
  .home-card-grid .portal-card{min-height:190px;padding:22px}
  .home-ieab{padding:29px 24px;border-radius:28px}
}


/* ===== V16 — ALINHAMENTO FINO MARCA / RODAPÉ ===== */
/* Marca: centro visual consistente no topo e no rodapé */
.brand{align-items:center}
.brand-emblem{
  display:block;
  object-fit:contain;
  object-position:center;
  margin:0;
  padding:0;
  transform:translateY(-1px);
}
.brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}
.brand-copy strong,.brand-copy small{display:block}

/* Cabeçalho */
.topbar .brand{align-self:center}
.topbar .brand-emblem{transform:translateY(-1px)}
.topbar .brand-copy{padding-top:1px}

/* Rodapé — alinhamento e proporção */
footer{
  margin-top:76px;
  padding:58px 0 34px;
  background:rgba(255,253,249,.42);
}
.footer-grid{
  grid-template-columns:minmax(320px,1.45fr) repeat(3,minmax(150px,.72fr));
  gap:46px;
  align-items:start;
}
.footer-grid>div{min-width:0}
.footer-grid>div:first-child{padding-right:24px}
footer .brand{
  display:inline-flex;
  align-items:center;
  gap:15px;
  margin-bottom:19px;
}
footer .brand-emblem{
  width:74px;
  height:74px;
  flex:0 0 74px;
  transform:translateY(-1px);
}
footer .brand-copy strong{
  font-family:Georgia,'Times New Roman',serif;
  font-size:26px;
  line-height:1.02;
  letter-spacing:-.02em;
}
footer .brand-copy small{
  margin-top:6px;
  font-size:8.8px;
  line-height:1.25;
  letter-spacing:.16em;
}
.footer-grid>div:first-child>p{
  margin:0;
  max-width:390px!important;
  line-height:1.62;
}
.footer-grid h5{
  margin:8px 0 16px;
  font-size:12px;
  line-height:1;
  letter-spacing:.16em;
}
.footer-grid a{
  margin:9px 0;
  line-height:1.35;
}
.footer-grid .microcopy{
  display:block;
  max-width:245px;
  line-height:1.58;
  margin-top:10px;
}
.footer-badge{margin-top:18px}
.footer-bottom{
  margin-top:42px;
  padding-top:20px;
  min-height:42px;
  align-items:center;
}

/* Desktop largo: mantém marca e colunas na mesma linha visual */
@media(min-width:1101px){
  footer .footer-grid{padding-top:2px}
}

/* Tablet */
@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1.25fr .75fr;
    gap:36px 30px;
  }
  .footer-grid>div:first-child{
    grid-column:1/-1;
    padding-right:0;
    padding-bottom:4px;
  }
  footer .brand-emblem{width:70px;height:70px;flex-basis:70px}
  footer .brand-copy strong{font-size:24px}
  .footer-grid h5{margin-top:2px}
}

/* Celular */
@media(max-width:560px){
  footer{
    margin-top:58px;
    padding:44px 0 96px;
  }
  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }
  .footer-grid>div:first-child{
    padding-bottom:4px;
  }
  footer .brand{
    gap:12px;
    margin-bottom:16px;
  }
  footer .brand-emblem{
    width:62px;
    height:62px;
    flex-basis:62px;
    transform:translateY(0);
  }
  footer .brand-copy strong{
    font-size:21px;
  }
  footer .brand-copy small{
    font-size:7.8px;
    letter-spacing:.13em;
  }
  .footer-grid>div:first-child>p{
    max-width:100%!important;
    font-size:14px;
  }
  .footer-grid h5{
    margin:0 0 13px;
  }
  .footer-grid a{
    margin:8px 0;
  }
  .footer-bottom{
    margin-top:34px;
    padding-top:18px;
    gap:7px;
    line-height:1.45;
  }
}


/* ===== V17 — LOGO ÓPTICA + HERO PREMIUM ===== */
/* Cabeçalho: centralidade óptica e proporção do emblema */
.topbar .nav{
  align-items:center;
}
.topbar .brand{
  display:flex;
  align-items:center;
  min-height:100%;
  gap:15px;
}
.topbar .brand-emblem{
  width:70px!important;
  height:70px!important;
  flex:0 0 70px!important;
  aspect-ratio:1/1;
  object-fit:contain;
  object-position:50% 50%;
  border-radius:50%;
  transform:none!important;
  margin:0!important;
  align-self:center;
  box-shadow:0 8px 22px rgba(24,18,12,.16);
}
.topbar .brand-copy{
  padding:0!important;
  justify-content:center;
  transform:translateY(1px);
}
.topbar .brand-copy strong{
  line-height:1.02;
}
.topbar .brand-copy small{
  line-height:1.15;
}

/* Home: foto e área editorial passam a funcionar como uma única composição */
.home-hero-card{
  grid-template-columns:48% 52%;
  min-height:675px;
  background:
    radial-gradient(circle at 54% 45%,rgba(205,165,112,.10),transparent 32%),
    linear-gradient(115deg,#fbf8f2 0%,#f6f0e7 46%,#eadfce 100%);
}
.home-hero-copy{
  padding:62px 44px 54px 54px;
  background:transparent;
  z-index:5;
}
.home-hero-copy h1{
  font-size:clamp(58px,6.3vw,94px);
  line-height:.91;
  margin:10px 0 24px;
}
.home-hero-copy .home-intro{
  max-width:540px;
}
.home-hero-media{
  min-height:675px;
  margin-left:-150px;
  overflow:hidden;
  background:#e9ddcd;
  z-index:1;
}
.home-hero-media-inner{
  inset:0;
  overflow:hidden;
}
.home-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:58% 24%;
  filter:none!important;
  image-rendering:auto;
  transform:translateZ(0) scale(1.002);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.10) 6%,rgba(0,0,0,.45) 16%,rgba(0,0,0,.82) 27%,#000 38%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.10) 6%,rgba(0,0,0,.45) 16%,rgba(0,0,0,.82) 27%,#000 38%,#000 100%);
}
.home-hero-media:before{
  width:360px;
  left:0;
  background:linear-gradient(90deg,#f6f0e7 0%,rgba(246,240,231,.94) 20%,rgba(246,240,231,.63) 46%,rgba(246,240,231,.20) 72%,transparent 100%);
}
.home-hero-media:after{
  background:
    linear-gradient(0deg,rgba(49,35,22,.12) 0%,transparent 27%),
    linear-gradient(180deg,rgba(255,246,232,.06),transparent 26%);
}
.home-hero-card:before{
  content:"";
  position:absolute;
  left:38%;
  top:-8%;
  width:34%;
  height:116%;
  z-index:3;
  pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(246,240,231,.55) 0%,rgba(246,240,231,.28) 35%,transparent 72%);
  filter:blur(5px);
}

/* Rodapé: mesma centralidade da marca do cabeçalho */
footer .brand{
  align-items:center!important;
}
footer .brand-emblem{
  width:70px!important;
  height:70px!important;
  flex:0 0 70px!important;
  aspect-ratio:1/1;
  object-fit:contain;
  object-position:50% 50%;
  border-radius:50%;
  transform:none!important;
  align-self:center;
  margin:0!important;
  box-shadow:0 7px 20px rgba(24,18,12,.12);
}
footer .brand-copy{
  padding:0!important;
  justify-content:center;
  transform:translateY(1px);
}

/* Tablet: mantém transição suave sem perder qualidade */
@media(max-width:1100px){
  .home-hero-card{
    grid-template-columns:1fr;
    min-height:0;
  }
  .home-hero-copy{
    padding:50px 42px 34px;
  }
  .home-hero-media{
    min-height:520px;
    margin-left:0;
    margin-top:-46px;
  }
  .home-hero-media img{
    object-position:52% 22%;
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.25) 8%,rgba(0,0,0,.75) 18%,#000 30%,#000 100%);
    mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.25) 8%,rgba(0,0,0,.75) 18%,#000 30%,#000 100%);
  }
  .home-hero-media:before{
    left:0;right:0;top:0;bottom:auto;width:auto;height:155px;
    background:linear-gradient(180deg,#f2e9dd 0%,rgba(242,233,221,.80) 28%,rgba(242,233,221,.30) 70%,transparent 100%);
  }
  .home-hero-card:before{display:none}
}

/* Celular: marca central e hero compacto, sem cortes bruscos */
@media(max-width:620px){
  body.home-light .topbar .nav{
    height:76px;
  }
  body.home-light .topbar .brand{
    gap:10px;
  }
  body.home-light .topbar .brand-emblem{
    width:54px!important;
    height:54px!important;
    flex-basis:54px!important;
  }
  body.home-light .topbar .brand-copy{
    transform:none;
  }
  .home-hero-card{
    border-radius:27px;
  }
  .home-hero-copy{
    padding:30px 22px 22px;
  }
  .home-hero-copy h1{
    font-size:clamp(48px,14.2vw,64px);
    line-height:.92;
  }
  .home-hero-media{
    min-height:410px;
    margin-top:-28px;
  }
  .home-hero-media img{
    object-position:52% 18%;
    transform:translateZ(0) scale(1);
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.28) 8%,rgba(0,0,0,.78) 20%,#000 32%,#000 100%);
    mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.28) 8%,rgba(0,0,0,.78) 20%,#000 32%,#000 100%);
  }
  footer .brand-emblem{
    width:60px!important;
    height:60px!important;
    flex-basis:60px!important;
  }
  footer .brand-copy{
    transform:none;
  }
}


/* ===== V18 — CENTRALIDADE REAL DA MARCA + HERO SEM EMENDA ===== */
/* Reserva um espaço próprio para o selo: o círculo fica centralizado de verdade,
   enquanto o texto permanece alinhado independentemente do diâmetro visual. */
.topbar .brand{
  display:grid!important;
  grid-template-columns:82px auto;
  column-gap:11px!important;
  align-items:center!important;
  min-height:100%;
}
.topbar .brand-emblem{
  width:68px!important;
  height:68px!important;
  flex:none!important;
  justify-self:center!important;
  align-self:center!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  margin:0!important;
  box-shadow:0 7px 18px rgba(24,18,12,.12)!important;
}
.topbar .brand-copy{
  align-self:center!important;
  justify-self:start!important;
  transform:none!important;
  padding:0!important;
}

/* Mesmo princípio no rodapé */
footer .brand{
  display:grid!important;
  grid-template-columns:82px auto;
  column-gap:12px!important;
  align-items:center!important;
  min-height:82px;
}
footer .brand-emblem{
  width:68px!important;
  height:68px!important;
  flex:none!important;
  justify-self:center!important;
  align-self:center!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  margin:0!important;
  box-shadow:0 6px 16px rgba(24,18,12,.10)!important;
}
footer .brand-copy{
  align-self:center!important;
  justify-self:start!important;
  transform:none!important;
  padding:0!important;
}

/* Hero desktop: texto e foto passam a existir dentro de um único campo visual.
   A foto é absoluta e recebe máscara gradual; não existe mais uma "divisa" vertical. */
@media(min-width:1101px){
  .home-hero-card{
    display:block!important;
    position:relative!important;
    min-height:660px!important;
    background:
      radial-gradient(circle at 47% 42%,rgba(211,174,125,.12),transparent 27%),
      linear-gradient(112deg,#fbf8f2 0%,#f7f1e9 48%,#eadfce 100%)!important;
  }
  .home-hero-copy{
    position:relative!important;
    width:49%!important;
    min-height:660px!important;
    padding:58px 24px 50px 54px!important;
    z-index:6!important;
    justify-content:center!important;
    background:transparent!important;
  }
  .home-hero-copy h1{
    font-size:clamp(58px,6.15vw,92px)!important;
    line-height:.91!important;
    max-width:590px!important;
  }
  .home-hero-copy .home-intro{max-width:520px!important}
  .home-quote{max-width:520px!important}

  .home-hero-media{
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    width:66%!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    overflow:hidden!important;
    background:transparent!important;
    z-index:1!important;
  }
  .home-hero-media-inner{
    position:absolute!important;
    inset:0!important;
    overflow:hidden!important;
  }
  .home-hero-media img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:58% 23%!important;
    filter:none!important;
    transform:none!important;
    image-rendering:auto!important;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 5%,rgba(0,0,0,.30) 12%,rgba(0,0,0,.64) 23%,rgba(0,0,0,.90) 34%,#000 43%,#000 100%)!important;
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 5%,rgba(0,0,0,.30) 12%,rgba(0,0,0,.64) 23%,rgba(0,0,0,.90) 34%,#000 43%,#000 100%)!important;
  }
  .home-hero-media:before{
    content:""!important;
    position:absolute!important;
    inset:0 auto 0 0!important;
    width:42%!important;
    z-index:2!important;
    pointer-events:none!important;
    background:linear-gradient(90deg,#f7f1e9 0%,rgba(247,241,233,.68) 30%,rgba(247,241,233,.18) 68%,transparent 100%)!important;
  }
  .home-hero-media:after{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:2!important;
    pointer-events:none!important;
    background:
      linear-gradient(0deg,rgba(50,35,22,.10) 0%,transparent 26%),
      radial-gradient(circle at 70% 24%,rgba(255,220,166,.08),transparent 32%)!important;
  }
  .home-hero-card:before{
    content:""!important;
    position:absolute!important;
    top:0!important;
    bottom:0!important;
    left:38%!important;
    width:20%!important;
    z-index:4!important;
    pointer-events:none!important;
    background:linear-gradient(90deg,rgba(247,241,233,.96) 0%,rgba(247,241,233,.56) 36%,rgba(247,241,233,.13) 75%,transparent 100%)!important;
    filter:blur(8px)!important;
  }
}

/* Tablet: mantém a mesma sensação de continuidade, agora no eixo vertical. */
@media(max-width:1100px){
  .home-hero-card{display:block!important}
  .home-hero-copy{
    width:100%!important;
    min-height:auto!important;
  }
  .home-hero-media{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    margin:-34px 0 0!important;
    min-height:520px!important;
  }
  .home-hero-media img{
    -webkit-mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.22) 7%,rgba(0,0,0,.70) 18%,#000 30%,#000 100%)!important;
    mask-image:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.22) 7%,rgba(0,0,0,.70) 18%,#000 30%,#000 100%)!important;
    object-position:52% 21%!important;
  }
}

/* Mobile: marca proporcional e sem esmagar o nome */
@media(max-width:620px){
  body.home-light .topbar .brand{
    grid-template-columns:60px auto!important;
    column-gap:8px!important;
  }
  body.home-light .topbar .brand-emblem{
    width:52px!important;
    height:52px!important;
  }
  footer .brand{
    grid-template-columns:64px auto!important;
    column-gap:9px!important;
    min-height:64px!important;
  }
  footer .brand-emblem{
    width:56px!important;
    height:56px!important;
  }
  .home-hero-media{
    margin:-24px 0 0!important;
    min-height:405px!important;
  }
  .home-hero-media img{
    object-position:52% 18%!important;
  }
}


/* ===== V19 — RECORTE ÓPTICO DO EMBLEMA SB ===== */
/* O arquivo original do emblema tem área vazia interna desigual.
   Em vez de deslocar o elemento inteiro, usamos o PNG como background
   dentro de um círculo fixo, com zoom e posição óptica calculados. */
.topbar .brand,
footer .brand{
  position:relative;
}
.topbar .brand .brand-emblem,
footer .brand .brand-emblem{
  display:none!important;
}

.topbar .brand::before{
  content:"";
  display:block;
  width:72px;
  height:72px;
  border-radius:50%;
  justify-self:center;
  align-self:center;
  background-image:url("assets/images/brand-emblem-circle.png");
  background-repeat:no-repeat;
  background-size:130% 130%;
  background-position:88% 43%;
  background-color:#11120f;
  box-shadow:0 8px 20px rgba(24,18,12,.15);
}

footer .brand::before{
  content:"";
  display:block;
  width:72px;
  height:72px;
  border-radius:50%;
  justify-self:center;
  align-self:center;
  background-image:url("assets/images/brand-emblem-circle.png");
  background-repeat:no-repeat;
  background-size:130% 130%;
  background-position:88% 43%;
  background-color:#11120f;
  box-shadow:0 7px 18px rgba(24,18,12,.11);
}

/* Mantém proporção e centro em tablets e celulares. */
@media(max-width:900px){
  .topbar .brand::before{width:64px;height:64px}
  footer .brand::before{width:66px;height:66px}
}
@media(max-width:620px){
  body.home-light .topbar .brand{
    grid-template-columns:58px auto!important;
  }
  .topbar .brand::before{
    width:52px;
    height:52px;
  }
  footer .brand{
    grid-template-columns:62px auto!important;
  }
  footer .brand::before{
    width:56px;
    height:56px;
  }
}

/* Check-Up do Coração — identidade visual do livro */
.home-featured .feature-banner-media{display:flex;justify-content:center;align-items:center;padding:24px;background:#ad3222}
.home-featured .feature-banner-media img{width:auto;max-width:100%;height:330px;object-fit:contain;filter:none;box-shadow:8px 12px 24px rgba(36,12,8,.25)}
.checkup-theme .page-hero,.checkup-theme .sermon-hero{background:linear-gradient(130deg,#f9eddb,#f2d7ba 70%,#eec2a6)}
.checkup-theme .page-hero .eyebrow,.checkup-theme .sermon-hero .eyebrow,.book-theme .page-hero .eyebrow{color:#a12e22}
.checkup-theme .episode .n,.checkup-theme .book-chip,.book-theme .book-chip{color:#a12e22}
.checkup-theme .note{border-left-color:#bb3b28}
.checkup-theme .exam-card{background:#9c2c20;color:#fff}
.checkup-theme .exam-card p{color:#f8dccc}
.checkup-theme .sermon-hero .lead{color:#504139}
.checkup-theme .sermon-block .section-number{color:#af3526}
.checkup-side-cover{display:block;width:min(100%,180px);height:auto;margin:0 auto 20px;box-shadow:8px 12px 22px rgba(53,23,14,.2)}
.checkup-scripture{margin:20px 0 0;padding:22px 26px;border-left:4px solid #ac3023;background:#faf0e1;border-radius:0 14px 14px 0;font-size:18px;line-height:1.75;color:#463a32}
.checkup-scripture cite{display:block;margin-top:14px;font-size:13px;font-style:normal;font-weight:700;color:#963023}
.checkup-questions{padding-left:23px;line-height:1.7}.checkup-questions li{padding-left:5px;margin:9px 0}
.checkup-privacy{font-size:13px;color:var(--muted)}
.book-theme .page-hero{background:#f3e7d4}
.checkup-book-section{background:#f8f0e3}
.checkup-book-layout{display:grid;grid-template-columns:minmax(260px,410px) 1fr;align-items:center;gap:clamp(32px,6vw,90px)}
.checkup-book-art{margin:0;text-align:center}.checkup-book-art img{display:block;width:100%;height:auto;box-shadow:18px 24px 45px rgba(75,28,16,.27)}
.checkup-book-art figcaption{font-size:13px;color:var(--muted);margin-top:18px}
.checkup-book-copy h2{font:normal clamp(42px,5vw,70px)/1 Georgia,serif;letter-spacing:-.04em;margin:16px 0}
.checkup-book-copy p{font-size:17px;max-width:620px;color:#55493c}
.checkup-book-copy .checkup-book-subtitle{font-size:22px;color:#9a3024;font-family:Georgia,serif}
.checkup-book-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.checkup-book-actions .cta{background:#a52f22;color:#fff}.checkup-book-actions .cta.alt{background:transparent;color:#8c3024;border:1px solid #b7725c}
.checkup-book-copy .checkup-book-note{font-size:13px;margin-top:24px}
@media(max-width:760px){.checkup-book-layout{grid-template-columns:1fr}.checkup-book-art{max-width:350px;margin:auto}.home-featured .feature-banner-media img{height:290px}.checkup-scripture{padding:18px;font-size:16px}}


/* ===== INSTAGRAM OFICIAL ===== */
.instagram-section{padding-top:12px}
.instagram-band{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:34px;
  padding:34px 38px;
  border:1px solid rgba(95,73,48,.12);
  border-radius:30px;
  background:
    radial-gradient(circle at 88% 18%,rgba(184,130,79,.10),transparent 32%),
    linear-gradient(135deg,#fbf8f2 0%,#f1e8dc 100%);
  box-shadow:0 16px 42px rgba(43,33,23,.045);
}
.instagram-band h2{margin:5px 0 9px;font-size:clamp(30px,3.2vw,48px)}
.instagram-band p{max-width:650px;margin:0;color:var(--muted);line-height:1.6}
.instagram-actions{
  display:flex;
  align-items:center;
  gap:16px;
  flex:0 0 auto;
}
.instagram-actions strong{
  font-size:15px;
  letter-spacing:.04em;
  color:#7b5734;
}
@media(max-width:800px){
  .instagram-band{align-items:flex-start;flex-direction:column;padding:28px}
  .instagram-actions{width:100%;justify-content:space-between;flex-wrap:wrap}
}
@media(max-width:520px){
  .instagram-band{padding:23px;border-radius:24px}
  .instagram-actions{display:grid;grid-template-columns:1fr;gap:12px}
  .instagram-actions .cta{width:100%;text-align:center}
}

/* Perfis do pastor e da igreja */
.social-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.social-profile{flex-direction:column;align-items:flex-start;padding:32px;gap:24px;min-width:0}
.social-profile h3{font-size:clamp(25px,3vw,36px);margin:8px 0 14px;overflow-wrap:anywhere}
.social-profile .instagram-actions{width:100%;margin-top:auto}
.social-profile .eyebrow{font-size:14px}
.social-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 28px;margin-top:20px;font-size:14px}
.social-footer-links a{padding:8px 0}
@media(max-width:800px){.social-profile-grid{grid-template-columns:1fr}.social-profile{padding:28px}}
@media(max-width:520px){.social-profile{padding:23px}.social-profile .cta{width:100%;text-align:center}}

/* Arte recomposta para preencher o painel compacto */
.home-featured .post-panel-media{padding:0;background:#fff;min-width:0}
.home-featured .post-panel-media img{width:100%;max-width:100%;height:auto;object-fit:contain;box-shadow:none;display:block}
@media(min-width:1101px){.home-featured .post-panel-media{align-self:stretch}.home-featured .post-panel-media img{height:100%;max-height:380px}}
@media(max-width:1100px){.home-featured .post-panel-media{min-height:0}}


/* ===== TEMA CLARO / ESCURO ===== */
html{color-scheme:light}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#121310;
  --paper:#1a1b17;
  --ink:#f1ece3;
  --muted:#b5ada1;
  --accent:#d09a67;
  --accent2:#d9b17d;
  --dark:#090a08;
  --line:#34362f;
  --sage:#879177;
  --soft:#22231e;
  --shadow:0 22px 60px rgba(0,0,0,.28);
}
html[data-theme="dark"] body{background:#121310;color:var(--ink)}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] body.home-light .topbar{background:rgba(18,19,16,.9);border-bottom-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .navlinks{color:#d8d1c7}
html[data-theme="dark"] .navlinks a:hover,
html[data-theme="dark"] .navlinks a.active{color:var(--accent2)}
html[data-theme="dark"] .nav-search,
html[data-theme="dark"] body.home-light .nav-search{background:rgba(255,255,255,.055);color:var(--ink)}
.theme-toggle{
  width:40px;height:40px;flex:0 0 40px;border:1px solid var(--line);border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.45);color:var(--ink);
  cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease;
  font-size:17px;line-height:1
}
.theme-toggle:hover{transform:translateY(-1px);background:var(--paper)}
.theme-toggle span{transform:translateY(-1px)}
html[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.055)}
html[data-theme="dark"] .cta.alt{color:var(--ink);border-color:#6b6257}
html[data-theme="dark"] .cta.light{background:#f2ede4;color:#161713;border-color:#f2ede4}
html[data-theme="dark"] .section.soft{background:#181914}
html[data-theme="dark"] .hero p,
html[data-theme="dark"] .hero-v4 .lead,
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .article p,
html[data-theme="dark"] .article li,
html[data-theme="dark"] .sermon-block p{color:#c0b8ad}
html[data-theme="dark"] .journey-copy{background:#20211c;border-color:var(--line)}
html[data-theme="dark"] .journey-copy p,
html[data-theme="dark"] .progress-label{color:var(--muted)}
html[data-theme="dark"] .progress{background:#35362f}
html[data-theme="dark"] .step:hover,
html[data-theme="dark"] .step.active{background:#252620}
html[data-theme="dark"] .event-card{background:var(--paper)}
html[data-theme="dark"] .datebox{background:#27251f}
html[data-theme="dark"] .badge{background:#2b2822;color:#d7b28a}
html[data-theme="dark"] .book-chip{background:#302a22;color:#e0bd93}
html[data-theme="dark"] .topic{background:#1e1f1b;border-color:var(--line)}
html[data-theme="dark"] .topic:hover{background:#282a24}
html[data-theme="dark"] .note{background:#28241f;color:#d7cfc4}
html[data-theme="dark"] .sermon-hero{background:linear-gradient(180deg,#1d1c18 0%,rgba(29,28,24,0) 100%)}
html[data-theme="dark"] .sermon-meta span{background:rgba(255,255,255,.055);color:#c6beb2}
html[data-theme="dark"] .section-number{background:#28251f}
html[data-theme="dark"] .pastoral-line{background:#24231e}
html[data-theme="dark"] .state-grid>div{background:#1d1e1a}
html[data-theme="dark"] .library-console,
html[data-theme="dark"] .quick-strip{background:rgba(255,255,255,.035)}
html[data-theme="dark"] .content-type{border-color:#5d5145}
html[data-theme="dark"] .tagline span{color:#a9a196}
html[data-theme="dark"] .linkhub-shell{background:radial-gradient(circle at 20% 10%,#29251e,transparent 35%),var(--bg)}
html[data-theme="dark"] .linkhub{background:rgba(26,27,23,.94)}
html[data-theme="dark"] .link-button{background:#20211d}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select{color:var(--ink)}
html[data-theme="dark"] .editor-form input,
html[data-theme="dark"] .editor-form select,
html[data-theme="dark"] .editor-form textarea{background:#20211d}

/* Home editorial em modo escuro */
html[data-theme="dark"] body.home-light{background:linear-gradient(180deg,#121310 0%,#161713 100%)}
html[data-theme="dark"] .home-hero-card{
  background:linear-gradient(135deg,#1c1d19 0%,#24221d 100%);
  border-color:rgba(255,255,255,.08);
  box-shadow:0 24px 60px rgba(0,0,0,.24)
}
html[data-theme="dark"] .home-hero-copy .home-intro{color:#c8c0b5}
html[data-theme="dark"] .home-quote{color:#bbb3a8;border-top-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .home-quote small{color:#958d82}
html[data-theme="dark"] .home-hero-media{background:linear-gradient(180deg,#3a332a 0%,#1c1d19 100%)}
html[data-theme="dark"] .home-hero-media:before{background:linear-gradient(90deg,#24221d 0%,rgba(36,34,29,.82) 35%,transparent 100%)}
html[data-theme="dark"] .home-hero-media img{filter:saturate(.78) contrast(1.04) brightness(.76)}
html[data-theme="dark"] .home-pillars{background:rgba(255,255,255,.035)}
html[data-theme="dark"] .instagram-band{
  border-color:rgba(255,255,255,.08);
  background:radial-gradient(circle at 88% 18%,rgba(208,154,103,.12),transparent 32%),linear-gradient(135deg,#1d1e1a 0%,#24221d 100%);
  box-shadow:0 16px 42px rgba(0,0,0,.16)
}
html[data-theme="dark"] .instagram-actions strong{color:#d2a97e}
html[data-theme="dark"] .home-featured .post-panel-media{background:#191a17}

/* Maná de Hoje */
html[data-theme="dark"] .mana-feature{background:#1e1f1a;border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .mana-invitation>p,
html[data-theme="dark"] .mana-caption{color:var(--muted)}
html[data-theme="dark"] .mana-home-reading{background:#191a17;border-color:var(--line)}
html[data-theme="dark"] .mana-page{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .mana-heading>p,
html[data-theme="dark"] .mana-context p,
html[data-theme="dark"] .mana-day-link small{color:var(--muted)}
html[data-theme="dark"] .mana-opening,
html[data-theme="dark"] .mana-context,
html[data-theme="dark"] .mana-pager{border-color:var(--line)}
html[data-theme="dark"] .mana-navigation{background:#1d1e1a}
html[data-theme="dark"] .mana-navigation select{background:#24251f;color:var(--ink);border-color:#55564e}
html[data-theme="dark"] .mana-day-link[aria-current=page]{background:#27251f}
html[data-theme="dark"] .mana-reading{background:#191a17;border-color:var(--line)}
html[data-theme="dark"] .mana-verse{background:#27241e}
html[data-theme="dark"] .mana-verse cite{color:#d1ab82}
html[data-theme="dark"] .mana-step,
html[data-theme="dark"] .mana-prayer{background:#22231e}
html[data-theme="dark"] .mana-pager a,
html[data-theme="dark"] .mana-retry{color:var(--ink);border-color:#62584c}
html[data-theme="dark"] .mana-series-link{background:#24211c;border-color:#4a4035;color:#e1d6c9}

/* Séries, jornadas e autoexames */
html[data-theme="dark"] .scripture-verses mark{background:#59472e;color:#fff7e9}
html[data-theme="dark"] .journey-truth,
html[data-theme="dark"] .mirror-result-hero{background:#0b0c09}
html[data-theme="dark"] .mirror-result-hero p{color:#ded8cf}
html[data-theme="dark"] .mirror-option input:checked+label{background:#090a08;color:#fff}
html[data-theme="dark"] .church-mirror{background:var(--paper)}
html[data-theme="dark"] .series-card{background:#1b1c18;border-color:#30312b}
html[data-theme="dark"] .series-card p{color:#bbb4aa}

@media(max-width:900px){
  .theme-toggle{width:42px;height:42px;flex-basis:42px}
  .nav-tools{gap:7px}
  .nav-tools .cta{display:none}
}

/* Classes in the shared navigation */
@media(min-width:901px) and (max-width:1280px){.navlinks{gap:12px}.nav-tools .cta{display:none}.nav{gap:14px}}


/* ===== V20 — CABEÇALHO GLOBAL / MENU APÓS CLASSES + ENCONTROS ===== */
/* Protege o lockup da marca contra compressão e padroniza a faixa intermediária. */
.topbar .nav{
  position:relative;
  gap:18px;
}
.topbar .brand{
  flex:0 0 auto!important;
  min-width:max-content;
}
.topbar .brand-copy{
  min-width:max-content;
}
.topbar .brand-copy strong,
.topbar .brand-copy small{
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
}
.navlinks{
  flex:1 1 auto;
  min-width:0;
  justify-content:center;
}
.navlinks a{
  white-space:nowrap;
}
.nav-tools{
  flex:0 0 auto;
}

@media(min-width:1121px){
  .navlinks{
    gap:clamp(10px,1.15vw,18px);
    font-size:clamp(12.5px,1vw,14px);
  }
}

/* Entra no menu compacto antes que a navegação comece a esmagar a marca. */
@media(max-width:1120px){
  .navlinks{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:70;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:20px;
    background:var(--paper);
    box-shadow:var(--shadow);
    font-size:13px;
  }
  .navlinks.open{
    display:grid;
  }
  .navlinks a{
    padding:10px 12px;
    border-radius:12px;
  }
  .navlinks a:hover,
  .navlinks a.active{
    background:rgba(141,84,56,.08);
  }
  .navlinks a.active:after{
    display:none;
  }
  .menu-btn{
    display:block;
    flex:0 0 44px;
  }
  .nav-tools .cta{
    display:none;
  }
  body.home-dark .navlinks{
    background:#171814;
    border-color:rgba(215,173,112,.18);
  }
  body.home-dark .navlinks a:hover,
  body.home-dark .navlinks a.active{
    background:rgba(215,173,112,.10);
  }
}

@media(max-width:900px){
  .topbar .nav{
    gap:12px;
  }
}

@media(max-width:620px){
  .topbar .brand{
    min-width:0!important;
  }
  .topbar .brand-copy{
    min-width:0;
  }
  .topbar .brand-copy strong,
  .topbar .brand-copy small{
    white-space:nowrap;
  }
  .navlinks{
    grid-template-columns:1fr;
    top:calc(100% + 6px);
  }
}


/* ===== V21 — CALIBRAGEM GLOBAL DE CONTRASTE / TEMA ESCURO ===== */
/* Camada final de consistência visual para desktop, tablet e celular. */
html[data-theme="dark"]{
  --bg:#121310;
  --paper:#1b1c18;
  --ink:#f2ede5;
  --muted:#c3bbb0;
  --accent:#d6a06d;
  --accent2:#ddb985;
  --dark:#090a08;
  --line:#3b3d35;
  --sage:#91a080;
  --soft:#23241f;
  --shadow:0 22px 60px rgba(0,0,0,.32);
}

html[data-theme="dark"] body{
  background:
    radial-gradient(circle at 8% 0%,rgba(214,160,109,.055),transparent 25rem),
    var(--bg);
  color:var(--ink);
}

/* Heros e páginas temáticas: nunca usar texto claro sobre fundo claro. */
html[data-theme="dark"] body .page-hero,
html[data-theme="dark"] body.book-theme .page-hero,
html[data-theme="dark"] body.checkup-theme .page-hero,
html[data-theme="dark"] body.checkup-theme .sermon-hero{
  background:linear-gradient(180deg,#1e1f1b 0%,rgba(30,31,27,0) 100%);
}
html[data-theme="dark"] body .page-hero p,
html[data-theme="dark"] body .page-hero .lead,
html[data-theme="dark"] body.checkup-theme .sermon-hero .lead{
  color:#cbc3b8;
}
html[data-theme="dark"] body.checkup-theme .page-hero .eyebrow,
html[data-theme="dark"] body.checkup-theme .sermon-hero .eyebrow,
html[data-theme="dark"] body.book-theme .page-hero .eyebrow{
  color:#e4aa77;
}

/* Superfícies editoriais compartilhadas. */
html[data-theme="dark"] body .reflection-block,
html[data-theme="dark"] body .reflection-question,
html[data-theme="dark"] body .wound-grid>div,
html[data-theme="dark"] body .ego-grid>div,
html[data-theme="dark"] body .editor-warning,
html[data-theme="dark"] body .search-all,
html[data-theme="dark"] body .brand-band-inner,
html[data-theme="dark"] body .pastor-signature,
html[data-theme="dark"] body .photo-frame.light-photo,
html[data-theme="dark"] body .checkup-book-section{
  background:#20211d;
  border-color:var(--line);
  color:var(--ink);
}
html[data-theme="dark"] body .pastor-signature p,
html[data-theme="dark"] body .pastor-copy p,
html[data-theme="dark"] body .brand-band span,
html[data-theme="dark"] body .feature p,
html[data-theme="dark"] body .portal-card p,
html[data-theme="dark"] body .path-card p,
html[data-theme="dark"] body .event-card p,
html[data-theme="dark"] body .library-item p,
html[data-theme="dark"] body .side-card p{
  color:var(--muted);
}
html[data-theme="dark"] body .notes-area{
  background:#171815;
  color:var(--ink);
  border-color:#55564d;
}
html[data-theme="dark"] body .checkup-scripture{
  background:#24211d;
  color:#e7dfd4;
  border-left-color:#d88d69;
}
html[data-theme="dark"] body .checkup-scripture cite{
  color:#e0a071;
}

/* Encontros: todas as caixas seguem a mesma linguagem escura. */
html[data-theme="dark"] body .meeting-hero{
  background:linear-gradient(180deg,#1e1f1b 0%,rgba(30,31,27,0) 100%);
}
html[data-theme="dark"] body .meeting-lead{
  color:#cbc3b8;
}
html[data-theme="dark"] body .meeting-meta span{
  background:rgba(255,255,255,.055);
  color:#c8c0b5;
  border-color:var(--line);
}
html[data-theme="dark"] body .meeting-state{
  color:#d9b589;
  border-color:#67594b;
}
html[data-theme="dark"] body .meeting-state.ended{
  background:#252620;
  color:#bcb4aa;
  border-color:#44463e;
}
html[data-theme="dark"] body .meeting-history-item{
  background:#1d1e1a;
}
html[data-theme="dark"] body .meeting-list-empty{
  border-color:#4c4d45;
}
html[data-theme="dark"] body .meeting-access-open,
html[data-theme="dark"] body .meeting-access-wait,
html[data-theme="dark"] body .meeting-access-ended{
  background:#24231e;
  color:var(--ink);
}
html[data-theme="dark"] body .meeting-access-open{
  background:#1e2820;
  border-left-color:#91a080;
}
html[data-theme="dark"] body .meeting-access-ended{
  background:#23231f;
  border-left-color:#8e8b82;
}
html[data-theme="dark"] body .meeting-access-state span{
  color:#c4bcb1;
}
html[data-theme="dark"] body .meeting-name-row input,
html[data-theme="dark"] body .meeting-code-entry input{
  background:#161713;
  color:var(--ink);
  border-color:#55564d;
}
html[data-theme="dark"] body .meeting-name-row input::placeholder,
html[data-theme="dark"] body .meeting-code-entry input::placeholder{
  color:#8f8a82;
}
html[data-theme="dark"] body .meeting-stage-top{
  background:#20211d;
  color:var(--ink);
}
html[data-theme="dark"] body .meeting-quiet-button{
  color:var(--ink);
  border-color:#655c50;
}
html[data-theme="dark"] body .meeting-access-badge{
  background:#2b261f;
  color:#dfb887;
  border-color:#5e5143;
}
html[data-theme="dark"] body .meeting-access-badge.open{
  background:#20281f;
  color:#bdcfaf;
  border-color:#4a5944;
}
html[data-theme="dark"] body .meeting-code-panel{
  background:#211f1a;
  border-color:#4d453b;
  color:var(--ink);
}
html[data-theme="dark"] body .meeting-reminder-panel{
  background:#1d1e1a;
  border-color:var(--line);
  color:var(--ink);
}
html[data-theme="dark"] body .meeting-reminder-note{
  background:rgba(221,185,133,.08);
}
html[data-theme="dark"] body .meeting-message,
html[data-theme="dark"] body .meeting-code-message.bad,
html[data-theme="dark"] body .meeting-reminder-panel .meeting-message.bad{
  color:#efaa9a!important;
}

/* Sobre: memória/conversão acompanha o tema em vez de permanecer bege. */
html[data-theme="dark"] body .salin-origin{
  background:#1b1c18;
  color:var(--ink);
  border-color:var(--line);
}
html[data-theme="dark"] body .salin-origin-date{
  background:linear-gradient(135deg,#22231e,#29251f);
  border-color:var(--line);
}
html[data-theme="dark"] body .salin-origin-label{
  color:#d9ae80;
}
html[data-theme="dark"] body .salin-origin-location{
  border-color:#484940;
  color:#cbc3b8;
}
html[data-theme="dark"] body .salin-origin-copy h2{
  color:var(--ink);
}
html[data-theme="dark"] body .salin-origin-copy blockquote{
  color:#e0c2a3;
  border-left-color:#bd825e;
}
html[data-theme="dark"] body .salin-origin-copy p{
  color:#c7bfb5;
}

/* Estados e controles secundários. */
html[data-theme="dark"] body .link-button:hover{
  background:#252620;
  border-color:#665846;
}
html[data-theme="dark"] body .status-pill{
  background:rgba(255,255,255,.045);
}
html[data-theme="dark"] body .theme-toggle{
  border-color:#484a42;
}

/* No mobile o seletor de tema continua acessível; pesquisa/CTA seguem ocultos. */
@media(max-width:1120px){
  .topbar .nav-tools{
    display:flex!important;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
  }
  .topbar .nav-tools .nav-search,
  .topbar .nav-tools .cta{
    display:none!important;
  }
}
@media(max-width:620px){
  .topbar .nav-tools{
    margin-left:auto;
  }
  .theme-toggle{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
}


/* Contraste da Home e do livro no modo escuro. */
html[data-theme="dark"] body.home-light .navlinks a{color:#d8d1c7}
html[data-theme="dark"] body.home-light .navlinks a:hover,
html[data-theme="dark"] body.home-light .navlinks a.active{color:var(--accent2)}
html[data-theme="dark"] body.home-light .home-hero-card{
  background:linear-gradient(135deg,#1c1d19 0%,#24221d 100%)!important;
}
html[data-theme="dark"] body.home-light .home-hero-copy h1{color:var(--ink)}
html[data-theme="dark"] body.home-light .home-hero-copy h1 em{color:#ddb985}
html[data-theme="dark"] body.home-light .home-hero-copy .home-intro{color:#cbc3b8}
html[data-theme="dark"] body.home-light .home-quote{color:#cbc3b8}
html[data-theme="dark"] body.home-light .home-quote small{color:#c3bbb0}
html[data-theme="dark"] body.home-light .home-hero-card:before{
  background:linear-gradient(90deg,rgba(36,34,29,.96) 0%,rgba(36,34,29,.56) 36%,rgba(36,34,29,.13) 75%,transparent 100%)!important;
}
html[data-theme="dark"] body.home-light .home-hero-media:before{
  background:linear-gradient(90deg,#24221d 0%,rgba(36,34,29,.68) 30%,rgba(36,34,29,.18) 68%,transparent 100%)!important;
}
html[data-theme="dark"] body .checkup-book-copy p{color:#cbc3b8}
html[data-theme="dark"] body .checkup-book-copy .checkup-book-subtitle{color:#f0aa92}
html[data-theme="dark"] body .checkup-book-actions .cta.alt{
  color:#f0aa92;
  border-color:#c17f68;
}
@media(max-width:1100px){
  html[data-theme="dark"] body.home-light .home-hero-media:before{
    background:linear-gradient(180deg,#24221d 0%,rgba(36,34,29,.80) 28%,rgba(36,34,29,.30) 70%,transparent 100%)!important;
  }
}

/* Rodapé compartilhado acompanha a superfície escura. */
html[data-theme="dark"] body footer{
  background:#1b1c18;
  color:var(--ink);
  border-color:var(--line);
}
html[data-theme="dark"] body .footer-bottom,
html[data-theme="dark"] body .footer-note{color:var(--muted)}
