/* Tema compartilhado das páginas de Novidades — JCA Inova Tech */
:root {
  --bg-deep: hsl(240 55% 4%);
  --fg: hsl(230 30% 96%);
  --card: hsl(240 45% 10%);
  --primary: hsl(243 75% 59%);
  --accent: hsl(250 90% 70%);
  --muted-fg: hsl(230 15% 70%);
  --border: hsl(240 35% 18%);
  --radius: .875rem;
  --gradient-primary: linear-gradient(135deg, hsl(243 75% 59%), hsl(250 90% 70%));
  --gradient-card: linear-gradient(135deg, hsl(240 45% 12% / .8), hsl(240 50% 8% / .6));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg-deep); color: var(--fg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
img { max-width: 100%; }
a { color: var(--accent); }
.container { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

header.topo {
  position: sticky; top: 0; z-index: 50;
  background: hsl(240 55% 4% / .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topo-in { max-width: 72rem; margin: 0 auto; padding: .8rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.topo-in img { height: 2.2rem; width: auto; }
.topo-in a.volta { color: var(--muted-fg); text-decoration: none; font-size: .95rem; }
.topo-in a.volta:hover { color: var(--fg); }

main { padding: 3rem 0 4rem; }
.meta { color: var(--accent); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
article h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin: .75rem 0 1.5rem; }
article p, article li { color: var(--muted-fg); font-size: 1.05rem; margin-bottom: 1.1rem; }
article h2 { font-size: 1.45rem; margin: 2.25rem 0 .9rem; }
article ul, article ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
article strong { color: var(--fg); }

.cta-box {
  margin-top: 2.5rem; padding: 1.75rem;
  background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center;
}
.cta-box p { color: var(--fg); font-weight: 600; margin-bottom: 1rem; }
.btn {
  display: inline-block; background: var(--gradient-primary); color: #fff;
  font-weight: 600; text-decoration: none; padding: .8rem 1.6rem; border-radius: 999px;
}

/* Lista de artigos (index) */
.lista h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: .5rem; }
.lista > p { color: var(--muted-fg); margin-bottom: 2.5rem; }
.post-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.25rem;
  transition: border-color .25s, transform .25s;
}
.post-card:hover { border-color: hsl(243 75% 59% / .55); transform: translateY(-3px); }
.post-card h2 { font-size: 1.25rem; margin: .4rem 0 .5rem; color: var(--fg); }
.post-card p { color: var(--muted-fg); font-size: .97rem; margin: 0; }

footer { border-top: 1px solid var(--border); padding: 2rem 1.25rem; text-align: center; }
footer p { color: var(--muted-fg); font-size: .85rem; }
