@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("polices/atkinson-hyperlegible-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("polices/atkinson-hyperlegible-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
}

body {
  background-color: var(--fond);
  color: var(--texte);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 0.75rem;
}

.sous-titre,
.secondaire {
  color: var(--texte-secondaire);
}

.sous-titre {
  margin-bottom: 1.5rem;
}

.carte {
  background-color: var(--surface);
  border: 1px solid var(--bord);
  border-radius: 12px;
  padding: 1rem;
  margin: 0 0 1rem;
}

.repere {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pastille-enregistrement {
  display: inline-block;
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background-color: var(--rouge-enregistrement);
}

.bouton-principal {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 12px;
  background-color: var(--bouton);
  color: var(--texte-bouton);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.etiquette {
  display: block;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.champ-texte {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 9rem;
  margin: 0 0 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--bord);
  border-radius: 8px;
  background-color: var(--fond);
  color: var(--texte);
  font: inherit;
  resize: none;
}

.etat {
  margin: 0.75rem 0 0;
}

:focus-visible {
  outline: 3px solid var(--cadre-clavier);
  outline-offset: 3px;
}
