/* SagaVie — direction « Le carnet de famille » : valeurs de design à utiliser telles quelles.
   Principe : le site parle la typographie du livre imprimé (Garamond, Caveat, Instrument Sans,
   déjà utilisés dans templates/livre.html). Ce que le client voit sur le site, c'est ce qui sera imprimé.
   Le motif signature : la voix devient écriture (une onde sonore qui se prolonge en ligne de texte). */

@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-500-normal.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2");font-weight:600;font-display:swap}

:root{
  --police-titre:"EB Garamond",Georgia,serif;        /* titres, en romain 500 : plus d'italique coloré en demi-titre */
  --police-texte:"Instrument Sans",Arial,sans-serif; /* texte courant, boutons, formulaires */
  --police-main:"Caveat",cursive;                     /* annotations manuscrites : 1 par écran maximum, jamais pour une info indispensable */

  /* Couleurs (contraste vérifié WCAG AA) */
  --marine:#243c60;     /* couleur de la couverture du livre : boutons, logo — texte blanc 11,1:1 */
  --marine-survol:#1a2d49;
  --papier:#f7f3eb;     /* fond unique de TOUTES les pages publiques (accueil et pages de vente) */
  --encre:#1f2a3a;      /* texte principal — 13,1:1 */
  --encre-douce:#3d4656;/* texte secondaire — 8,6:1 (remplace le gris #626570, trop pâle) */
  --stylo:#2c4c8c;      /* annotations Caveat, liens — 7,5:1 */
  --cuir:#7a5d3e;       /* petits libellés si besoin — 5,5:1 */
  --filet:#e3dccd;      /* filets et bordures */
  --tirage:#ffffff;     /* bord blanc des photos façon tirage */

  --texte-corps:17px; --texte-secondaire:15px; --texte-legal:13px; /* jamais sous 12 px */
  --titre-1:36px; --titre-2:30px; /* ordinateur : 64 / 44 px */
  --marge-mobile:20px; --espace-section:44px;
  --rayon:10px;         /* un seul rayon : boutons, cartes, champs (fini les pilules de 100px) */
}
