/* ==========================================================================
   FPP Solutions — Design tokens
   Tema escuro (padrão) e tema claro ([data-theme="light"]).
   Elementos com .theme-dark ficam sempre escuros (rodapé, terminal, loader…).
   ========================================================================== */

/* ---------- Tema escuro ---------- */
:root, .theme-dark {
  --ink-0: #04060d;
  --ink-1: #070b18;
  --ink-2: #0b1124;
  --ink-3: #121b38;

  --line: rgba(160, 185, 255, .09);
  --line-2: rgba(160, 185, 255, .17);
  --line-3: rgba(160, 190, 255, .3);

  --blue: #2a6bff;
  --blue-2: #3d8bff;
  --cyan: #35d6ff;

  --text: #eef2fb;
  --text-2: #a6b1cc;
  --text-3: #7f8bad;
  --strong: #ffffff;

  --grad: linear-gradient(100deg, #2a6bff 0%, #35d6ff 100%);
  --grad-text: linear-gradient(95deg, #6aa8ff 0%, #35d6ff 55%, #a8efff 100%);

  --btn-bg: #eaf2ff;
  --btn-bg-h: #ffffff;
  --btn-fg: #04060d;
  --btn-glow: rgba(53, 170, 255, .55);

  --wire: rgba(150, 190, 255, .55);
  --stroke-soft: rgba(150, 190, 255, .5);
  --grid-line: rgba(120, 170, 255, .06);
  --shadow-c: rgba(0, 0, 0, .9);
  --danger: #ff8fa0;
  --ok: #43e0a6;
  --glow: rgba(42, 107, 255, .32);
}
.theme-dark { color: var(--text); color-scheme: dark; }

/* ---------- Tema claro ---------- */
[data-theme="light"] {
  color-scheme: light;
  --ink-0: #f3f6fb;
  --ink-1: #ffffff;
  --ink-2: #f7f9fd;
  --ink-3: #ffffff;

  --line: rgba(15, 35, 90, .08);
  --line-2: rgba(15, 35, 90, .14);
  --line-3: rgba(15, 35, 90, .24);

  --blue: #1f5fff;
  --blue-2: #2a6bff;
  --cyan: #006db8;

  --text: #0a1128;
  --text-2: #3c4868;
  --text-3: #57647f;
  --strong: #050a1c;

  --grad-text: linear-gradient(95deg, #1d4fe0 0%, #0a6fc4 55%, #0a86b0 100%);

  --btn-bg: #0a1128;
  --btn-bg-h: #16224a;
  --btn-fg: #ffffff;
  --btn-glow: rgba(31, 95, 255, .35);

  --wire: rgba(30, 70, 170, .5);
  --stroke-soft: rgba(30, 70, 160, .4);
  --grid-line: rgba(30, 70, 170, .07);
  --shadow-c: rgba(20, 40, 100, .2);
  --danger: #c81e3c;
  --ok: #0f9d6b;
  --glow: rgba(42, 107, 255, .16);
}

/* ---------- Tipografia e layout (iguais nos dois temas) ---------- */
:root {
  --font-sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, .8rem + 6.1vw, 6.9rem);
  --fs-h2: clamp(2.1rem, 1rem + 3.5vw, 4.4rem);
  --fs-h3x: clamp(1.8rem, 1rem + 2.4vw, 3.2rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.8rem);
  --fs-lead: clamp(1.04rem, .98rem + .3vw, 1.22rem);
  --fs-sm: .9375rem;
  --fs-xs: .75rem;

  --container: 1280px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --sec: clamp(5rem, 10vw, 9.5rem);
  --hdr: 80px;
  --r: 18px;
  --r-lg: 28px;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-2: cubic-bezier(.65, 0, .35, 1);
  --ease-soft: cubic-bezier(.22, .61, .36, 1);   /* hovers */
  --ease-roll: cubic-bezier(.65, .05, .36, 1);   /* texto rolando nos botões */

  --z-hdr: 50;
  --z-menu: 60;
  --z-loader: 100;
}

@media (max-width: 720px) {
  :root { --hdr: 66px; }
}
