/* =====================================================================
   tokens.css — Design System Agência Íon (mesmos tokens da Área de Membros)
   Mude a marca aqui: cores, fontes, raios, vidro e curvas de movimento.
   ===================================================================== */

/* Fontes oficiais (locais em assets/fonts) */
@font-face {
  font-family: 'Nohemi';
  src: url('../assets/fonts/Nohemi-Variable.ttf') format('truetype'),
       url('../assets/fonts/Nohemi-Bold.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nohemi Static';
  src: url('../assets/fonts/Nohemi-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('../assets/fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend Zetta';
  src: url('../assets/fonts/LexendZetta-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Raios do holofote da logo (interpolam suave no hover) */
@property --ion-spot-inner { syntax: "<length-percentage>"; inherits: true; initial-value: 0px; }
@property --ion-spot-outer { syntax: "<length-percentage>"; inherits: true; initial-value: 0px; }

:root {
  color-scheme: dark;

  /* Cores da marca */
  --ion-canvas: #060608;
  --ion-bg: #0C0C10;
  --ion-surface: #121216;
  --ion-surface-hi: #19191F;
  --ion-yellow: #F9C90A;
  --ion-yellow-deep: #C9920A;
  --ion-yellow-bright: #FFE15A;
  --ion-gold: #E0A800;
  --ion-amber: #FFC23D;
  --ion-cream: #FFF6D0;
  --ion-green: #3CCB4C;
  --ion-cyan: #19E6D6;
  --ion-sky: #4FB6FF;

  /* Texto */
  --ink: #FFFFFF;
  --ink-soft: #E7E7EC;
  --ink-dim: #B6B6BE;
  --ink-faint: #7A7A86;

  /* Linhas */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(249, 201, 10, 0.45);

  /* Gradientes */
  --grad-bond: linear-gradient(120deg, #C9920A 0%, #F9C90A 45%, #FFE15A 100%);
  --grad-btn: linear-gradient(180deg, #FFE15A 0%, #F9C90A 55%, #E0A800 100%);
  --grad-text: linear-gradient(120deg, #FFE7A0 0%, #F9C90A 55%, #FFF3B0 100%);

  /* Vidro (glassmorphism) */
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  --glass-bg-solid: rgba(14, 14, 19, 0.55);
  --glass-blur: blur(22px) saturate(170%);
  --glass-edge: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);

  /* Brilhos */
  --glow-yellow: 0 0 50px rgba(249, 201, 10, 0.38);

  /* Tipografia */
  --font-display: 'Nohemi', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'Lexend Zetta', 'Space Grotesk', sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Escala */
  --fs-hero: clamp(2.35rem, 1.2rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.65rem, 1rem + 2.2vw, 2.8rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  --fs-lead: clamp(1rem, 0.94rem + 0.3vw, 1.16rem);

  /* Raios (cadência geométrica da Área de Membros) */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(52px, 6.5vw, 92px);
  --header-h: 68px;

  /* Movimento */
  --ease-ion: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
}
