/* ═══════════════════════════════════════
   TOKENS — KMx Security
   Compartilhado entre index.html e blog.html
═══════════════════════════════════════ */
:root {
  --deep:      #090D12;
  --bg:        #0B0F14;
  --surface:   #0F1B2A;
  --card:      #0E1A28;
  --elevated:  #132A4C;
  --blue:      #2F6BFF;
  --blue-dim:  rgba(47,107,255,.14);
  --blue-glow: rgba(47,107,255,.28);
  --green:     #00C48C;
  --green-dim: rgba(0,196,140,.08);
  --metal:     #A0A7B4;
  --border:    rgba(47,107,255,.15);
  --borderL:   rgba(160,167,180,.1);
  --text:      #E6EDF3;
  --muted:     #9BA3AF;
  --dim:       #5A6578;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 56px; position: relative; z-index: 1; }

/* ═══════════════════════════════════════
   NAV — COMPONENTES COMPARTILHADOS
═══════════════════════════════════════ */
.nav-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 56px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 32px; height: 32px;
  border: 1.5px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.logo-mark::before {
  content: '';
  position: absolute; inset: 4px;
  background: var(--blue-dim);
}

.logo-mark svg { position: relative; z-index: 1; }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ═══════════════════════════════════════
   SECTION LABEL
═══════════════════════════════════════ */
.sec-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 18px;
}

/* ═══════════════════════════════════════
   FOOTER — BASE
═══════════════════════════════════════ */
.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.foot-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--dim);
}

.foot-links {
  list-style: none;
  display: flex;
}

.foot-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}

/* ═══════════════════════════════════════
   RESPONSIVE — COMPARTILHADO
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap     { padding: 0 32px; }
  .nav-wrap { padding: 0 32px; }
}

@media (max-width: 768px) {
  .wrap     { padding: 0 20px; }
  .nav-wrap { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
}
