/* ==========================================================
   Jornal Evidência — Site Público
   Aesthetic: "Editorial Timeline" — leitura confortável,
   coerência editorial com o painel admin.
   ========================================================== */

:root {
    --c-red:        #B02609;
    --c-red-dark:   #861d07;
    --c-red-soft:   #f7e1dc;
    --c-paper:      #FAFAF7;     /* off-white de leitura */
    --c-paper-2:    #F4F1EB;
    --c-card:       #FFFFFF;
    --c-ink:        #14110F;
    --c-ink-2:      #2a2520;
    --c-muted:      #6B6764;
    --c-muted-2:    #8a857f;
    --c-rule:       #E6E0D2;
    --c-rule-2:     #ECE7D9;

    /* Rodapé escuro */
    --c-dark:       #14110F;
    --c-dark-2:     #1f1b18;
    --c-dark-text:  #e8e2d3;
    --c-dark-muted: #88827a;

    --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
    --font-ui:      'Inter Tight', -apple-system, system-ui, sans-serif;

    /* Tipografia generosa para leitura confortável (público idoso) */
    --txt-base: 18px;
    --txt-card-titulo: clamp(1.25rem, 2.2vw, 1.6rem);
    --txt-corpo: 0.9375rem;        /* 15px */
    --txt-leitura: 1.18rem;        /* leitura individual maior */

    --maxw-feed: 880px;
    --maxw-leitura: 820px;

    --radius: 4px;
    --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--c-paper);
    color: var(--c-ink);
    font-family: var(--font-ui);
    font-size: var(--txt-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--c-red); text-decoration: none; }
a:hover { color: var(--c-red-dark); }

/* Sutil grão de papel jornal */
body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% -10%, rgba(176,38,9,.025) 0, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(20,17,15,.03) 0, transparent 50%);
    z-index: 0;
}

/* ==========================================================
   HEADER (branco)
   ========================================================== */
.je-header {
    background: #fff;
    border-bottom: 1px solid var(--c-rule);
}
.je-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.je-header__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}
.je-header__brand img {
    height: 56px;
    width: auto;
    transition: transform .25s ease;
}
.je-header__brand:hover img { transform: scale(1.02); }
.je-header__fundado {
    font-family: var(--f-body);
    font-size: .6875rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-muted);
}

/* ==========================================================
   FAIXA DE FILTRO (vermelha #B02609)
   ========================================================== */
.je-filtro {
    background: var(--c-red);
    color: #fff;
    border-bottom: 3px solid var(--c-red-dark);
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.je-filtro__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}
.je-filtro__inner::-webkit-scrollbar { display: none; }

/* Toggle do dropdown — escondido no desktop, visível no mobile */
.je-filtro__toggle {
    display: none;
    align-items: center;
    gap: .85rem;
    width: 100%;
    padding: .85rem 1rem;
    border: none;
    background: transparent;
    color: #fff;
    font-family: var(--font-ui);
    text-align: left;
    cursor: pointer;
}
.je-filtro__toggle-burger { font-size: 22px; opacity: .9; flex-shrink: 0; }
.je-filtro__toggle-label  { flex: 1; display: flex; flex-direction: column; gap: 1px; line-height: 1.15; min-width: 0; }
.je-filtro__toggle-label small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .22em;
    opacity: .7;
    font-weight: 600;
}
.je-filtro__toggle-label strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.je-filtro__toggle-chev {
    font-size: 20px;
    transition: transform .25s cubic-bezier(.2,.7,.2,1);
    flex-shrink: 0;
}
.je-filtro__toggle[aria-expanded="true"] .je-filtro__toggle-chev {
    transform: rotate(180deg);
}

.je-filtro__rotulo {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .9rem 0;
    flex-shrink: 0;
    color: rgba(255,255,255,.85);
}
.je-filtro__chips {
    list-style: none;
    margin: 0;
    padding: .65rem 0;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.je-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border-radius: 6px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.92);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,.12);
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.je-chip:hover {
    background: rgba(255,255,255,.16);
    color: #fff;
    border-color: rgba(255,255,255,.25);
}
.je-chip:active { transform: translateY(1px); }
.je-chip__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    font-feature-settings: "tnum";
}
.je-chip.is-active {
    background: #fff;
    color: var(--c-red);
    border-color: #fff;
    box-shadow: 0 2px 0 rgba(0,0,0,.06);
}
.je-chip.is-active .je-chip__num {
    color: var(--c-red-dark);
}

/* Botão "voltar" (post individual) */
.je-voltar {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 0;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
}
.je-voltar:hover { color: #fff; opacity: .85; }

/* Layout da faixa quando tem itens à esquerda E direita */
.je-filtro__inner--nav {
    justify-content: space-between;
}
.je-filtro__chips--end {
    margin-left: auto;
}

/* Separador vertical entre cidades e itens de navegação */
.je-chip__sep {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.2);
    margin: 0 .35rem;
    align-self: center;
    flex-shrink: 0;
    list-style: none;
}

/* Chip especial de navegação (ex.: Contato) — visualmente distinto */
.je-chip--nav {
    background: transparent;
    border-color: rgba(255,255,255,.35);
    font-weight: 600;
}
.je-chip--nav i { font-size: 14px; }
.je-chip--nav:hover {
    background: #fff;
    color: var(--c-red);
    border-color: #fff;
}

/* ==========================================================
   FAIXA DE EDIÇÕES
   ========================================================== */
.je-edicoes {
    background: var(--c-paper-2);
    border-bottom: 1px solid var(--c-rule);
}
.je-edicoes__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.je-edicoes__inner::-webkit-scrollbar { display: none; }

.je-edicoes__rotulo {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--c-muted);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .85rem 0;
    flex-shrink: 0;
    white-space: nowrap;
}
.je-edicoes__rotulo i { font-size: 13px; }

.je-edicoes__lista {
    list-style: none;
    margin: 0;
    padding: .55rem 0;
    display: flex;
    gap: .4rem;
    align-items: center;
    flex-wrap: nowrap;
}

.je-ed-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: #fff;
    color: var(--c-muted);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid var(--c-rule);
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.je-ed-chip:hover {
    background: var(--c-red-soft);
    color: var(--c-red);
    border-color: rgba(176,38,9,.25);
}
.je-ed-chip.is-active {
    background: var(--c-red);
    color: #fff;
    border-color: var(--c-red);
    font-weight: 600;
}
.je-ed-chip--limpar {
    background: transparent;
    color: var(--c-muted-2);
    border-color: var(--c-rule-2);
}
.je-ed-chip--limpar:hover {
    background: #fff;
    color: var(--c-ink);
    border-color: var(--c-rule);
}
.je-ed-chip i { font-size: 11px; }

.je-edicoes__sep {
    width: 1px;
    height: 16px;
    background: var(--c-rule);
    margin: 0 .2rem;
    align-self: center;
    flex-shrink: 0;
}

/* ==========================================================
   DIVISOR DE SEMANA (no feed)
   ========================================================== */
.je-divisor-semana {
    padding: 1.75rem 0 .5rem;
    list-style: none;
}
.je-divisor-semana__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.je-divisor-semana__rule {
    flex: 1;
    height: 1px;
    background: var(--c-rule);
}
.je-divisor-semana__label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: .95rem;
    color: var(--c-muted);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .18s ease;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.je-divisor-semana__label i {
    font-style: normal;
    font-size: 14px;
    color: var(--c-red);
    flex-shrink: 0;
}
.je-divisor-semana__label:hover { color: var(--c-red); }

/* ==========================================================
   TIMELINE
   ========================================================== */
.je-timeline {
    max-width: var(--maxw-feed);
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    position: relative;
    z-index: 1;
}

.je-aviso-filtro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .4rem 0;
    margin-bottom: 1rem;
    font-size: 13px;
    color: var(--c-ink-3);
    flex-wrap: wrap;
}
.je-aviso-filtro__limpar {
    color: var(--c-ink-3);
    text-decoration: none;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    opacity: .7;
}
.je-aviso-filtro__limpar:hover {
    opacity: 1;
}

.je-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* ==========================================================
   CARD da TIMELINE
   ========================================================== */
.je-card {
    border-bottom: none;
    padding: 0;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(8px);
    animation: jeReveal .6s cubic-bezier(.2,.7,.2,1) forwards;
    animation-delay: var(--delay, 0ms);
}

@keyframes jeReveal {
    to { opacity: 1; transform: none; }
}

.je-card article {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #f5f5f4;
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Foto */
.je-card__foto {
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: var(--c-paper-2);
    aspect-ratio: 16 / 10;
    position: relative;
}
.je-card__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.je-card__foto:hover img {
    transform: scale(1.025);
}
.je-card__foto::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(20,17,15,.05);
    border-radius: var(--radius);
    pointer-events: none;
}
.je-card__badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: var(--c-red);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    padding: 3px 7px;
    border-radius: 2px;
    pointer-events: none;
}

/* Corpo */
.je-card__corpo {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 1.25rem 1.25rem;
}

.je-card__meta {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 13.5px;
    color: var(--c-muted);
    font-family: var(--font-ui);
    flex-wrap: wrap;
}
.je-card__cidade {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--c-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11.5px;
    padding: 3px 8px;
    background: var(--c-red-soft);
    border-radius: 2px;
}
.je-card__cidade i { font-size: 13px; }
.je-card__cidade:hover { color: var(--c-red-dark); }
.je-card__sep { color: var(--c-muted-2); }

.je-card__titulo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: var(--txt-card-titulo);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--c-ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.je-card__titulo a { color: inherit; }
.je-card__titulo a:hover { color: var(--c-red); }

.je-card__conteudo {
    font-size: var(--txt-corpo);
    line-height: 1.7;
    color: var(--c-ink-2);
    /* Preserva quebras de linha do nl2br */
}
.je-card__conteudo br + br { content: ""; display: block; height: .5rem; }

/* Rodapé do card */
.je-card__rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--c-rule);
    flex-wrap: wrap;
}
.je-card__share-rotulo {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--c-muted);
}
.je-card__share {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .35rem;
}

/* ==========================================================
   Botões de compartilhamento
   ========================================================== */
.je-share {
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-rule);
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ink-2);
    font-size: 16px;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .15s ease;
    padding: 0;
}
.je-share:hover { transform: translateY(-1px); color: #fff; }
.je-share:active { transform: translateY(0); }
.je-share--wa:hover   { background: #25D366; border-color: #25D366; color: #fff; }
.je-share--fb:hover   { background: #1877F2; border-color: #1877F2; color: #fff; }
.je-share--x:hover    { background: #000;    border-color: #000;    color: #fff; }
.je-share--tg:hover   { background: #229ED9; border-color: #229ED9; color: #fff; }
.je-share--copy:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* Variante com texto (no post individual) */
.je-artigo__share .je-share {
    width: auto;
    border-radius: var(--radius);
    padding: .65rem 1rem;
    gap: .5rem;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-ui);
}
.je-artigo__share .je-share i { font-size: 16px; }

/* ==========================================================
   CARD DE PUBLICIDADE (timeline)
   ========================================================== */
.je-anuncio {
    padding: 1.25rem 0 2rem;
    opacity: 0;
    transform: translateY(8px);
    animation: jeReveal .6s cubic-bezier(.2,.7,.2,1) forwards;
    animation-delay: var(--delay, 0ms);
}

.je-anuncio__inner {
    background: var(--c-paper-2);
    border: 1px solid var(--c-rule-2);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.je-anuncio__rotulo {
    position: absolute;
    top: .6rem;
    right: .6rem;
    z-index: 2;
    background: rgba(20,17,15,.55);
    color: rgba(255,255,255,.8);
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2em;
    padding: 3px 7px;
    border-radius: 2px;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.je-anuncio__img {
    display: block;
    overflow: hidden;
}
.je-anuncio__img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
a.je-anuncio__img:hover img { transform: scale(1.02); }

.je-anuncio__rodape {
    padding: .85rem 1.1rem 1rem;
    border-top: 1px solid var(--c-rule-2);
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.je-anuncio__titulo {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 600;
    color: var(--c-ink-2);
    line-height: 1.4;
}
.je-anuncio__conteudo {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 400;
    color: var(--c-muted);
    line-height: 1.55;
}

/* ==========================================================
   Estado vazio
   ========================================================== */
.je-vazio {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--c-muted);
}
.je-vazio i {
    font-size: 3rem;
    color: var(--c-red);
    margin-bottom: 1rem;
    display: block;
}
.je-vazio h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.75rem;
    color: var(--c-ink);
    margin: 0 0 .5rem 0;
}
.je-vazio p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.je-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: all .18s ease;
    border: 1px solid var(--c-rule);
    cursor: pointer;
    background: #fff;
    color: var(--c-ink);
}
.je-btn:hover { border-color: var(--c-red); color: var(--c-red); }
.je-btn--ghost { background: transparent; }

/* ==========================================================
   POST INDIVIDUAL
   ========================================================== */
.je-post {
    max-width: var(--maxw-feed);
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
    position: relative;
    z-index: 1;
}
.je-artigo {
    background: #f5f5f4;
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 2rem;
}

.je-artigo__head {
    text-align: center;
    margin-bottom: 2rem;
}
.je-artigo__editoria {
    margin: 0 0 1rem 0;
}
.je-artigo__editoria a {
    display: inline-block;
    color: var(--c-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11.5px;
    padding: 5px 12px;
    background: var(--c-red-soft);
    border-radius: 2px;
}
.je-artigo__titulo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    margin: 0 0 1rem 0;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.je-artigo__data {
    margin: 0;
    color: var(--c-muted);
    font-size: 14px;
    font-family: var(--font-display);
    font-style: italic;
}
.je-artigo__foto {
    margin: 0 -2rem 2rem;
    border-radius: 0;
    overflow: hidden;
    background: var(--c-paper-2);
}
.je-artigo__foto img {
    width: 100%;
    height: auto;
    display: block;
}
.je-artigo__conteudo {
    font-family: var(--font-ui);
    font-size: var(--txt-corpo);
    line-height: 1.75;
    color: var(--c-ink-2);
    margin-bottom: 2.5rem;
}
.je-artigo__conteudo p:first-child::first-letter,
.je-artigo__conteudo > br:first-child + * { /* primeira letra capitular */ }
.je-artigo__conteudo br + br {
    display: block;
    content: "";
    height: .75rem;
}

.je-artigo__rodape {
    border-top: 1px solid var(--c-rule);
    padding-top: 1.75rem;
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.je-artigo__share-rotulo {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 11px;
    font-weight: 700;
    color: var(--c-muted);
}
.je-artigo__share {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================
   RELACIONADAS
   ========================================================== */
.je-relacionadas {
    max-width: 1100px;
    margin: 4rem auto 0;
    padding: 0 1rem;
}
.je-relacionadas__titulo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-weight: 500;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--c-ink);
    margin: 0 0 1.5rem 0;
    text-align: center;
    justify-content: center;
}
.je-relacionadas__rule {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--c-rule);
}
.je-relacionadas__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.je-rel-card {
    display: flex;
    gap: 1rem;
    padding: .75rem;
    border-radius: var(--radius);
    background: var(--c-card);
    border: 1px solid var(--c-rule);
    color: var(--c-ink);
    transition: border-color .18s ease, transform .18s ease;
}
.je-rel-card:hover { border-color: var(--c-red); transform: translateY(-2px); color: var(--c-ink); }
.je-rel-card img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}
.je-rel-card__cidade {
    color: var(--c-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .14em;
    font-size: 10px;
    display: block;
    margin-bottom: .25rem;
}
.je-rel-card__titulo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--c-ink);
    margin: 0 0 .35rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.je-rel-card__data {
    color: var(--c-muted);
    font-size: 12px;
    font-family: var(--font-display);
    font-style: italic;
    display: block;
}

/* ==========================================================
   PÁGINA DE CONTATO
   ========================================================== */
.je-contato {
    max-width: var(--maxw-leitura);
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
    position: relative;
    z-index: 1;
}
.je-contato__head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.je-contato__editoria {
    margin: 0 0 1rem 0;
}
.je-contato__editoria a {
    display: inline-block;
    color: var(--c-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11.5px;
    padding: 5px 12px;
    background: var(--c-red-soft);
    border-radius: 2px;
}
.je-contato__titulo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    margin: 0 0 1rem 0;
}
.je-contato__lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--c-muted);
    max-width: 560px;
    margin: 0 auto;
}

.je-form {
    background: var(--c-card);
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    padding: 2.25rem clamp(1.25rem, 3vw, 2.5rem) 2rem;
}
.je-form__row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.je-form__row--2 > * { flex: 1 1 0; min-width: 0; }
.je-form__campo { display: flex; flex-direction: column; flex: 1 1 auto; }
.je-form__campo label {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-ink);
    margin-bottom: .5rem;
}
.je-form__campo label small {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--c-muted);
    font-size: 12px;
    margin-left: .35rem;
}
.je-form__campo input,
.je-form__campo textarea {
    width: 100%;
    padding: .85rem 1rem;
    font-family: var(--font-ui);
    font-size: 16px;
    color: var(--c-ink);
    background: #fff;
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.je-form__campo input:focus,
.je-form__campo textarea:focus {
    outline: none;
    border-color: var(--c-red);
    box-shadow: 0 0 0 3px rgba(176,38,9,.12);
}
.je-form__campo input::placeholder,
.je-form__campo textarea::placeholder { color: #b9b3a6; }
.je-form__campo textarea { resize: vertical; min-height: 200px; line-height: 1.55; }

.je-form__acoes {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-rule-2);
    flex-wrap: wrap;
}
.je-form__legal {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--c-muted);
}

.je-btn--primary {
    background: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
}
.je-btn--primary:hover {
    background: var(--c-red-dark);
    border-color: var(--c-red-dark);
    color: #fff;
}

/* Alertas */
.je-alerta {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    font-family: var(--font-ui);
    font-size: 15px;
}
.je-alerta i { font-size: 18px; flex-shrink: 0; line-height: 1.45; }
.je-alerta--ok {
    background: #e7f1ea;
    color: #1f6f3d;
    border-color: rgba(31,111,61,.18);
}
.je-alerta--erro {
    background: #fff8e1;
    color: #7a5a00;
    border-color: rgba(122,90,0,.18);
}

/* ==========================================================
   PÁGINAS DE ERRO (401 / 403 / 404 / 500)
   ========================================================== */
.je-erro {
    width: 100%;
    min-height: 50vh;
    padding: 3rem 1rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.je-erro__bloco {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: var(--c-card);
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    padding: 3rem clamp(1.5rem, 4vw, 3.5rem) 2.75rem;
    text-align: center;
}
.je-erro__codigo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(5rem, 14vw, 8.5rem);
    line-height: .95;
    letter-spacing: -0.04em;
    color: var(--c-red);
    margin: 0 0 .25rem 0;
    font-variant-numeric: lining-nums;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.je-erro__rule {
    display: block;
    width: 64px;
    height: 2px;
    background: var(--c-red);
    margin: 0 auto 1.75rem;
}
.je-erro__icone {
    display: inline-block;
    font-size: 2.25rem;
    color: var(--c-muted);
    margin-bottom: 1rem;
}
.je-erro__titulo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.65rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--c-ink);
    margin: 0 0 1rem 0;
}
.je-erro__descricao {
    font-family: var(--font-ui);
    font-size: 1.05rem;
    color: var(--c-muted);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 1.75rem;
}
.je-erro__url-info {
    background: var(--c-paper);
    border: 1px solid var(--c-rule-2);
    border-radius: 2px;
    padding: .75rem 1rem;
    max-width: 540px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.je-erro__url-info small {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--c-muted);
}
.je-erro__url-info code {
    font-family: ui-monospace, Menlo, monospace;
    font-size: 13px;
    color: var(--c-ink);
    background: transparent;
    padding: 0;
    word-break: break-all;
}
.je-erro__acoes {
    display: flex;
    gap: .65rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================
   RODAPÉ DARK
   ========================================================== */
.je-rodape {
    margin-top: 4rem;
    background: var(--c-dark);
    color: var(--c-dark-text);
    border-top: 4px solid var(--c-red);
}
.je-rodape__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
}
.je-rodape__col h4 {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 11px;
    font-weight: 700;
    color: var(--c-red);
    margin: 0 0 1rem 0;
}
.je-rodape__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.je-rodape__col a {
    color: var(--c-dark-text);
    font-size: 14px;
    transition: color .15s ease;
}
.je-rodape__col a:hover { color: #fff; }

.je-rodape__logo {
    height: 56px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: .92;
}
.je-rodape__col--brand p {
    color: var(--c-dark-muted);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    max-width: 360px;
    margin: 0;
}

.je-rodape__social {
    flex-direction: row !important;
    gap: .65rem !important;
}
.je-rodape__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-dark-text);
    font-size: 16px;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
}
.je-rodape__social a:hover {
    background: var(--c-red);
    border-color: var(--c-red);
    color: #fff;
    transform: translateY(-2px);
}

.je-rodape__base {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 1.5rem;
    text-align: center;
    color: var(--c-dark-muted);
    font-size: 13px;
    font-family: var(--font-display);
    font-style: italic;
}
.je-rodape__sep { margin: 0 .5rem; opacity: .55; }
.je-rodape__powered {
    color: var(--c-dark-text);
    font-style: normal;
    font-family: var(--font-ui);
    font-weight: 600;
    letter-spacing: .04em;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.je-rodape__powered:hover { color: #fff; border-bottom-color: var(--c-red); }

/* ==========================================================
   Toast (link copiado)
   ========================================================== */
.je-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--c-ink);
    color: #fff;
    padding: .85rem 1.25rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px -8px rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
}
.je-toast i { color: #5dd39e; font-size: 18px; }
.je-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 720px) {
    :root { --header-h: 76px; }
    .je-header__inner { padding: 1rem 1rem; }
    .je-header__brand img { height: 46px; }

    /* ===== Filtro vira dropdown ===== */
    .je-filtro__inner {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        overflow: visible;
    }
    .je-filtro__toggle { display: flex; }

    .je-filtro__chips {
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: #fff;
        border-top: 1px solid rgba(255,255,255,.18);
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 8px 24px -8px rgba(0,0,0,.18);
    }
    .je-filtro__toggle[aria-expanded="true"] + .je-filtro__chips {
        display: flex;
        animation: jeDropOpen .25s cubic-bezier(.2,.7,.2,1);
    }
    @keyframes jeDropOpen {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: none; }
    }

    .je-filtro__chips li { width: 100%; }

    /* Cada chip vira linha de menu generosa */
    .je-chip {
        width: 100%;
        justify-content: space-between;
        padding: .95rem 1.15rem;
        background: #fff;
        color: var(--c-ink);
        border: none;
        border-bottom: 1px solid var(--c-rule-2);
        border-radius: 0;
        font-size: 16px;
    }
    .je-chip:hover {
        background: var(--c-paper-2);
        color: var(--c-ink);
        border-color: var(--c-rule-2);
    }
    .je-chip__num {
        color: var(--c-muted);
        font-size: 13px;
    }
    .je-chip.is-active {
        background: var(--c-red-soft);
        color: var(--c-red-dark);
        border-color: var(--c-red-soft);
        position: relative;
    }
    .je-chip.is-active::before {
        content: "";
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 3px;
        background: var(--c-red);
    }
    .je-chip.is-active .je-chip__num { color: var(--c-red); }

    /* Separador horizontal entre cidades e itens utilitários */
    .je-chip__sep {
        width: 100%;
        height: 1px;
        margin: 0;
        background: var(--c-rule);
        align-self: auto;
    }

    /* Item Contato dentro do dropdown */
    .je-chip--nav {
        background: var(--c-paper-2);
        color: var(--c-ink);
        font-weight: 600;
    }
    .je-chip--nav:hover { background: #fff; color: var(--c-red); }
    .je-chip--nav i { font-size: 16px; color: var(--c-red); margin-right: .25rem; }

    /* ===== Faixa "Voltar" + Contato (post/contato/erro) ===== */
    .je-filtro__inner--nav { flex-direction: row; padding: 0 1rem; }
    .je-filtro__inner--nav .je-filtro__toggle { display: none; }
    .je-filtro__inner--nav .je-filtro__chips {
        display: flex !important;
        flex-direction: row;
        background: transparent;
        border: none;
        max-height: none;
        box-shadow: none;
        overflow: visible;
        padding: 0;
    }
    .je-filtro__inner--nav .je-chip {
        width: auto;
        background: transparent;
        color: #fff;
        border: 1px solid rgba(255,255,255,.35);
        border-radius: 999px;
        padding: .45rem .85rem;
        font-size: 13px;
        font-weight: 600;
    }
    .je-filtro__inner--nav .je-chip i { color: #fff; margin: 0; }
    .je-filtro__inner--nav .je-chip:hover {
        background: #fff;
        color: var(--c-red);
        border-color: #fff;
    }
    .je-filtro__inner--nav .je-chip:hover i { color: var(--c-red); }

    .je-edicoes__rotulo { display: none; }
    .je-edicoes__inner  { padding: 0 .75rem; gap: .5rem; }
    .je-ed-chip         { font-size: 12px; padding: .4rem .75rem; }

    .je-divisor-semana__label { font-size: .85rem; }

    .je-form__row--2 { flex-direction: column; gap: 1.5rem; }

    .je-card { margin-bottom: 1rem; }
    .je-card__titulo { font-size: 1.4rem; }
    .je-card__rodape { gap: .65rem; }

    .je-anuncio { padding: 1rem 0 1.5rem; }

    .je-post { padding: 1.5rem 1rem 3rem; }
    .je-artigo { padding: 1.25rem; }
    .je-artigo__foto { margin: 0 -1.25rem 1.5rem; }
    .je-artigo__titulo { font-size: 2rem; }
    .je-artigo__share .je-share span { display: none; }
    .je-artigo__share .je-share { width: 44px; padding: 0; border-radius: 50%; }

    .je-rodape__inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem 1.5rem;
        gap: 2rem;
    }
}

/* Ajuste para idosos: pode aumentar escala a 22px com prefer-larger */
@media (min-width: 1280px) {
    :root { --txt-base: 19px; }
}

/* ==========================================================
   JORNAL IMPRESSO
   ========================================================== */
.je-impressa {
    max-width: var(--maxw-feed);
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
}
.je-impressa__inner { max-width: 680px; margin: 0 auto; }

.je-impressa__head { text-align: center; margin-bottom: 2.5rem; }
.je-impressa__titulo {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--c-ink);
    margin: 0 0 .5rem 0;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.je-impressa__sub {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--c-muted);
    margin: 0 0 1.25rem 0;
}
.je-impressa__rule {
    display: block;
    height: 2px;
    width: 48px;
    background: var(--c-red);
    margin: 0 auto;
}

.je-impressa__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.je-impressa__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f5f5f4;
    border: 1px solid var(--c-rule);
    border-radius: var(--radius);
    color: var(--c-ink);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.je-impressa__card:hover {
    border-color: var(--c-red);
    background: #fff;
    transform: translateY(-1px);
    color: var(--c-ink);
}
.je-impressa__icone {
    font-size: 2rem;
    color: var(--c-red);
    line-height: 1;
    flex-shrink: 0;
}
.je-impressa__info {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    flex: 1;
}
.je-impressa__num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.je-impressa__data {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 13px;
    color: var(--c-muted);
}
.je-impressa__acao {
    color: var(--c-muted);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: color .18s ease;
}
.je-impressa__card:hover .je-impressa__acao { color: var(--c-red); }
