/* ============================================================
   Parqueterie des Alpes — Base layer
   Minimal resets + element defaults wired to the tokens, plus a
   few brand-vocabulary utilities (eyebrow, hairline rule,
   container) that recur across specimens, components and screens.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font: var(--type-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings: uppercase, tight — per charter (titles = capitales only).
   Apply .normal-case to opt a heading out of uppercase. */
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  letter-spacing: var(--tracking-title);
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); letter-spacing: var(--tracking-normal); }
h4 { font-size: var(--text-xl); letter-spacing: var(--tracking-normal); }
.normal-case { text-transform: none; letter-spacing: var(--tracking-normal); }

p { margin: 0 0 var(--space-4); }
a { color: inherit; text-decoration: none; }

strong, b { font-weight: var(--fw-bold); }

img, svg, video { display: block; max-width: 100%; }

hr {
  border: 0;
  border-top: var(--border-1) solid var(--border-hair);
  margin: var(--space-6) 0;
}

::selection { background: var(--pda-brun); color: var(--pda-cream-50); }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ---- brand-vocabulary utilities ---- */

/* eyebrow / kicker — spaced uppercase label (the lettermark voice) */
.pda-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  line-height: 1;
}

/* hairline rule — the structural 1px line the brand is built on */
.pda-rule {
  height: var(--border-1);
  background: var(--border-hair);
  border: 0;
  width: 100%;
}

/* short centered accent rule (under the lettermark, à la charter) */
.pda-rule-accent {
  width: 56px;
  height: var(--border-1);
  background: var(--pda-taupe);
  border: 0;
}

.pda-container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* uppercase tracked label utility for inline use */
.pda-label {
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: var(--fw-bold);
}
