/* ==========================================================================
    Teologia para Menores - Identidade Visual Editorial & Minimalista
   ========================================================================== */

:root {
    /* Paleta de Cores Editorial */
    --forest: #1e3a2b;          /* Verde escuro nobre principal */
    --forest-deep: #13271d;     /* Verde profundo para rodapés e contrastes */
    --forest-light: #2c523e;    /* Verde médio para hovers e elementos ativos */
    --forest-soft: #edf4f0;     /* Fundo verde sutil para tags e realces */
    --forest-glow: rgba(30, 58, 43, 0.08);

    --sand-bg: #fcfbf8;         /* Fundo editorial bege ultra suave */
    --sand-subtle: #f6f4ee;     /* Bloco neutro secundário */
    --white: #ffffff;           /* Fundo cards e áreas claras */
    
    --ink: #191c1a;             /* Texto principal com leitura perfeita */
    --ink-light: #2b302d;       /* Subtítulos e títulos secundários */
    --muted: #5d6660;           /* Textos de apoio e resumos */
    --muted-light: #7b857f;     /* Metadados, datas e legendas */
    --line: #e6e4dc;            /* Linhas divisórias refinadas */
    --line-subtle: #efece4;     /* Linhas muito sutis */

    /* Tipografia */
    --serif-heading: "Lora", Georgia, "Times New Roman", serif;
    --serif-display: "Lora", Georgia, serif;
    --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Formas e Sombras Sutis */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;

    --shadow-soft: 0 2px 12px rgba(19, 39, 29, 0.035);
    --shadow-hover: 0 8px 22px rgba(19, 39, 29, 0.075);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background-color: var(--sand-bg);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--serif-heading);
    color: var(--forest-deep);
    font-weight: 500;
    line-height: 1.25;
}

ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

a:focus-visible,
input:focus-visible,
button:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 3px;
}

/* ==========================================================================
   Barra Topo / Destaque Rápido (Provérbio / Devocional)
   ========================================================================== */
.promo {
    background-color: var(--sand-subtle);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px;
    text-align: center;
    font-size: 13.5px;
    letter-spacing: 0.01em;
}

.promo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    line-height: 1.4;
}

.promo a:hover {
    color: var(--forest);
}

.promo a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--forest);
    flex-shrink: 0;
}

.promo strong {
    color: var(--forest-deep);
    font-weight: 600;
}

/* ==========================================================================
   Provérbio do Dia
   ========================================================================== */
.daily-proverb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0;
    padding: 26px 32px;
    background: linear-gradient(120deg, var(--forest-deep), var(--forest));
    border: 1px solid var(--forest);
    border-radius: var(--radius-md);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(19, 39, 29, 0.12);
}

.daily-proverb-content {
    min-width: 0;
}

.daily-proverb-label {
    margin: 0 0 5px;
    color: #b8d1c1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.daily-proverb h2 {
    color: var(--white);
    font-size: 24px;
}

.daily-proverb-quote {
    max-width: 760px;
    margin: 8px 0 0;
    font-family: var(--serif-heading);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.45;
}

.daily-proverb-reference {
    margin: 7px 0 0;
    color: #c9ddd0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.daily-proverb-link {
    flex-shrink: 0;
    color: var(--forest-deep);
    background-color: var(--white);
    border-color: var(--white);
    box-shadow: none;
}

.daily-proverb-link:hover {
    color: var(--forest-deep);
    background-color: var(--forest-soft);
    border-color: var(--forest-soft);
}

.intro-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    width: min(100% - 3rem, 1120px);
    margin: 0 auto;
}

/* ==========================================================================
   Cabeçalho Principal
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(252, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 3rem, 1160px);
    min-height: 74px;
    margin: 0 auto;
    gap: 24px;
}

.brand {
    font-family: var(--serif-heading);
    font-size: 21px;
    font-weight: 600;
    color: var(--forest-deep);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.brand:hover {
    color: var(--forest);
}

/* Navegação */
nav.main > ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav.main a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    padding: 6px 0;
    position: relative;
}

nav.main a:hover,
nav.main a:focus-visible,
nav.main a.active {
    color: var(--forest-deep);
}

nav.main a:hover::after,
nav.main a:focus-visible::after,
nav.main a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--forest);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.header-link:hover {
    color: var(--forest-deep);
    background-color: var(--forest-soft);
}

/* Série secundária */
.series {
    display: none; /* Mantido limpo para manter minimalismo editorial */
}

/* Botões */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    color: var(--white);
    background-color: var(--forest);
    border: 1px solid var(--forest);
    border-radius: var(--radius-pill);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 58, 43, 0.15);
    transition: var(--transition);
}

.button:hover {
    background-color: var(--forest-light);
    border-color: var(--forest-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 43, 0.22);
}

.button-small {
    padding: 8px 18px;
    font-size: 13.5px;
}

/* ==========================================================================
   Apresentação Inicial (Hero Editorial)
   ========================================================================== */
.intro {
    width: auto;
    margin: 0;
    padding: 72px 0 54px;
    text-align: center;
}

.intro h1 {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(32px, 4.8vw, 52px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--forest-deep);
}

.intro p {
    max-width: 580px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: clamp(17px, 1.8vw, 19px);
    line-height: 1.6;
    font-weight: 400;
}

/* ==========================================================================
   Seções Gerais e Títulos
   ========================================================================== */
.content-section {
    width: min(100% - 3rem, 1120px);
    margin: 0 auto;
    padding: 56px 0;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

h2 {
    font-size: clamp(23px, 2.4vw, 29px);
    letter-spacing: -0.015em;
    color: var(--forest-deep);
    position: relative;
}

.see-all,
.card-link {
    color: var(--forest);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.see-all::after,
.card-link::after {
    content: "→";
    display: inline-block;
    transition: transform 0.2s ease;
}

.see-all:hover::after,
.card-link:hover::after {
    transform: translateX(4px);
}

/* ==========================================================================
   Catálogo de Publicações
   ========================================================================== */
.catalog-header {
    width: min(100% - 3rem, 820px);
    margin: 0 auto;
    padding: 72px 0 44px;
    text-align: center;
}

.catalog-header h1 {
    margin: 12px 0 16px;
    color: var(--forest-deep);
    font-family: var(--serif-heading);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.catalog-header p:last-child {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.catalog-controls {
    width: min(100% - 3rem, 1120px);
    margin: 0 auto 12px;
    padding: 24px;
    background: var(--sand-subtle);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.catalog-controls label {
    display: block;
    margin-bottom: 8px;
    color: var(--forest-deep);
    font-size: 14px;
    font-weight: 600;
}

.catalog-controls input {
    width: 100%;
    padding: 13px 15px;
    color: var(--forest-deep);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
}

.catalog-controls input:focus {
    outline: 2px solid rgba(30, 58, 43, 0.25);
    outline-offset: 2px;
}

.catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.catalog-tab {
    padding: 9px 16px;
    color: var(--forest);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
}

.catalog-tab:hover,
.catalog-tab.is-active {
    color: var(--white);
    background: var(--forest);
    border-color: var(--forest);
}

.catalog-count {
    color: var(--muted-light);
    font-size: 13px;
}

.catalog-empty {
    margin: 0;
    padding: 24px;
    color: var(--muted);
    background: var(--sand-subtle);
    border-radius: var(--radius-sm);
    text-align: center;
}

.tag {
    margin: 0;
    display: inline-block;
    color: var(--forest);
    background-color: var(--forest-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    width: fit-content;
}

.reference {
    margin: 6px 0 0;
    color: var(--forest-light);
    font-family: var(--serif-heading);
    font-style: italic;
    font-size: 15px;
}

.byline {
    margin: 12px 0 0;
    color: var(--muted-light);
    font-size: 13px;
    font-weight: 400;
}

/* ==========================================================================
   Conteúdos em Destaque
   ========================================================================== */
.highlight {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: start;
}

.highlight-main {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.highlight-main:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 58, 43, 0.2);
}

.highlight-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 270px;
    padding: 32px 28px;
    margin-bottom: 22px;
    color: var(--white);
    background-color: var(--forest);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.15);
}

.highlight-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 220px;
    height: 220px;
    top: -110px;
    right: -70px;
    bottom: auto;
    left: auto;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.highlight-panel::after {
    content: "“";
    position: absolute;
    top: -20px;
    left: 18px;
    font-family: var(--serif-heading);
    font-size: 120px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.highlight-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(19, 39, 29, 0.25);
}

.panel-verse {
    font-family: var(--serif-heading);
    font-size: clamp(23px, 2.5vw, 30px);
    line-height: 1.35;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.panel-ref {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--sans);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.highlight-main h3 {
    margin: 12px 0 10px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

.highlight-main h3 a:hover {
    color: var(--forest);
}

.highlight-main p:not(.tag):not(.byline) {
    margin: 0;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
}

.highlight-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.highlight-side article {
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.highlight-side article:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 58, 43, 0.2);
}

.highlight-side h3 {
    margin: 10px 0 4px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.highlight-side h3 a:hover {
    color: var(--forest);
}

.highlight-side article p:not(.tag):not(.reference):not(.byline) {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Provérbio / Versículo do dia Marcante */
.verse {
    position: relative;
    padding: 61px 24px;
    margin: 0;
    background-color: var(--sand-subtle);
    border: 1px solid var(--line);
    border-left: 4px solid var(--forest);
    border-radius: var(--radius-sm);
}

.verse p {
    margin: 0;
    font-family: var(--serif-heading);
    font-style: italic;
    font-size: 19px;
    line-height: 1.55;
    color: var(--forest-deep);
}

.verse cite {
    display: block;
    margin-top: 10px;
    color: var(--forest);
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ==========================================================================
   Conteúdos Recentes (Cards de Leitura)
   ========================================================================== */
.post-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-list li {
    min-width: 0;
}

.post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 58, 43, 0.2);
}

.post-card:focus-within {
    border-color: rgba(30, 58, 43, 0.35);
    box-shadow: var(--shadow-hover);
}

.post-image {
    position: relative;
    display: block;
    min-height: 175px;
    padding: 16px;
    overflow: hidden;
    background-color: var(--forest-soft);
    border-bottom: 1px solid var(--line-subtle);
}

.post-image::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-image::before {
    opacity: 0.95;
}

/* Ilustrações Abstratas e Coerentes com o Tema */
.post-image-anxiety {
    background-color: #466c57;
}
.post-image-anxiety::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.post-image-love {
    background-color: #637967;
}
.post-image-love::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.post-image-fruits {
    background-color: #31533f;
}
.post-image-fruits::after {
    content: "";
    position: absolute;
    right: -15px;
    bottom: -25px;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.post-image-label {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 4px 10px;
    color: var(--forest-deep);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 20px 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.post-meta .tag {
    font-size: 11px;
    padding: 3px 8px;
}

.post-meta .byline {
    margin-top: 0;
    font-size: 12.5px;
}

.post-body h3 {
    margin-top: 14px;
    margin-bottom: 2px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
}

.post-body h3 a:hover {
    color: var(--forest);
}

.post-card a:focus-visible {
    position: relative;
    z-index: 3;
}

.post-body p:not(.reference):not(.byline) {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.post-body > .byline {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line-subtle);
}

/* ==========================================================================
   Newsletter Minimalista e Acolhedora
   ========================================================================== */
.newsletter {
    padding: 64px 24px;
    background-color: var(--forest-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.newsletter-inner {
    width: min(100%, 540px);
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--forest-deep);
}

.newsletter p {
    margin: 12px 0 28px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.6;
}

.newsletter form {
    width: 100%;
    text-align: left;
}

.newsletter label[for="email-campo"] {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-light);
}

.frequency {
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 18px 0 0;
    border: 0;
}

.frequency legend {
    padding: 0;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.frequency label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    color: var(--ink);
    font-size: 14.5px;
    cursor: pointer;
}

.frequency input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--line);
    border-radius: 50%;
    margin: 0;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.frequency input[type="radio"]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.15s transform ease-in-out;
    background-color: var(--forest);
}

.frequency input[type="radio"]:checked {
    border-color: var(--forest);
}

.frequency input[type="radio"]:checked::before {
    transform: scale(1);
}

/* ==========================================================================
   Seções de Duas Colunas (Mais Lidos, Quem Somos, Categorias, Busca)
   ========================================================================== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.two-col h2 {
    margin-bottom: 20px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.two-col p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
}

.popular {
    counter-reset: lido;
}

.popular li {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: lido;
}

.popular li:first-child {
    padding-top: 0;
}

.popular li:last-child {
    border-bottom: 0;
}

.popular li::before {
    content: "0" counter(lido);
    flex: none;
    width: 2.2ch;
    color: var(--forest);
    font-family: var(--serif-heading);
    font-size: 19px;
    font-weight: 600;
}

.popular a {
    font-family: var(--serif-heading);
    font-size: 18.5px;
    line-height: 1.4;
    color: var(--ink-light);
}

.popular a:hover {
    color: var(--forest);
}

/* Categorias */
.categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.categories a {
    display: block;
    padding: 9px 18px;
    background: var(--white);
    color: var(--ink-light);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.categories a:hover {
    color: var(--forest);
    border-color: var(--forest);
    background-color: var(--forest-soft);
    transform: translateY(-1px);
}

/* Formulário e Busca */
label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-light);
    font-size: 14px;
    font-weight: 500;
}

.search-row {
    display: flex;
    gap: 8px;
}

input[type="text"],
input[type="search"],
input[type="email"] {
    min-width: 0;
    flex: 1;
    padding: 12px 18px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-family: var(--sans);
    font-size: 15px;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px var(--forest-glow);
}

/* ==========================================================================
   Rodapé Editorial
   ========================================================================== */
.site-footer {
    padding: 64px 24px 36px;
    color: #d5e2da;
    background-color: var(--forest-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14.5px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    width: min(100%, 1120px);
    margin: 0 auto;
}

.footer-brand {
    margin: 0 0 12px;
    color: var(--white);
    font-family: var(--serif-heading);
    font-size: 21px;
    font-weight: 600;
}

.site-footer p {
    max-width: 380px;
    margin: 0;
    color: #c4d3ca;
    line-height: 1.65;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: var(--white);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #d5e2da;
}

.site-footer a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-inner .copyright {
    grid-column: 1 / -1;
    max-width: none;
    padding-top: 28px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a9beb1;
    font-size: 13px;
    text-align: center;
}

/* ==========================================================================
   Responsividade Mobile-First Avançada
   ========================================================================== */
@media (max-width: 960px) {
    .header-inner {
        min-height: 64px;
        flex-wrap: wrap;
        padding-top: 8px;
    }

    nav.main {
        order: 3;
        width: 100%;
    }

    nav.main > ul {
        justify-content: center;
        padding-bottom: 8px;
    }
}

@media (max-width: 860px) {
    .intro-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .highlight {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 104px;
    }

    body {
        font-size: 16px;
    }

    .promo {
        padding: 9px 16px;
        font-size: 13px;
    }

    .promo a {
        display: block;
        text-align: center;
    }

    .promo a::before {
        display: none;
    }

    .daily-proverb {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 22px 20px;
    }

    .daily-proverb h2 {
        font-size: 22px;
    }

    .daily-proverb-quote {
        font-size: 17px;
    }

    .daily-proverb-link {
        width: 100%;
    }

    .header-inner {
        width: min(100% - 1.75rem, 1160px);
        min-height: 60px;
        gap: 12px;
        flex-wrap: wrap;
        padding: 10px 0 0;
    }

    .brand {
        font-size: 18px;
    }

    .header-actions {
        gap: 6px;
        margin-left: auto;
    }

    .header-link {
        padding: 6px 10px;
        font-size: 13.5px;
    }

    .button-small {
        padding: 7px 14px;
        font-size: 13px;
    }

    nav.main {
        display: block;
        width: calc(100% + 1.75rem);
        margin: 0 -0.875rem;
        overflow-x: auto;
        border-top: 1px solid var(--line-subtle);
        scrollbar-width: none;
    }

    nav.main::-webkit-scrollbar {
        display: none;
    }

    nav.main > ul {
        width: max-content;
        gap: 24px;
        padding: 8px 0.875rem 10px;
    }

    nav.main a {
        display: block;
        padding: 5px 0;
        font-size: 13.5px;
        white-space: nowrap;
    }

    .intro {
        padding: 44px 0 34px;
    }

    .intro h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .intro p {
        margin-top: 14px;
        font-size: 16px;
    }

    .content-section {
        width: min(100% - 1.75rem, 1120px);
        padding: 40px 0;
    }

    .catalog-header {
        width: min(100% - 1.75rem, 820px);
        padding: 48px 0 32px;
    }

    .catalog-header h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .catalog-controls {
        width: min(100% - 1.75rem, 1120px);
        padding: 18px;
    }

    .section-heading {
        align-items: center;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    /* Cards e destaques no Mobile */
    .highlight-panel {
        min-height: 220px;
        padding: 24px 20px;
        margin-bottom: 18px;
    }

    .panel-verse {
        font-size: 21px;
    }

    .highlight-main h3 {
        font-size: 22px;
    }

    .highlight-side article {
        padding: 20px 18px;
    }

    .highlight-side h3 {
        font-size: 20px;
    }

    .verse {
        padding: 22px 18px;
    }

    .verse p {
        font-size: 17px;
    }

    .post-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-body {
        padding: 18px 16px 16px;
    }

    .post-body h3 {
        font-size: 20px;
    }

    .newsletter {
        padding: 48px 16px;
    }

    .newsletter p {
        font-size: 15.5px;
        margin-bottom: 22px;
    }

    .search-row {
        flex-direction: column;
        gap: 10px;
    }

    .search-row .button {
        width: 100%;
        padding: 13px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-inner .copyright {
        text-align: left;
    }
}

@media (max-width: 380px) {
    .header-link {
        display: none;
    }

    .intro h1 {
        font-size: 26px;
    }

    .panel-verse {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .button, 
    .categories a, 
    .highlight-panel,
    .highlight-main,
    .highlight-side article,
    .post-card {
        transition: var(--transition);
    }
}

@media (hover: none) {
    .post-card:hover {
        transform: none;
        box-shadow: var(--shadow-soft);
        border-color: var(--line);
    }
}

/* ==========================================================================
   Páginas de leitura e componentes editoriais reutilizáveis
   ========================================================================== */
.reading-page {
    width: min(100% - 2rem, 760px);
    margin: 0 auto;
    padding: 56px 0 40px;
}

.reading-header {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.content-type,
.reflection-label,
.story-kicker {
    margin: 0;
    color: var(--forest);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reading-header h1 {
    margin-top: 12px;
    font-size: clamp(34px, 8vw, 56px);
    letter-spacing: -0.03em;
}

.reading-reference {
    margin: 16px 0 0;
    color: var(--forest);
    font-family: var(--serif-heading);
    font-size: 19px;
    font-style: italic;
}

.reading-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 18px;
    color: var(--muted-light);
    font-size: 13px;
}

.reading-meta span + span::before {
    content: "•";
    margin-right: 20px;
    color: var(--line);
}

.reading-intro {
    margin: 28px auto 0;
    color: var(--muted);
    font-family: var(--serif-heading);
    font-size: 20px;
    line-height: 1.6;
}

.reading-layout {
    display: grid;
    gap: 40px;
}

.reading-body {
    padding-top: 40px;
}

.reading-body > p {
    margin: 0 0 24px;
    color: var(--ink-light);
    font-family: var(--serif-display);
    font-size: 18px;
    line-height: 1.85;
}

.markdown-content > p {
    margin: 0 0 24px;
    color: var(--ink-light);
    font-family: var(--serif-display);
    font-size: 18px;
    line-height: 1.85;
}

.markdown-content h2,
.markdown-content h3 {
    margin: 42px 0 16px;
}

.markdown-content h2 {
    font-size: 28px;
}

.markdown-content h3 {
    font-size: 23px;
}

.markdown-content ul,
.markdown-content ol {
    margin: 0 0 28px;
    padding-left: 24px;
}

.markdown-content ul {
    list-style: disc;
}

.markdown-content ol {
    list-style: decimal;
}

.markdown-content li {
    margin: 8px 0;
    color: var(--ink-light);
    font-family: var(--serif-display);
    font-size: 18px;
    line-height: 1.7;
}

.markdown-content a {
    color: var(--forest);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.markdown-content blockquote {
    margin: 34px 0;
    padding: 24px 22px;
    border-left: 4px solid var(--forest);
    background: var(--sand-subtle);
}

.markdown-content blockquote p {
    margin: 0 0 8px;
    color: var(--forest-deep);
    font-family: var(--serif-heading);
    font-size: 21px;
    font-style: italic;
    line-height: 1.6;
}

.markdown-content blockquote p:last-child {
    margin-bottom: 0;
    color: var(--forest);
    font-family: var(--sans);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.complementary-references {
    margin: 40px 0 0;
    padding: 20px 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.complementary-references h2 {
    margin: 0 0 12px;
    font-size: 21px;
}

.complementary-references ul {
    margin: 0;
    padding-left: 20px;
    color: var(--forest);
    list-style: disc;
}

.reader-error {
    min-height: 360px;
    text-align: center;
}

.reading-body h2 {
    margin: 42px 0 16px;
    font-size: 28px;
}

.reading-quote {
    margin: 34px 0;
    padding: 24px 22px;
    border-left: 4px solid var(--forest);
    background: var(--sand-subtle);
}

.reading-quote p {
    margin: 0;
    color: var(--forest-deep);
    font-family: var(--serif-heading);
    font-size: 21px;
    font-style: italic;
    line-height: 1.6;
}

.reading-quote cite {
    display: block;
    margin-top: 12px;
    color: var(--forest);
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.reflection-card {
    margin-top: 48px;
    padding: 28px 24px;
    background: var(--forest-soft);
    border: 1px solid #d7e6dc;
    border-radius: var(--radius-md);
}

.reflection-card h2 {
    margin: 10px 0 0;
    color: var(--forest-deep);
    font-size: 24px;
    line-height: 1.4;
}

.story-reference {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100%, 320px);
    aspect-ratio: 9 / 16;
    margin: 0 auto 8px;
    padding: 36px 28px;
    color: var(--white);
    background: var(--forest-deep);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.story-kicker {
    color: #b8d1c1;
    font-size: 10px;
}

.story-ornament {
    margin: 34px 0;
    color: #b8d1c1;
    font-size: 20px;
}

.story-text {
    margin: 0;
    font-family: var(--serif-heading);
    font-size: 25px;
    line-height: 1.45;
}

.story-citation {
    margin: 18px 0 0;
    color: #c9ddd0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.series-card {
    width: min(100% - 2rem, 960px);
    margin: 0 auto 56px;
    padding: 28px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.series-heading h2 {
    margin-top: 8px;
    font-size: 28px;
}

.series-heading > p:last-child {
    max-width: 600px;
    margin: 10px 0 0;
    color: var(--muted);
}

.series-progress {
    margin-top: 28px;
}

.series-progress-label {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
}

.series-progress-label strong {
    color: var(--forest);
}

.progress-track {
    height: 8px;
    margin-top: 9px;
    overflow: hidden;
    background: var(--forest-soft);
    border-radius: var(--radius-pill);
}

.progress-track span {
    display: block;
    height: 100%;
    background: var(--forest);
    border-radius: inherit;
}

.series-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.series-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 70px;
    padding: 14px 16px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.series-nav-link span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-content {
    width: min(100% - 2rem, 960px);
    margin: 0 auto 56px;
}

.related-content .section-heading {
    margin-bottom: 20px;
}

.related-links {
    display: grid;
    gap: 12px;
}

.related-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.related-link:hover {
    border-color: rgba(30, 58, 43, 0.3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.related-link .content-type {
    font-size: 11px;
}

.related-link strong {
    color: var(--forest-deep);
    font-family: var(--serif-heading);
    font-size: 20px;
    line-height: 1.35;
}

.related-link > span:last-child {
    color: var(--muted);
    font-size: 13px;
}

.series-nav-link strong {
    color: var(--forest-deep);
    font-family: var(--serif-heading);
    font-size: 16px;
}

.series-nav-next {
    align-items: flex-end;
    text-align: right;
}

.series-nav-link:hover {
    border-color: var(--forest);
    background: var(--forest-soft);
}

.series-nav-link.is-disabled {
    cursor: default;
    opacity: 0.55;
}

.series-nav-link.is-disabled:hover {
    border-color: var(--line);
    background: transparent;
}

.reading-newsletter {
    display: grid;
    gap: 20px;
    padding: 40px max(1rem, calc((100% - 960px) / 2));
    background: var(--forest-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.reading-newsletter h2 {
    font-size: 27px;
}

.reading-newsletter p {
    margin: 8px 0 0;
    color: var(--muted);
}

.reading-newsletter form {
    width: 100%;
}

.reading-newsletter label {
    margin-bottom: 8px;
}

@media (min-width: 760px) {
    .reading-page {
        padding-top: 80px;
    }

    .reading-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        align-items: start;
    }

    .story-reference {
        position: sticky;
        top: 110px;
        margin-top: 40px;
    }

    .reading-newsletter {
        grid-template-columns: 1fr 1.1fr;
        align-items: end;
    }

    .related-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .reading-page {
        width: min(100% - 1.75rem, 760px);
        padding-top: 40px;
    }

    .reading-header {
        padding-bottom: 32px;
    }

    .reading-header h1 {
        font-size: 32px;
    }

    .reading-intro {
        font-size: 18px;
    }

    .reading-body {
        padding-top: 32px;
    }

    .reading-body > p {
        font-size: 17px;
        line-height: 1.75;
    }

    .markdown-content > p,
    .markdown-content li {
        font-size: 17px;
        line-height: 1.75;
    }

    .reading-body h2 {
        font-size: 25px;
    }

    .series-navigation {
        grid-template-columns: 1fr;
    }

    .series-nav-next {
        align-items: flex-start;
        text-align: left;
    }
}
