html {
  box-sizing: border-box;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
}

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

:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote) {
  margin: 0;
  padding: 0;
}

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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: var(--default-text-font-family);
  color: var(--default-text-color);
  font-size: 1.125rem;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
}

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

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

button:not(:disabled),
input[type=submit]:not(:disabled) {
  cursor: pointer;
}

button {
  color: inherit;
}

small {
  font-size: 0.875em;
}

sup,
sub {
  font-size: small;
}

h1 {
  font-size: 2.625rem;
}

/* gestion des alignements d'images CKEditor 5 */
img.align-left {
  float: left;
  margin: 0 1rem 1rem 0;
}

img.align-right {
  float: right;
  margin: 0 0 1rem 1rem;
}

img.align-center {
  display: block;
  margin: 0 auto 1rem auto;
}

.btn--reset {
  all: unset;
}