/* Reset léger + typographie par défaut */

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

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

body {
  font-family: var(--f-body);
  font-weight: var(--w-regular);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: var(--w-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  text-wrap: balance;
  color: var(--c-ink);
}

h1 { font-size: var(--t-4xl); font-weight: var(--w-black); }
h2 { font-size: var(--t-3xl); }
h3 { font-size: var(--t-xl); }

p { max-width: var(--container-text); }

ul { list-style: none; padding: 0; }

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

::selection { background: var(--c-laiton); color: var(--c-email); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -80px;
  background: var(--c-email); color: var(--c-craie);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-sm);
  z-index: 100; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--s-4); }
