/* ==========================================================================
   MÉTHODE JARROUSSE® — Base Styles
   Reset + Typography + Global
   ========================================================================== */

/* ── Modern Reset ────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ── Typography ──────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--text-hero);
  letter-spacing: var(--tracking-tight);
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: var(--tracking-tight);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  max-width: var(--max-width-text);
}

/* Subtle paragraph spacing */
p + p {
  margin-top: var(--space-4);
}

/* Brand label style — uppercase, tracked */
.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent-secondary);
}

/* Editorial quote — large display */
.quote {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-style: italic;
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
  max-width: var(--max-width-narrow);
}

.quote--small {
  font-size: var(--text-xl);
}

/* Body emphasis */
.text-emphasis {
  font-weight: var(--weight-medium);
  color: var(--color-accent-secondary);
}

/* ── Selection ───────────────────────────────────────────────────────── */
::selection {
  background-color: var(--color-sable);
  color: var(--color-text-primary);
}

/* ── Scrollbar (Webkit) ──────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-sable);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-kaki-olive);
}

/* ── Focus states (accessibility) ────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 3px;
}
