/* =========================================================================
   Paróquia São João Bosco · Rondonópolis-MT
   Identidade: azul-marinho #131e45 · dourado #c7b077 · creme #f7f4e9
   Fontes: Cinder (títulos, sempre em MAIÚSCULAS) · Petrona (texto)
   ========================================================================= */

@font-face { font-family: "Cinder"; src: url("../brand/fonts/Cinder-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("../brand/fonts/petrona-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("../brand/fonts/petrona-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("../brand/fonts/petrona-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("../brand/fonts/petrona-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("../brand/fonts/petrona-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Petrona"; src: url("../brand/fonts/petrona-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Cinder"; src: url("../brand/fonts/Cinder-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy: #131e45;
  --navy-2: #1c2a5c;
  --navy-3: #2a3a72;
  --gold: #c7b077;
  --gold-d: #9c844c;         /* dourado para texto sobre creme (contraste) */
  --gold-l: #e3d5ae;
  --cream: #f7f4e9;
  --cream-2: #efe8d6;
  --paper: #fffdf7;
  --ink: #1a1f33;
  --muted: #5e6378;
  --line: #e2d9c1;
  --red: #b3261e;

  --f-display: "Cinder", "Petrona", Georgia, serif;
  --f-body: "Petrona", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gut: 20px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(19,30,69,.06), 0 8px 24px rgba(19,30,69,.08);
  --shadow-lg: 0 2px 4px rgba(19,30,69,.06), 0 18px 48px rgba(19,30,69,.16);
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Grafismo: cruz botonée (da cruz do brasão) em padrão */
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23c7b077'%3E%3Cpath d='M57 28h6v64h-6z'/%3E%3Cpath d='M38 49h44v6H38z'/%3E%3Ccircle cx='60' cy='24' r='5'/%3E%3Ccircle cx='55' cy='29' r='3.2'/%3E%3Ccircle cx='65' cy='29' r='3.2'/%3E%3Ccircle cx='34' cy='52' r='5'/%3E%3Ccircle cx='39' cy='47' r='3.2'/%3E%3Ccircle cx='39' cy='57' r='3.2'/%3E%3Ccircle cx='86' cy='52' r='5'/%3E%3Ccircle cx='81' cy='47' r='3.2'/%3E%3Ccircle cx='81' cy='57' r='3.2'/%3E%3Ccircle cx='60' cy='96' r='5'/%3E%3Ccircle cx='55' cy='91' r='3.2'/%3E%3Ccircle cx='65' cy='91' r='3.2'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--f-body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--navy-3); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* --------------------------------------------------------------- tipografia */
.display, h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; color: var(--navy); margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
.kicker { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-body); font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker.no-line::before { display: none; }
.lead { font-size: 1.18rem; color: var(--muted); }
.muted { color: var(--muted); }
.divisoria { width: 220px; height: auto; margin: 14px 0 0; opacity: .95; }
.center { text-align: center; }
.center .divisoria { margin-left: auto; margin-right: auto; }

.sec { padding: 72px 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 8px; }
.pattern { position: relative; isolation: isolate; }
.pattern::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 120px; opacity: .09; pointer-events: none; }
.bg-paper { background: var(--paper); }
.bg-cream2 { background: var(--cream-2); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h2, .bg-navy h3, .bg-navy .display { color: var(--cream); }
.bg-navy .kicker { color: var(--gold); }
.bg-navy .muted, .bg-navy .lead { color: #c9cde0; }
.bg-navy.pattern::before { opacity: .07; }

/* --------------------------------------------------------------- botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78em 1.4em; border-radius: 999px; border: 2px solid transparent; font-family: var(--f-body); font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: .02em; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d4c08c; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.bg-navy .btn-line, .hero .btn-line { border-color: var(--gold); color: var(--cream); }
.bg-navy .btn-line:hover, .hero .btn-line:hover { background: var(--gold); color: var(--navy); }
.btn-sm { padding: .5em 1em; font-size: .85rem; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-more:hover { gap: .7em; transition: gap .2s var(--ease); }
.bg-navy .link-more, .card-navy .link-more { color: var(--cream); }

/* --------------------------------------------------------------- barra de avisos */
.annbar { background: var(--navy); color: var(--cream); font-size: .92rem; position: relative; z-index: 40; }
.annbar.gold { background: var(--gold); color: var(--navy); }
.annbar.alert { background: var(--red); color: #fff; }
.annbar .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.annbar .ann { display: none; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; animation: annIn .5s var(--ease); }
.annbar .ann.on { display: inline-flex; }
.annbar .ann b { color: var(--gold); font-weight: 700; }
.annbar.gold .ann b, .annbar.alert .ann b { color: inherit; }
.annbar a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: currentColor; }
.annbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(199,176,119,.25); animation: pulse 2.2s infinite; flex: none; }
.annbar.gold .dot { background: var(--navy); box-shadow: 0 0 0 4px rgba(19,30,69,.15); }
.annbar.alert .dot { background: #fff; }
@keyframes annIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(199,176,119,.35); } 50% { box-shadow: 0 0 0 7px rgba(199,176,119,0); } }

/* --------------------------------------------------------------- topo utilitário + header */
.topline { background: var(--cream-2); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.litchip { display: inline-flex; align-items: center; gap: .55em; text-decoration: none; color: var(--muted); }
.litchip:hover { color: var(--navy); }
.litdot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.socials { display: flex; gap: 4px; align-items: center; }
.socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy); }
.socials a:hover { background: var(--cream); }

.header { position: sticky; top: 0; z-index: 30; background: rgba(247,244,233,.94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(19,30,69,.08); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 104px; transition: min-height .25s; }
.header.scrolled .wrap { min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 84px; width: auto; transition: height .25s; }
.header.scrolled .brand img { height: 60px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { list-style: none; position: relative; }
.nav, .nav ul { margin: 0; padding: 0; }
.nav > li > a, .nav > li > button { display: flex; align-items: center; gap: .3em; padding: 10px 12px; border: 0; background: none; color: var(--navy); font-family: var(--f-body); font-weight: 700; font-size: .95rem; text-decoration: none; border-radius: 10px; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--cream-2); }
.nav > li > a.active { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .caret { width: .8em; height: .8em; transition: transform .2s; }
.nav li.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: .18s var(--ease); }
.dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav li.open .dropdown, .nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.dropdown a small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.dropdown a:hover { background: var(--cream); }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy); }
.icon-btn:hover { border-color: var(--gold); }
.menu-btn { display: none; }

.searchbar { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.searchbar.on { display: block; }
.searchbar form { display: flex; gap: 10px; padding: 14px 0; }
.searchbar input { flex: 1; }

/* gaveta mobile */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer .shade { position: absolute; inset: 0; background: rgba(19,30,69,.45); opacity: 0; transition: opacity .25s; }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--cream); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; padding: 18px 20px 40px; }
.drawer.on { pointer-events: auto; }
.drawer.on .shade { opacity: 1; }
.drawer.on .panel { transform: none; }
.drawer .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer .panel-head img { height: 52px; width: auto; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer .dl { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 700; color: var(--navy); text-decoration: none; list-style: none; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details a { display: block; padding: 9px 14px; color: var(--ink); text-decoration: none; }
.drawer .dl { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------------- hero / banners */
.hero { position: relative; background: var(--navy); color: var(--cream); overflow: hidden; }
.slides { position: relative; height: clamp(440px, 62vh, 640px); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: flex-end; }
.slide.on { opacity: 1; z-index: 1; }
.slide picture, .slide > img, .slide picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.on picture img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,30,69,.88) 0%, rgba(19,30,69,.55) 45%, rgba(19,30,69,0) 80%), linear-gradient(0deg, rgba(19,30,69,.6), rgba(19,30,69,0) 45%); }
.slide .wrap { position: relative; padding-bottom: 110px; }
.slide .copy { max-width: 640px; }
.slide .kicker { color: var(--gold); }
.slide h1, .slide h2 { color: var(--cream); font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin: 12px 0 14px; }
.slide p { font-size: 1.2rem; color: #dfe2ef; margin: 0 0 24px; }
.slide.on .copy > * { animation: rise .8s var(--ease) both; }
.slide.on .copy > *:nth-child(2) { animation-delay: .1s; } .slide.on .copy > *:nth-child(3) { animation-delay: .2s; } .slide.on .copy > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slide-link { position: absolute; inset: 0; z-index: 2; }
.hero-ctrl { position: absolute; z-index: 3; bottom: 92px; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); display: flex; gap: 10px; align-items: center; }
.hero-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(199,176,119,.6); background: rgba(19,30,69,.4); color: var(--cream); display: grid; place-items: center; }
.hero-ctrl button:hover { background: var(--gold); color: var(--navy); }
.hero-dots { display: flex; gap: 6px; margin-right: 8px; }
.hero-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(247,244,233,.45); transition: width .3s, background .3s; cursor: pointer; }
.hero-dots i.on { width: 26px; background: var(--gold); }

/* hero padrão (sem banners cadastrados) */
.hero-default { min-height: clamp(460px, 64vh, 640px); display: flex; align-items: center; }
.hero-default::before { opacity: .08; }
.hero-default .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 50px; padding-bottom: 120px; }
.hero-default h1 { color: var(--cream); font-size: clamp(2.6rem, 6vw, 5rem); margin: 14px 0; }
.hero-default h1 span { color: var(--gold); }
.hero-default p { font-size: 1.25rem; color: #d6daea; max-width: 520px; }
.hero-default .shield { justify-self: center; width: min(320px, 70%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* destaques sobrepostos ao hero */
.highlights { position: relative; z-index: 5; margin-top: -72px; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.hl { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); border-top: 3px solid var(--gold); transition: transform .25s var(--ease), box-shadow .25s; overflow: hidden; }
.hl:hover { transform: translateY(-4px); color: var(--ink); }
.hl .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.hl .ico .i { width: 24px; height: 24px; }
.hl .thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.hl .kicker { font-size: .68rem; letter-spacing: .18em; }
.hl .kicker::before { width: 14px; }
.hl h3 { font-size: 1.3rem; margin: 4px 0 4px; }
.hl p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.45; }

/* --------------------------------------------------------------- "hoje" (liturgia + santo + agenda do dia) */
.today-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; }
.card-navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.card-navy h3 { color: var(--cream); }
.lit-card .litbadge { display: inline-flex; align-items: center; gap: .55em; font-size: .85rem; color: var(--muted); }
.lit-card h3 { font-size: 1.7rem; margin: 10px 0 6px; }
.lit-card .ref { font-weight: 700; color: var(--gold-d); }
.lit-card blockquote { margin: 16px 0 20px; padding: 0 0 0 18px; border-left: 3px solid var(--gold); font-style: italic; color: var(--ink); font-size: 1.05rem; }
.colorbar { position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; }

.saint-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.arch { position: relative; width: 150px; height: 190px; margin: 6px auto 16px; border-radius: 75px 75px 10px 10px; padding: 6px; border: 2px solid var(--gold); }
.arch::after { content: ""; position: absolute; inset: -9px; border-radius: 84px 84px 14px 14px; border: 1px solid var(--gold); opacity: .6; }
.arch img, .arch .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 69px 69px 6px 6px; }
.arch .ph { background: var(--navy); display: grid; place-items: center; color: var(--gold); }
.arch .ph svg { width: 52px; height: 52px; }
.saint-card h3 { font-size: 1.5rem; }
.saint-card .t { color: var(--gold-d); font-weight: 700; font-size: .9rem; margin: 4px 0 8px; }
.saint-card p { font-size: .95rem; color: var(--muted); margin: 0 0 14px; }

.daylist { list-style: none; margin: 16px 0 0; padding: 0; }
.daylist li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(199,176,119,.25); }
.daylist .h { font-family: var(--f-display); font-size: 1.35rem; color: var(--gold); line-height: 1; padding-top: 2px; }
.daylist b { display: block; font-size: 1rem; }
.daylist small { color: #c9cde0; font-size: .85rem; }
.card:not(.card-navy) .daylist small { color: var(--muted); }
.card:not(.card-navy) .daylist .h { color: var(--gold-d); }

/* --------------------------------------------------------------- notícias */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.post-card .ph { aspect-ratio: 16/9; overflow: hidden; background: var(--navy); position: relative; }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .ph img { transform: scale(1.04); }
.post-card .ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; }
.post-card .ph .noimg img { width: 64px; height: auto; opacity: .9; transform: none !important; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-family: var(--f-body); text-transform: none; font-weight: 700; font-size: 1.22rem; line-height: 1.25; letter-spacing: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.post-card .meta { margin-top: auto; padding-top: 8px; font-size: .82rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.tag { display: inline-flex; align-self: flex-start; padding: .2em .7em; border-radius: 99px; background: var(--cream-2); color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.tag.gold { background: var(--gold); }
.post-card.big .ph { aspect-ratio: 16/10; }
.post-card.big h3 { font-size: 1.7rem; }
.side-list { display: flex; flex-direction: column; gap: 0; }
.side-item { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: center; }
.side-item:first-child { padding-top: 0; }
.side-item img, .side-item .noimg { width: 118px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--navy); }
.side-item .noimg { display: grid; place-items: center; }
.side-item .noimg img { width: 34px; height: auto; background: none; }
.side-item h4 { margin: 4px 0 2px; font-size: 1.05rem; line-height: 1.3; }
.side-item:hover h4 { text-decoration: underline; text-decoration-color: var(--gold); }
.side-item small { color: var(--muted); font-size: .82rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* editorial (fundo azul) */
.ed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(199,176,119,.35); }
.ed-item { padding: 30px 28px 10px 0; text-decoration: none; color: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.ed-item + .ed-item { padding-left: 28px; border-left: 1px solid rgba(199,176,119,.35); }
.ed-item .n { font-family: var(--f-display); font-size: 3rem; color: var(--gold); line-height: .9; }
.ed-item h3 { font-family: var(--f-body); text-transform: none; font-weight: 700; font-size: 1.35rem; line-height: 1.25; letter-spacing: 0; color: var(--cream); }
.ed-item p { margin: 0; color: #c9cde0; font-size: 1rem; }
.ed-item small { color: var(--gold); font-weight: 700; font-size: .85rem; }
.ed-item:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }

/* --------------------------------------------------------------- agenda / eventos */
.agenda-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.ev-list { display: flex; flex-direction: column; gap: 12px; }
.ev { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; padding: 14px 18px 14px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.ev:hover { border-color: var(--gold); transform: translateX(3px); color: var(--ink); }
.datebox { background: var(--navy); color: var(--cream); border-radius: 12px; text-align: center; padding: 8px 4px 10px; line-height: 1; }
.datebox .d { font-family: var(--f-display); font-size: 2.1rem; display: block; color: var(--cream); }
.datebox .m { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ev h4 { margin: 0 0 3px; font-size: 1.1rem; line-height: 1.25; }
.ev small { color: var(--muted); font-size: .88rem; display: flex; gap: 10px; flex-wrap: wrap; }
.ev .go { color: var(--gold-d); }

.mass-table { width: 100%; border-collapse: collapse; }
.mass-table th { text-align: left; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); padding: 0 0 8px; }
.mass-table td { padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.mass-table td:first-child { font-weight: 700; width: 38%; color: var(--navy); }
.times { display: flex; flex-wrap: wrap; gap: 6px; }
.time { display: inline-block; padding: .18em .6em; border-radius: 8px; background: var(--cream-2); font-weight: 700; font-size: .92rem; color: var(--navy); white-space: nowrap; }
.time small { font-weight: 400; color: var(--muted); }

/* --------------------------------------------------------------- comunidades */
.comm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.comm { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.comm:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.comm .top { aspect-ratio: 4/3; background: var(--navy); position: relative; overflow: hidden; display: grid; place-items: center; }
.comm .top::before { content: ""; position: absolute; inset: 0; background-image: var(--cross); background-size: 90px; opacity: .08; }
.comm .top img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comm .top img.logo { position: relative; width: 46%; max-height: 70%; object-fit: contain; }
.comm .top .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.comm .bd { padding: 16px 18px 20px; }
.comm h3 { font-size: 1.25rem; }
.comm p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* --------------------------------------------------------------- dízimo CTA */
.cta { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 40px 44px; border-radius: var(--r-lg); background: var(--navy); color: var(--cream); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 110px; opacity: .07; }
.cta .ico { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.cta .ico .i { width: 34px; height: 34px; }
.cta h2 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { margin: 6px 0 0; color: #c9cde0; font-style: italic; }

/* --------------------------------------------------------------- cabeçalho de página interna */
.page-hero { position: relative; background: var(--navy); color: var(--cream); padding: 64px 0 56px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 120px; opacity: .07; }
.page-hero .cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero h1 { color: var(--cream); margin: 12px 0 0; }
.page-hero .kicker { color: var(--gold); }
.page-hero p { color: #d3d7e6; font-size: 1.15rem; margin: 12px 0 0; max-width: 720px; }
.crumbs { font-size: .85rem; color: #aeb4cc; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.crumbs a { color: #d3d7e6; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* --------------------------------------------------------------- texto rico (artigos, páginas) */
.prose { font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.15rem; margin-top: 1.3em; color: var(--navy); }
.prose a { color: var(--navy); font-weight: 600; }
.prose img { border-radius: 14px; margin: 1.6em auto; box-shadow: var(--shadow); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: -1em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 14px 14px 0; font-style: italic; font-size: 1.18rem; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--gold-d); }
.prose hr { border: 0; height: 24px; background: url("../brand/divisoria.png") center/220px auto no-repeat; margin: 2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th { background: var(--navy); color: var(--cream); padding: 10px; text-align: left; }
.prose td { padding: 10px; border-bottom: 1px solid var(--line); }
.prose tr:nth-child(even) td { background: var(--cream-2); }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose sup.v { color: var(--gold-d); font-size: .62em; font-weight: 700; margin-right: 2px; }
.prose .ql-size-small { font-size: .85em; } .prose .ql-size-large { font-size: 1.3em; } .prose .ql-size-huge { font-size: 1.7em; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-head { max-width: 820px; }
.article-head h1 { font-family: var(--f-body); text-transform: none; font-weight: 700; letter-spacing: -.01em; line-height: 1.12; font-size: clamp(2rem, 4vw, 3rem); color: var(--cream); }
.article-head .sub { font-size: 1.25rem; color: #d3d7e6; margin-top: 14px; }
.byline { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 22px; font-size: .9rem; color: #c9cde0; }
.byline b { color: var(--gold); }
.cover-fig { margin: -40px 0 36px; position: relative; z-index: 2; }
.cover-fig img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16/9; object-fit: cover; }
.cover-fig figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.aside-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; position: sticky; top: 110px; }
.aside-box + .aside-box { margin-top: 18px; position: static; }
.aside-box h4 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--navy); font-size: 1.2rem; margin: 0 0 10px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4em; padding: .5em .9em; border-radius: 99px; border: 1px solid var(--line); background: var(--cream); color: var(--navy); font-size: .85rem; font-weight: 700; text-decoration: none; }
.share a:hover, .share button:hover { border-color: var(--gold); }

/* --------------------------------------------------------------- filtros / formulários */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: .4em; padding: .48em 1em; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font-weight: 700; font-size: .88rem; text-decoration: none; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.input, input[type=search], input[type=text], input[type=date], select { font: inherit; font-size: 1rem; padding: .7em 1em; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.input:focus, input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }

/* --------------------------------------------------------------- horários (página) */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.wday { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.wday header { background: var(--navy); color: var(--cream); padding: 12px 12px 10px; text-align: center; }
.wday header b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; display: block; }
.wday header small { color: var(--gold); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.wday.today { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.wday.today header { background: var(--gold); color: var(--navy); }
.wday.today header small { color: var(--navy); }
.wday ul { list-style: none; margin: 0; padding: 6px 10px 12px; }
.wday li { padding: 10px 2px; border-bottom: 1px dashed var(--line); }
.wday li:last-child { border-bottom: 0; }
.wday .h { font-family: var(--f-display); font-size: 1.3rem; color: var(--navy); line-height: 1; }
.wday .t { font-weight: 700; font-size: .92rem; line-height: 1.25; margin-top: 3px; }
.wday .c { font-size: .8rem; color: var(--muted); }
.wday .empty { color: var(--muted); font-size: .85rem; text-align: center; padding: 18px 4px; font-style: italic; }
.typedot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.t-missa { background: var(--navy); } .t-adoracao { background: var(--gold); } .t-terco { background: #5b7fbf; } .t-grupo { background: #4f8a6a; } .t-confissao { background: #8a5b9b; } .t-secretaria { background: #8a8f9f; } .t-outro { background: #b08a5a; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------------- calendários (mensal) */
.cal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.cal-title h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 8px; }
.cal-title h2 span { color: var(--gold-d); }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.seg a { height: 42px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--navy); text-decoration: none; transition: background .2s, color .2s, transform .2s var(--ease); }
.seg a:hover { background: var(--navy); color: var(--gold); }
.seg a:active { transform: scale(.94); }
.seg-sep { width: 1px; height: 22px; background: var(--line); margin: 0 2px; }
.cal-today { display: inline-flex; align-items: center; gap: .45em; height: 50px; padding: 0 18px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: var(--shadow); transition: background .2s, transform .2s var(--ease); }
.cal-today .i { color: var(--gold); }
.cal-today:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }

.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal .dow { text-align: left; padding: 0 12px 2px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cal .dow:first-child { color: var(--gold-d); }
.cal .day { --lc: var(--line); position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 128px; padding: 14px 12px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.cal .day::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--lc); box-shadow: inset 0 0 0 1px rgba(19,30,69,.08); }
.cal a.day:hover, .cal .day.has-ev:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.cal .day.blank { visibility: hidden; }
.cal .day.out { background: transparent; border-style: dashed; opacity: .45; }
.cal .day.out::before { display: none; }
.cal .day-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cal .num { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: 50%; font-family: var(--f-display); font-size: 1.3rem; line-height: 1; color: var(--navy); }
.cal .day.sun .num { color: var(--gold-d); }
.cal .day.today { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), var(--shadow); }
.cal .day.today .num { background: var(--navy); color: var(--cream); }
.cal .rank { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); background: rgba(199,176,119,.16); padding: 3px 7px; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal .rank.now { color: var(--cream); background: var(--navy); }
.cal .day.solemn { background: linear-gradient(160deg, #fff8e6 0%, var(--paper) 70%); border-color: var(--gold-l); }
.cal .lit-name { font-size: .82rem; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cal .lit-name.strong { color: var(--navy); font-weight: 700; }
.cal .lit-color { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.cal .lit-color i, .chip-c i { width: 9px; height: 9px; border-radius: 50%; background: var(--lc); box-shadow: inset 0 0 0 1px rgba(19,30,69,.18); }
.cal .lit-bar { display: none; }
.cal .ev-pill { display: block; padding: 5px 8px; border-radius: 8px; background: rgba(19,30,69,.07); border-left: 3px solid var(--navy); color: var(--navy); font-size: .76rem; line-height: 1.3; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s; }
.cal .ev-pill b { font-weight: 700; }
.cal .ev-pill.featured { background: rgba(199,176,119,.22); border-left-color: var(--gold-d); }
.cal .ev-pill:hover { background: var(--navy); color: var(--cream); }
.color-legend { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--muted); margin-top: 22px; }
.chip-c { --lc: transparent; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.chip-c.solemn-k { background: linear-gradient(160deg, #fff8e6, var(--paper)); border-color: var(--gold-l); color: var(--gold-d); }

/* --------------------------------------------------------------- liturgia diária */
.lit-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; align-items: start; }
.lit-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.lit-tabs { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.lit-tabs a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; gap: 10px; }
.lit-tabs a small { font-weight: 400; color: var(--muted); }
.lit-tabs a:hover { background: var(--cream); }
.reading { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 40px; scroll-margin-top: 110px; }
.reading + .reading { margin-top: 22px; }
.reading header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.reading h2 { font-size: 1.7rem; }
.reading .ref { font-weight: 700; color: var(--gold-d); }
.reading .ttl { font-style: italic; color: var(--muted); margin: 0 0 14px; }
.reading .refrao { background: var(--cream); border-radius: 12px; padding: 12px 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.reading.gospel { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.reading.gospel h2::after { content: " ✠"; color: var(--gold); }
.lit-fallback { text-align: center; padding: 48px 28px; }

/* --------------------------------------------------------------- comunidade (página) */
.comm-hero { min-height: 380px; display: flex; align-items: flex-end; }
.comm-hero .inner { display: flex; gap: 28px; align-items: flex-end; }
.comm-hero .logo { width: 128px; height: 128px; border-radius: 50%; background: var(--cream); padding: 16px; object-fit: contain; flex: none; box-shadow: var(--shadow-lg); border: 3px solid var(--gold); }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.info-list li .i { color: var(--gold-d); margin-top: 4px; }
.map-embed { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--r); background: var(--cream-2); display: block; }
#map { height: 560px; border-radius: var(--r-lg); border: 1px solid var(--line); z-index: 1; }
.leaflet-popup-content { font-family: var(--f-body); font-size: 15px; }
.leaflet-popup-content b { color: var(--navy); }
.pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 0; background: var(--navy); transform: rotate(-45deg); border: 3px solid var(--gold); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(19,30,69,.35); }
.pin span { transform: rotate(45deg); color: var(--gold); font-family: var(--f-display); font-size: 16px; }
.loc-list { display: flex; flex-direction: column; gap: 12px; }
.loc-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .2s; }
.loc-item:hover, .loc-item.on { border-color: var(--gold); }
.loc-item h4 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.loc-item small { color: var(--muted); }

/* --------------------------------------------------------------- paginação */
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 99px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--navy); text-decoration: none; font-weight: 700; }
.pager .on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.pager .off { opacity: .4; }

/* --------------------------------------------------------------- rodapé */
.footer { background: var(--navy); color: #c9cde0; position: relative; isolation: isolate; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 120px; opacity: .05; }
.footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer h4 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: var(--cream); font-size: 1.15rem; letter-spacing: .03em; margin: 0 0 14px; }
.footer a { color: #dfe2ef; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; font-size: .95rem; }
.f-brand { display: flex; gap: 16px; align-items: center; }
.f-brand img { width: 74px; height: auto; }
.f-brand .n { font-family: var(--f-display); color: var(--cream); font-size: 1.55rem; line-height: 1; text-transform: uppercase; }
.f-brand .n small { display: block; font-family: var(--f-body); color: var(--gold); font-size: .78rem; letter-spacing: .2em; margin-top: 6px; }
.f-motto { margin-top: 24px; }
.f-motto img { height: 46px; width: auto; }
.f-motto .txt { font-family: var(--f-display); color: var(--gold); font-size: 1.35rem; text-transform: uppercase; }
.footer .socials a { color: var(--cream); border: 1px solid rgba(199,176,119,.4); width: 38px; height: 38px; }
.footer .socials a:hover { background: var(--gold); color: var(--navy); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .i { color: var(--gold); margin-top: 4px; }
.footer .bottom { border-top: 1px solid rgba(199,176,119,.25); padding: 18px 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #9ea4bf; }
.pascom-sign { display: inline-flex; align-items: center; gap: 10px; opacity: .85; }
.pascom-sign img { height: 26px; width: auto; }
.pascom-sign .sep { width: 1px; height: 22px; background: var(--gold); opacity: .6; }

/* voltar ao topo */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: var(--gold); display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }

/* revelar ao rolar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-lg); }
.empty-state img { width: 60px; margin: 0 auto 12px; opacity: .7; }

/* --------------------------------------------------------------- responsivo */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .today-grid { grid-template-columns: 1fr 1fr; }
  .today-grid .lit-card { grid-column: 1 / -1; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article { grid-template-columns: 1fr; }
  .aside-box { position: static; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .sec { padding: 56px 0; }
  .news-grid, .agenda-grid, .info-grid, .lit-layout { grid-template-columns: 1fr; }
  .lit-nav { position: static; }
  .cards-3, .ed-grid { grid-template-columns: 1fr; }
  .ed-item + .ed-item { padding-left: 0; border-left: 0; border-top: 1px solid rgba(199,176,119,.35); }
  .hero-default .wrap { grid-template-columns: 1fr; text-align: left; }
  .hero-default .shield { display: none; }
  .cta { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 34px 24px; }
  .cal { gap: 5px; }
  .cal .dow { padding: 0 2px; text-align: center; letter-spacing: .06em; font-size: .66rem; }
  .cal .day { min-height: 66px; padding: 10px 4px 6px; border-radius: 12px; align-items: center; gap: 4px; }
  .cal .day::before { left: 8px; right: 8px; height: 3px; }
  .cal .num { min-width: 30px; height: 30px; font-size: 1.1rem; }
  .cal .lit-name, .cal .rank, .cal .lit-color { display: none; }
  .cal .day.has-ev .day-top::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gold-d); }
  .cal .ev-pill { position: absolute; inset: 0; opacity: 0; padding: 0; border: 0; font-size: 0; }
  .cal .day.solemn .num { box-shadow: 0 0 0 2px var(--gold); }
  .cal-head { align-items: center; }
  .cal-today { height: 46px; padding: 0 14px; }
  .seg a { height: 38px; padding: 0 12px; }
  .comm-hero .inner { flex-direction: column; align-items: flex-start; }
  .reading { padding: 26px 22px; }
  #map { height: 420px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .topline .socials { display: none; }
  .header .wrap { min-height: 74px; }
  .brand img { height: 50px; }
  .header.scrolled .brand img { height: 44px; }
  .today-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; gap: 28px; }
  .slide .wrap { padding-bottom: 130px; }
  .hero-ctrl { bottom: 96px; }
  .highlights { margin-top: -64px; }
  .ev { grid-template-columns: 64px 1fr; }
  .ev .go { display: none; }
  .side-item { grid-template-columns: 96px 1fr; }
  .side-item img, .side-item .noimg { width: 96px; height: 72px; }
  .annbar { font-size: .85rem; }
}

/* --------------------------------------------------------------- Pix (dízimo) */
.pix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pix-card { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pix-qr { width: 132px; height: 132px; padding: 10px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.pix-qr svg { width: 100%; height: 100%; display: block; }
.pix-qr svg path, .pix-qr svg rect[fill="black"], .pix-qr svg rect:not([fill="white"]) { fill: var(--navy); }
.pix-key { font-weight: 700; color: var(--navy); font-size: 1.02rem; margin-top: 4px; overflow-wrap: anywhere; line-height: 1.3; }
.pix-meta { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.pix-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pix-card.compact { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px; }
.pix-card.compact .pix-qr { width: 170px; height: 170px; }
.pix-card.compact .kicker { letter-spacing: .14em; }
.pix-card.compact .pix-actions .btn { flex: 1 1 auto; }
.pix-card.compact .pix-actions { justify-content: center; }
.pix-head { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.pix-head img { width: 34px; height: 34px; object-fit: contain; }
@media (max-width: 640px) { .pix-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .pix-actions { justify-content: center; } .pix-qr { width: 170px; height: 170px; } }

/* --------------------------------------------------------------- InstaKids */
:root { --sky: #5b7fbf; --leaf: #4f8a6a; --sun: #e8b84a; --rose: #b3657f; --peach: #d98c5f; }
.kids-hero { position: relative; overflow: hidden; isolation: isolate; color: var(--cream); background: radial-gradient(120% 90% at 85% 10%, #2a4a8f 0%, var(--navy) 55%); padding: 46px 0 120px; }
.kids-hero-sm { padding: 46px 0 96px; }
.kids-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 110px; opacity: .06; }
.kids-hero .crumbs a, .kids-hero .crumbs { color: #c9cde0; }
.kids-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 12px 0 0; }
.kids-hero p { font-size: 1.2rem; color: #dfe3f2; max-width: 560px; margin: 14px 0 0; }
.kids-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.kids-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.kids-logo { width: min(380px, 80%); margin: 10px 0 0; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
.kids-word { font-size: clamp(3.4rem, 9vw, 6.2rem) !important; line-height: .9; letter-spacing: .01em; margin-top: 10px !important; display: flex; flex-wrap: wrap; align-items: baseline; }
.kids-word span { display: inline-block; animation: hop 2.8s var(--ease) infinite; }
.kids-word span:nth-child(1) { color: var(--sun); } .kids-word span:nth-child(2) { color: #8fb1ea; animation-delay: .1s; } .kids-word span:nth-child(3) { color: #8fd0a8; animation-delay: .2s; } .kids-word span:nth-child(4) { color: #f0a77c; animation-delay: .3s; } .kids-word span:nth-child(5) { color: #eaa3bd; animation-delay: .4s; }
.kids-word b { font-weight: 400; color: var(--cream); margin-left: .12em; }
@keyframes hop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-.12em) rotate(-4deg); } 90% { transform: translateY(0) rotate(2deg); } }
.kids-hero-art { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.5deg); border: 6px solid rgba(247,244,233,.9); }
.kids-hero-cast { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 320px; }
.kids-hero-cast img { width: 34%; max-height: 360px; object-fit: contain; margin: 0 -4%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
.bub { position: absolute; border-radius: 50%; z-index: -1; opacity: .9; }
.bub.b1 { width: 220px; height: 220px; background: radial-gradient(circle at 30% 30%, rgba(143,177,234,.55), rgba(91,127,191,.15)); right: -60px; top: -70px; }
.bub.b2 { width: 120px; height: 120px; background: radial-gradient(circle at 30% 30%, rgba(232,184,74,.5), rgba(199,176,119,.1)); left: 46%; bottom: 40px; }
.bub.b3 { width: 70px; height: 70px; background: rgba(143,208,168,.28); left: 6%; top: 30px; }
.bub.b4 { width: 34px; height: 34px; background: rgba(234,163,189,.4); right: 34%; top: 46px; }
.spark { position: absolute; color: var(--gold); z-index: -1; animation: twinkle 3s ease-in-out infinite; font-size: 22px; }
.spark.s1 { left: 40%; top: 22%; } .spark.s2 { right: 8%; bottom: 34%; animation-delay: 1s; font-size: 16px; } .spark.s3 { left: 4%; bottom: 30%; animation-delay: 2s; font-size: 14px; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.kids-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--cream); }

.kids-tag { display: inline-flex; align-items: center; padding: .28em .8em; border-radius: 99px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cream-2); color: var(--navy); }
.kids-tag[style*="--sc"] { background: color-mix(in srgb, var(--sc) 14%, #fff); color: var(--sc); }
.kids-hero .kids-tag[style*="--sc"] { background: rgba(255,255,255,.92); }
.serie-head { --sc: var(--navy); display: flex; gap: 20px; align-items: center; margin: 0 0 26px; padding: 18px 22px; border-radius: 20px; background: color-mix(in srgb, var(--sc) 8%, #fff); border-left: 5px solid var(--sc); }
.serie-head img { width: 180px; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; flex: none; }
.serie-head h3 { font-size: 1.6rem; margin-top: 6px; color: var(--sc); }
.serie-head p { margin: 6px 0 0; color: var(--muted); }
.vd-serie { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); }
@media (max-width: 640px) { .serie-head { flex-direction: column; align-items: flex-start; } .serie-head img { width: 100%; } }
.kids-hero .kids-tag { margin-top: 6px; }

.kids-featured { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: -20px; }
.kids-featured-copy h2 { margin: 12px 0 10px; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.kids-featured-copy p { color: var(--muted); font-size: 1.08rem; margin: 12px 0 22px; }
.kids-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem; color: var(--muted); }
.kids-meta a { color: var(--navy); font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.kids-meta span { display: inline-flex; gap: 6px; align-items: center; }
.kids-player { position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; background: var(--navy); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), var(--shadow-lg); }
.kids-player.ig { aspect-ratio: 4/5; max-width: 480px; margin: 0 auto; }
.kids-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kids-player-link { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy) center/cover no-repeat; }
.kids-play { width: 84px; height: 84px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(232,184,74,.3); transition: transform .25s var(--ease); }
.kids-play svg { width: 40px; height: 40px; fill: var(--navy); margin-left: 5px; }
.kids-play.sm { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; box-shadow: 0 0 0 7px rgba(232,184,74,.3); opacity: .95; }
.kids-play.sm svg { width: 28px; height: 28px; margin-left: 3px; }

.kids-bg { background: linear-gradient(180deg, var(--cream) 0%, #eef2f9 100%); }
.kids-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.kids-card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 2px 0 rgba(19,30,69,.06), 0 10px 26px rgba(19,30,69,.08); transition: transform .3s var(--ease), box-shadow .3s; height: 100%; }
.kids-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); color: var(--ink); }
.kids-card:hover .kids-play { transform: scale(1.1); }
.kids-card .thumb { position: relative; aspect-ratio: 16/9; background: var(--navy); overflow: hidden; }
.kids-card .thumb > img { width: 100%; height: 100%; object-fit: cover; }
.kids-card .thumb-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, #2a4a8f, var(--navy)); }
.kids-card .thumb-ph img { width: 40%; opacity: .9; }
.ep-num { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: rgba(19,30,69,.82); color: var(--cream); font-family: var(--f-display); font-size: .95rem; letter-spacing: .04em; }
.kids-card .bd { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.kids-card h3 { font-family: var(--f-body); text-transform: none; font-weight: 700; font-size: 1.15rem; line-height: 1.25; letter-spacing: 0; }
.kids-card small { color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }

.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px; padding-top: 30px; }
.cast { --c: var(--sky); position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; box-shadow: 0 10px 26px rgba(19,30,69,.08); text-align: center; transition: transform .3s var(--ease); }
.cast:hover { transform: translateY(-6px); }
.cast-art { position: relative; height: 190px; border-radius: 26px 26px 50% 50% / 26px 26px 18% 18%; background: radial-gradient(circle at 50% 120%, rgba(255,255,255,.35), transparent 60%), var(--c); display: flex; align-items: flex-end; justify-content: center; overflow: visible; }
.cast-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--cross); background-size: 70px; opacity: .14; filter: brightness(3); }
.cast-art img { position: relative; z-index: 1; height: 118%; max-width: 110%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 12px rgba(0,0,0,.25)); transition: transform .35s var(--ease); }
.cast:hover .cast-art img { transform: scale(1.05) rotate(-2deg); }
.cast.photo .cast-art { overflow: hidden; align-items: stretch; }
.cast.photo .cast-art::after { display: none; }
.cast.photo .cast-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; filter: none; }
.cast.photo:hover .cast-art img { transform: scale(1.06); }
.cast.photo .cast-art::before { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; z-index: 2; background: linear-gradient(0deg, color-mix(in srgb, var(--c) 55%, transparent), transparent); pointer-events: none; }
.cast-ini { position: relative; z-index: 1; align-self: center; font-family: var(--f-display); font-size: 4.4rem; color: rgba(255,255,255,.92); }
.cast-bd { padding: 16px 16px 20px; }
.cast h3 { font-size: 1.35rem; }
.cast-role { display: inline-block; margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--gold-d); letter-spacing: .04em; }
.cast p { margin: 8px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }

.mat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.mat { display: flex; flex-direction: column; background: var(--cream); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.mat:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.3); color: var(--ink); }
.mat-cover { aspect-ratio: 210/240; background: #fff; overflow: hidden; display: grid; place-items: center; }
.mat-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mat-cover img.ph { width: 40%; height: auto; object-fit: contain; }
.mat-bd { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.mat-bd h3 { color: var(--navy); font-size: 1.25rem; }
.mat-bd p { margin: 0; font-size: .92rem; color: var(--muted); }
.mat-dl { margin-top: auto; padding-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); }
.kids-parents { margin-top: 36px; padding: clamp(24px, 4vw, 40px); border-top: 4px solid var(--sun); }

/* faixa do InstaKids na página inicial */
.kids-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; padding: 36px; border-radius: 30px; overflow: hidden; isolation: isolate; color: var(--cream); background: radial-gradient(120% 120% at 90% 0%, #2a4a8f 0%, var(--navy) 60%); }
.kids-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 100px; opacity: .06; }
.kids-band h2 { color: var(--cream); margin: 10px 0 8px; }
.kids-band p { color: #d6daea; margin: 0 0 20px; }
.kids-band .kids-word { font-size: clamp(2.6rem, 6vw, 4rem) !important; }
.kids-band .kids-card { box-shadow: 0 20px 50px rgba(0,0,0,.35); }

@media (max-width: 960px) {
  .kids-hero-in, .kids-featured, .kids-band { grid-template-columns: 1fr; }
  .kids-hero-cast { min-height: 220px; }
  .kids-featured { margin-top: 0; }
  .kids-band { padding: 26px 22px; }
}
@media (max-width: 640px) {
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cast-art { height: 140px; }
  .cast p { display: none; }
  .kids-play { width: 64px; height: 64px; }
}
.nav > li > a.nav-kids { background: linear-gradient(135deg, #2a4a8f, var(--navy)); color: var(--cream); border-radius: 999px; padding: 8px 16px; margin-left: 4px; }
.nav > li > a.nav-kids::before { content: "✦"; color: var(--sun); margin-right: 6px; font-size: .8em; }
.nav > li > a.nav-kids:hover, .nav > li > a.nav-kids.active { background: var(--gold); color: var(--navy); box-shadow: none; border-radius: 999px; }
.nav > li.nav-digital > button { background: linear-gradient(135deg, #2a4a8f, var(--navy)); color: var(--cream); border-radius: 999px; padding: 9px 16px; margin-left: 4px; }
.nav > li.nav-digital > button::before { content: "✦"; color: var(--sun); margin-right: 2px; font-size: .8em; }
.nav > li.nav-digital > button:hover, .nav > li.nav-digital.open > button, .nav > li.nav-digital > button.active { background: var(--gold); color: var(--navy); }
.nav > li.nav-digital > button:hover::before, .nav > li.nav-digital > button.active::before { color: var(--navy); }
.dropdown-wide { min-width: 300px; left: auto; right: 0; transform: translate(0, 6px); }
.nav li.open .dropdown-wide, .nav li:hover > .dropdown-wide { transform: translate(0, 0); }
.dd-proj { flex-direction: row !important; align-items: center; gap: 12px; }
.dd-proj > span:last-child { display: flex; flex-direction: column; }
.dd-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(19,30,69,.06); }
@media (max-width: 1280px) { .nav > li > a, .nav > li > button { padding: 10px 9px; font-size: .92rem; } .nav > li.nav-digital > button { padding: 9px 13px; } }

/* --------------------------------------------------------------- Evangelização Digital */
.dg-hero { background: radial-gradient(120% 120% at 90% 0%, #2a4a8f 0%, var(--navy) 60%); }
.dg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.dg-card { --pc: var(--navy); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.dg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); color: var(--ink); }
.dg-card-top { position: relative; height: 170px; display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.18), transparent 55%), var(--pc); overflow: hidden; isolation: isolate; }
.dg-card-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 80px; opacity: .1; filter: brightness(3); }
.dg-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.dg-logo { max-width: 78%; max-height: 110px; object-fit: contain; padding: 14px 20px; background: rgba(255,255,255,.94); border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.dg-name { font-family: var(--f-display); text-transform: uppercase; color: #fff; font-size: 1.9rem; line-height: 1; text-align: center; }
.dg-status { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dg-card-bd { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dg-card-bd h3 { font-size: 1.45rem; margin-top: 4px; }
.dg-card-bd p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.dg-card-bd .dg-tag { color: var(--navy); font-style: italic; }
.dg-card-bd .link-more { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.dg-when { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--gold-d); letter-spacing: .04em; }

.dg-show-hero { --pc: var(--navy); position: relative; overflow: hidden; isolation: isolate; color: var(--cream); padding: 50px 0 60px; background: radial-gradient(110% 120% at 90% 0%, rgba(255,255,255,.14), transparent 55%), var(--pc); }
.dg-show-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--cross); background-size: 110px; opacity: .08; filter: brightness(3); }
.dg-show-cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.dg-show-hero .crumbs, .dg-show-hero .crumbs a { color: rgba(247,244,233,.75); }
.dg-show-hero h1 { color: var(--cream); margin-top: 12px; }
.dg-show-logo { display: inline-block; margin-top: 14px; padding: 18px 26px; background: rgba(255,255,255,.95); border-radius: 22px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.dg-show-logo img { max-height: 120px; max-width: min(420px, 70vw); width: auto; }
.dg-show-tag { font-size: 1.3rem; margin: 18px 0 0; color: #fff; font-style: italic; }
.dg-show-meta { display: flex; gap: 12px; align-items: center; margin-top: 12px; font-weight: 700; font-size: .92rem; color: rgba(247,244,233,.85); }
.dg-show-meta span { display: inline-flex; gap: 6px; align-items: center; }
.dg-show-meta .dg-status { position: static; }
.dg-show-hero .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.dg-show-hero .btn-line { border-color: rgba(247,244,233,.7); color: var(--cream); }
.dg-show-hero .btn-line:hover { background: var(--cream); color: var(--navy); }
.dg-about { max-width: 820px; margin-bottom: 20px; }
.dg-about .lead { color: var(--ink); font-size: 1.25rem; margin: 0 0 16px; }
.dg-block { margin-top: 56px; }

.vd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; align-items: start; }
.vd { --pc: var(--navy); display: flex; flex-direction: column; padding: 0; border: 0; background: #fff; border-radius: 20px; overflow: hidden; text-align: left; box-shadow: 0 2px 0 rgba(19,30,69,.05), 0 10px 26px rgba(19,30,69,.08); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; font: inherit; color: var(--ink); }
.vd:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vd:hover .kids-play { transform: scale(1.1); }
.vd-thumb { position: relative; display: block; aspect-ratio: 16/9; background: var(--pc); overflow: hidden; }
.vd.vert .vd-thumb { aspect-ratio: 3/4; }
.vd.vert .vd-ph { align-content: start; padding-top: 16%; }
.vd.vert .vd-ph img { width: 78%; max-width: 78%; max-height: none; height: auto; }
.vd-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.vd-ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.2), transparent 60%), var(--pc); }
.vd-ph img { max-width: 80%; max-height: 40%; object-fit: contain; background: rgba(255,255,255,.94); padding: 10px 14px; border-radius: 14px; }
.vd-ph b { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; color: #fff; font-size: 1.5rem; text-align: center; line-height: 1; }
.vd-src { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 99px; background: rgba(19,30,69,.82); color: #fff; font-size: .74rem; font-weight: 700; }
.vd-bd { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.vd-bd b { font-size: 1.02rem; line-height: 1.3; color: var(--navy); }
.vd-bd small { color: var(--muted); font-size: .82rem; }
.dg-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dg-mini a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.dg-mini a:hover { border-color: var(--gold); transform: translateX(3px); }
.dg-mini a > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.dg-mini small { color: var(--muted); font-size: .82rem; }
.dg-mini .i { color: var(--gold-d); }

.vmodal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.vmodal[hidden] { display: none; }
.vmodal-shade { position: absolute; inset: 0; background: rgba(10,16,38,.82); backdrop-filter: blur(4px); }
.vmodal-box { position: relative; width: min(1000px, 100%); background: var(--navy); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: rise .35s var(--ease); }
.vmodal-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 20px; color: var(--cream); }
.vmodal-head b { flex: 1; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vmodal-head .btn-line { border-color: rgba(247,244,233,.5); color: var(--cream); }
.vmodal-head .icon-btn { background: transparent; border-color: rgba(247,244,233,.3); color: var(--cream); }
.vmodal-frame { position: relative; aspect-ratio: 16/9; background: #000; }
.vmodal-frame.vert { aspect-ratio: auto; height: min(78vh, 760px); }
.vmodal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.vmodal-box:has(.vmodal-frame.vert) { width: min(440px, 100%); }
@media (max-width: 640px) { .vd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .vd-bd { padding: 10px 12px 14px; } .vd-bd b { font-size: .92rem; } .vmodal { padding: 0; } .vmodal-box { border-radius: 0; height: 100%; display: flex; flex-direction: column; } .vmodal-frame.vert { flex: 1; height: auto; } .vmodal-head .btn-line { display: none; } }

/* --------------------------------------------------------------- Galeria */
.alb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.alb { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.alb:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.alb-cover { position: relative; aspect-ratio: 4/3; background: var(--navy); overflow: hidden; }
.alb-cover::before { content: ""; position: absolute; inset: 0; background-image: var(--cross); background-size: 70px; opacity: .08; filter: brightness(3); }
.alb-cover img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.alb:hover .alb-cover img { transform: scale(1.05); }
.alb-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border-radius: 99px; background: rgba(19,30,69,.82); color: #fff; font-size: .8rem; font-weight: 700; backdrop-filter: blur(4px); }
.alb-bd { padding: 14px 18px 18px; }
.alb-bd small { color: var(--gold-d); font-weight: 700; font-size: .8rem; }
.alb-bd h3 { font-family: var(--f-body); text-transform: none; font-weight: 700; letter-spacing: 0; font-size: 1.15rem; line-height: 1.3; margin-top: 4px; }
.masonry { columns: 4 240px; column-gap: 12px; }
.mphoto { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--cream-2); cursor: zoom-in; break-inside: avoid; }
.mphoto img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease), filter .3s; }
.mphoto:hover img { transform: scale(1.03); filter: brightness(1.05); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8,12,30,.95); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-height: 100vh; padding: 20px 0; }
.lb img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb figcaption { color: #c9cde0; font-size: .9rem; display: flex; gap: 16px; }
.lb figcaption a { color: var(--gold); }
.lb-nav, .lb-x { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; margin: 0 auto; }
.lb-nav:hover, .lb-x:hover { background: var(--gold); color: var(--navy); }
.lb-x { position: absolute; top: 16px; right: 16px; z-index: 2; }
@media (max-width: 640px) { .masonry { columns: 2; column-gap: 8px; } .mphoto { margin-bottom: 8px; border-radius: 10px; } .lb { grid-template-columns: 1fr; } .lb-nav { position: absolute; bottom: 20px; } .lb-nav.prev { left: 20px; } .lb-nav.next { right: 20px; } }

/* --------------------------------------------------------------- Lojinha */
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; }
.flash.ok { background: #e8f3ea; color: #1f5b2b; border: 1px solid #c4e1ca; }
.flash.err { background: #fbeceb; color: #8c1d16; border: 1px solid #f0c9c6; }
.flash.info { background: var(--paper); color: var(--navy); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.flash.big { font-weight: 400; } .flash.big b { font-weight: 700; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.prod { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.prod-img { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.prod-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod:hover .prod-img > img { transform: scale(1.04); }
.prod-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--cream-2); }
.prod-ph img { width: 30%; opacity: .6; }
.prod-badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 99px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prod-badge.out { background: var(--navy); color: var(--cream); }
.prod-bd { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.prod-bd small { color: var(--gold-d); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.prod-bd h3 { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.prod-price { display: flex; gap: 8px; align-items: baseline; margin-top: 4px; }
.prod-price b { font-size: 1.2rem; color: var(--navy); }
.prod-price s { color: var(--muted); font-size: .9rem; }
.prod-price.big b { font-size: 2rem; }
.shop-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.shop-how > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.shop-how .ico { width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 6px; }
.shop-how small { color: var(--muted); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 18px; align-items: start; }
.pdp-main { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumbs button { width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.pdp-thumbs button.on { border-color: var(--gold); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-family: var(--f-body); text-transform: none; letter-spacing: 0; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; margin: 8px 0 10px; }
.pdp-buy { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.pdp-lbl { display: block; color: var(--navy); margin-bottom: 8px; }
.opt-group { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-grid; place-items: center; min-width: 48px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); cursor: pointer; transition: .15s; }
.opt input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); }
.pdp-row { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; color: var(--navy); }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; padding: 0; -moz-appearance: textfield; background: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 34px; height: 38px; }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 6px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.steps li + li::before { content: ""; width: 28px; height: 2px; background: var(--line); margin-right: 2px; }
.steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); font-size: .8rem; }
.steps li.on { color: var(--navy); } .steps li.on span { background: var(--navy); color: var(--cream); }
.steps li.done span { background: var(--gold); color: var(--navy); }
.cart-row { display: grid; grid-template-columns: 70px 1fr auto 110px 42px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; background: var(--cream-2); }
.cart-name { display: flex; flex-direction: column; } .cart-name a { font-weight: 700; color: var(--navy); text-decoration: none; } .cart-name small { color: var(--muted); }
.cart-sub { text-align: right; color: var(--navy); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 12px; }
.cart-total b { font-size: 1.6rem; color: var(--navy); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.co-form h3, .co-sum h3, .pay-box h3 { font-size: 1.4rem; margin-bottom: 12px; }
.co-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; color: var(--navy); font-size: .92rem; margin-top: 12px; }
.co-form label small { font-weight: 400; color: var(--muted); }
.co-form input[type=text], .co-form input[type=tel], .co-form input[type=email], .co-form select, .co-form textarea { font: inherit; font-weight: 400; padding: .7em 1em; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.co-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-opts { display: grid; gap: 10px; }
.pay { position: relative; display: block !important; margin: 0 !important; cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay > span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: .15s; }
.pay > span b { display: flex; align-items: center; gap: 8px; color: var(--navy); }
.pay > span small { font-weight: 400; color: var(--muted); }
.pay input:checked + span { border-color: var(--navy); background: color-mix(in srgb, var(--navy) 5%, #fff); }
.pay input:focus-visible + span { outline: 3px solid var(--gold); }
.co-sum { position: sticky; top: 110px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.order-head h1 { font-size: 2.6rem; margin-top: 6px; }
.ostatus { padding: 8px 16px; border-radius: 99px; font-weight: 700; font-size: .9rem; background: var(--cream-2); color: var(--navy); }
.ostatus.s-aguardando { background: #fff3d6; color: #8a5a00; } .ostatus.s-comprovante { background: #e3ebf8; color: #2e4f8f; }
.ostatus.s-pago { background: #e8f3ea; color: #1f5b2b; } .ostatus.s-entregue { background: var(--navy); color: var(--cream); } .ostatus.s-cancelado { background: #fbeceb; color: #8c1d16; }
.otrack { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 22px 0 0; }
.otrack li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); text-align: center; }
.otrack li span { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--cream-2); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--line); }
.otrack li + li::before { content: ""; position: absolute; top: 8px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.otrack li.done { color: var(--navy); } .otrack li.done span { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); } .otrack li.done::before { background: var(--gold) !important; }
.pay-pix { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.pay-pix .pix-qr { padding: 12px; }
.pay-total { font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.receipt-form { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 14px; background: var(--cream); margin-top: 6px; }
.cart-btn { position: relative; }
.cart-btn .cnt { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 860px) { .pdp, .co-grid { grid-template-columns: 1fr; } .co-sum { position: static; } .shop-how { grid-template-columns: 1fr; } .cart-row { grid-template-columns: 56px 1fr auto; } .cart-row img { width: 56px; height: 56px; } .cart-sub { grid-column: 2; text-align: left; } .co-2 { grid-template-columns: 1fr; } }

/* Galeria · subpastas */
.folder-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 24px; padding: 12px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-size: .95rem; }
.folder-trail a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; text-decoration: none; }
.folder-trail a:hover { color: var(--gold-d); }
.folder-trail .sep { width: 14px; height: 14px; opacity: .45; }
.folder-trail strong { color: var(--ink); }
.folder-grid { margin-bottom: 40px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.alb.folder { position: relative; margin-top: 10px; overflow: visible; }
.alb.folder::before { content: ""; position: absolute; left: 14px; right: 14px; top: -8px; height: 20px; border-radius: 14px 14px 0 0; background: var(--gold); opacity: .55; z-index: -1; }
.alb.folder .alb-cover { border-radius: 20px 20px 0 0; }
.alb.folder .alb-bd small { display: inline-flex; align-items: center; gap: 5px; }
.alb.folder .alb-bd small .i { width: 14px; height: 14px; }
.folder-photos-h { font-size: 1.4rem; margin: 0 0 18px; }
@media (max-width: 640px) { .folder-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .alb.folder .alb-bd { padding: 10px 12px 12px; } .alb.folder .alb-bd h3 { font-size: 1rem; } }

/* Pix automático */
.pay-wait { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--cream); color: var(--navy); font-weight: 600; font-size: .95rem; }
.pay-wait .spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(19, 30, 69, .18); border-top-color: var(--navy); animation: pixspin .9s linear infinite; flex: none; }
.pay-auto.is-paid .pay-wait { background: #e8f3ea; color: #2f7a3d; }
.pay-auto.is-paid .spin { border-color: #2f7a3d; animation: none; }
@keyframes pixspin { to { transform: rotate(360deg); } }
.receipt-alt { margin-top: 14px; font-size: .92rem; }
.receipt-alt summary { cursor: pointer; color: var(--muted); }
.receipt-alt .receipt-form { margin-top: 10px; }
