@font-face {
  font-family: Readex;
  src: url('/identite/ReadexPro-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Readex;
  src: url('/identite/ReadexPro-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --fond: #f8f4ee;
  --texte: #411424;
  --secondaire: #725d62;
  --accent: #761c39;
  --trait: #e4d5c4;
  font:
    100%/1.62 Readex,
    ui-sans-serif,
    system-ui,
    sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #1c151a;
    --texte: #faf0e2;
    --secondaire: #d2bbb8;
    --accent: #f1c7ba;
    --trait: #59404a;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
}
.enveloppe {
  max-width: 46rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--trait);
}
.marque {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 44px;
  color: var(--texte);
  font-weight: 600;
  text-decoration: none;
}
.marque img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.62rem;
}
.edition {
  color: var(--secondaire);
  font-size: 0.87rem;
}
main {
  margin-block: clamp(2rem, 7vw, 4.75rem) 2.5rem;
}
h1,
h2 {
  font-weight: 600;
  line-height: 1.21;
  text-wrap: balance;
}
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.05rem, 6vw, 3.55rem);
  letter-spacing: -0.055em;
}
h2 {
  margin: 2.15rem 0 0.55rem;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  letter-spacing: -0.028em;
}
p {
  margin: 0.55rem 0;
}
.intro {
  font-size: clamp(1.09rem, 3.2vw, 1.3rem);
}
strong {
  font-weight: 600;
}
a {
  color: var(--accent);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 0.22rem;
}
.lien {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
footer {
  border-top: 1px solid var(--trait);
  padding-block: 0.9rem 2rem;
}
@media print {
  :root {
    color-scheme: light;
    --fond: white;
    --texte: black;
    --accent: black;
    --secondaire: #333;
    --trait: #ccc;
  }
  .enveloppe {
    max-width: none;
  }
  h2 {
    break-after: avoid;
  }
}
