/* LNNS Entreprise — site institutionnel.
   Feuille unique, aucune dependance externe, aucun script. */

:root {
  --papier: #fbfaf7;
  --encre: #1c1b19;
  --encre-douce: #57544e;
  --filet: #ddd9d1;
  --lien: #2f4f4a;
  --mesure: 34rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #161513;
    --encre: #eae7e0;
    --encre-douce: #a29d94;
    --filet: #34322d;
    --lien: #8fb5ac;
  }
}

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

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

body {
  margin: 0;
  padding: 0 1.5rem;
  background: var(--papier);
  color: var(--encre);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-kerning: normal;
}

.page { max-width: var(--mesure); margin: 0 auto; padding: 4.5rem 0 5rem; }

h1, h2, h3 {
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* En-tete */

.enseigne { margin-bottom: 3.5rem; }

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

.nom {
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: 0;
}

.forme {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--encre-douce);
}

/* Corps */

.chapeau {
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.4375rem;
  line-height: 1.45;
  margin: 0 0 3.25rem;
}

section { margin-bottom: 3.25rem; }

section > h2 {
  font-size: 1.0625rem;
  margin: 0 0 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet);
}

h1 { font-size: 1.75rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1.1rem; }

p:last-child { margin-bottom: 0; }

a { color: var(--lien); text-decoration: underline; text-underline-offset: 0.15em; }

a:hover { text-decoration-thickness: 2px; }

strong { font-weight: 600; }

/* Listes de faits : mentions legales, coordonnees */

dl { margin: 0; }

dl div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--filet);
}

dl div:last-child { border-bottom: 0; }

dt {
  flex: 0 0 11rem;
  color: var(--encre-douce);
  font-size: 0.9375rem;
}

dd { flex: 1 1 14rem; margin: 0; }

.date {
  color: var(--encre-douce);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

/* Pied */

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet);
  font-size: 0.9375rem;
  color: var(--encre-douce);
}

footer p { margin: 0 0 0.4rem; }

footer a { color: var(--encre-douce); }

nav.pied a { margin-right: 1.25rem; white-space: nowrap; }

.mention-rcs { margin-top: 0.9rem; }

@media (max-width: 30rem) {
  body { padding: 0 1rem; font-size: 1rem; }
  .page { padding: 3rem 0 3.5rem; }
  .chapeau { font-size: 1.25rem; }
  dt { flex-basis: 100%; }
  dd { flex-basis: 100%; }
  dl div { padding: 0.6rem 0; }
}
