/* Página /novidades/ (docs/76). Reaproveita tokens de styles.css. */
.news-page{ background:var(--paper); }

.news-hero{
  background:var(--navy-900);
  color:var(--white);
  padding:64px 0 48px;
}
.news-hero .eyebrow{ color:var(--mint); }
.news-hero h1{
  font-family:var(--font-display);
  font-size:clamp(30px, 4.4vw, 48px);
  margin:10px 0 12px;
  line-height:1.08;
}
.news-hero__lede{
  color:rgba(246,248,246,0.78);
  max-width:56ch;
  font-size:16.5px;
}

.news-main{ padding-top:36px; padding-bottom:72px; }

/* Próxima versão (spoiler) */
.news-next{
  position:relative;
  background:linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:26px 28px;
  margin-bottom:40px;
  overflow:hidden;
  box-shadow:var(--shadow-1);
}
.news-next::after{
  content:"";
  position:absolute;
  right:-40px; top:-40px;
  width:160px; height:160px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(240,197,85,0.35), transparent 70%);
  pointer-events:none;
}
.news-next__kicker{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--gold-light);
}
.news-next h2{
  font-family:var(--font-display);
  font-size:clamp(24px, 3vw, 32px);
  margin:8px 0 8px;
}
.news-next p{ color:rgba(246,248,246,0.82); max-width:62ch; }
.news-next ul{ margin:14px 0 0; padding-left:20px; color:rgba(246,248,246,0.9); list-style:disc; }
.news-next li::marker{ color:var(--gold-light); }
.news-next li{ margin:4px 0; }

.news-loading{ color:var(--ink-soft); }

/* Lista de versões */
.news-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:22px; }
.news-release{
  background:#fff;
  border:1px solid var(--line-on-light);
  border-radius:var(--radius-lg);
  padding:22px 24px;
  scroll-margin-top:96px;
}
.news-release--atual{ border-color:var(--gold); box-shadow:0 0 0 3px rgba(217,166,42,0.15); }
.news-release__head{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.news-release__ver{
  font-family:var(--font-mono);
  font-weight:700;
  font-size:15px;
  color:var(--navy-800);
}
.news-release__badge{
  font-size:11.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  background:var(--gold);
  color:var(--navy-900);
  border-radius:999px;
  padding:3px 10px;
}
.news-release__head time{ margin-left:auto; color:var(--ink-soft); font-size:14px; }
.news-release__resumo{ font-size:16.5px; line-height:1.5; margin-bottom:14px; }
.news-release__fixes{ color:var(--ink-soft); font-size:14px; margin-top:10px; }

.news-shots{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
  margin-bottom:16px;
  scroll-snap-type:x mandatory;
}
.news-shot{
  flex:0 0 auto;
  scroll-snap-align:start;
  border:0;
  padding:0;
  background:none;
  cursor:zoom-in;
}
.news-shot img{
  display:block;
  width:200px;
  height:auto;
  max-height:400px;
  object-fit:cover;
  object-position:top;
  border-radius:var(--radius-md);
  border:1px solid var(--line-on-light);
  background:var(--navy-900);
  transition:transform .15s ease;
}
.news-shot:hover img{ transform:translateY(-3px); }

.news-items{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:12px; }
.news-items li{ display:grid; grid-template-columns:auto 1fr; gap:4px 10px; align-items:baseline; }
.news-items strong{ font-size:15.5px; }
.news-items span:not(.news-tag){ grid-column:2; color:var(--ink-soft); font-size:14.5px; line-height:1.45; }
.news-tag{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.06em;
  border-radius:6px;
  padding:2px 7px;
  background:rgba(14,42,82,0.08);
  color:var(--navy-700);
}
.news-tag--melhoria{ background:rgba(217,166,42,0.16); color:var(--gold-deep); }

/* Lightbox */
.news-lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(8,20,38,0.92);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  cursor:zoom-out;
}
.news-lightbox[hidden]{ display:none; }
.news-lightbox img{ max-width:100%; max-height:100%; border-radius:var(--radius-md); }
.news-lightbox__close{
  position:absolute;
  top:14px; right:18px;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--line-on-dark);
  background:rgba(255,255,255,0.08);
  color:var(--white);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}

@media (max-width: 640px){
  .news-hero{ padding:44px 0 32px; }
  .news-release{ padding:18px 16px; }
  .news-shot img{ width:150px; }
  .news-release__head time{ margin-left:0; width:100%; }
}
@media (prefers-reduced-motion: reduce){
  .news-shot img{ transition:none; }
}
/* styles.css dá padding de 72px a todo <section> no celular. */
.news-main > section:not(.news-next){ padding:0; }
