/* =============================================================
   Accorsi Consultoria — Colors & Type tokens
   Sober, corporate, serious. Navy + white + a touch of gold.
   ============================================================= */

:root {
  /* ---------- BRAND ----------
     Amostrado diretamente do folder institucional (FOLDER ACCORSI.pdf):
     o azul da marca é um ultramarine profundo e saturado, não um navy
     acinzentado. Tons dominantes medidos: #000757, #000654, #0D2557, #163373. */
  --brand-navy-900: #00042E;   /* deepest — rodapé, base do hero */
  --brand-navy-800: #000757;   /* azul primário da marca (fundo do folder) */
  --brand-navy-700: #0D2557;   /* superfície elevada sobre o azul */
  --brand-navy-600: #163373;   /* hover de botões, ênfase em título */
  --brand-navy-500: #2A4A8F;   /* links no escuro, linha de acento */
  --brand-navy-400: #5B76B4;   /* azul suave, legendas no escuro */
  --brand-navy-300: #93A6CE;   /* divisores sobre o azul */

  /* Dourado da marca — medido nas faixas superior e inferior do folder.
     Usado com parcimônia: filetes, numerais, assinatura, "Transcenda-se". */
  --brand-gold-600: #B08F4E;
  --brand-gold-500: #CEAB67;
  --brand-gold-300: #E4CFA0;

  /* ---------- NEUTRALS ---------- */
  --white:       #FFFFFF;
  --paper:       #F7F8FB;   /* default light page bg */
  --stone-100:   #EEF1F6;   /* card alt, rail bg */
  --stone-200:   #DDE3EC;   /* hairline borders */
  --stone-300:   #C2CBD8;
  --stone-400:   #8A98AC;   /* muted label */
  --stone-500:   #5C6A81;   /* body secondary */
  --stone-700:   #2E3A4F;   /* body primary on light */
  --stone-900:   #0F1726;   /* near-black headings on light */

  /* ---------- SEMANTIC — surfaces & text ---------- */
  --bg:          var(--paper);
  --bg-alt:      var(--white);
  --bg-inverse:  var(--brand-navy-800);
  --surface:     var(--white);
  --surface-alt: var(--stone-100);

  --fg1:         var(--stone-900);   /* primary text */
  --fg2:         var(--stone-700);   /* body */
  --fg3:         var(--stone-500);   /* secondary */
  --fg-muted:    var(--stone-400);   /* meta, captions */
  --fg-on-navy:  var(--white);
  --fg-on-navy-muted: rgba(255,255,255,0.72);

  --border:      var(--stone-200);
  --border-strong: var(--stone-300);
  --border-on-navy: rgba(255,255,255,0.14);

  --link:        var(--brand-navy-700);
  --link-hover:  var(--brand-navy-900);

  /* ---------- SEMANTIC — status ---------- */
  --success: #2F7A5B;
  --warning: #B9841E;
  --danger:  #A8372C;
  --info:    var(--brand-navy-600);

  /* ---------- TYPOGRAPHY ----------
     Uma única família no site inteiro: Montserrat, a sans do folder impresso,
     que já era a fonte do corpo de texto. Títulos, menu, botões e citações
     usam a mesma letra; a hierarquia fica por tamanho, peso, caixa alta,
     tracking e cor, não por troca de família.
     Antes o display e as citações vinham em Cormorant Garamond (substituto
     livre da Albra do folder, que é comercial e só existe em versão trial).
     Os três tokens abaixo continuam separados de propósito: as chamadas
     var(--font-display) e var(--font-serif) estão espalhadas pelos
     componentes, e mantê-los como apelidos evita ter de reescrever cada uma
     e deixa o caminho aberto para uma segunda família no futuro. */
  --font-sans:    "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-serif:   var(--font-sans);
  --font-mono:    var(--font-sans);

  /* Base sizes — a classical 1.25 scale for headings */
  --fs-xs:    12px;
  --fs-sm:    14px;
  --fs-base:  16px;
  --fs-md:    18px;
  --fs-lg:    20px;
  --fs-xl:    24px;
  --fs-2xl:   32px;
  --fs-3xl:   44px;
  --fs-4xl:   60px;
  --fs-5xl:   80px;

  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;

  --tracking-tight:  -0.01em;
  --tracking-normal: 0;
  --tracking-wide:   0.08em;
  --tracking-xwide:  0.18em;   /* the CONSULTORIA lockup lives here */

  /* ---------- SPACING ---------- */
  --s-0:   0;
  --s-1:   4px;
  --s-2:   8px;
  --s-3:   12px;
  --s-4:   16px;
  --s-5:   24px;
  --s-6:   32px;
  --s-7:   48px;
  --s-8:   64px;
  --s-9:   96px;
  --s-10:  128px;

  /* ---------- RADII — restrained, mostly squared ---------- */
  --r-none: 0;
  --r-xs:   2px;
  --r-sm:   4px;
  --r-md:   6px;
  --r-lg:   10px;
  --r-pill: 999px;

  /* ---------- ELEVATION — subtle, cool-toned navy shadows ---------- */
  --shadow-xs: 0 1px 2px rgba(10,29,56,0.06);
  --shadow-sm: 0 2px 6px rgba(10,29,56,0.08);
  --shadow-md: 0 6px 18px rgba(10,29,56,0.10);
  --shadow-lg: 0 18px 40px rgba(10,29,56,0.14);
  --shadow-inset-hair: inset 0 -1px 0 var(--border);

  /* ---------- MOTION ---------- */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
  --dur-fast:      140ms;
  --dur-base:      220ms;
  --dur-slow:      420ms;

  /* ---------- LAYOUT ---------- */
  --container:     1200px;
  --container-sm:  880px;
  --gutter:        24px;
}

/* =============================================================
   Semantic element defaults
   ============================================================= */
html, body {
  background: var(--bg);
  color: var(--fg1);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg1);
  margin: 0 0 var(--s-5);
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-3xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--fg1);
  margin: 0 0 var(--s-4);
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  color: var(--fg1);
  margin: 0 0 var(--s-3);
}
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: var(--lh-snug);
  color: var(--fg1);
  margin: 0 0 var(--s-2);
}

/* Small tracked caps — a recurring brand device (like "CONSULTORIA"). */
.eyebrow, .kicker {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-xwide);
  text-transform: uppercase;
  color: var(--brand-gold-600);
}

.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: var(--lh-relaxed);
  color: var(--fg2);
}

p, .p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--fg2);
  margin: 0 0 var(--s-4);
}

small, .small, .meta {
  font-size: var(--fs-sm);
  color: var(--fg3);
}

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
a:hover {
  color: var(--link-hover);
  border-bottom-color: currentColor;
}

blockquote, .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  color: var(--fg1);
  border-left: 2px solid var(--brand-gold-500);
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  margin: var(--s-6) 0;
}

code, pre, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}
