/* DataSAI Académie - Polices et boutons des pages Bibliothèque, Communauté et Partenaires, alignés sur les pages refaites :
   Instrument Serif pour les titres, Inter pour le texte, bouton principal doré. Les mots en italique des titres prennent une couleur unie
   (les titres sont découpés en lettres par l'animation, un dégradé y deviendrait invisible). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&family=Instrument+Serif:ital@0;1&display=swap');

html body, html body :is(button, input, select, textarea) { font-family: 'Inter', system-ui, sans-serif !important; }

/* Titres */
html body :is(h1, h2, h3, h4):not(.footer-logo):not([class*="nav"]), html body :is(.lib-stat b, .doc-title, .note-head b, .lib-empty b, .bc-open-price b) {
  font-family: 'Instrument Serif', Georgia, serif !important; font-weight: 400 !important; letter-spacing: -.005em !important; }
html body h1 { line-height: 1.04 !important; }
/* Mot clé en italique : or sur les en-têtes sombres, or bronze sur les sections claires */
html body :is(.hero, .lib-hero, [class*="hero"]) h1 em, html body :is(.hero, .lib-hero, [class*="hero"]) h1 em * {
  font-style: italic; color: #e7d9b6 !important; -webkit-text-fill-color: #e7d9b6 !important; background: none !important; }
html body .lib-hero h1 em, html body .lib-hero h1 em * { color: #9a6a31 !important; -webkit-text-fill-color: #9a6a31 !important; }

/* Boutons principaux : la pilule dorée */
html body :is(.cm-btn, .af-btn-plein, .search-btn) {
  font-family: 'Inter', sans-serif !important; font-weight: 700 !important; border: 0 !important; border-radius: 999px !important;
  color: #1a1206 !important; background: linear-gradient(180deg, #f2e4ca 0%, #e7d9b6 40%, #c9a86a 100%) !important; box-shadow: 0 12px 30px rgba(201,150,63,.3) !important; }
html body :is(.cm-btn, .af-btn-plein, .search-btn):hover { filter: brightness(1.05); }
