/* ============================================================
   B12 TI — Design system compartilhado
   Reutilizar este arquivo em qualquer nova página/ferramenta.
   ============================================================ */

:root {
  --navy:        #0F172A;
  --bg:          #FFFFFF;
  --bg-soft:     #F6F8FB;
  --card-bg:     #FFFFFF;
  --line:        #E4E9F1;
  --text:        #0F172A;
  --text-muted:  #64748B;
  --blue-dark:   #1E40C7;
  --blue:        #3072F0;
  --blue-light:  #6FA0F8;
  --blue-grad:   linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-light) 100%);
  --green:       #00A858;
  --purple:      #6058A0;
  --indigo:      #384090;
  --red:         #E83030;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* textura sutil, mesma linguagem usada nos outros sites do grupo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,23,42,0.05) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: 0;
}

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

/* ---------- Cabeçalho ---------- */
.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.header-tag {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---------- Assinatura multicolor (ecoa os ícones do app) ---------- */
.dot-signature {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot-signature span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}
.dot-signature span:nth-child(1) { background: var(--indigo); }
.dot-signature span:nth-child(2) { background: var(--red); }
.dot-signature span:nth-child(3) { background: var(--purple); }
.dot-signature span:nth-child(4) { background: var(--green); }

/* ---------- Conteúdo central ---------- */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 56px) 80px;
}

/* ---------- Rodapé ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 22px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer a:hover { color: var(--blue); }

/* ---------- Botão padrão ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--blue-grad);
  box-shadow: 0 4px 14px rgba(30,64,199,0.25);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(30,64,199,0.32); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--blue-light); background: rgba(48,114,240,0.08); filter: none; box-shadow: none; }

/* ---------- Grade de ferramentas ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a.tool-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.tool-card.disabled {
  opacity: 0.55;
  cursor: default;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon svg { width: 20px; height: 20px; }

.tool-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.tool-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.badge-soon {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Utilidades ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 0 0 12px;
}

.title-lg {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--navy);
}

.subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 8px;
}
