/* Paleta e tipos do brand book do PrimoDev. O ciano é o único destaque. */
:root {
  --ink: #080e14;
  --panel: #0e1620;
  --slate: #23323f;
  --text: #f5f5f5;
  --muted: #9aa8b4;
  --accent: #78d2eb;
  --on-accent: #080e14;
  --display: "Clash Display", "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 16px 32px;
}

ul { list-style: none; margin: 0; padding: 0; }
a { -webkit-tap-highlight-color: transparent; }

header { text-align: center; margin-bottom: 28px; }
header img { display: block; margin: 0 auto 12px; }
h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}
header p { margin: 6px 0 0; color: var(--muted); }

.promo {
  display: block;
  margin-bottom: 12px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(rgba(8, 14, 20, 0.45), rgba(8, 14, 20, 0.88)),
    url("/promo-bg.jpg") center / cover;
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 18px;
  text-decoration: none;
}
.promo-icons { display: flex; gap: 8px; margin-bottom: 14px; }
.promo-icons img { display: block; width: 44px; height: 44px; border-radius: 10px; }
.promo strong {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
.promo-text { display: block; margin: 8px 0 14px; }
.promo-cta {
  display: block;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.15s ease;
}
.promo:hover .promo-cta { opacity: 0.88; }

.cards { display: grid; gap: 12px; }
.card {
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--slate);
  border-radius: 18px;
}
.card-head { display: flex; align-items: center; gap: 14px; }
.card-head img { flex: none; border-radius: 14px; }
.card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.meta { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.text { margin: 12px 0 14px; }
.actions { display: flex; gap: 8px; }
.cta {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.cta:hover { opacity: 0.88; }

.all {
  display: block;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--slate);
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease;
}
.all:hover { background: var(--slate); }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
