/* ============================================================
   PADEL COLLECTION — Base & reset
   ============================================================ */

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Pour caler 1rem = 16px partout */
  font-size: 16px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-text-2);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================================
   Utilitaires typographiques (cohérents avec le DS)
   ============================================================ */
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h1);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.1;
}
.text-1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-text-1);
  line-height: 1.5;
}
.text-2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-text-2);
  line-height: 1.5;
}
.label {
  font-family: var(--font-display-bold);
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Sélection */
::selection {
  background: var(--color-rouille);
  color: var(--color-sand);
}

/* Focus visibles cohérents */
:focus-visible {
  outline: 2px solid var(--color-rouille);
  outline-offset: 2px;
  border-radius: 4px;
}
