/* Base commune aux quatre pages. Les jetons viennent de tokens.css. */

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: var(--t-texte);
  line-height: 1.5;
}

h1, h2, h3 { line-height: 1.2; }
h1 { font-family: var(--police-titre); font-size: var(--t-etape); font-weight: 700; margin: 0 0 16px; }

.lien-evitement {
  position: absolute;
  left: 8px;
  top: -64px;
  padding: 12px 16px;
  background: var(--encre);
  color: var(--blanc);
  z-index: 10;
}
.lien-evitement:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }

.entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
}
.entete__logo { display: block; height: 40px; width: auto; }

main { flex: 1; padding: 32px 24px; max-width: 960px; width: 100%; margin: 0 auto; }

.pied { padding: 16px 24px; color: var(--gris); font-size: 14px; border-top: 1px solid var(--filet); }
