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

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
}

html {
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  background-color: var(--background-color--background-primary);
  color: var(--text-color--text-primary);
  text-wrap: pretty;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  overflow-x: clip;
}

body * {
  color: inherit;
}

/* ── Padding global (11x.ai pattern) ── */

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

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

ul, ol {
  list-style: none;
}

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

/* ── Focus-visible — global accessibility ── */
:focus-visible {
  outline: 2px solid var(--base-color-brand--teal-500);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ── Desktop-only line breaks ── */
.desktop-only {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-only {
    display: inline;
  }
}

/* ── Screen-reader only — SEO + accessibilité ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
