/* ============================================================
   Bemobi Theme — Brandbook Abr/2026 (rebranding completo)
   Single source of truth for brand colors, gradients & fonts.
   Loaded on every page via <link rel="stylesheet" href="/shared/theme.css">.
   Variable NAMES are kept backward-compatible with the pre-2026
   design system so existing page CSS (var(--navy), var(--blue)…)
   keeps working — only the VALUES changed.
   ============================================================ */

/* ── Primary font: ABC Ginto (licensed — not bundled).
   Fallback to self-hosted Google Sans (official secondary). ── */
@font-face {
  font-family: 'Google Sans Flex';
  src: url('/shared/fonts/GoogleSansFlex.woff2') format('woff2');
  font-weight: 100 1000;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Brand palette (Brandbook Abr/2026, cap. 04) ── */
  --bemobi-azul-escuro: #03021E;  /* Azul Escuro — fundos profundos, texto */
  --bemobi-azul-medio:  #04017B;  /* Azul Médio — contraste, profundidade */
  --bemobi-azul:        #400FF2;  /* Azul Bemobi — cor principal da marca */
  --bemobi-lilas:       #9884FF;  /* Lilás — acentos */
  --bemobi-lilas-claro: #D9CDFD;  /* Lilás Claro — acentos suaves */
  --bemobi-lilas-luz:   #F7F7FE;  /* Lilás Luz — fundo base predominante */
  --bemobi-off-white:   #E9E4ED;  /* Off-White — fundo neutro alternativo */
  --bemobi-cinza-escuro: #18233C; /* Cinza Escuro — texto principal */
  --bemobi-cinza-medio:  #3D4C6F; /* Cinza Médio — texto secundário */
  --bemobi-cinza-claro:  #C6C5C9; /* Cinza Claro — bordas, divisores */

  /* ── Semantic tokens (names preserved for back-compat) ── */
  --bg:        #F7F7FE;  /* Lilás Luz */
  --surface:   #FFFFFF;
  --surface2:  #E9E4ED;  /* Off-White */
  --border:    #C6C5C9;  /* Cinza Claro */
  --navy:      #18233C;  /* Cinza Escuro — primary text/headings */
  --text:      #18233C;
  --blue:      #400FF2;  /* Azul Bemobi — links, primary */
  --purple:    #400FF2;  /* Azul Bemobi — accent (unified hero color) */
  --grad:      linear-gradient(135deg, #400FF2 0%, #9884FF 100%);   /* 2-tons B */
  --grad-soft: linear-gradient(135deg, rgba(64,15,242,.09) 0%, rgba(152,132,255,.12) 100%);
  --muted:     #3D4C6F;  /* Cinza Médio */

  /* ── Feedback / system colors (product design system, kept as-is) ── */
  --success:   #059669;
  --warning:   #d97706;
  --danger:    #dc2626;

  /* ── Elevation ── */
  --shadow:    0 2px 12px rgba(24,35,60,.08);
  --shadow-lg: 0 8px 32px rgba(24,35,60,.12);

  /* ── Typography ── */
  --font-brand: 'ABC Ginto', 'Google Sans Flex', system-ui, -apple-system, sans-serif;
  --font-mono:  'Fira Code', ui-monospace, SFMono-Regular, monospace;
}
