/* SequeLariGTA — Novidades desde a sua última visita (faixa do topo) e página /novidades/ (pendência 17). Arte própria. */

/* ---------- Faixa do topo ---------- */
.nov-faixa { position: relative; margin: 0 0 22px; padding: 14px 16px 12px; border-radius: var(--raio); isolation: isolate;
  background: linear-gradient(120deg, rgba(40, 22, 72, .94), rgba(18, 30, 66, .94)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--sombra), 0 0 22px rgba(255, 63, 164, .18); }
.nov-faixa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, var(--neon-rosa), var(--sol), var(--neon-agua), var(--neon-rosa)); background-size: 300% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: nov-borda 8s linear infinite; }
@keyframes nov-borda { to { background-position: 300% 0; } }
.nov-faixa.entrando { animation: nov-entra .6s cubic-bezier(.2, .9, .3, 1.2) both; }
.nov-faixa.saindo { animation: nov-sai .35s ease-in both; }
@keyframes nov-entra { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
@keyframes nov-sai { to { opacity: 0; transform: translateY(-10px) scale(.98); } }

.nov-faixa-topo { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.nov-luz { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--neon-rosa); box-shadow: 0 0 0 0 rgba(255, 63, 164, .7), 0 0 12px var(--neon-rosa); animation: nov-pulso 1.8s ease-out infinite; }
@keyframes nov-pulso { 70% { box-shadow: 0 0 0 10px rgba(255, 63, 164, 0), 0 0 12px var(--neon-rosa); } 100% { box-shadow: 0 0 0 0 rgba(255, 63, 164, 0), 0 0 12px var(--neon-rosa); } }
.nov-faixa-texto { margin: 0; flex: 1 1 220px; min-width: 0; }
.nov-faixa-texto b { color: var(--sol); font-family: var(--fonte-display); font-style: italic; }
.nov-faixa-texto small { color: var(--texto-2); }
.nov-ver-tudo { font-weight: 700; font-size: .92rem; text-decoration: none; padding: 4px 4px; }
.nov-ver-tudo:hover { text-decoration: underline; }
.nov-fechar { font: inherit; font-weight: 700; font-size: .88rem; color: var(--texto); background: rgba(255, 255, 255, .08); border: 1px solid var(--borda); border-radius: 99px; padding: 5px 12px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.nov-fechar:hover { background: rgba(255, 255, 255, .16); color: var(--sol); transform: translateY(-1px); }
.nov-fechar span { font-size: 1.1em; margin-left: 2px; }

.nov-chips { list-style: none; margin: 12px 0 0; padding: 2px 2px 6px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
.nov-chips li { flex: none; scroll-snap-align: start; animation: nov-chip-entra .5s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i) * 70ms + .15s); }
@keyframes nov-chip-entra { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.nov-chip { --c: var(--neon-agua); display: flex; align-items: center; gap: 10px; max-width: 280px; height: 100%; padding: 9px 14px 9px 10px; border-radius: 16px; text-decoration: none; color: var(--texto);
  background: rgba(10, 12, 30, .55); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .2s, box-shadow .25s, border-color .25s; }
.nov-chip:hover, .nov-chip:focus-visible { color: var(--texto); transform: translateY(-3px); border-color: var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 55%, transparent); }
.nov-chip-icone { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: color-mix(in srgb, var(--c) 22%, transparent); font-size: 1.1rem; }
.nov-chip-txt { display: grid; min-width: 0; line-height: 1.25; }
.nov-chip-txt small { color: var(--c); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.nov-chip-txt b { font-size: .9rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nov-chip.nov-mais { --c: var(--sol); flex-direction: column; justify-content: center; gap: 0; padding: 9px 18px; }
.nov-chip.nov-mais b { color: var(--sol); font-size: 1.1rem; }
.nov-chip.nov-mais span { font-size: .8rem; color: var(--texto-2); }
.nov-noticia { --c: var(--neon-agua); }
.nov-pagina { --c: var(--neon-rosa); }
.nov-recurso { --c: var(--sol); }
.nov-site { --c: var(--agua); }

/* Selo "Novo" nos cartões de notícia */
.nov-selo { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: .74rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  color: #2a0a1c; background: linear-gradient(90deg, var(--neon-rosa), var(--sol)); box-shadow: 0 0 10px rgba(255, 63, 164, .55); }
article.noticia > .nov-selo { position: absolute; top: 14px; right: 16px; z-index: 3; }
article.noticia.nova { border-color: rgba(255, 63, 164, .45); }
.nov-destaque { animation: nov-destaque 2.4s ease-out; }
@keyframes nov-destaque { 0%, 30% { box-shadow: 0 0 0 3px var(--neon-rosa), 0 0 30px rgba(255, 63, 164, .7); } 100% { box-shadow: var(--sombra); } }

/* ---------- Página /novidades/ ---------- */
.nov-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 8px; }
.nov-so[aria-pressed="true"] { background: linear-gradient(90deg, var(--neon-rosa), var(--sol)); color: #2a0a1c; }
.nov-dia { margin-top: 30px; }
.nov-dia-titulo { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 14px; font-size: 1.15rem; font-family: var(--fonte-display); font-style: italic; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.nov-dia-titulo small { font-family: var(--fonte); font-style: normal; font-weight: 500; font-size: .85rem; color: var(--texto-2); }
.nov-dia-lista { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.nov-dia-lista::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--neon-rosa), var(--neon-agua)); box-shadow: 0 0 10px rgba(255, 63, 164, .5); }
.nov-item { position: relative; padding-left: 18px; animation: nov-item-entra .55s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--i) * 55ms); }
.nov-item + .nov-item { margin-top: 14px; }
@keyframes nov-item-entra { from { opacity: 0; transform: translateX(-12px); } }
.nov-ponto { --c: var(--neon-agua); position: absolute; left: -30px; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: .9rem;
  background: var(--noite-2); border: 2px solid var(--c); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 60%, transparent); z-index: 1; }
.nov-item.novo .nov-ponto { animation: nov-pulso-ponto 2s ease-out infinite; }
@keyframes nov-pulso-ponto { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.nov-cartao { --c: var(--neon-agua); padding: 16px 18px; border-left: 3px solid var(--c); }
.nov-cartao + .nov-cartao { margin-top: 0; }
.nov-item.novo .nov-cartao { border-color: rgba(255, 63, 164, .5); border-left-color: var(--c); }
.nov-cartao h3 { margin: 6px 0 6px; font-size: 1.08rem; }
.nov-cartao p { margin: 0; }
.nov-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .82rem; color: var(--texto-2); }
.nov-tipo { color: var(--c); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .74rem; }
.nov-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px !important; }
.nov-fonte { font-size: .85rem; }
.nov-vazio { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nov-nota { margin-top: 30px; }

@media (max-width: 600px) {
  .nov-faixa { padding: 12px 12px 10px; margin-bottom: 16px; }
  .nov-faixa-topo { gap: 8px 12px; }
  .nov-faixa-texto { flex: 1 1 calc(100% - 30px); font-size: .95rem; }
  .nov-ver-tudo { margin-left: 22px; }
  .nov-fechar { margin-left: auto; }
  .nov-chip { max-width: 220px; padding: 8px 12px 8px 8px; }
  .nov-chip-icone { width: 30px; height: 30px; font-size: 1rem; }
  .nov-chip-txt b { font-size: .86rem; }
  .nov-dia-lista { padding-left: 24px; }
  .nov-ponto { left: -24px; width: 26px; height: 26px; font-size: .8rem; }
  .nov-dia-lista::before { left: 11px; }
  .nov-item { padding-left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nov-faixa::before, .nov-luz, .nov-chips li, .nov-item, .nov-item.novo .nov-ponto, .nov-destaque, .nov-faixa.entrando, .nov-faixa.saindo { animation: none; }
  .nov-chip:hover, .nov-chip:focus-visible, .nov-fechar:hover { transform: none; }
}

/* Placar com 4 números: 4 colunas no computador, 2 no celular */
#nov-placar { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) { #nov-placar { grid-template-columns: repeat(2, 1fr); } }
