/* La page de hygrys.fr (décision 0112) : l'habillage Papier d'Hygrys, sans script.
   Les polices : le jeu latin de app/src/styles/polices.css — changer partout (voir ce fichier). */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/polices/lexend-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/polices/gabarito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/polices/cormorant-garamond-latin-600.woff2') format('woff2');
}

:root {
  --papier: #f9f4ec; --filet: #e8dfd1;
  --encre: #22252b; --encre-2: #4f5560;
  --marque: #a63d2b; --marque-fonce: #7e2f1f; --sur-marque: #fffdf9;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #1b1a18; --filet: #3a3732;
    --encre: #f3ede4; --encre-2: #c3bbae;
    --marque: #e07a62; --marque-fonce: #f0a08c; --sur-marque: #1b1a18;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 16px/1.6 Lexend, system-ui, sans-serif; -webkit-text-size-adjust: 100%;
}
main { max-width: 640px; margin: 0 auto; padding: 24px 16px 40px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; }
.logo img { width: 30px; height: 30px; }
.logo span { font: 600 20px/1 "Cormorant Garamond", serif; letter-spacing: 0.32em; text-transform: uppercase; }

h1 { font: 800 36px/1.1 Gabarito, sans-serif; letter-spacing: -0.02em; margin: 40px 0 12px; text-wrap: balance; }
.chapeau { margin: 0 0 20px; max-width: 34em; color: var(--encre-2); text-wrap: pretty; }
h2 { font: 700 22px/1.25 Gabarito, sans-serif; margin: 48px 0 12px; text-wrap: balance; }

a { color: var(--marque-fonce); overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--marque); outline-offset: 2px; border-radius: 4px; }
strong { font-weight: 500; overflow-wrap: anywhere; }

.bouton {
  display: block; padding: 12px 24px; border-radius: 14px; text-align: center; text-decoration: none;
  background: var(--marque); color: var(--sur-marque); font-weight: 500;
}
.bouton:hover { background: var(--marque-fonce); }
.bouton:active { transform: translateY(1px); }
@media (min-width: 480px) { .bouton { display: inline-block; } }

dl { margin: 0; }
dl div { padding: 14px 0; border-top: 1px solid var(--filet); }
dt { font: 700 16px/1.3 Gabarito, sans-serif; margin-bottom: 4px; }
dd { margin: 0; text-wrap: pretty; }

footer { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 32px; font-size: 14px; }
footer a { padding: 8px 0; }
