* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: #0b1120; color: #e2e8f0; font-family: "Segoe UI", system-ui, sans-serif; line-height: 1.6; }
a { color: #7dd3fc; text-decoration: none; }

.topo { position: sticky; top: 0; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px max(20px, calc((100% - 960px) / 2)); background: #0b1120; border-bottom: 1px solid #1e293b; }
.marca { font-weight: 700; color: #fff; }
nav { display: flex; flex-wrap: wrap; gap: 18px; }
nav a { color: #94a3b8; }
nav a:hover { color: #fff; }

main { max-width: 1000px; margin: auto; padding: 0 20px; }
section { padding: 56px 0; border-bottom: 1px solid #1e293b; }
.hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero img { border-radius: 24px; object-fit: cover; border: 1px solid #334155; }
.status { color: #4ade80; font-size: 0.9rem; }
.status::before { content: "● "; }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); line-height: 1.15; }
h2 { color: #7dd3fc; font-weight: 500; margin-bottom: 12px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; color: #fff; }

.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.botao { padding: 11px 20px; border: 1px solid #334155; border-radius: 8px; color: #e2e8f0; font-weight: 600; }
.principal { background: #7dd3fc; border-color: #7dd3fc; color: #0b1120; }

.dica { color: #94a3b8; margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.tags li { padding: 6px 16px; background: #1e293b; border-radius: 99px; }

.grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
article { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #111a2e; border: 1px solid #1e293b; border-radius: 14px; }
article small { color: #94a3b8; }
article a { margin-top: auto; }

.botao, article { transition: transform 0.2s, border-color 0.2s; }
.botao:hover, article:hover { transform: translateY(-4px); border-color: #7dd3fc; }
.hero > div { animation: entrar 0.6s both; }
.hero img { animation: entrar 0.6s 0.15s both; }
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } }

footer { padding: 28px 20px; text-align: center; color: #64748b; }

@media (max-width: 700px) {
  .hero { flex-direction: column-reverse; align-items: flex-start; }
  .hero img { width: 160px; height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
