/**
 * Design tokens — Pousada Alto da Estância brand system.
 * Source: identity presentation (identidade/) — palette, Pantone refs and
 * typography approved with the client. Every visual decision reads from here.
 */
:root {
  /* ---- Brand palette (Pantone refs in docs/DOSSIE-SITE.md §0) ---- */
  --color-forest: #22332a;      /* Verde serra — Pantone 5535 C  */
  --color-forest-deep: #1a2820; /* Darker forest, nobre surfaces */
  --color-ink: #23201c;         /* Text — Pantone Black 7 C      */
  --color-terracotta: #a85a3c;  /* Warm accent — Pantone 7524 C  */
  --color-ochre: #b0834b;       /* Gold/luxury — Pantone 7554 C  */
  --color-gold: #cba05a;        /* Light gold — kickers, hairlines */
  --color-cream: #f3ede2;       /* Paper — Pantone 7527 C (never pure white) */
  --color-cream-soft: #f7f2e8;  /* Raised cream surfaces          */
  --color-sand: #e9dfcb;        /* Warm sand — gentle contrast for alt sections */
  --color-cream-muted: #6b6357; /* Secondary text on cream        */
  --color-sand-deep: #cbb591;   /* Header bar + footer (warm sand) */
  --color-sand-ink: #5c5140;    /* Body text on the sand surfaces  */
  --color-on-forest: #f3ede2;   /* Text on forest surfaces        */
  --color-on-forest-muted: #d9d2c4;

  /* Hairlines / thin rules (the "feito à mão" detail layer) */
  --hairline: 1px solid rgba(176, 131, 75, 0.45);
  --hairline-on-dark: 1px solid rgba(203, 160, 90, 0.4);

  /* ---- Typography ----
     Self-hosted (see fonts.css): Playfair Display (refined display serif) +
     Archivo (humanist sans, UI/body). */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Editorial type scale (fluid). Slightly larger + airier than before. */
  --text-hero: clamp(2.75rem, 1.1rem + 6.4vw, 6rem);
  --text-title: clamp(2rem, 1.15rem + 3vw, 3.5rem);
  --text-subtitle: clamp(1.3rem, 1.05rem + 1vw, 1.85rem);
  --text-body: 1.0625rem;
  --text-small: 0.9rem;
  --text-kicker: 0.78rem;

  /* Caps-tracking for kickers/labels ("caro e confiante") */
  --tracking-kicker: 0.3em;
  --tracking-nav: 0.14em;

  --leading-display: 1.08;
  --leading-body: 1.7;

  /* ---- Spacing / rhythm (generous, editorial) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem); /* vertical section padding */

  --container-max: 72rem;
  --container-narrow: 44rem;   /* reading measure ≈ 60–72 chars */
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* ---- Motion (slow & "expensive"; see DOSSIE-SITE.md §6) ---- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-slow: 1s;
  --duration-base: 0.6s;
  --duration-fast: 0.25s;

  /* ---- Z-index registry (document every layer here) ---- */
  --z-skip-link: 100;
  --z-header: 50;
}
