/* ═══════════════════════════════════════════════════════════════════════
 * beeit-v2.css — Design system Bee IT v2 (navy · laranja · cream)
 *
 * Baseado no template comercial validado pelo Daniel em 2026-07 com
 * paleta Bee IT clássica navy #00395A + accent laranja #F58534 + fundo
 * cream #FAFAF9. Tipografia: Archivo (display/bold) + Manrope (body).
 * Padrão de fundo hexagonal SVG nas seções escuras.
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --bit-navy: #00395A;
  --bit-navy-2: #072133;
  --bit-navy-3: #0C3555;
  --bit-navy-4: #14456A;
  --bit-accent: #F58534;
  --bit-accent-ink: #B15B13;
  --bit-accent-soft: rgba(245, 133, 52, 0.12);
  --bit-accent-soft-2: rgba(245, 133, 52, 0.18);
  --bit-cream: #FAFAF9;
  --bit-cream-2: #F2F1EE;
  --bit-cream-3: #F0EFEC;
  --bit-border: #E5E4E0;
  --bit-border-2: #EEEDEA;
  --bit-border-3: #D8D7D3;
  --bit-text: #1A1D22;
  --bit-text-2: #44464A;
  --bit-text-3: #56585C;
  --bit-text-mute: #8A8C90;
  --bit-text-inv: #F2F1EE;
  --bit-text-inv-2: #DCE6EE;
  --bit-text-inv-3: #B2B4B8;
  --bit-success: #18794E;
  --bit-success-bg: #BfE3CF;
  --bit-warn: #C48200;
  --bit-danger: #B42318;
  --bit-radius: 16px;
  --bit-radius-2: 12px;
  --bit-radius-3: 8px;
}

/* ── Reset básico ── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; }

/* ── Base ── */
body.bit {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--bit-navy);
  background: var(--bit-cream);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body.bit a { color: var(--bit-navy); text-decoration: none; }
body.bit a:hover { color: var(--bit-accent-ink); }
body.bit code, body.bit .bit-mono { font-family: 'JetBrains Mono', 'Manrope', monospace; }

.bit-serif { font-family: 'Archivo', system-ui, sans-serif; letter-spacing: -0.015em; }

/* ── Nav sticky ── */
.bit-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bit-border);
}

.bit-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.bit-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.bit-nav-brand img {
  height: 38px;
  width: auto;
  display: block;
}

.bit-nav-brand-fallback {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bit-navy);
}

.bit-nav-brand-fallback span { color: var(--bit-accent); }

.bit-nav-sep {
  height: 22px;
  width: 1px;
  background: var(--bit-border);
  flex-shrink: 0;
}

.bit-nav-badge {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bit-text-mute);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

.bit-nav-badge strong {
  color: var(--bit-navy);
  font-weight: 700;
}

.bit-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bit-nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--bit-text-3);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.bit-nav-link:hover {
  color: var(--bit-navy);
  background: rgba(0, 57, 90, 0.05);
}

.bit-nav-link.active {
  color: var(--bit-navy);
  font-weight: 600;
}

.bit-nav-cta {
  flex-shrink: 0;
  background: var(--bit-accent);
  color: var(--bit-navy);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 7px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: background 0.15s, color 0.15s;
}

.bit-nav-cta:hover {
  background: var(--bit-navy);
  color: var(--bit-cream);
}

@media (max-width: 800px) {
  .bit-nav-inner { gap: 12px; padding: 0 16px; height: 60px; }
  .bit-nav-sep, .bit-nav-badge { display: none; }
  .bit-nav-links { display: none; }
}

/* ── Container ── */
.bit-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.bit-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 28px 96px;
}

/* ── Hero sections ── */
.bit-hero-light {
  padding: 72px 28px 40px;
  max-width: 1140px;
  margin: 0 auto;
}

.bit-hero-light .bit-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bit-accent-ink);
}

.bit-hero-light h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--bit-navy);
  margin: 14px 0 0;
}

.bit-hero-light .bit-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--bit-text-3);
  margin: 18px 0 0;
  max-width: 680px;
}

/* Dark hero (uso em /seguranca) */
.bit-hero-dark {
  position: relative;
  overflow: hidden;
  background: var(--bit-navy-2);
  color: var(--bit-text-inv);
  border-bottom: 1px solid var(--bit-navy-4);
}

.bit-hero-dark svg.bit-hex-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--bit-accent);
  pointer-events: none;
}

.bit-hero-dark-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 28px 56px;
}

.bit-hero-dark .bit-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bit-accent);
}

.bit-hero-dark h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  color: var(--bit-text-inv);
}

.bit-hero-dark .bit-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--bit-text-mute);
  margin: 16px 0 0;
}

/* ── KPI grid dark (dentro de hero-dark) ── */
.bit-kpi-grid-dark {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.bit-kpi-dark {
  background: var(--bit-navy-3);
  border: 1px solid var(--bit-navy-4);
  border-radius: var(--bit-radius-2);
  padding: 20px;
}

.bit-kpi-dark-val {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--bit-accent);
  line-height: 1;
}

.bit-kpi-dark-lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 11.5px;
  color: var(--bit-text-inv-3);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── Section headings ── */
.bit-section-eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bit-accent-ink);
  margin: 0 0 22px;
}

.bit-section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bit-navy);
  margin: 0 0 16px;
}

.bit-section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--bit-text-3);
  max-width: 720px;
  margin: 0 0 40px;
}

/* ── Cards ── */
.bit-card {
  background: #FFFFFF;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0, 57, 90, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bit-card:hover {
  border-color: var(--bit-accent);
  box-shadow: 0 12px 30px rgba(0, 57, 90, 0.10);
}

.bit-card-tight { padding: 22px; }

/* ── Chip / pill ── */
.bit-chip {
  display: inline-flex;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bit-accent-soft);
  color: var(--bit-navy);
}

.bit-chip-mute {
  background: var(--bit-cream-3);
  color: var(--bit-text-3);
}

/* ── Buttons ── */
.bit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 7px;
  border: 1px solid var(--bit-border);
  background: #fff;
  color: var(--bit-navy);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.bit-btn:hover {
  border-color: var(--bit-navy);
  background: var(--bit-cream-2);
  color: var(--bit-navy);
}

.bit-btn-primary {
  background: var(--bit-accent);
  color: var(--bit-navy);
  border-color: var(--bit-accent);
  font-weight: 700;
}

.bit-btn-primary:hover {
  background: var(--bit-navy);
  color: var(--bit-cream);
  border-color: var(--bit-navy);
}

.bit-btn-dark {
  background: var(--bit-navy);
  color: var(--bit-cream);
  border-color: var(--bit-navy);
}

.bit-btn-dark:hover {
  background: var(--bit-navy-2);
  color: var(--bit-cream);
  border-color: var(--bit-navy-2);
}

.bit-btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--bit-navy);
}

.bit-btn-ghost:hover {
  background: rgba(0, 57, 90, 0.05);
  border-color: transparent;
}

/* ── Table ── */
.bit-table {
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius-2);
  overflow: hidden;
  background: #fff;
}

.bit-table-head {
  background: var(--bit-cream-2);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bit-text-3);
  font-weight: 600;
  padding: 13px 18px;
}

.bit-table-row {
  padding: 14px 18px;
  border-top: 1px solid var(--bit-border-2);
  font-size: 13.5px;
  color: var(--bit-text-3);
}

.bit-table-row strong { color: var(--bit-navy); font-weight: 600; }

/* ── Grid utilities ── */
.bit-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bit-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bit-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 900px) {
  .bit-grid-3, .bit-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bit-grid-2, .bit-grid-3, .bit-grid-4 { grid-template-columns: 1fr; }
}

/* ── Divider ── */
.bit-divider {
  border: 0;
  height: 1px;
  background: var(--bit-border);
  margin: 64px 0;
}

.bit-divider-fade {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bit-border), transparent);
  margin: 64px 0;
}

/* ── Footer ── */
.bit-footer {
  border-top: 1px solid var(--bit-border);
  padding: 40px 28px;
  max-width: 1140px;
  margin: 0 auto;
  color: var(--bit-text-mute);
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
}

.bit-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  justify-content: space-between;
}

.bit-footer a {
  color: var(--bit-text-3);
  padding: 0 6px;
}

.bit-footer a:hover { color: var(--bit-accent-ink); }

/* ── Animação de pulso pro status ── */
@keyframes beePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(24, 121, 78, 0.5); }
  50% { opacity: 0.85; box-shadow: 0 0 0 8px rgba(24, 121, 78, 0); }
}

/* ── Blog list ── */
.bit-blog-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--bit-border);
  padding-bottom: 40px;
}

.bit-blog-count {
  font-family: 'Archivo', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--bit-navy);
  line-height: 1;
}

.bit-blog-count-lbl {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--bit-text-mute);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.bit-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 40px;
}

.bit-chip-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--bit-border);
  background: #fff;
  color: var(--bit-text-3);
  cursor: pointer;
  transition: all 0.15s;
}

.bit-chip-btn:hover {
  border-color: var(--bit-accent);
  color: var(--bit-navy);
}

.bit-chip-btn.active {
  background: var(--bit-navy);
  color: var(--bit-cream);
  border-color: var(--bit-navy);
}

/* Featured post card */
.bit-post-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  margin-bottom: 30px;
  box-shadow: 0 1px 2px rgba(0, 57, 90, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.bit-post-featured:hover {
  border-color: var(--bit-accent);
  box-shadow: 0 14px 36px rgba(0, 57, 90, 0.11);
}

.bit-post-featured-body { padding: 44px; display: flex; flex-direction: column; }

.bit-post-featured-side {
  position: relative;
  overflow: hidden;
  background: var(--bit-navy-2);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bit-post-featured h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 31px;
  line-height: 1.13;
  letter-spacing: -0.022em;
  color: var(--bit-navy);
  margin: 20px 0 0;
}

.bit-post-card {
  border: 1px solid var(--bit-border);
  border-radius: var(--bit-radius);
  background: #fff;
  padding: 32px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 57, 90, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.bit-post-card:hover {
  border-color: var(--bit-accent);
  box-shadow: 0 12px 30px rgba(0, 57, 90, 0.10);
}

.bit-post-card-cat {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bit-accent-ink);
}

.bit-post-card h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--bit-navy);
  margin: 12px 0 0;
}

.bit-post-card p {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--bit-text-3);
  margin: 14px 0 0;
}

.bit-post-meta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--bit-border-2);
}

.bit-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #EAF0F4;
  color: var(--bit-navy);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bit-avatar-dark {
  background: var(--bit-navy);
  color: #fff;
}

/* Article (post) */
.bit-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 28px 96px;
}

.bit-article h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bit-navy);
  margin: 24px 0 20px;
}

.bit-article h2 {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--bit-navy);
  margin: 44px 0 14px;
}

.bit-article h3 {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--bit-navy);
  margin: 28px 0 10px;
}

.bit-article p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--bit-text-2);
  margin: 0 0 16px;
}

.bit-article ul, .bit-article ol { margin: 0 0 18px 22px; padding: 0; }
.bit-article li { font-size: 16px; line-height: 1.7; color: var(--bit-text-2); margin: 6px 0; }
.bit-article a { color: var(--bit-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.bit-article code { background: var(--bit-cream-2); padding: 2px 7px; border-radius: 4px; font-size: 14px; color: var(--bit-navy); border: 1px solid var(--bit-border); }
.bit-article pre.bit-code { background: var(--bit-navy-2); color: #E0E7FF; padding: 20px; border-radius: 12px; overflow-x: auto; margin: 20px 0; font-size: 13px; line-height: 1.6; }
.bit-article pre.bit-code code { background: transparent; border: 0; color: inherit; padding: 0; }
.bit-article blockquote { border-left: 3px solid var(--bit-accent); padding: 8px 16px; margin: 18px 0; color: var(--bit-text-2); background: var(--bit-cream-2); border-radius: 0 8px 8px 0; }
.bit-article hr { margin: 40px 0; border: 0; border-top: 1px solid var(--bit-border); }
.bit-article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.bit-article th, .bit-article td { padding: 10px 14px; border-bottom: 1px solid var(--bit-border-2); font-size: 14.5px; text-align: left; }
.bit-article th { background: var(--bit-cream-2); font-family: 'Manrope', sans-serif; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--bit-text-3); font-weight: 600; }

/* Article meta bar */
.bit-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--bit-border);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: var(--bit-text-3);
}
