/* ==========================================================================
   Design tokens
   Single source of truth for the whole site. Components never hardcode
   colors, spacing or sizes — they compose these custom properties.
   ========================================================================== */

:root {
  /* --- RGB channels -----------------------------------------------------
     Raw channels so any value can be reused at arbitrary opacity via
     rgba(var(--rgb-x), <alpha>). Keep these in sync with the hex tokens. */
  --rgb-primary: 176, 109, 108;
  --rgb-secondary: 140, 78, 77;
  --rgb-text: 30, 30, 30;
  --rgb-white: 255, 255, 255;
  --rgb-black: 0, 0, 0;
  --rgb-dark: 15, 15, 15;
  --rgb-bg: 245, 239, 232;

  /* --- Brand colors ----------------------------------------------------- */
  --color-primary: rgb(var(--rgb-primary));
  --color-primary-hover: rgb(var(--rgb-secondary));
  --color-secondary: rgb(var(--rgb-secondary));
  --color-secondary-hover: #7A4544;

  /* --- Surfaces --------------------------------------------------------- */
  --color-bg: rgb(var(--rgb-bg));
  --color-bg-accent: #F0E6E0;
  --color-dark: rgb(var(--rgb-dark));
  --color-white: rgb(var(--rgb-white));

  /* --- Text ------------------------------------------------------------- */
  --color-text: rgb(var(--rgb-text));
  --color-muted: rgba(var(--rgb-text), 0.65);

  /* --- Typography families ---------------------------------------------- */
  --font-display: 'Julios Sans', Georgia, 'Times New Roman', serif;
  --font-body: 'Glasgom', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* --- Font size scale -------------------------------------------------- */
  --fs-2xs: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.875rem;
  --fs-md: 0.9375rem;
  --fs-lg: 1rem;
  --fs-xl: 1.125rem;
  --fs-2xl: 1.25rem;
  --fs-3xl: 1.375rem;
  --fs-4xl: 1.75rem;

  /* Fluid headings */
  --fs-hero-title: clamp(2.25rem, 6.5vw, 3.75rem);
  --fs-section-title: clamp(1.75rem, 4vw, 2.75rem);
  --fs-legal-title: clamp(1.75rem, 4vw, 2.5rem);
  --fs-subtitle: clamp(1rem, 2vw, 1.125rem);

  /* --- Line heights ----------------------------------------------------- */
  --leading-tight: 1.2;
  --leading-snug: 1.55;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* --- Letter spacing --------------------------------------------------- */
  --tracking-tight: 0.06em;
  --tracking-wide: 0.1em;
  --tracking-wider: 0.14em;

  /* --- Spacing scale (0.25rem base) ------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* --- Radii ------------------------------------------------------------ */
  --radius-soft: 12px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* --- Borders ---------------------------------------------------------- */
  --border-subtle: 1px solid rgba(var(--rgb-text), 0.06);
  --border-soft: 1px solid rgba(var(--rgb-text), 0.08);
  --border-divider: 1px solid rgba(var(--rgb-text), 0.1);

  /* --- Shadows ---------------------------------------------------------- */
  --shadow-subtle: 0 4px 24px rgba(var(--rgb-text), 0.08);
  --shadow-hover: 0 8px 32px rgba(var(--rgb-text), 0.12);
  --shadow-float: 0 4px 16px rgba(var(--rgb-primary), 0.35);
  --shadow-float-hover: 0 6px 24px rgba(var(--rgb-primary), 0.45);

  /* --- Motion ----------------------------------------------------------- */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-reveal: 0.65s ease;

  /* --- Z-index scale ---------------------------------------------------- */
  --z-below: -1;
  --z-base: 0;
  --z-raised: 1;
  --z-float: 900;
  --z-header: 1000;

  /* --- Layout ----------------------------------------------------------- */
  --header-height: 72px;
  --container-max: 1140px;
  --section-padding: clamp(4rem, 8vw, 6rem);
}

/* Ative quando os arquivos woff2 estiverem em assets/fonts/ */
/*
@font-face {
  font-family: 'Julios Sans';
  src: url('../assets/fonts/JuliosSans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Glasgom';
  src: url('../assets/fonts/Glasgom.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}
*/
