/* ==========================================================================
   OR Strategy v2 · tokens (aprovados em PAINEL-BRIEF.md, 2026-11-07)
   Não trocar cores nem fontes. Âmbar é a única cor de acento.

   Pares de contraste verificados (WCAG, razão):
     cream  #FAF9F5 sobre navy  #1E4266 .... 9,8   (texto sobre azul)
     cream  #FAF9F5 sobre #4F7FAE .......... 4,0   (SÓ texto grande; fim do degradê)
     celeste #A8C7DA sobre night/navy-deep . 9,6    sobre navy 5,9
     ink    #17140F sobre cream ............ 17,4
     muted  #5A6570 sobre cream 5,7 · sobre paper 5,1
     night  #070D15 sobre âmbar #D4A23A .... 8,4   (botão principal)
     amber-cream #B8862B sobre cream ....... 3,1   (só ≥24px, filetes, ícones)
     amber-cream sobre paper #F0EEE6 ....... 2,8   (NÃO usar número âmbar sobre paper)
     amber-deep #8F6718 sobre paper ........ 4,39  (mesmo matiz; números, filetes e ícones âmbar sobre
                                              .section--alt / paper; sobre cream fica em 4,8)
     amber-navy #D4A23A sobre navy ......... 4,5   (não usar em texto pequeno sobre navy)
   ========================================================================== */

/* ---- Fontes (self-host, latin) ------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }

:root {
  /* ---- Cor ---- */
  --navy: #1E4266;
  --navy-deep: #0F1D2C;
  --night: #070D15;
  --cream: #FAF9F5;
  --paper: #F0EEE6;
  --ink: #17140F;
  --muted: #5A6570;
  --line: #E3DFD3;
  --celeste: #A8C7DA;      /* só segundo plano: anéis, linhas, grão */
  --celeste-glow: #BCD6EE;
  --steel: #6A9BCC;
  --amber-cream: #B8862B;  /* números ≥24px, filetes, ícones. Nunca texto corrido */
  --amber-deep: #8F6718;   /* âmbar sobre paper (.section--alt): 4,39:1. Nunca sobre navy */
  --amber-navy: #D4A23A;   /* botão principal (texto preto), "Strategy" sobre azul */
  --focus-on-light: var(--amber-cream);
  --focus-on-dark: var(--amber-navy);

  /* Grão SVG (fractalNoise) e degradê do hero, iguais ao strategic-sourcing atual */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .66 0 0 0 0 .78 0 0 0 0 .85 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  --hero-gradient: linear-gradient(180deg, #070D15 0%, #0F1D2C 40%, #1E4266 75%, #4F7FAE 100%);
  --dark-gradient: linear-gradient(180deg, #070D15 0%, #0F1D2C 45%, #1E4266 100%);  /* .section--dark: termina em navy (cream 9,8:1), nunca em #4F7FAE */
  --blue-deep-gradient: linear-gradient(180deg, #0F1D2C 0%, #1E4266 100%);

  /* ---- Tipografia ---- */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Escala fluida */
  --fs-h1: clamp(40px, 6vw, 80px);
  --fs-h2: clamp(30px, 4vw, 52px);
  --fs-h3: clamp(21px, 2vw, 26px);
  --fs-lead: clamp(18px, 1.5vw + 8px, 22px);
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-stat: clamp(72px, 14vw, 168px);
  --lh-tight: 1.02;
  --lh-head: 1.12;
  --lh-body: 1.6;
  --ls-display: -0.025em;

  /* ---- Espaço (base 8) ---- */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 48px; --s-7: 64px; --s-8: 80px;
  --s-9: 96px; --s-10: 128px;
  --gutter: 20px;
  --wrap: 1180px;
  --measure: 62ch;
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 72px;

  /* ---- Forma ---- */
  --r-sm: 6px;
  --r-md: 12px;
  --r-xl: 32px;   /* bloco CTA final */
  --r-pill: 999px;

  /* ---- Sombras discretas ---- */
  --shadow-1: 0 1px 2px rgba(15, 29, 44, .06), 0 2px 8px rgba(15, 29, 44, .05);
  --shadow-2: 0 4px 12px rgba(15, 29, 44, .08), 0 12px 32px rgba(15, 29, 44, .08);

  /* ---- Motion (skills animate / motion-design) ---- */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-press: 120ms;   /* botão: pressionar */
  --dur-hover: 160ms;   /* hover/cor/foco */
  --dur-ui: 200ms;      /* menus, pequenas transições */
  --dur-gesture: 300ms; /* gesto do cartão de produto */
  --dur-reveal: 500ms;  /* entradas explicativas (JS) */
  --stagger: 60ms;
}

@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 80px; } }
