/* Style clair */
[data-theme="light"] {
  --titre-premier-part: rgba(37,  39,  57,  1);
  --titre-deuxiem-part: rgba(42,  114, 223, 1);
  --principale-fond:    rgba(248, 250, 252, 1);
  --secondaire-fond:    rgba(243, 246, 250, 1);
  --bordure:            rgba(224, 231, 239, 1);
  --principale-texte:   rgba(17,  24,  39,  1);
  --secondaire-texte:   rgba(75,  85,  99,  1);
  --principale:         rgba(37,  99, 235,  1);
  --secondaire:         rgba(230, 239, 251, 1);
  --validation:         rgba(28,  141, 69,  0.4);
  --validationBorder:   rgba(28,  141, 69,  1);
  --alerte:             rgba(245, 159, 11, 0.4);
  --alerteBorder:       rgba(203, 133, 11,  1);
  --fragilite:          rgba(239, 68,  68,  0.4);
  --fragiliteBorder:    rgba(239, 68,  68,  1);
  --structure:          rgba(139, 92,  246, 1);
  --sources:            rgba(20,  85,  190, 1);
  --sourcesBackground:  rgba(225, 240, 253, 1);

  .dark { display: none }
}

/* Style sombre */
[data-theme="dark"] {
  --titre-premier-part: rgba(222, 222, 225, 1);
  --titre-deuxiem-part: rgba(42,  114, 223, 1);
  --principale-fond:    rgba(5,   10,  20,  1);
  --secondaire-fond:    rgba(15,  24,  42,  1);
  --bordure:            rgba(40,  55,  78,  1);
  --principale-texte:   rgba(241, 245, 249, 1);
  --secondaire-texte:   rgba(148, 163, 184, 1);
  --principale:         rgba(59,  130, 246, 1);
  --secondaire:         rgba(24,  34,   53, 1);
  --validation:         rgba(59,  164, 98,  0.4);
  --validationBorder:   rgba(59,  164, 98,  1);
  --alerte:             rgba(239, 181, 109, 0.4);
  --alerteBorder:       rgba(239, 181, 109, 1);
  --fragilite:          rgba(248, 113, 113, 0.4);
  --fragiliteBorder:    rgba(248, 113, 113, 1);
  --structure:          rgba(168, 85,  247, 1);
  --sources:            rgba(20,  85,  190, 1);
  --sourcesBackground:  rgba(29,   47,  70, 1);
  
  .light { display: none }
}

.Bon {
  background-color: var(--validation);
  border:           var(--validationBorder);
  color:            var(--validationBorder);
}

.Moyen {
  background-color: var(--alerte);
  border:           var(--alerteBorder);
  color:            var(--alerteBorder);
}

.Mauvais {
  background-color: var(--fragilite);
  border:           var(--fragiliteBorder);
  color:            var(--fragiliteBorder);
}

:root {
  --headerHeight:    50px;
  --itemFontFamily : "Segoe UI", Arial, sans-serif;
}

* {
  margin: 0;
}

main {
  padding: 20px 60px;
  background-color: var(--principale-fond);
  margin-top: var(--headerHeight);
}

:root {
  font-family: "Inter", sans-serif;
}