html {
  /* taille de base fluide : min 16px – max 20px */
  font-size: clamp(16px, 2vw + 0.5rem, 20px);
}

body {
  background-color: #181818;
  margin: 0 auto;
  max-width: clamp(600px, 70ch, 1000px);
  padding: 5%;
  font-family: var(--main-font);
color: white;
  font-weight: 200; 
  line-height: 1.8;
  /*font-optical-sizing: auto; */
}

a {color:#c9d8ff;}
/* Sérif classique */
.font-serif {
  font-family:  "Bookman", "URW Bookman L", "Georgia", "Times New Roman", serif;
}

/* Sans-serif moderne */
.font-sans {
  font-family: "Optima", "Gill Sans","Candara", "Noto Sans", "Segoe UI", sans-serif;
}

/* Monospace */
.font-mono {
  font-family: "Courier New", Courier, monospace;
}


/* plus de contraste sur écrans étroits (smartphones) */
@media (max-width: 600px) {
  body {
    font-weight: 400;
    line-height: 1.9;
  }
}

/* ---------- Titres et paragraphes ---------- */
h1 {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 1em;
}

p {
  font-size: 1rem;
  margin-bottom: 1.2em;
}

.indent {
  padding-left: 1em;
  font-style: italic;
}

.cadregrisclair {padding:0.8em; background-color: #808080; margin-top:2.5em; color:#F5F5F5;}

