/* Base commune aux 3 propositions : police Marianne + palette officielle France services */

@font-face {
  font-family: "Marianne";
  src: url("../assets/fonts/Marianne-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../assets/fonts/Marianne-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../assets/fonts/Marianne-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../assets/fonts/Marianne-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Marianne";
  src: url("../assets/fonts/Marianne-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --bleu: #000091;
  --corail: #ff8d7e;
  --corail-dark: #e06456;
  --orange: #ff9940;
  --teal: #00ac8c;
  --bg-light: #f5f5f7;
  --border: #d6d6d6;
  --font: "Marianne", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 112.5%; /* ~18px base : plus grand que la moyenne, plus facile à lire */
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--bleu);
  background: #fff;
  line-height: 1.55;
}

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

a {
  color: var(--bleu);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

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