/* ==========================================================================
   natal-ouro-verde.css — tema fino do Natal Ouro Verde (hub /natal-ouro-verde
   e edição /natal-ouro-verde-2026). Dono: natal-pages.
   Depende de css/event-series.css (.es-*). Prefixo próprio: .nov-*.
   Paleta: verde profundo #0b2e22/#123d2e · creme #fbf6ea/#f6ecd6 ·
   dourado #d4a574/#e6c27a · luz de vela #f3d58c (só sobre verde) ·
   dourado-texto #7a4f1f (sobre claro) · cereja #9a2f2a (raro).
   ========================================================================== */

.nov-page {
    --nov-pine: #0b2e22;
    --nov-pine-2: #123d2e;
    --nov-pine-3: #18503c;
    --nov-cream: #fbf6ea;
    --nov-cream-2: #f6ecd6;
    --nov-gold: #d4a574;
    --nov-gold-2: #e6c27a;
    --nov-candle: #f3d58c;
    --nov-gold-ink: #7a4f1f;
    --nov-cherry: #9a2f2a;
    --nov-thread: linear-gradient(90deg, transparent, rgba(230, 194, 122, 0.85) 12%, rgba(243, 213, 140, 1) 50%, rgba(230, 194, 122, 0.85) 88%, transparent);
    --es-hero-glow: rgba(243, 213, 140, 0.22);
    --es-local-nav-bg: #fffdf7;
    --es-shadow: 0 18px 40px rgba(11, 46, 34, 0.10);
    font-variant-numeric: lining-nums;
}

/* O véu sazonal do portal (folhas/sol) destoa da direção de arte do Natal. */
body.nov-page .season-ambient { display: none !important; }
/* Véu sazonal fixo (body::before/::after do season-theme.css) tingia o creme de verde. */
body.nov-page::before,
body.nov-page::after { background: none !important; }

.nov-page .es-hero__title em,
.nov-page .es-section__title em {
    font-style: italic;
    color: var(--nov-candle);
    font-weight: 600;
}

/* Fio de luz: linha dourada com pontos de luz (divisor recorrente) */
.nov-page .es-hero::after,
.nov-factbar::before,
.nov-page .es-section--dark::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 9px;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(243, 213, 140, 0.95) 0 1.6px, transparent 2.6px) 0 50% / 46px 9px repeat-x,
        var(--nov-thread) 0 50% / 100% 1px no-repeat;
}
.nov-page .es-hero::after { bottom: 0; }
.nov-page .es-section--dark { position: relative; }
.nov-page .es-section--dark::before { top: -4px; }

/* Ramo de erva-mate (SVG monocromático, decorativo) */
.nov-sprig {
    display: block;
    width: 4.5rem;
    height: 1.6rem;
    background-color: var(--nov-gold-ink);
    -webkit-mask: var(--nov-sprig-svg) center / contain no-repeat;
    mask: var(--nov-sprig-svg) center / contain no-repeat;
    --nov-sprig-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M4 22 C40 20 80 20 116 18' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M22 21c2-9 9-14 16-15-1 8-7 14-16 15z M46 20c2-9 9-14 16-15-1 8-7 14-16 15z M70 20c2-9 9-14 16-15-1 8-7 14-16 15z M30 22c3 8 10 12 17 12-2-7-9-12-17-12z M54 21c3 8 10 12 17 12-2-7-9-12-17-12z M78 20c3 8 10 12 17 12-2-7-9-12-17-12z M94 18c3-6 8-9 14-9-2 5-7 9-14 9z'/%3E%3C/svg%3E");
}
.es-section--dark .nov-sprig { background-color: var(--nov-candle); }

.nov-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    font-weight: 700;
    color: var(--es-ink);
    text-decoration: underline;
    text-decoration-color: var(--es-accent-text);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}
.nov-text-link:hover { text-decoration-thickness: 2px; }

/* Contagem: algarismos em Raleway, alinhados (Cormorant usa algarismos de estilo antigo). */
.nov-page .es-countdown__num {
    font-family: var(--es-body);
    font-size: clamp(1.55rem, 4.2vw, 2.05rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    font-variant-numeric: lining-nums tabular-nums;
}

/* Navegação local: em paisagem/altura curta não fica fixa (o cabeçalho do portal já ocupa a tela). */
@media (max-height: 500px) {
    .nov-page .es-local-nav.is-fixed { position: relative; top: auto; box-shadow: none; }
    html:has(body.nov-page) { scroll-padding-top: calc(var(--sms-header-offset, 120px) + 8px); }
}
.nov-page .es-local-nav a { white-space: nowrap; }
.nov-page .es-local-nav a[aria-current="location"] { background: var(--nov-pine-2); color: var(--nov-cream); }

/* ==========================================================================
   Hero
   Véu localizado (escolhido entre 3 variantes medidas em 26/11/2026): escurece
   só a faixa do texto e deixa a cidade iluminada respirar no centro e à direita.
   Critério: maior luminância preservada da foto com TODO o texto do hero ≥ 4,5:1
   (percentil 90 do fundo, sem contar a sombra de texto).
   Hub (aérea): 50–57% da luz preservada (antes 32–42%); pior texto 4,8:1.
   Edição (público, fundo carregado): véu mais firme, 39%; pior texto 4,9:1.
   ========================================================================== */
.nov-hero--hub { --es-hero-focus: 50% 68%; }
.nov-hero--edition { --es-hero-focus: 50% 40%; }
.nov-hero .es-hero__media::after {
    background:
        radial-gradient(70% 85% at 18% 62%, rgba(8, 36, 26, 0.86) 0%, rgba(8, 36, 26, 0.62) 42%, rgba(8, 36, 26, 0) 78%),
        linear-gradient(90deg, rgba(8, 36, 26, 0.55) 0%, rgba(8, 36, 26, 0.18) 55%, rgba(8, 36, 26, 0.06) 100%),
        linear-gradient(180deg, rgba(8, 36, 26, 0.28) 0%, rgba(8, 36, 26, 0) 30%, rgba(8, 36, 26, 0) 68%, rgba(11, 46, 34, 0.9) 100%);
}
.nov-hero--hub .es-hero__media::after {
    background:
        radial-gradient(60% 80% at 20% 56%, rgba(8, 36, 26, 0.84) 0%, rgba(8, 36, 26, 0.54) 40%, rgba(8, 36, 26, 0) 75%),
        linear-gradient(90deg, rgba(8, 36, 26, 0.45) 0%, rgba(8, 36, 26, 0.1) 50%, rgba(8, 36, 26, 0) 100%),
        linear-gradient(180deg, rgba(8, 36, 26, 0.2) 0%, rgba(8, 36, 26, 0) 30%, rgba(8, 36, 26, 0) 70%, rgba(11, 46, 34, 0.88) 100%);
}
.nov-hero .es-hero__inner { padding-block: clamp(2.75rem, 8vw, 6.5rem) clamp(3rem, 8vw, 6rem); }
/* Edição: hero mais denso (contagem + CTAs); topo menor para os CTAs caberem na dobra. */
.nov-hero--edition .es-hero__inner { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem); }
.nov-hero--hub .es-hero__inner { min-height: min(78vh, 46rem); }
.nov-hero .es-hero__title { letter-spacing: -0.015em; text-shadow: 0 2px 24px rgba(4, 18, 12, 0.55); }
.nov-hero .es-eyebrow,
.nov-hero .es-hero__lead,
.nov-hero .es-hero__tagline,
.nov-hero .es-countdown__title { text-shadow: 0 1px 14px rgba(4, 18, 12, 0.7); }
/* Ano como linha própria, com fio dourado: lê-se "Natal Ouro Verde — 2026". */
.nov-hero__year {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.55rem;
    font-family: var(--es-body);
    font-size: clamp(0.95rem, 1.7vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.42em;
    line-height: 1;
    color: var(--nov-candle);
    text-shadow: none;
}
.nov-hero__year::before {
    content: "";
    flex: 0 0 2.75rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--nov-gold-2));
}
.nov-hero__slogan { margin-top: -0.25rem; font-size: clamp(1.5rem, 3.4vw, 2.15rem); line-height: 1.15; }
.nov-hero .es-hero__lead { color: rgba(251, 246, 234, 0.92); }
.nov-hero .es-eyebrow { color: var(--nov-candle); }

/* Marca oficial: halo de luz quente atrás do selo (em vez de "colada" sobre a foto). */
.nov-hero .es-hero__brand { position: relative; width: min(78%, 21rem); }
.nov-hero .es-hero__brand::before {
    content: "";
    position: absolute;
    inset: 4% 0 10%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(243, 213, 140, 0.30), rgba(243, 213, 140, 0.10) 55%, transparent 100%);
    pointer-events: none;
    animation: nov-glow 7s ease-in-out infinite alternate;
}
.nov-hero .es-hero__logo { filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.45)); }
.nov-hero__brand-caption {
    margin-top: 0.4rem;
    text-align: center;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(251, 246, 234, 0.94);
}
.nov-hero__brand-caption span {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(8, 36, 26, 0.78);
}
.nov-hero .es-hero__credit { color: rgba(251, 246, 234, 0.78); bottom: 0.9rem; text-shadow: 0 1px 8px rgba(4, 18, 12, 0.8); }
.nov-hero .es-countdown { max-width: 30rem; }
.nov-hero .es-countdown__unit { background: rgba(8, 36, 26, 0.62); }
.nov-hero .es-countdown__num { color: var(--nov-candle); }
.nov-hero .es-countdown__after { color: var(--nov-candle); }
/* Contagem montada por JS: reserva a altura final desde o primeiro quadro (antes do runtime
   pôr .es-js no <html>), para o texto de reserva e os números ocuparem a mesma faixa (CLS). */
.nov-hero .es-countdown:not([hidden]) { min-height: 6.6rem; }

/* Estados "acontecendo agora" / "encerrada" / "programação alterada". */
.nov-state {
    display: grid;
    gap: 0.4rem;
    max-width: 34rem;
    padding: 0.85rem 1.1rem;
    border-left: 3px solid var(--nov-candle);
    border-radius: 0 10px 10px 0;
    background: rgba(8, 36, 26, 0.62);
}
.nov-state__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nov-candle);
}
.nov-state__dot {
    flex: 0 0 auto;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: var(--nov-candle);
    animation: nov-pulse 2.4s ease-out infinite;
}
.nov-state__next,
.nov-state__text { font-weight: 600; color: var(--nov-cream); }
.nov-state__next:has(> [data-es-next-day]:empty) { display: none; }
.nov-state__text a { color: inherit; text-underline-offset: 4px; }
.nov-state--alert { border-left-color: #f0b3ad; }
.nov-state--alert .nov-state__badge { color: #f6cdc8; }
/* Variante clara (cartão "Edição atual" do hub). */
.nov-state--light { background: var(--nov-cream-2); border-left-color: var(--nov-gold); }
.nov-state--light .nov-state__badge { color: var(--nov-gold-ink); }
.nov-state--light .nov-state__dot { background: var(--nov-cherry); animation-name: nov-pulse-dark; }
.nov-state--light .nov-state__next,
.nov-state--light .nov-state__text { color: var(--es-ink); }
.nov-status--live { color: var(--nov-cherry); }
/* Edição em andamento, fora do horário do dia (noite sem programação, antes ou depois da faixa):
   mesmo cartão, sem o ponto pulsante e com fio mais discreto. */
.nov-state--between { border-left-color: rgba(243, 213, 140, 0.55); }
.nov-state--between .nov-state__badge { color: var(--nov-cream); }
.nov-state--light.nov-state--between { border-left-color: var(--nov-gold); }
.nov-state--light.nov-state--between .nov-state__badge { color: var(--nov-gold-ink); }

/* Compartilhar / adicionar ao calendário: ações secundárias, discretas. */
.nov-hero__tools { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin-top: -0.25rem; }
.nov-tool {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--nov-cream);
    font: 600 0.9rem/1.25 var(--es-body);
    text-decoration: underline;
    text-decoration-color: rgba(243, 213, 140, 0.55);
    text-underline-offset: 5px;
    text-shadow: 0 1px 10px rgba(4, 18, 12, 0.7);
    cursor: pointer;
}
.nov-tool:hover { text-decoration-color: currentColor; }
.nov-tool svg { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--nov-candle); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Sem JS, compartilhar/agenda não funcionam e somem. No hero, a faixa das ferramentas fica
   reservada (invisível) até o runtime pôr .es-js: os CTAs e a marca não pulam (CLS). */
html:not(.es-js) .nov-page :is([data-es-share], [data-es-ics]):not(.nov-tool) { display: none; }
html:not(.es-js) .nov-page .nov-tool:is([data-es-share], [data-es-ics]) { visibility: hidden; }

@media (max-width: 899px) {
    /* Texto primeiro: H1, datas e contagem na primeira dobra; a marca vem depois dos CTAs. */
    /* À direita: o canto inferior esquerdo é ocupado pelo mascote fixo do portal. */
    .nov-hero .es-hero__brand { width: min(46%, 11rem); justify-self: end; }
    .nov-hero__brand-caption { display: none; }
    .nov-hero .es-hero__media::after {
        background:
            radial-gradient(120% 70% at 30% 55%, rgba(8, 36, 26, 0.55) 0%, rgba(8, 36, 26, 0.2) 70%, rgba(8, 36, 26, 0) 100%),
            linear-gradient(180deg, rgba(8, 36, 26, 0.42) 0%, rgba(8, 36, 26, 0.5) 40%, rgba(8, 36, 26, 0.72) 75%, rgba(11, 46, 34, 0.94) 100%);
    }
    .nov-hero--hub { --es-hero-focus: 42% 50%; }
    .nov-hero--hub .es-hero__media::after {
        background:
            radial-gradient(130% 60% at 25% 50%, rgba(8, 36, 26, 0.42) 0%, rgba(8, 36, 26, 0.12) 70%, rgba(8, 36, 26, 0) 100%),
            linear-gradient(180deg, rgba(8, 36, 26, 0.3) 0%, rgba(8, 36, 26, 0.36) 40%, rgba(8, 36, 26, 0.6) 75%, rgba(11, 46, 34, 0.93) 100%);
    }
    .nov-hero .es-hero__credit { position: static; padding: 0 var(--es-gutter) 1.1rem 5.5rem; text-align: right; }
}
/* Tablet: marca ao lado do título (antes ficava sozinha no canto, com faixa vazia). */
@media (min-width: 720px) and (max-width: 899px) {
    .nov-hero .es-hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr); align-items: center; }
    .nov-hero .es-hero__brand { width: 100%; max-width: 15rem; align-self: center; }
    .nov-hero__brand-caption { display: block; }
    .nov-hero--hub .es-hero__inner { min-height: 0; }
}
/* Telas estreitas: reserva a faixa do VLibras (borda direita, meia altura) em todo o texto do hero. */
@media (max-width: 599px) {
    .nov-hero :is(.es-eyebrow, .nov-hero__slogan, .es-countdown__after) { padding-right: 2.75rem; }
    .nov-hero .nov-state { margin-right: 2.75rem; }
}
/* Notebooks e desktops baixos (1024×768, 1280×800, 1366×768, 1440×900): o cabeçalho do
   portal ocupa ~180px; o hero da edição fica mais compacto para os CTAs e as ferramentas
   caberem na primeira dobra, acima da faixa do aviso de cookies (~58px). Título, contagem e
   espaçamentos acompanham a altura da janela. */
@media (min-width: 900px) and (max-height: 920px) {
    .nov-hero--edition .es-hero__inner { padding-block: 1.25rem 2.25rem; gap: 2rem; }
    .nov-hero--edition .es-hero__copy { gap: 0.6rem; }
    .nov-hero--edition .es-hero__title { font-size: clamp(2.6rem, 6.6vh, 4rem); }
    .nov-hero--edition .nov-hero__year { margin-top: 0.3rem; }
    .nov-hero--edition .nov-hero__slogan { margin-top: -0.15rem; font-size: clamp(1.3rem, 3.4vh, 1.7rem); }
    .nov-hero--edition .es-hero__lead { font-size: 1rem; line-height: 1.55; }
    .nov-hero--edition .es-countdown { --es-countdown-box: 3.9rem; gap: 0.35rem; margin-top: 0.1rem; }
    .nov-hero--edition .es-countdown__unit { padding: 0.4rem 0.6rem; min-width: 4.2rem; }
    .nov-hero--edition .es-countdown__num { font-size: 1.6rem; }
    .nov-hero--edition .es-countdown:not([hidden]) { min-height: 5.3rem; }
    .nov-hero--edition .es-actions { margin-top: 0.2rem; }
    .nov-hero--edition .nov-hero__tools { margin-top: -0.4rem; }
    .nov-hero--edition .es-hero__brand { width: min(78%, 17rem); }
}
/* Celular com tela até ~860px de altura (360×780, 390×844): "Ver programação" acima do aviso
   de cookies na primeira visita. */
@media (max-width: 599px) and (max-height: 860px) {
    .nov-hero--edition .es-hero__inner { padding-block: 1.25rem 2.5rem; }
    .nov-hero--edition .es-hero__copy { gap: 0.65rem; }
    .nov-hero--edition .es-countdown { --es-countdown-box: 4rem; gap: 0.3rem; }
    .nov-hero--edition .es-countdown__unit { padding: 0.4rem 0.6rem; min-width: 4.1rem; }
    .nov-hero--edition .es-countdown__num { font-size: 1.5rem; }
    .nov-hero--edition .es-countdown:not([hidden]) { min-height: 5.4rem; }
    .nov-hero--edition .es-hero__lead { font-size: 0.98rem; line-height: 1.5; }
}
/* Telas de 360px: "Ver programação" e "Como chegar" na mesma linha. */
@media (max-width: 380px) {
    .nov-hero .es-actions { gap: 0.6rem; }
    .nov-hero .es-actions .es-btn { padding-inline: 1.05rem; }
}
/* Paisagem baixa: menos respiro acima do título (o cabeçalho já recolhe ao rolar). */
@media (max-height: 500px) and (orientation: landscape) {
    .nov-hero .es-hero__inner,
    .nov-hero--edition .es-hero__inner { padding-block: 1.25rem 2.25rem; }
    .nov-hero--hub .es-hero__inner { min-height: 0; }
    .nov-hero .es-hero__copy { gap: 0.7rem; }
}

/* ==========================================================================
   Barra de fatos (edição)
   ========================================================================== */
.nov-factbar {
    position: relative;
    background: var(--nov-pine-2);
    color: var(--nov-cream);
}
.nov-factbar::before { top: -4px; }
.nov-factbar__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 auto;
    padding-block: 0.4rem;
}
.nov-factbar__item {
    padding: 0.9rem 0.9rem 0.9rem 0;
    border-bottom: 1px solid rgba(230, 194, 122, 0.22);
}
.nov-factbar__item:nth-last-child(-n+2) { border-bottom: 0; }
.nov-factbar__item dt {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nov-candle);
}
.nov-factbar__item dd {
    margin: 0.2rem 0 0;
    font-family: var(--es-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 600;
    line-height: 1.2;
}
.nov-factbar__item dd small {
    display: block;
    font-family: var(--es-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(251, 246, 234, 0.8);
    margin-top: 0.15rem;
}
@media (min-width: 820px) {
    .nov-factbar__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 0.6rem; }
    .nov-factbar__item { border-bottom: 0; padding: 1.1rem 1.25rem; border-left: 1px solid rgba(230, 194, 122, 0.24); }
    .nov-factbar__item:first-child { border-left: 0; padding-left: 0; }
}

.nov-notice-wrap:has(.es-notice:not([hidden])) { padding-top: 2rem; }

/* ==========================================================================
   Edição atual (hub) — bloco trocado a cada ano
   ========================================================================== */
.nov-current-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.nov-current {
    position: relative;
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: 22px;
    box-shadow: var(--es-shadow);
    overflow: hidden;
}
.nov-current::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--nov-gold-2), var(--nov-gold));
}
.nov-current__year {
    font-family: var(--es-display);
    font-size: clamp(4.5rem, 14vw, 9rem);
    font-weight: 600;
    line-height: 0.85;
    color: var(--nov-pine-2);
    letter-spacing: -0.03em;
}
.nov-current__body { display: grid; gap: 1rem; }
.nov-current__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nov-current__tagline { font-style: italic; color: var(--nov-gold-ink); font-weight: 500; }
.nov-current__facts { display: grid; gap: 0.75rem; }
.nov-current__facts > div { display: grid; gap: 0.1rem; }
.nov-current__facts dt,
.nov-about__facts dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nov-gold-ink);
}
.nov-current__facts dd,
.nov-about__facts dd { margin: 0; font-weight: 600; }
.nov-current__countdown .es-countdown__title { color: var(--nov-gold-ink); }
@media (min-width: 900px) {
    .nov-current { grid-template-columns: auto minmax(0, 1fr); gap: 3rem; align-items: start; padding-left: 3.5rem; }
    .nov-current__facts { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
    .nov-current__facts > div:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   Sobre
   ========================================================================== */
.nov-about__media { margin: 1.25rem 0 0; display: grid; gap: 0.45rem; }
.nov-about__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--es-radius); display: block; }
.nov-about .es-split { align-items: start; }
.nov-lead { font-family: var(--es-display); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.4; color: var(--es-ink); }
.nov-about__facts {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--es-line);
}
.nov-about__facts > div { display: grid; gap: 0.1rem; }
.nov-about__facts a { color: inherit; text-decoration-color: var(--es-accent-text); text-underline-offset: 3px; }
@media (min-width: 640px) { .nov-about__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   Tradições
   ========================================================================== */
.nov-traditions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(1rem, 2.4vw, 1.5rem);
    grid-template-columns: minmax(0, 1fr);
}
.nov-tradition {
    position: relative;
    display: grid;
    align-content: start;
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    overflow: hidden;
}
.nov-tradition__media { margin: 0; display: grid; }
.nov-tradition__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.nov-tradition__media .es-credit { padding: 0.45rem 1.25rem 0; }
.nov-tradition__body { display: grid; gap: 0.65rem; padding: 1.25rem 1.35rem 1.5rem; align-content: start; }
.nov-tradition__num {
    font-family: var(--es-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--nov-gold-ink);
}
.nov-tradition__title { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.nov-tradition__src { font-size: 0.82rem; color: var(--es-ink-soft); }
.nov-tradition__src a { color: inherit; text-underline-offset: 3px; }
.nov-tradition--stat { background: var(--nov-pine-2); color: var(--nov-cream); border-color: var(--nov-pine-2); }
.nov-tradition--stat .nov-tradition__num { color: var(--nov-candle); }
.nov-tradition--stat .nov-tradition__src { color: rgba(251, 246, 234, 0.82); }
.nov-tradition--stat :focus-visible { outline-color: var(--nov-candle); }
.nov-tradition__stat {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 1.5rem 1.35rem 0;
    font-family: var(--es-display);
    color: var(--nov-candle);
}
.nov-tradition__stat span { font-size: clamp(4.5rem, 10vw, 6.5rem); font-weight: 600; line-height: 0.85; }
.nov-tradition__stat small { font-family: var(--es-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251, 246, 234, 0.85); }
.nov-tradition--portrait .nov-tradition__media img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
.nov-tradition--text { background: var(--nov-cream); }

/* Tablet: 2 colunas (cartão 1 em largura total). As 6 colunas ficam só no
   desktop, onde os cartões menores ainda têm largura útil para o texto. */
@media (min-width: 760px) {
    .nov-traditions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nov-tradition:nth-child(1) { grid-column: span 2; }
}
@media (min-width: 1040px) {
    .nov-traditions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .nov-tradition:nth-child(1) { grid-column: span 4; }
    .nov-tradition:nth-child(2) { grid-column: span 2; }
    .nov-tradition:nth-child(3),
    .nov-tradition:nth-child(4),
    .nov-tradition:nth-child(5) { grid-column: span 2; }
}
/* Cartão 1 com foto e texto lado a lado desde o tablet. */
@media (min-width: 760px) {
    .nov-tradition:nth-child(1) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-content: stretch; }
    .nov-tradition:nth-child(1) .nov-tradition__media { position: relative; min-height: 20rem; }
    .nov-tradition:nth-child(1) .nov-tradition__media img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
    .nov-tradition:nth-child(1) .nov-tradition__media .es-credit {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 2rem 1.1rem 0.7rem;
        color: rgba(251, 246, 234, 0.92);
        background: linear-gradient(180deg, transparent, rgba(11, 46, 34, 0.85));
    }
    .nov-tradition:nth-child(1) .nov-tradition__body { align-content: center; padding: 2rem; }
}

/* ==========================================================================
   Linha do tempo das edições (hub, seção escura)
   ========================================================================== */
.nov-history { background: var(--nov-pine); }
.nov-years {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.nov-year {
    position: relative;
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--es-dark-line);
}
.nov-year__num {
    font-family: var(--es-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--nov-candle);
}
.nov-year__body { display: grid; gap: 0.45rem; align-content: start; }
.nov-year__title { font-size: 1.35rem; }
.nov-year__body p { color: var(--es-dark-ink-soft); }
.nov-year__src { font-size: 0.86rem; }
.nov-year__src a { color: var(--nov-cream); text-decoration-color: var(--nov-gold); text-underline-offset: 3px; }
.nov-year__badge {
    justify-self: start;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--nov-candle);
    color: var(--nov-pine) !important;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nov-year--current .es-btn { justify-self: start; margin-top: 0.4rem; }
@media (min-width: 820px) {
    .nov-years { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.5rem); row-gap: 2.5rem; }
    .nov-year { grid-template-columns: 1fr; align-content: start; padding-top: 1.75rem; border-top: 0; }
    .nov-year::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
        height: 1px;
        background: linear-gradient(90deg, var(--nov-gold-2), rgba(230, 194, 122, 0.25));
    }
    .nov-year:nth-child(3n)::before { right: 0; }
    .nov-year::after {
        content: "";
        position: absolute;
        top: -5px;
        left: 0;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: var(--nov-candle);
        box-shadow: 0 0 0 4px rgba(243, 213, 140, 0.18), 0 0 14px rgba(243, 213, 140, 0.6);
    }
    .nov-year__num { font-size: 2.6rem; }
    .nov-year--current { padding: 1.75rem 1.5rem 1.5rem; margin-top: -0.25rem; background: var(--nov-pine-2); border: 1px solid var(--es-dark-line); border-radius: var(--es-radius); }
    .nov-year--current::before { display: none; }
    .nov-year--current::after { left: 1.5rem; }
}

/* ==========================================================================
   Galeria
   ========================================================================== */
.nov-gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.nov-gallery .es-gallery__link { border-radius: 10px; }
.nov-gallery .es-gallery__caption-text { font-weight: 600; }
@media (min-width: 720px) {
    .nov-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nov-gallery__item--wide { grid-column: span 2; grid-row: span 2; }
    .nov-gallery__item--wide .es-gallery__figure { height: 100%; grid-template-rows: 1fr auto; }
    .nov-gallery__item--wide .es-gallery__link { aspect-ratio: auto; height: 100%; min-height: 20rem; }
    .nov-gallery__item--span2 { grid-column: span 2; }
    .nov-gallery__item--span2 .es-gallery__link { aspect-ratio: 8 / 3; }
}
.nov-gallery__more { margin-top: 1.25rem; }

/* ==========================================================================
   Planeje sua visita
   ========================================================================== */
.nov-explore {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
}
@media (min-width: 1100px) { .nov-explore { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.nov-explore__link {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    height: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 1.35rem 1.25rem 1.5rem;
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    color: var(--es-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nov-explore__link:hover { border-color: var(--nov-gold); transform: translateY(-2px); box-shadow: var(--es-shadow); }
.nov-explore__icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--nov-pine-2);
    margin-bottom: 0.35rem;
}
.nov-explore__icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--nov-candle); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nov-explore__title { font-family: var(--es-display); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.nov-explore__title::after { content: " →"; font-family: var(--es-body); font-size: 1rem; color: var(--nov-gold-ink); }
.nov-explore__text { font-size: 0.94rem; color: var(--es-ink-soft); }

/* ==========================================================================
   Arquivo de edições
   ========================================================================== */
.nov-archive {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--es-line);
}
.nov-archive__row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.25rem 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--es-line);
}
.nov-archive__year { font-family: var(--es-display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--nov-gold-ink); grid-row: span 2; }
.nov-archive__desc { color: var(--es-ink-soft); }
.nov-archive__desc strong { color: var(--es-ink); font-weight: 700; }
.nov-archive__link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    font-weight: 700;
    color: var(--es-ink);
    text-underline-offset: 4px;
    text-decoration-color: var(--es-accent-text);
}
.nov-archive__row--current { background: linear-gradient(90deg, rgba(212, 165, 116, 0.14), transparent 70%); }
.nov-archive__row--current .nov-archive__year { color: var(--nov-pine-2); }
@media (min-width: 720px) {
    .nov-archive__row { grid-template-columns: 5.5rem minmax(0, 1fr) auto; padding: 0.75rem 0.5rem; }
    .nov-archive__year { grid-row: auto; }
    .nov-archive__link { justify-self: end; }
}

/* ==========================================================================
   Notícias, parceiros e fontes
   ========================================================================== */
.nov-news__date {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nov-gold-ink);
    margin-bottom: 0.15rem;
}
.nov-news .es-news__link { padding-block: 0.9rem; text-decoration-color: var(--es-line); }
.nov-news .es-news__link:hover { text-decoration-color: currentColor; }
.nov-partners-section .es-partner { background: #fff; }
.nov-partners__miss { font-size: 0.92rem; color: var(--es-ink-soft); }

.nov-related {
    background: var(--nov-pine-2);
    color: var(--nov-cream);
    border-color: var(--nov-pine-2);
    border-radius: 22px;
    align-items: center;
}
.nov-related .es-related__eyebrow { color: var(--nov-candle); }
.nov-related .es-btn--primary { background: var(--nov-candle); color: var(--nov-pine); justify-self: start; }
.nov-related :focus-visible { outline-color: var(--nov-candle); }
@media (min-width: 760px) { .nov-related { grid-template-columns: minmax(0, 1fr) auto; padding: 2.25rem 2.5rem; } }

/* ==========================================================================
   Programação (edição)
   ========================================================================== */
.nov-program__head { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
.nov-program__head .es-section__head { margin-bottom: 0; }
.nov-status-notice {
    border-left-color: var(--nov-gold) !important;
    background: var(--nov-cream-2);
    display: grid;
    gap: 0.45rem;
}
@media (min-width: 960px) {
    .nov-program__head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
}

/* Mini-calendário */
.nov-feira__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.nov-cal-wrap { overflow-x: auto; margin-bottom: clamp(2rem, 5vw, 3rem); }
.nov-cal {
    width: 100%;
    min-width: 19rem;
    border-collapse: separate;
    border-spacing: 4px;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}
.nov-cal caption {
    caption-side: top;
    text-align: left;
    padding: 0 4px 0.75rem;
}
.nov-cal__caption-title {
    display: inline-block;
    margin-right: 1.25rem;
    font-family: var(--es-display);
    font-size: 1.35rem;
    font-weight: 600;
}
.nov-cal__legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; font-family: var(--es-body); font-size: 0.82rem; font-weight: 500; color: var(--es-ink-soft); }
.nov-cal__key { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; vertical-align: -2px; }
.nov-cal__key--event { background: var(--nov-pine-2); }
.nov-cal__key--off { border: 1px dashed rgba(70, 85, 76, 0.55); }
/* Ícone e rótulo da legenda ficam sempre juntos (não quebram entre si). */
.nov-cal__legend-item { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.nov-cal thead th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--es-ink-soft);
    padding-bottom: 0.25rem;
}
.nov-cal abbr { text-decoration: none; }
.nov-cal__day { height: 3.4rem; padding: 0; text-align: center; vertical-align: middle; border-radius: 8px; }
.nov-cal__num { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1; }
.nov-cal__hours { display: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; margin-top: 0.3rem; }
/* Fora do período: cor sólida AA (#5f6b64 sobre o creme ≈ 5,1:1), diferenciada por peso, não por transparência. */
.nov-cal__day--out { color: #5f6b64; }
.nov-cal__day--out .nov-cal__num { font-weight: 400; }
.nov-cal__day--off { border: 1px dashed rgba(70, 85, 76, 0.45); color: var(--es-ink-soft); }
.nov-cal__day--event a {
    display: grid;
    place-content: center;
    width: 100%;
    height: 100%;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background: var(--nov-pine-2);
    color: var(--nov-cream);
    text-decoration: none;
    transition: background 0.2s ease;
}
.nov-cal__day--event a:hover { background: var(--nov-pine-3); }
.nov-cal__day--opening a { background: var(--nov-cherry); box-shadow: inset 0 0 0 2px var(--nov-candle); }
.nov-cal__day--opening a:hover { background: #82261f; }
.nov-cal__day--event a:focus-visible { outline: 3px solid var(--nov-cherry); outline-offset: 2px; }
.nov-cal__day--opening a:focus-visible { outline-color: var(--nov-pine); }
/* Dia sem destino na programação publicada pelo painel (link desativado pelo runtime). */
.nov-cal__day--event a:not([href]) { cursor: default; opacity: 0.75; }
/* 360px: espaçamento menor para cada dia chegar a 44px de largura. */
@media (max-width: 399px) {
    .nov-cal { border-spacing: 2px; }
    .nov-cal-wrap { margin-inline: -4px; }
}
@media (min-width: 640px) {
    .nov-cal { border-spacing: 6px; }
    .nov-cal__day { height: 4.4rem; }
    .nov-cal__hours { display: block; }
    .nov-cal__num { font-size: 1.2rem; }
}

/* Atalho de dias (celular): substitui a tabela abaixo de 560px. Alvos de 52px e
   reserva à direita para o botão fixo do VLibras. */
.nov-daystrip { margin-bottom: clamp(1.75rem, 5vw, 2.5rem); padding-right: 3rem; }
.nov-daystrip__title {
    margin-bottom: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nov-gold-ink);
}
.nov-daystrip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(3.25rem, 1fr));
    gap: 0.4rem;
}
.nov-daystrip__day {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.15rem;
    min-width: 44px;
    min-height: 3.4rem;
    padding: 0.35rem 0.2rem;
    border-radius: 10px;
    background: var(--nov-pine-2);
    color: var(--nov-cream);
    text-decoration: none;
}
.nov-daystrip__day abbr {
    text-decoration: none;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nov-candle);
}
.nov-daystrip__num { font-size: 1.15rem; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.nov-daystrip__day--opening { background: var(--nov-cherry); box-shadow: inset 0 0 0 2px var(--nov-candle); }
.nov-daystrip__day--opening abbr { color: var(--nov-cream); }
.nov-daystrip__day:focus-visible { outline: 3px solid var(--nov-cherry); outline-offset: 2px; }
.nov-daystrip__day:not([href]) { opacity: 0.6; }
@media (max-width: 559px) { .nov-cal-wrap { display: none; } }
@media (min-width: 560px) { .nov-daystrip { display: none; } }
/* Tablet: a coluna do sábado fica longe do VLibras (borda direita, meia altura). */
@media (max-width: 1023px) { .nov-cal-wrap { padding-right: 3rem; } }

/* Programação agrupada por semana: 3 blocos curtos em vez de 12 cartões iguais. */
.nov-weeks { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); }
.nov-week { display: grid; gap: 0.85rem; }
.nov-week__title,
.nov-attr-group__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--es-body);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--nov-gold-ink);
}
.nov-week__title::after,
.nov-attr-group__title::after {
    content: "";
    flex: 1 1 2rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(122, 79, 31, 0.45), transparent);
}
@media (min-width: 1024px) {
    .nov-week { grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
    .nov-week__title {
        position: sticky;
        top: calc(var(--sms-header-offset, 120px) + var(--es-local-nav-height, 56px) + 1rem);
        flex-direction: column;
        align-items: flex-start;
        padding-top: 1.1rem;
    }
    .nov-week__title::after { flex: none; width: 2.5rem; }
}

.nov-timeline { gap: 0.55rem; grid-template-columns: minmax(0, 1fr); }
.nov-timeline .es-timeline__day {
    padding: 0.95rem 1.05rem 1rem;
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    scroll-margin-top: 4px; /* soma-se ao scroll-padding-top do html */
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.nov-timeline .es-timeline__day::before,
.nov-timeline .es-timeline__day::after { display: none; }
.nov-timeline .es-timeline__date {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.6rem;
    margin: 0 0 0.6rem;
    font-size: 1.32rem;
    line-height: 1.1;
}
.nov-timeline .es-timeline__date time { display: grid; gap: 0.1rem; }
.nov-date__wd {
    font-family: var(--es-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nov-gold-ink);
}
.nov-timeline .es-timeline__items { gap: 0.45rem; }
.nov-timeline .es-timeline__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.nov-timeline .es-timeline__title { font-size: 0.98rem; }
.nov-timeline .es-timeline__title a { text-decoration-color: var(--es-accent-text); text-underline-offset: 3px; }
/* Linha da Feira: horário em destaque + rótulo curto. */
.nov-timeline .nov-item--feira { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.55rem; }
.nov-timeline .nov-item--feira .es-timeline__time { font-size: 1rem; color: var(--es-ink); letter-spacing: 0.02em; }
.nov-timeline .nov-item--feira .es-timeline__title { font-size: 0.86rem; font-weight: 600; }
.nov-timeline .nov-item--feira .es-timeline__title a { color: var(--es-ink-soft); }
/* Atração divulgada por terceiro (produtora): moldura tracejada dourada. */
.nov-timeline .nov-item--producer {
    margin-top: 0.3rem;
    padding: 0.65rem 0.75rem;
    background: var(--nov-cream);
    border: 1px dashed rgba(122, 79, 31, 0.5);
    border-radius: 10px;
}
.nov-timeline .nov-item--producer .es-timeline__time { font-size: 1rem; }
.nov-timeline .nov-item--producer .es-timeline__title { font-family: var(--es-display); font-size: 1.15rem; line-height: 1.2; }
.nov-timeline .nov-item--producer .es-timeline__desc { font-size: 0.86rem; }
.nov-source-tag { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; color: var(--nov-gold-ink); }
.nov-source-tag a { color: inherit; text-underline-offset: 3px; }
.nov-timeline .es-day-badge { justify-self: start; }

/* Estados do runtime: hoje / próximo / realizado. */
.nov-timeline .es-timeline__day.is-today { border-color: var(--nov-pine-2); box-shadow: inset 0 0 0 2px var(--nov-pine-2); }
.nov-timeline .es-timeline__day.is-next { border-color: var(--nov-gold); box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.35), var(--es-shadow); }
.nov-timeline .es-timeline__day.is-past { opacity: 0.62; }

/* Abertura (4/12): bloco especial com o Miss. */
.nov-timeline .nov-day--opening {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.2rem 1.2rem;
    background: radial-gradient(90% 120% at 100% 0%, rgba(243, 213, 140, 0.12), transparent 60%), var(--nov-pine-2);
    border-color: var(--nov-pine-2);
    color: var(--nov-cream);
    --es-ink: var(--nov-cream);
    --es-ink-soft: rgba(251, 246, 234, 0.84);
    --es-accent-text: var(--nov-candle);
    --es-line: rgba(230, 194, 122, 0.35);
    --es-focus: var(--nov-candle);
}
.nov-timeline .nov-day--opening::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 9px;
    background:
        radial-gradient(circle, rgba(243, 213, 140, 0.95) 0 1.6px, transparent 2.6px) 0 50% / 46px 9px repeat-x,
        var(--nov-thread) 0 50% / 100% 1px no-repeat;
}
.nov-timeline .nov-day--opening .nov-date__wd { color: var(--nov-candle); }
.nov-day__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: var(--nov-cherry);
    color: var(--nov-cream);
    font-family: var(--es-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nov-timeline .nov-day--opening .es-timeline__items { gap: 0.75rem; }
.nov-timeline .nov-day--opening .nov-item--feira .es-timeline__time { color: var(--nov-cream); }
.nov-timeline .nov-day--opening .nov-item--opening {
    padding: 0.95rem 1.05rem;
    background: var(--nov-cream);
    color: var(--nov-pine);
    border-left: 4px solid var(--nov-cherry);
    border-radius: 10px;
    --es-ink: #14261d;
    --es-ink-soft: #46554c;
    --es-accent-text: var(--nov-gold-ink);
    --es-focus: var(--nov-cherry);
}
.nov-timeline .nov-day--opening .nov-item--opening .es-timeline__time { font-size: 1.05rem; color: var(--nov-cherry); }
.nov-timeline .nov-day--opening .nov-item--opening .es-timeline__title { font-family: var(--es-display); font-size: 1.4rem; line-height: 1.2; }
.nov-timeline .nov-day--opening .es-day-badge { background: var(--nov-candle); color: var(--nov-pine); }
.nov-timeline .nov-day--opening.is-next { box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.55), var(--es-shadow); }

/* Celular: dias comuns viram linhas compactas (data | horário da Feira). */
@media (max-width: 599px) {
    .nov-timeline .es-timeline__day:not(.nov-day--opening) {
        display: grid;
        grid-template-columns: 6.6rem minmax(0, 1fr);
        align-items: center;
        gap: 0.35rem 0.85rem;
        padding: 0.7rem 0.9rem;
    }
    .nov-timeline .es-timeline__day:not(.nov-day--opening) .es-timeline__date { margin: 0; font-size: 1.08rem; }
    /* Dia com mais de uma atração: data em cima, atrações em largura total. */
    .nov-timeline .es-timeline__day:not(.nov-day--opening):has(.es-timeline__item + .es-timeline__item) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 600px) {
    .nov-timeline { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); align-items: start; }
    .nov-timeline .nov-day--opening { grid-column: 1 / -1; }
    .nov-timeline .es-timeline__day:has(.nov-item--producer) { grid-column: span 2; }
}
@media (min-width: 900px) {
    .nov-timeline .nov-day--opening { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.7rem 1.9rem; }
    .nov-timeline .nov-day--opening .es-timeline__date { flex-direction: column; align-items: flex-start; margin: 0; font-size: 2.15rem; }
    .nov-timeline .nov-day--opening .es-timeline__items { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); align-items: center; }
}
.nov-program__source { margin-top: 1.5rem; font-size: 0.84rem; color: var(--es-ink-soft); }

/* ==========================================================================
   Atrações: com data divulgada × anunciadas sem data
   ========================================================================== */
.nov-attr-group__title { margin-bottom: 1rem; }
.nov-attr-group + .nov-attr-group { margin-top: clamp(2rem, 4.5vw, 3rem); }
.nov-attr-group__note { margin-top: 1rem; font-size: 0.88rem; color: var(--es-ink-soft); }
.nov-attractions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.nov-attraction {
    display: grid;
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    overflow: hidden;
}
.nov-attraction__media { margin: 0; display: grid; }
.nov-attraction__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.nov-attraction__media .es-credit { padding: 0.45rem 1.35rem 0; }
.nov-attraction__body { display: grid; gap: 0.6rem; padding: 1.35rem 1.35rem 1.5rem; align-content: start; }
.nov-attraction__title { font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.nov-attraction__when .es-tba { font-size: 0.76rem; }
.nov-attraction__body > p:last-of-type { color: var(--es-ink-soft); }
.nov-attraction__eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nov-candle); }
.nov-attraction__src { font-size: 0.84rem; }
.nov-attraction__src a { color: inherit; text-underline-offset: 3px; }
.nov-attraction--link { background: var(--nov-pine-2); border-color: var(--nov-pine-2); color: var(--nov-cream); --es-ink: var(--nov-cream); --es-accent-text: var(--nov-candle); }
.nov-attraction--link .nov-attraction__when { font-weight: 700; color: var(--nov-candle); }
.nov-attraction--link .nov-attraction__body > p:last-of-type { color: rgba(251, 246, 234, 0.86); }
.nov-attraction--link :focus-visible { outline-color: var(--nov-candle); }
.nov-attraction--producer { border-color: rgba(122, 79, 31, 0.55); border-style: dashed; }
.nov-attraction--producer .nov-attraction__eyebrow { color: var(--nov-gold-ink); }
.nov-attraction--producer .nov-attraction__when { font-weight: 700; color: var(--es-ink); }
/* Sem data: fundo transparente e borda tracejada (lê-se como "ainda em aberto"). */
.nov-attr-group--tba .nov-attraction { background: transparent; border-style: dashed; border-color: rgba(70, 85, 76, 0.45); }
.nov-attr-group--tba .nov-attraction--feature { background: var(--es-surface); }
@media (min-width: 760px) {
    .nov-attractions--dated { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .nov-attractions--tba { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
}

/* ==========================================================================
   Seção especial do Miss (dentro da página do Natal)
   ========================================================================== */
.nov-miss.es-section--dark {
    --es-dark-bg: #141210;
    --es-dark-surface: #1f1b18;
    --es-dark-ink: #f7f1e6;
    --es-dark-ink-soft: rgba(247, 241, 230, 0.82);
    --es-dark-accent: #d9bf8a;
    --es-dark-line: rgba(201, 164, 92, 0.42);
    --es-focus-on-dark: #d9bf8a;
    background:
        radial-gradient(70% 90% at 85% 10%, rgba(201, 164, 92, 0.14), transparent 60%),
        #141210;
}
.nov-miss.es-section--dark::before {
    background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.9) 20%, rgba(217, 191, 138, 1) 50%, rgba(201, 164, 92, 0.9) 80%, transparent) 0 50% / 100% 1px no-repeat;
}
.nov-miss__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nov-miss__intro { display: grid; gap: 1rem; }
.nov-miss__logo { width: min(15rem, 70%); height: auto; margin-bottom: 0.5rem; }
.nov-miss .es-kicker { color: #d9bf8a; }
.nov-miss__title {
    font-family: var(--es-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.02;
    color: #f7f1e6;
}
.nov-miss__lead { font-size: 1.08rem; color: #f7f1e6; }
.nov-miss__intro > p { color: rgba(247, 241, 230, 0.82); }
.nov-miss__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0.5rem 0 0.25rem;
    border-top: 1px solid rgba(201, 164, 92, 0.42);
}
.nov-miss__facts > div { padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid rgba(201, 164, 92, 0.42); }
.nov-miss__facts dt { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #d9bf8a; }
.nov-miss__facts dd { margin: 0.15rem 0 0; font-family: var(--es-display); font-size: 1.25rem; font-weight: 600; color: #f7f1e6; }
.nov-miss .es-btn { border-radius: 2px; }
.nov-miss .es-btn--primary { background: #d9bf8a; color: #141210; }
.nov-miss .es-btn--primary:hover { background: #e6d3a8; }
.nov-miss .es-btn--secondary { color: #f7f1e6; border-color: rgba(217, 191, 138, 0.7); }
.nov-miss__photo { margin: 0; display: grid; gap: 0.6rem; width: 100%; max-width: 26rem; }
@media (min-width: 720px) { .nov-miss__photo { max-width: none; } }
.nov-miss__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 25%;
    border: 1px solid #c9a45c;
    padding: 6px;
    box-sizing: border-box;
    background: #1f1b18;
}
.nov-miss__photo figcaption { display: grid; gap: 0.2rem; font-size: 0.86rem; color: rgba(247, 241, 230, 0.82); }
.nov-miss__photo .es-credit { color: rgba(247, 241, 230, 0.7); }
/* Texto + foto em duas colunas já no tablet (evita coluna única com faixa vazia à direita). */
@media (min-width: 720px) {
    .nov-miss__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

/* ==========================================================================
   Feira Gastronômica
   ========================================================================== */
.nov-feira__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.nov-feira__info { display: grid; gap: 1.5rem; }
.nov-capacity {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}
.nov-capacity li {
    display: grid;
    gap: 0.35rem;
    align-content: start;
    padding: 1rem 0.85rem;
    background: var(--nov-pine-2);
    color: var(--nov-cream);
    border-radius: var(--es-radius);
}
.nov-capacity__num { font-family: var(--es-display); font-size: clamp(2.6rem, 7vw, 3.6rem); font-weight: 600; line-height: 0.9; color: var(--nov-candle); }
.nov-capacity__label { font-size: 0.84rem; font-weight: 600; line-height: 1.3; }
.nov-feira__note { font-size: 0.88rem; color: var(--es-ink-soft); }
.nov-feira__reg { display: grid; gap: 0.4rem; padding-top: 1.25rem; border-top: 1px solid var(--es-line); }
.nov-closed {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #f1e2df;
    color: #7d241f;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nov-closed::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.nov-feira__contact { padding: 1.1rem 1.25rem; background: var(--nov-cream-2); border-radius: var(--es-radius); }
.nov-feira__contact-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nov-gold-ink); margin-bottom: 0.35rem !important; }
.nov-feira__contact a { color: var(--es-ink); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding-block: 0.25rem; overflow-wrap: anywhere; }
.nov-hours caption { text-align: left; }
.nov-hours tbody th time { font-weight: 700; }
.nov-hours td { font-weight: 700; color: var(--nov-gold-ink); font-variant-numeric: tabular-nums; }
/* Celular/tablet: a tabela de horários (o que o visitante procura) vem antes das informações. */
@media (max-width: 899px) {
    .nov-feira__grid > [data-es-region="feira-schedule"] { order: -1; }
}
@media (min-width: 900px) {
    .nov-feira__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
}

/* Regras práticas da Feira (regulamento). */
.nov-feira__rules {
    display: grid;
    gap: 0.8rem;
    padding: 1.15rem 1.25rem 1.2rem;
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
}
.nov-feira__rules-title { font-size: 1.4rem; }
.nov-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.nov-rules li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.75rem; align-items: center; font-weight: 600; line-height: 1.4; }
.nov-rules__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--nov-pine-2); }
.nov-rules__icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--nov-candle); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nov-feira__rules-src { font-size: 0.8rem; color: var(--es-ink-soft); }
/* Tabela da Feira: hoje / próximo / realizado (classes do runtime). */
.nov-hours tr.is-today > * { background: rgba(18, 61, 46, 0.09); }
.nov-hours tr.is-next > th { box-shadow: inset 4px 0 0 var(--nov-gold); }
.nov-hours tr.is-past { opacity: 0.6; }

/* ==========================================================================
   Informações ao visitante
   ========================================================================== */
.nov-visitor__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.nov-visitor__list { margin: 0; border-top: 1px solid var(--es-line); }
.nov-visitor__row { display: grid; gap: 0.25rem; padding: 1rem 0; border-bottom: 1px solid var(--es-line); }
.nov-visitor__row dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nov-gold-ink); }
.nov-visitor__row dd { margin: 0; }
.nov-visitor__row a[href^="tel:"] { white-space: nowrap; }
.nov-visitor__row a { color: inherit; font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--es-accent-text); }
.nov-visitor__aside { display: block; margin-top: 0.35rem; font-size: 0.9rem; color: var(--es-ink-soft); }
.nov-visitor__aside-card {
    display: grid;
    gap: 0.85rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
}
.nov-visitor__aside-card h3 { font-size: 1.6rem; }
.nov-visitor__aside-card > p { color: var(--es-ink-soft); }
.nov-visitor__tips-title { margin-top: 0.75rem !important; padding-top: 1.1rem; border-top: 1px solid var(--es-line); font-size: 1.3rem !important; }
.nov-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.nov-tips li { padding-left: 1.1rem; position: relative; }
.nov-tips li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--nov-gold); }
.nov-tips a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--es-ink); text-underline-offset: 3px; text-decoration-color: var(--es-accent-text); }
@media (min-width: 640px) { .nov-visitor__row { grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem; } }
@media (min-width: 960px) { .nov-visitor__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }

/* ==========================================================================
   Vídeos (links externos — sem iframe)
   ========================================================================== */
.nov-videos { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1rem; }
.nov-videos__title { font-size: 1.7rem; }
.nov-video-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.nov-video-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    padding: 1rem 1.15rem;
    background: var(--es-surface);
    border: 1px solid var(--es-line);
    border-radius: var(--es-radius);
    color: var(--es-ink);
    text-decoration: none;
}
.nov-video-link:hover { border-color: var(--nov-gold); }
.nov-video-link__play {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--nov-pine-2);
    position: relative;
}
.nov-video-link__play::after {
    content: "";
    position: absolute;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 0.45rem 0 0.45rem 0.75rem;
    border-color: transparent transparent transparent var(--nov-candle);
}
.nov-video-link__text { display: grid; gap: 0.15rem; }
.nov-video-link__text strong { font-weight: 700; line-height: 1.3; }
.nov-video-link__text small { font-size: 0.84rem; color: var(--es-ink-soft); }
@media (min-width: 760px) { .nov-video-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.nov-footer {
    background: var(--nov-pine);
    color: var(--nov-cream);
    margin-top: 0;
    padding: 2.75rem 1.5rem;
    position: relative;
}
.nov-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--nov-thread);
}
.nov-footer__inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 0.3rem; }
.nov-footer a { color: var(--nov-candle); display: inline-block; padding-block: 0.3rem; }
.nov-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; margin-top: 0.75rem; }
.nov-footer :focus-visible { outline: 3px solid var(--nov-candle); outline-offset: 3px; }

/* ==========================================================================
   Movimento reduzido e alto contraste
   ========================================================================== */
@keyframes nov-twinkle { from { opacity: 0.72; } to { opacity: 1; } }
@keyframes nov-glow { from { opacity: 0.7; transform: scale(0.97); } to { opacity: 1; transform: scale(1.03); } }
@keyframes nov-pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 213, 140, 0.6); }
    70%, 100% { box-shadow: 0 0 0 0.6rem rgba(243, 213, 140, 0); }
}
@keyframes nov-pulse-dark {
    0% { box-shadow: 0 0 0 0 rgba(154, 47, 42, 0.45); }
    70%, 100% { box-shadow: 0 0 0 0.6rem rgba(154, 47, 42, 0); }
}
.nov-page .es-hero::after,
.nov-timeline .nov-day--opening::before { animation: nov-twinkle 3.8s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
    .nov-explore__link:hover { transform: none; }
    .nov-page .es-hero::after,
    .nov-timeline .nov-day--opening::before,
    .nov-hero .es-hero__brand::before,
    .nov-state__dot { animation: none; }
    .nov-timeline .es-timeline__day { transition: none; }
}
body.high-contrast.nov-page .es-hero::after,
body.high-contrast.nov-page .nov-factbar::before,
body.high-contrast.nov-page .es-section--dark::before,
body.high-contrast.nov-page .nov-footer::before,
body.high-contrast.nov-page .nov-sprig,
body.high-contrast.nov-page .nov-hero .es-hero__brand::before,
body.high-contrast.nov-page .nov-timeline .nov-day--opening::before { display: none !important; }
body.high-contrast.nov-page :where(.nov-current, .nov-tradition, .nov-explore__link, .nov-attraction, .nov-capacity li, .nov-visitor__aside-card, .nov-video-link, .nov-timeline .es-timeline__day, .nov-cal__day--event a, .nov-related, .nov-daystrip__day, .nov-feira__rules, .nov-state) { border: 1px solid #ff0 !important; }
body.high-contrast.nov-page .nov-miss__logo { background: #000; }
