/* ==========================================================================
    TEME — Discipulado Virtual
   ========================================================================== */

: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;
}

.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);
}

/* 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;
}

/* Entrada progressiva do conteúdo da página inicial */
.home-page .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-page .scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-page .scroll-reveal[data-reveal-delay="1"] {
    transition-delay: 0.08s;
}

.home-page .scroll-reveal[data-reveal-delay="2"] {
    transition-delay: 0.16s;
}

.home-page .scroll-reveal[data-reveal-delay="3"] {
    transition-delay: 0.24s;
}

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

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

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

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

/* Botão de navegação expansível */
.learn-more {
    position: relative;
    display: inline-block;
    width: 9rem;
    height: 2.25rem;
    flex-shrink: 0;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--forest);
    border-radius: 1.625rem;
}

.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.45rem;
    width: 0.85rem;
    height: 0.1rem;
    background: none;
}

.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.23rem;
    right: 0.05rem;
    width: 0.5rem;
    height: 0.5rem;
    border-top: 0.1rem solid #fff;
    border-right: 0.1rem solid #fff;
    transform: rotate(45deg);
}

.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.45rem 0;
    margin: 0 0 0 1.35rem;
    font-size: 0.72rem;
    color: var(--forest);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

.learn-more:hover .circle,
.learn-more:focus-visible .circle {
    width: 100%;
}

.learn-more:hover .circle .icon.arrow,
.learn-more:focus-visible .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.learn-more:hover .button-text,
.learn-more:focus-visible .button-text {
    color: #fff;
}

/* ==========================================================================
   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);
}

/* ==========================================================================
   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;
    }

    .home-page .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Abertura curta da marca e calendário de leitura. */
.brand-intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #070b15;
    color: var(--ink);
    opacity: 1;
    pointer-events: none;
    transition: opacity 500ms ease;
}

.brand-intro.is-complete {
    opacity: 0;
}

.terminal-window {
    width: min(100%, 520px);
    padding: 28px;
    border: 1px solid rgba(139, 233, 245, 0.3);
    border-radius: var(--radius-md);
    background: #0e1627;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    font-family: "Courier New", Courier, monospace;
}

.terminal-window p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.terminal-prompt,
.terminal-status {
    color: var(--forest);
}

.terminal-status {
    margin-top: 12px !important;
    opacity: 0;
    animation: terminal-type-in 650ms 550ms forwards;
}

.terminal-logo {
    margin: 32px 0 12px;
    color: var(--forest-deep);
    font-family: var(--sans);
    font-size: clamp(42px, 12vw, 72px);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
    opacity: 0;
    transform: translateY(8px);
    animation: terminal-logo-in 850ms 1050ms forwards;
}

.terminal-logo span {
    color: var(--forest);
}

.terminal-slogan {
    color: var(--forest) !important;
    opacity: 0;
    animation: terminal-type-in 650ms 1900ms forwards;
}

.terminal-cursor {
    display: inline-block;
    margin-left: 3px;
    animation: terminal-blink 800ms steps(2, start) infinite;
}

@keyframes terminal-type-in {
    to {
        opacity: 1;
    }
}

@keyframes terminal-logo-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes terminal-blink {
    50% {
        opacity: 0;
    }
}

.daily-proverb {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.proverb-calendar {
    min-width: 0;
}

.proverb-calendar-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(30px, 1fr));
    gap: 7px;
    margin-top: 24px;
}

.proverb-day {
    display: grid;
    min-width: 30px;
    min-height: 34px;
    place-items: center;
    padding: 0;
    color: var(--muted);
    background: rgba(10, 15, 29, 0.5);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font: 700 12px var(--sans);
    transition: var(--transition);
}

.proverb-day:hover,
.proverb-day:focus-visible {
    color: var(--forest-deep);
    background: var(--forest);
    border-color: var(--forest);
}

.proverb-day.is-current {
    color: #07131d;
    background: var(--forest);
    border-color: var(--forest);
    box-shadow: 0 0 0 4px var(--forest-glow);
}

@media (min-width: 760px) {
    .daily-proverb {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
        align-items: start;
    }

}

@media (max-width: 430px) {
    .proverb-calendar-grid {
        grid-template-columns: repeat(7, minmax(28px, 1fr));
        gap: 6px;
    }

    .proverb-day {
        min-width: 28px;
        min-height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-intro {
        display: none;
    }

    .terminal-status,
    .terminal-logo,
    .terminal-slogan {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.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;
}

input[type="text"],
input[type="search"] {
    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 {
    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;
    }

    .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;
    }

    .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);
    }

    /* TEME: tema escuro e componentes de discipulado */
    :root {
        --forest: #8bd3c7;
        --forest-deep: #f2f5f4;
        --forest-light: #b7eee5;
        --forest-soft: #1d3537;
        --sand-bg: #0e1719;
        --sand-subtle: #152326;
        --white: #f2f5f4;
        --ink: #e6eeec;
        --ink-light: #d3dfdc;
        --muted: #a7b9b5;
        --muted-light: #819793;
        --line: #294044;
        --line-subtle: #203437;
        --forest-glow: rgba(139, 211, 199, 0.12);
        --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.2);
        --shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.35);
    }

    body {
        background-color: var(--sand-bg);
        color: var(--ink);
    }

    .site-header {
        background-color: rgba(14, 23, 25, 0.95);
    }

    .post-card,
    .catalog-controls,
    .question-panel,
    .series-card,
    .related-link,
    .trail-card,
    .glossary-card,
    .question-callout {
        background: var(--sand-subtle);
        border-color: var(--line);
    }

    .post-card:hover,
    .trail-card:hover,
    .glossary-card:hover {
        border-color: var(--forest);
    }

    .learning-grid,
    .glossary-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }

    .trail-card,
    .glossary-card {
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
    }

    .trail-card h3,
    .glossary-card h3 {
        color: var(--forest-deep);
    }

    .trail-card p,
    .glossary-card p {
        color: var(--muted);
    }

    .trail-progress {
        height: 6px;
        overflow: hidden;
        margin: 16px 0 6px;
        background: var(--line);
        border-radius: var(--radius-pill);
    }

    .trail-progress span {
        display: block;
        height: 100%;
        background: var(--forest);
        border-radius: inherit;
        transition: width 0.2s ease;
    }

    .trail-progress-label {
        font-size: 13px;
    }

    .trail-item {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 7px 0;
        color: var(--muted);
        font-size: 14px;
    }

    .trail-item input {
        accent-color: var(--forest);
        margin-top: 5px;
    }

    .question-callout {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 28px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
    }

    .question-callout h2 {
        color: var(--forest-deep);
    }

    @media (max-width: 640px) {
        .question-callout {
            align-items: stretch;
            flex-direction: column;
        }

        .question-callout .button {
            width: 100%;
        }
    }
}

/* ==========================================================================
   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);
    overflow: hidden;
}

.story-download {
    width: 100%;
    margin-top: 28px;
    border: 1px solid rgba(248, 244, 235, 0.65);
    background: transparent;
    color: var(--white);
    font-size: 12px;
}

.story-download:hover,
.story-download:focus-visible {
    background: var(--white);
    color: var(--forest-deep);
}

.story-download:disabled {
    cursor: wait;
    opacity: 0.7;
}

.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;
    overflow-wrap: anywhere;
}

.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;
}

/* ==========================================================================
   Formulário de perguntas
   ========================================================================== */
.question-panel {
    display: block;
    padding: 48px max(1.25rem, calc((100% - 960px) / 2));
    background: var(--forest-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
.form-feedback {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
}

.form-feedback[hidden] {
    display: none !important;
}

.form-honeypot {
    display: none !important;
}

.question-intro {
    width: min(100% - 2.5rem, 760px);
    margin: 0 auto;
    padding-bottom: 32px;
}

.question-intro h1 {
    margin-top: 12px;
    color: var(--forest-deep);
}

.question-intro > p:last-child {
    max-width: 620px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.question-form-section {
    margin-top: 0;
}

.form-feedback.feedback-success {
    background-color: #e7faf0 !important;
    color: #085229 !important;
    border: 1px solid #a3e6be !important;
}

.form-feedback.feedback-error {
    background-color: #fdf2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

.form-feedback.feedback-loading {
    background-color: var(--white) !important;
    color: var(--muted) !important;
    border: 1px solid var(--line) !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@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;
    }

    .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;
    }
}

/* ==========================================================================
   TEME visual system
   ========================================================================== */
:root {
    --forest: #8be9f5;
    --forest-deep: #f4f7fb;
    --forest-light: #b7f4fa;
    --forest-soft: #1d2940;
    --forest-glow: rgba(139, 233, 245, 0.14);
    --sand-bg: #0a0f1d;
    --sand-subtle: #111a2c;
    --white: #f4f7fb;
    --ink: #e8edf5;
    --ink-light: #d3dbea;
    --muted: #9aa8bd;
    --muted-light: #74839b;
    --line: #273550;
    --line-subtle: #1b2840;
    --serif-heading: var(--sans);
    --serif-display: "Lora", Georgia, serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.18);
    --shadow-hover: 0 16px 38px rgba(0, 0, 0, 0.3);
    --transition: 180ms ease;
}

html {
    background: var(--sand-bg);
}

body {
    background:
        radial-gradient(circle at 88% 0%, rgba(84, 89, 205, 0.13), transparent 28rem),
        var(--sand-bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
}

body::selection {
    color: var(--sand-bg);
    background: var(--forest);
}

h1,
h2,
h3,
h4 {
    color: var(--forest-deep);
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: -0.035em;
}

p {
    color: var(--muted);
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline-color: var(--forest);
    outline-offset: 4px;
}

.site-header {
    background: rgba(10, 15, 29, 0.86);
    border-bottom: 1px solid rgba(139, 233, 245, 0.12);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.header-inner {
    width: min(100% - 2rem, 1180px);
    min-height: 68px;
}

.brand {
    color: var(--forest-deep);
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.brand::after {
    display: block;
    width: 7px;
    height: 7px;
    margin-left: 7px;
    border-radius: 50%;
    background: var(--forest);
    content: "";
}

nav.main > ul {
    gap: 26px;
}

nav.main a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

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 {
    height: 3px;
    background: var(--forest);
}

.button {
    min-height: 44px;
    padding: 11px 20px;
    color: #07131d;
    background: var(--forest);
    border-color: var(--forest);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(139, 233, 245, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.035em;
}

.button:hover {
    color: #07131d;
    background: var(--forest-light);
    border-color: var(--forest-light);
    box-shadow: 0 12px 28px rgba(139, 233, 245, 0.22);
    transform: translateY(-2px);
}

.promo {
    padding: 9px 16px;
    background: rgba(17, 26, 44, 0.75);
    border-color: var(--line);
}

.promo a,
.promo strong {
    color: var(--muted);
}

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

.promo a::before {
    background: var(--forest);
    box-shadow: 0 0 0 5px var(--forest-glow);
}

main {
    overflow: hidden;
}

.intro-layout {
    width: min(100% - 2rem, 1180px);
    min-height: min(620px, calc(100vh - 68px));
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: clamp(32px, 7vw, 100px);
    padding: 76px 0 70px;
    position: relative;
}

.intro-layout::before {
    position: absolute;
    top: 16%;
    right: -9rem;
    width: 25rem;
    height: 25rem;
    border: 1px solid rgba(139, 233, 245, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(139, 233, 245, 0.025), 0 0 0 84px rgba(139, 233, 245, 0.02);
    content: "";
    pointer-events: none;
}

.intro {
    align-self: center;
    position: relative;
    z-index: 1;
}

.intro::before {
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--forest), #8e8cf8);
    content: "";
}

.intro h1 {
    max-width: 700px;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 0.99;
}

.intro h1::after {
    display: block;
    margin-top: 20px;
    color: var(--forest);
    content: "Discipulado Virtual.";
    font-size: 0.34em;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.intro p {
    max-width: 540px;
    margin-top: 28px;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
}

.daily-proverb {
    align-self: center;
    position: relative;
    z-index: 1;
    display: block;
    padding: clamp(24px, 4vw, 38px);
    background:
        linear-gradient(145deg, rgba(33, 47, 76, 0.94), rgba(17, 26, 44, 0.98)),
        var(--sand-subtle);
    border: 1px solid rgba(139, 233, 245, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.daily-proverb::before {
    display: block;
    margin-bottom: 28px;
    color: var(--forest);
    content: "LEITURA DIÁRIA";
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.daily-proverb-label {
    color: var(--forest);
}

.daily-proverb h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.daily-proverb-quote {
    color: var(--ink-light);
    font-family: var(--serif-display);
}

.daily-proverb-reference {
    color: var(--forest);
}

.content-section {
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
    padding: clamp(54px, 8vw, 104px) 0;
}

.content-section + .content-section {
    border-top: 1px solid var(--line-subtle);
}

.section-heading {
    align-items: flex-end;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 44px);
}

.section-heading h2::before {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 13px;
    border-radius: 3px;
    background: var(--forest);
    content: "";
}

.learn-more {
    color: var(--forest);
    font-size: 13px;
    font-weight: 800;
}

.learn-more:hover {
    color: var(--forest-light);
}

.highlight {
    gap: 20px;
}

.highlight-main,
.highlight-side article,
.verse {
    background: var(--sand-subtle);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.highlight-main {
    padding: 10px 10px 24px;
}

.highlight-main > :not(.highlight-panel) {
    margin-left: 16px;
    margin-right: 16px;
}

.highlight-panel {
    min-height: 280px;
    border-radius: 11px;
    background:
        linear-gradient(135deg, rgba(25, 38, 73, 0.35), rgba(10, 15, 29, 0.8)),
        var(--forest-soft);
}

.panel-verse {
    max-width: 520px;
    font-family: var(--serif-display);
    font-size: clamp(26px, 4vw, 42px);
}

.highlight-side {
    gap: 20px;
}

.highlight-side article,
.verse {
    padding: 26px;
}

.post-list {
    gap: 16px;
}

.post-card {
    background: var(--sand-subtle);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: none;
}

.post-card:hover {
    border-color: rgba(139, 233, 245, 0.55);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.post-image {
    min-height: 190px;
    filter: saturate(0.75) contrast(1.05);
}

.post-image::after {
    background: linear-gradient(180deg, transparent 38%, rgba(10, 15, 29, 0.76));
}

.post-image-label,
.tag {
    color: var(--forest);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

.reference,
.byline {
    color: var(--muted-light);
}

.question-callout,
.trail-card,
.glossary-card,
.catalog-controls,
.series-card,
.related-link {
    background: var(--sand-subtle);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: none;
}

.question-callout {
    margin-bottom: clamp(42px, 7vw, 90px);
}

.trail-card,
.glossary-card {
    transition: var(--transition);
}

.trail-card:hover,
.glossary-card:hover {
    border-color: rgba(139, 233, 245, 0.5);
    transform: translateY(-3px);
}

.trail-card h3,
.glossary-card h3,
.related-link strong,
.series-nav-link strong {
    color: var(--forest-deep);
    font-family: var(--sans);
}

.trail-card h3,
.glossary-card h3 {
    font-size: 20px;
}

.trail-progress {
    background: var(--line);
}

.trail-progress span,
.progress-track span {
    background: linear-gradient(90deg, var(--forest), #9290ff);
}

.site-footer {
    padding: 64px 0 28px;
    background: #070b15;
    border-top: 1px solid var(--line);
}

.footer-brand {
    color: var(--forest-deep) !important;
    font-family: var(--sans) !important;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.site-footer h2 {
    color: var(--forest-deep);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

/* Leitura: uma coluna ampla, confortável e sem ruído visual. */
.reading-page {
    width: min(100% - 2rem, 820px);
    padding: clamp(44px, 8vw, 90px) 0 64px;
}

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

.reading-header h1 {
    font-size: clamp(38px, 7vw, 68px);
    line-height: 1.02;
}

.reading-reference {
    color: var(--forest);
}

.reading-intro {
    max-width: 680px;
    color: var(--muted);
}

.reading-layout {
    display: block;
}

.reading-body {
    max-width: 720px;
    margin: 0 auto;
    padding-top: 48px;
}

.markdown-content > p,
.reading-body > p,
.markdown-content li {
    color: var(--ink-light);
    font-family: var(--serif-display);
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.9;
}

.markdown-content h2,
.markdown-content h3,
.reading-body h2 {
    color: var(--forest-deep);
    font-family: var(--sans);
}

.markdown-content blockquote,
.reading-quote {
    margin: 40px 0;
    padding: 28px;
    background: rgba(29, 41, 64, 0.62);
    border-left: 3px solid var(--forest);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.markdown-content blockquote p,
.reading-quote p {
    color: var(--forest-deep);
}

.story-reference {
    width: min(100%, 340px);
    margin: 54px auto 0;
    background: linear-gradient(150deg, #25375c, #111a2c);
    border: 1px solid rgba(139, 233, 245, 0.2);
    box-shadow: var(--shadow-soft);
}

.story-kicker,
.story-ornament {
    color: var(--forest);
}

.reflection-card {
    background: rgba(139, 233, 245, 0.08);
    border-color: rgba(139, 233, 245, 0.2);
}

.reflection-card h2 {
    color: var(--forest-deep);
}

.question-panel {
    background: var(--forest-soft) !important;
    border-color: var(--line);
}

.question-form textarea,
.question-form input[type="text"] {
    background: var(--sand-bg) !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
}

.question-form {
    display: grid;
    gap: 14px;
}

.question-form label:not(.consent-label) {
    color: var(--forest-deep);
    font-size: 14px;
    font-weight: 700;
}

.question-form textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px;
    border-radius: var(--radius-sm);
    font: inherit;
    resize: vertical;
}

.question-form .button {
    justify-self: start;
}

@media (max-width: 760px) {
    .header-inner {
        min-height: 62px;
    }

    nav.main {
        display: none;
    }

    .intro-layout {
        display: block;
        min-height: auto;
        padding: 64px 0 40px;
    }

    .intro h1 {
        font-size: clamp(42px, 13vw, 64px);
    }

    .daily-proverb {
        margin-top: 48px;
    }

    .question-callout .button,
    .question-form .button {
        width: 100%;
    }

    .highlight,
    .post-list {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        gap: 14px;
    }

    .section-heading .learn-more {
        margin-top: 4px;
    }
}

@media (max-width: 430px) {
    .header-actions .button {
        min-height: 40px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .brand {
        font-size: 19px;
    }

    .content-section {
        width: min(100% - 1.5rem, 1180px);
    }

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

    .highlight-panel {
        min-height: 230px;
    }

    .reading-page {
        width: min(100% - 1.5rem, 820px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
