/* ═══════════════════════════════════════════════════════════
   BIASO DIGITAL — reset.css
   Tokens de design + Reset base
   Brand Guide v1.0 · biasodigital.com
═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {

  /* Cores de fundo — hierarquia de profundidade */
  --midnight:   #03070d;   /* fundo base global */
  --deep-space: #070f1c;   /* cards, seções alternadas */
  --cosmos:     #0b1526;   /* elementos elevados */
  --nebula:     #101e34;   /* hover states */

  /* Cores de marca */
  --cyan:       #00ccff;   /* primária — CTAs, destaques, links */
  --cyan-dark:  #0088cc;   /* variante escura do ciano */
  --cyan-glow:  rgba(0, 204, 255, 0.15);
  --cyan-soft:  rgba(0, 204, 255, 0.07);
  --cyan-border:rgba(0, 204, 255, 0.14);

  --gold:       #f0c040;   /* acento premium */
  --gold-soft:  rgba(240, 192, 64, 0.08);
  --gold-border:rgba(240, 192, 64, 0.18);

  /* Cores de feedback */
  --green:      #22d98a;
  --green-soft: rgba(34, 217, 138, 0.08);
  --green-border:rgba(34, 217, 138, 0.2);
  --red:        #ff6b6b;
  --red-soft:   rgba(255, 107, 107, 0.06);

  /* Cores de texto */
  --text:       #dce8f8;   /* texto principal */
  --muted:      #6a85aa;   /* texto secundário */
  --ghost:      #283848;   /* texto terciário / metadados */

  /* Bordas */
  --border:     rgba(255, 255, 255, 0.07);   /* padrão */
  --border-md:  rgba(255, 255, 255, 0.12);   /* ênfase */

  /* Tipografia */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Escala tipográfica */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  32px;
  --text-3xl:  42px;
  --text-4xl:  56px;
  --text-hero: clamp(2.8rem, 5.2vw, 4.8rem);

  /* Line heights */
  --leading-tight:  1.07;
  --leading-snug:   1.25;
  --leading-normal: 1.6;
  --leading-relaxed:1.82;

  /* Letter spacing */
  --tracking-tight:  -0.022em;
  --tracking-normal:  0;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.12em;
  --tracking-widest:  0.2em;

  /* Border radius */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-full:100px;

  /* Espaçamento base */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-28:  112px;

  /* Container */
  --container-max: 1140px;
  --container-pad: 32px;

  /* Transições */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --duration:  0.25s;
  --duration-md: 0.4s;
  --duration-lg: 0.7s;

  /* Sombras */
  --shadow-sm:  0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-xl:  0 48px 110px rgba(0, 0, 0, 0.65);
  --shadow-cyan:0 0 32px rgba(0, 204, 255, 0.18);
  --shadow-cyan-lg: 0 0 48px rgba(0, 204, 255, 0.32);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--text);
  background-color: var(--midnight);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain de ruído global — sutil, dá profundidade à tela escura */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: #ffffff;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

/* Listas */
ul, ol {
  list-style: none;
}

/* Imagens */
img, svg {
  display: block;
  max-width: 100%;
}

/* Inputs e botões */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* Seleção de texto */
::selection {
  background: rgba(0, 204, 255, 0.25);
  color: #ffffff;
}

/* Scrollbar customizada (Chrome/Edge) */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--midnight);
}
::-webkit-scrollbar-thumb {
  background: var(--ghost);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}