/* Charte Tuto Mix pour le moteur de quiz.
   Valeurs reprises du design system v2 du site :
   03-Clients/Tuto-Mix/Design-System/design-system-tutomix-v2-staging/source/design-tokens.css et layout.css (logo).
   Polices hébergées avec le quiz (polices/, jeu de caractères latin, licence SIL OFL), téléchargées
   depuis Google Fonts le 28/11 avec l'accord de Mathias : plus aucun appel à Google à l'affichage. */
@font-face {
  font-family: 'Archivo';
  src: url('/polices/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/polices/instrument-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --q-fond: #0b0b0c;
  --q-carte: #141417;
  --q-survol: #1a1a1f;
  --q-trait: #2a2a30;
  --q-trait-fort: #3a3a42;
  --q-texte: #f4f4f5;
  --q-texte-2: #c6c6cd;
  --q-texte-3: #a0a0a8;
  --q-texte-4: #8a8a96;
  --q-accent: #fdfb48;
  --q-accent-survol: #fffb7a;
  --q-sur-accent: #0b0b0c;
  --q-erreur: #ff3b2e;
  --q-police-titre: 'Archivo', system-ui, sans-serif;
  --q-etirement-titre: 112%;
  --q-police-texte: 'Instrument Sans', system-ui, sans-serif;
  --q-rayon: 8px;
  --q-rayon-carte: 12px;
  --q-halo: 0 0 20px 0 rgba(253, 251, 72, 0.35);
}

/* Logo (image rapatriée de Tally) : carré arrondi qui chevauche le bas de la bannière, comme sur Tally */
.tm-logo { display: inline-block; line-height: 0; }
.tm-logo__image { width: 72px; height: 72px; border-radius: 12px; box-shadow: 0 0 0 3px var(--q-fond); }
.q-couverture:not([hidden]) + .q-entete { margin-top: -44px; position: relative; }
@media (max-width: 576px) {
  .tm-logo__image { width: 60px; height: 60px; }
  .q-couverture:not([hidden]) + .q-entete { margin-top: -36px; }
}
