/* Site institucional da Infolytics. Mesmos tokens do design system do CRM
   (D-009): cobalto como unico destaque, IBM Plex self-hosted. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap;
  src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f6f7fa; --surface: #ffffff; --border: #e1e5ed;
  --text: #14171d; --text-2: #575e70; --text-3: #8a91a2;
  --accent: #3b5bdb; --accent-soft: #e9edfb;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0d0f14; --surface: #14171e; --border: #242935;
    --text: #e7eaf1; --text-2: #99a2b4; --text-3: #6a7284;
    --accent: #7d93f5; --accent-soft: #1c2240;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 "IBM Plex Sans", system-ui, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--border); background: var(--surface); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 6px; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: 13px; }
nav a { color: var(--text-2); text-decoration: none; font-size: 14px; margin-left: 18px; }
nav a:hover { color: var(--text); }

main { padding: 48px 0 64px; }
h1 { font-size: 32px; line-height: 1.2; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 20px; font-weight: 600; margin: 36px 0 8px; }
h3 { font-size: 16px; font-weight: 600; margin: 20px 0 4px; }
.lead { font-size: 18px; color: var(--text-2); margin: 0 0 32px; }
.meta { color: var(--text-3); font-size: 14px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.card h2 { margin-top: 0; font-size: 17px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-2); font-weight: 600; }
.table-box { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--text-3); font-size: 13px; }
footer p { margin: 2px 0; }

/* celular: marca em cima, links embaixo (antes os links quebravam linha) */
@media (max-width: 560px) {
  header .wrap { height: auto; padding: 12px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  nav a { margin: 0 16px 0 0; }
  h1 { font-size: 28px; }
}
