/* ============================================================
   Mestre na Lição — Camada premium v3.1
   Estilo "Editorial Grid / Magazine": masthead escuro, capa de revista,
   cartões com profundidade, capitular, citações em destaque.
   Carregado depois de style.css (sobrepõe os estilos base).
   ============================================================ */

:root {
  --navy-800: #12306B;
  --radius-xl: 20px;
  --shadow-lg: 0 24px 48px -16px rgba(7, 22, 49, .28), 0 8px 16px -8px rgba(7, 22, 49, .12);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .14);
  /* textura sutil (linhas finas em losango) para fundos escuros */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 0 48 24 24 48 0 24z' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
}

body { background: #FCFBF8; }
::selection { background: rgba(212, 175, 55, .35); color: var(--ink); }

/* ── Ornamentos e utilitários ──────────────────────────────── */
.ornament { display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.badge-gold {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: var(--gold); color: var(--navy-950); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--brand); color: #fff; }
.btn { border-radius: 999px; }
.btn-sm { padding: 0 var(--s-4); }

.avatar {
  display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: var(--gold);
  font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(212, 175, 55, .55);
}
.avatar--xs { width: 22px; height: 22px; font-size: .55rem; box-shadow: none; }
.avatar--sm { width: 30px; height: 30px; font-size: .68rem; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.avatar--lg { width: 64px; height: 64px; font-size: 1.1rem; }

/* ── Cabeçalho ─────────────────────────────────────────────── */
.site-header { background: rgba(255, 255, 255, .92); transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 22, 49, .35); background: rgba(255, 255, 255, .98); }
.brand-name { font-size: 1.4rem; letter-spacing: -.015em; }
.site-nav a { font-weight: 500; letter-spacing: .005em; }
.site-nav a[aria-current="page"]::after { height: 2px; bottom: 8px; border-radius: 2px; }
.header-cta { margin-right: var(--s-2); }
@media (max-width: 1279px) { .header-cta { display: none; } }

/* ── Masthead (home) ───────────────────────────────────────── */
.masthead {
  position: relative; color: #E2E8F0; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(212, 175, 55, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 120%, rgba(30, 64, 175, .45), transparent 60%),
    var(--pattern),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 11vw, 9.5rem);
}
.masthead__inner { position: relative; max-width: 1200px; }
.masthead__eyebrow { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-5); }
.masthead__title {
  color: #fff; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.025em;
  max-width: 17ch; font-weight: 500;
}
.masthead__lead { margin-top: var(--s-5); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); max-width: 56ch; color: #CBD5E1; }
.masthead__search {
  display: flex; align-items: center; gap: var(--s-2); margin-top: var(--s-8); max-width: 660px;
  background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow-lg);
}
.masthead__search .icon { color: var(--subtle); }
.masthead__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1rem; color: var(--ink); min-height: 44px; }
.masthead__search:focus-within { box-shadow: var(--shadow-lg), 0 0 0 3px rgba(212, 175, 55, .55); }
.masthead__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s-5); font-size: .85rem; }
.masthead__topics span { color: #94A3B8; margin-right: 4px; }
.masthead__topics a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); color: #E2E8F0; text-decoration: none; transition: all .2s var(--ease);
}
.masthead__topics a:hover { border-color: var(--gold); color: #fff; background: rgba(212, 175, 55, .12); }

/* ── Capa de revista ───────────────────────────────────────── */
.cover-section { position: relative; margin-top: clamp(-6.5rem, -8vw, -4.5rem); padding-bottom: var(--s-12); }
.cover-grid { display: grid; gap: var(--s-6); }
@media (min-width: 1000px) { .cover-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: stretch; } }
.cover-story {
  position: relative; min-height: 460px; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--navy-900); isolation: isolate;
}
@media (min-width: 1000px) { .cover-story { min-height: 560px; } }
.cover-story__media { position: absolute; inset: 0; z-index: -2; }
.cover-story__media img, .cover-story__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cover-story:hover .cover-story__media img { transform: scale(1.04); }
.cover-story::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 22, 49, 0) 25%, rgba(7, 22, 49, .55) 55%, rgba(7, 22, 49, .94) 100%);
}
.cover-story__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 3vw, 2.75rem); color: #E2E8F0; }
.cover-story__kicker { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #F1E3B3; margin-bottom: var(--s-3); }
.cover-story__title { color: #fff; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; }
.cover-story__title a { color: inherit; text-decoration: none; }
.cover-story__title a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cover-story__excerpt { margin-top: var(--s-3); font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.5; color: #CBD5E1; max-width: 58ch; }
.cover-story__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s-5); font-size: .85rem; color: #CBD5E1; }
.cover-story__meta .avatar { position: relative; z-index: 2; }

.cover-side { background: #fff; border-radius: var(--radius-xl); padding: var(--s-6) var(--s-6) var(--s-5); box-shadow: var(--shadow-card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.cover-side__title { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); padding-bottom: var(--s-3); border-bottom: 2px solid var(--gold); align-self: flex-start; }
.cover-list { list-style: none; padding: 0; margin: var(--s-2) 0 var(--s-4); flex: 1; }
.cover-list__item { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 76px; gap: var(--s-3); align-items: start; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.cover-list__item:last-child { border-bottom: 0; }
.cover-list__num { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--gold-700); font-weight: 500; }
.cover-list__cat { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 4px; }
.cover-list__heading { font-size: 1.08rem; line-height: 1.3; }
.cover-list__heading a { color: var(--ink); text-decoration: none; }
.cover-list__item:hover .cover-list__heading a { color: var(--brand); }
.cover-list__meta { font-size: .75rem; color: var(--subtle); margin-top: 4px; }
.cover-list__thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; }
.cover-list__thumb img, .cover-list__thumb .ph { width: 100%; height: 100%; object-fit: cover; }

/* ── Capa substituta (sem imagem) ──────────────────────────── */
.ph {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold); background: var(--pattern), linear-gradient(140deg, var(--ph-a), var(--ph-b));
}
.ph--azul    { --ph-a: #0B2149; --ph-b: #1E3A8A; }
.ph--verde   { --ph-a: #0B2F2D; --ph-b: #17605A; }
.ph--laranja { --ph-a: #3A220C; --ph-b: #8A5A1C; }
.ph--rosa    { --ph-a: #3C1427; --ph-b: #7A2E4F; }
.ph--roxo    { --ph-a: #22193F; --ph-b: #4B3A8C; }
.ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(212, 175, 55, .25); border-radius: 10px; pointer-events: none; }
.ph__icon { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .45); background: rgba(212, 175, 55, .08); }
.ph__icon .icon { width: 50%; height: 50%; }
.ph__label { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-align: center; padding: 0 12px; }
.cover-list__thumb .ph::before, .post-card--row .ph::before { display: none; }
.cover-list__thumb .ph__label, .post-card--row .ph__label { display: none; }
.cover-list__thumb .ph__icon, .post-card--row .ph__icon { border: 0; background: transparent; }

/* ── Seções ────────────────────────────────────────────────── */
.section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: var(--s-8); }
.section-title { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -.02em; font-weight: 500; color: var(--navy-900); }
.section--tint { background: #F4F1EA; }
.link-arrow { color: var(--navy-900); }
.link-arrow:hover { color: var(--brand); }

/* ── Cards ─────────────────────────────────────────────────── */
.post-card { gap: var(--s-4); }
.post-card__media { aspect-ratio: 16 / 10; border-radius: 16px; box-shadow: var(--shadow-card); }
.post-card__media img { transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__kicker .chip { color: var(--gold-700); font-size: .7rem; letter-spacing: .1em; }
.post-card__title { font-size: 1.4rem; line-height: 1.22; letter-spacing: -.01em; font-weight: 600; }
.post-card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease), color .2s; }
.post-card:hover .post-card__title a { color: var(--navy-900); background-size: 100% 1px; }
.post-card__excerpt { font-size: .95rem; line-height: 1.6; }
.post-card__meta { align-items: center; gap: 6px; font-size: .78rem; }
.post-card__author { color: var(--text); font-weight: 500; }
.grid { gap: var(--s-12) var(--s-8); }

.post-card--row { align-items: center; }
.post-card--row .post-card__media { flex: 0 0 120px; aspect-ratio: 1; border-radius: 12px; box-shadow: none; }
.post-card--row .post-card__title { font-size: 1.12rem; }
@media (min-width: 640px) { .post-card--row .post-card__media { flex-basis: 150px; aspect-ratio: 4 / 3; } }

/* Variante com texto sobre a imagem */
.post-card--overlay { position: relative; min-height: 440px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; justify-content: flex-end; }
.post-card--overlay .post-card__media { position: absolute; inset: 0; z-index: -2; border-radius: 0; aspect-ratio: auto; box-shadow: none; }
.post-card--overlay::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(7, 22, 49, .92)); }
.post-card--overlay .post-card__body { padding: var(--s-8); }
.post-card--overlay .post-card__kicker .chip { color: #F1E3B3; }
.post-card--overlay .post-card__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.post-card--overlay .post-card__title a, .post-card--overlay:hover .post-card__title a { color: #fff; }
.post-card--overlay .post-card__excerpt, .post-card--overlay .post-card__meta { color: #CBD5E1; }
.post-card--overlay .ph { justify-content: flex-start; padding-top: 22%; }
.post-card--overlay .ph__label { display: none; }

/* ── Explore por tema ──────────────────────────────────────── */
.section--topics { padding-top: var(--s-8); }
.topic-grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }
.topic-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: var(--s-6);
  border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(212, 175, 55, .6); color: var(--text); }
.topic-card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: var(--s-3);
  color: var(--gold); background: var(--pattern), linear-gradient(140deg, var(--ph-a, #0B2149), var(--ph-b, #1E3A8A));
}
.topic-card--azul .topic-card__icon { --ph-a: #0B2149; --ph-b: #1E3A8A; }
.topic-card--verde .topic-card__icon { --ph-a: #0B2F2D; --ph-b: #17605A; }
.topic-card--laranja .topic-card__icon { --ph-a: #3A220C; --ph-b: #8A5A1C; }
.topic-card--rosa .topic-card__icon { --ph-a: #3C1427; --ph-b: #7A2E4F; }
.topic-card--roxo .topic-card__icon { --ph-a: #22193F; --ph-b: #4B3A8C; }
.topic-card__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.topic-card__desc { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-card__count { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-3); font-size: .8rem; font-weight: 600; color: var(--gold-700); }
.topic-card:hover .topic-card__count .icon { transform: translateX(3px); }
.topic-card__count .icon { transition: transform .2s var(--ease); }

/* ── Versículo ─────────────────────────────────────────────── */
.verse-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 55, .14), transparent 70%), var(--pattern), var(--navy-950);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.verse-band__inner { display: flex; flex-direction: column; align-items: center; }
.verse-band__mark { font-family: var(--serif); font-size: 6rem; line-height: .6; color: var(--gold); height: 2.6rem; }
.verse-band__text { margin: 0; }
.verse-band__text p { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.35rem); line-height: 1.4; max-width: 34ch; color: #F8FAFC; }
.verse-band__ref { display: flex; align-items: center; gap: 12px; margin-top: var(--s-6); font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* ── Recursos ──────────────────────────────────────────────── */
.tile { position: relative; padding: var(--s-6); border-radius: 18px; box-shadow: var(--shadow-card); }
a.tile:hover { border-color: rgba(212, 175, 55, .6); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tile { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tile__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-900); color: var(--gold); }
.tile__label { font-family: var(--serif); font-size: 1.2rem; }
.tile__go { position: absolute; top: var(--s-5); right: var(--s-5); color: var(--line-strong); transition: color .2s, transform .2s var(--ease); }
a.tile:hover .tile__go { color: var(--gold-700); transform: translate(2px, -2px); }
.resource-list { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 0 var(--s-5); }
.resource-item:last-child { border-bottom: 0; }
.resource-card { border-radius: 18px; box-shadow: var(--shadow-card); }

/* ── Mais lidos / painel ───────────────────────────────────── */
.panel { border-radius: 18px; box-shadow: var(--shadow-card); background: #fff; }
.panel__title { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); }
.ranked li::before { font-size: 1.9rem; }

/* ── Comunidade ────────────────────────────────────────────── */
.community {
  border-radius: 24px; box-shadow: var(--shadow-lg);
  background: radial-gradient(700px 300px at 100% 0%, rgba(212, 175, 55, .16), transparent 60%), var(--pattern), linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.community__title { font-weight: 500; letter-spacing: -.015em; }
.community__newsletter { border-radius: 16px; backdrop-filter: blur(4px); }
.community .btn-primary { background: #fff; color: var(--navy-900); }
.community .btn-primary:hover { background: var(--gold); color: var(--navy-950); }

/* ── Cabeçalho das páginas internas (escuro) ───────────────── */
.page-header {
  color: #CBD5E1; border-bottom: 0;
  background: radial-gradient(900px 360px at 90% -20%, rgba(212, 175, 55, .14), transparent 60%), var(--pattern), linear-gradient(180deg, var(--navy-950), var(--navy-900));
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.page-header .page-title { color: #fff; font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -.02em; }
.page-header .lead { color: #CBD5E1; }
.page-header .lead a { color: #F1E3B3; }
.page-header .eyebrow { color: var(--gold); }
.page-header .breadcrumb ol { color: #94A3B8; }
.page-header .breadcrumb a { color: #CBD5E1; }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb [aria-current] { color: #94A3B8; }
.page-header .breadcrumb li + li::before { color: rgba(255, 255, 255, .25); }
.page-header .chip-nav .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #E2E8F0; }
.page-header .chip-nav .chip:hover { border-color: var(--gold); color: #fff; }
.page-header .chip-nav .chip[aria-current] { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.page-header .search-panel label { color: #E2E8F0; }
.page-header .meta, .page-header .meta span { color: #CBD5E1; }
.page-header .share-bar .btn-ghost { color: #E2E8F0; border-color: rgba(255, 255, 255, .2); }
.page-header .share-bar .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.section--flush { padding-top: var(--s-10); }
.filter-bar { padding: var(--s-4) var(--s-5); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.cat-card { border-radius: 18px; border-top-width: 1px; box-shadow: var(--shadow-card); background: #fff; position: relative; }
.cat-card::before { content: ""; position: absolute; left: 24px; top: 0; width: 40px; height: 3px; background: var(--gold); border-radius: 0 0 3px 3px; }

/* ── Artigo ────────────────────────────────────────────────── */
.article-header { padding-top: clamp(2.5rem, 5vw, 4rem); }
.article-kicker .chip { font-size: .74rem; letter-spacing: .12em; }
.article-title { font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); letter-spacing: -.025em; line-height: 1.06; }
.article-dek { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); color: #475569; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.byline__text { display: flex; flex-direction: column; line-height: 1.35; margin-right: auto; }
.byline__name { font-weight: 600; color: var(--ink); }
.byline__meta { font-size: .85rem; color: var(--muted); }
.byline__share { display: flex; gap: 6px; }
.icon-btn--ring { border: 1px solid var(--line-strong); border-radius: 50%; color: var(--navy-900); }
.icon-btn--ring:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.article-cover { max-width: 1240px; }
.article-cover img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 21 / 10; }
@media (max-width: 700px) { .article-cover img { aspect-ratio: 16 / 10; border-radius: 14px; } }

.prose { font-size: 1.22rem; line-height: 1.8; color: #1F2937; }
.prose--dropcap > p:first-of-type::first-letter {
  float: left; font-family: var(--serif); font-weight: 600; font-size: 4.4em; line-height: .82;
  margin: .06em .1em 0 0; color: var(--navy-900);
}
.prose h2 { font-weight: 600; letter-spacing: -.015em; font-size: 1.8rem; color: var(--navy-900); }
.prose h2::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: .55em; background: var(--gold); border-radius: 2px; }
.prose blockquote {
  position: relative; border-left: 0; padding: 1.2em 0 1.2em 2.2em; margin-block: 2em;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1.45; color: var(--navy-900);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.prose blockquote::before { content: "“"; position: absolute; left: -.05em; top: .35em; font-size: 3.2em; line-height: 1; color: var(--gold); font-style: normal; }
.prose .bloco { border-radius: 16px; padding: var(--s-6) var(--s-6); border-width: 0; border-left-width: 4px; border-left-style: solid; }
.prose .bloco-biblico { border-left-color: var(--gold); }
.prose .bloco-professor { border-left-color: var(--brand); }
.prose .bloco-aplicacao { border-left-color: var(--success); }
.prose img { border-radius: 16px; box-shadow: var(--shadow-card); }

.info-box { border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.ref-list li { background: var(--gold-50); border-color: #EAD9A6; color: #5C4310; }
.author-box {
  display: flex; gap: var(--s-5); align-items: center; margin-top: var(--s-10); padding: var(--s-6);
  border-radius: 18px; background: #F4F1EA; border: 1px solid #E8E1D0;
}
.author-box__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.author-box__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.author-box__bio { font-size: .92rem; color: var(--muted); margin-top: 2px; }
.tag { background: #fff; border: 1px solid var(--line); }
.share-bar { border-top: 0; padding-top: 0; margin-top: var(--s-6); }
.comment-form { border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.comment__avatar { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); }

/* ── Rodapé ────────────────────────────────────────────────── */
.site-footer { position: relative; background: var(--pattern), var(--navy-950); border-top: 3px solid var(--gold); padding-top: var(--s-16); }
.footer-slogan { font-size: 1.35rem !important; line-height: 1.35; max-width: 22ch; }
.footer-title { letter-spacing: .16em; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .masthead__search { padding-left: 14px; }
  .masthead__search .btn { padding: 0 var(--s-4); }
  .cover-list__item { grid-template-columns: 30px minmax(0, 1fr) 64px; }
  .cover-list__thumb { width: 64px; height: 64px; }
  .byline__share { width: 100%; }
  .post-card__title { font-size: 1.3rem; }
  .author-box { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-story:hover .cover-story__media img, .post-card:hover .post-card__media img { transform: none; }
  .topic-card:hover, a.tile:hover { transform: none; }
}

@media print {
  .masthead, .cover-section, .verse-band, .byline__share, .author-box { display: none !important; }
  .page-header { background: none; color: #000; }
  .page-header .page-title { color: #000; }
}

/* ── Ajustes finos (QA visual) ─────────────────────────────── */
.brand-text, .brand-name { white-space: nowrap; }
@media (max-width: 1439px) { .brand-tag { display: none; } }
.cover-story::after { background: linear-gradient(180deg, rgba(7, 22, 49, .05) 10%, rgba(7, 22, 49, .6) 42%, rgba(7, 22, 49, .96) 100%); }
.cover-story__kicker, .cover-story__title, .cover-story__excerpt { text-shadow: 0 1px 12px rgba(7, 22, 49, .45); }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.article-cover { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ── Correções mobile: menu e comunidade ───────────────────── */
@media (max-width: 1099px) {
  /* backdrop-filter cria um novo bloco de contenção e prendia o menu fixo dentro do cabeçalho */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-nav {
    top: var(--header-h); bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; box-shadow: 0 20px 30px -20px rgba(7, 22, 49, .25); z-index: 99;
  }
  .site-nav a { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--navy-900); min-height: 56px; }
  .site-nav a[aria-current="page"] { color: var(--gold-700); }
  .site-nav a[aria-current="page"]::after { background: var(--gold); }
}

@media (max-width: 760px) {
  .community { padding: var(--s-6) var(--s-5); gap: var(--s-6); border-radius: 18px; }
  .community__main { flex-direction: column; gap: var(--s-4); }
  .community__icon { flex-basis: auto; width: 48px; height: 48px; }
  .community__title { font-size: 1.45rem; }
  .community .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; }
  .community__newsletter { padding: var(--s-5); }
  .newsletter-form .input { width: 100%; }
}
@media (max-width: 1099px) { .site-nav a[aria-current="page"]::after { left: -10px; right: auto; top: 16px; bottom: 16px; width: 3px; height: auto; } }
.community__main > div { flex: 1; min-width: 0; }
@media (max-width: 760px) { .community__main { align-items: stretch; } .community__main > div { width: 100%; } .community__icon { align-self: flex-start; } }
@media (max-width: 420px) { .tiles, .tiles--4 { grid-template-columns: 1fr; } }
.tile { min-width: 0; } .tile__label, .tile__desc { overflow-wrap: anywhere; }

/* ── Comunidade (somente WhatsApp + QR code) ───────────────── */
.community--whatsapp { grid-template-columns: 1fr; }
@media (min-width: 761px) {
  .community--whatsapp { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-10); }
}
.community--whatsapp .btn-gold { gap: 8px; }
.community__qr { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.qr-box {
  width: 168px; height: 168px; padding: 12px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .35), var(--shadow-lg);
}
.qr-box:not(.is-ready) { background: #fff linear-gradient(90deg, #f1f5f9, #fff, #f1f5f9); }
.qr-box svg { display: block; width: 100%; height: 100%; }
.community__qr figcaption { max-width: 190px; text-align: center; font-size: .82rem; line-height: 1.4; color: #CBD5E1; }
@media (max-width: 760px) { .community__qr { display: none; } }
