/* Corpus Yann Minh — feuille de style commune */
:root {
  --fond: #03050a;
  --pave: #050c11;
  --texte: #d6d6dc;
  --discret: #9a9aaa;
  --titre: #ececf2;
  --lien: #abf3ff;
  --lien-vu: #fff7a6;
  --indigo: #5b2cff;
  --filet: #1d2340;
}
* { box-sizing: border-box; }
html { background: var(--fond); }
body {
  margin: 0;
  color: var(--texte);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
  background: var(--fond) url("../img/FdPtePlaqueD2.JPG");
}
a { color: var(--lien); }
a:visited { color: var(--lien-vu); }
a:hover, a:focus { text-shadow: 0 0 8px var(--indigo); }
header.site, footer.site {
  font: 14px/1.4 Arial, Helvetica, sans-serif;
  color: var(--discret);
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
header.site a { text-decoration: none; margin-right: 1rem; }
header.site .marque { color: var(--titre); font-weight: bold; letter-spacing: .12em; margin-right: 1.5rem; }
main {
  max-width: 46rem;
  margin: 0 auto 1.5rem;
  padding: 2rem 2.25rem;
  background: var(--pave);
  box-shadow: 0 0 28px rgba(91, 44, 255, .25);
}
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; color: var(--titre); line-height: 1.25; }
h1 { font-size: 2rem; letter-spacing: .04em; margin-top: 0; }
h2 { font-size: 1.35rem; margin-top: 2.2rem; border-bottom: 1px solid var(--filet); padding-bottom: .3rem; }
h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.chapeau { font-size: 1.1rem; color: var(--titre); }
.meta { font: 13px/1.5 Arial, Helvetica, sans-serif; color: var(--discret); }
dl dt { font-weight: bold; color: var(--titre); margin-top: 1rem; }
dl dd { margin-left: 0; }
blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 3px solid var(--indigo); color: var(--titre); }
ul.chrono { list-style: none; padding: 0; }
ul.chrono li { margin: .4rem 0; }
ul.chrono b { color: var(--titre); display: inline-block; min-width: 5.5rem; }
.source { font: 12px/1.4 Arial, Helvetica, sans-serif; color: var(--discret); }
@media (max-width: 600px) {
  body { font-size: 16px; }
  main { padding: 1.25rem; }
  h1 { font-size: 1.6rem; }
}

/* Textes intégraux */
ul.textes li { margin: .9rem 0; }
nav.sommaire { border: 1px solid var(--filet); padding: .5rem 1rem; margin: 1.5rem 0; }
nav.sommaire ul { margin: .3rem 0; padding-left: 1.2rem; }
main.texte table { border-collapse: collapse; margin: 1rem 0; font-size: .9rem; display: block; overflow-x: auto; }
main.texte td, main.texte th { border: 1px solid var(--filet); padding: .3rem .5rem; vertical-align: top; }
main.texte img { max-width: 100%; }
main.texte a { overflow-wrap: anywhere; }
ol.notes { font-size: .9rem; color: var(--discret); }

/* Images et dialogues */
main.texte figure { margin: 1.5rem 0; text-align: center; }
main.texte figure img, main.texte p img { max-width: 100%; height: auto; display: inline-block; margin: .25rem 0; }
p.soustitre { font: bold 1.15rem/1.4 Arial, Helvetica, sans-serif; color: var(--titre); }
section.tour { margin: 1.4rem 0; padding: .3rem 0 .3rem 1.1rem; border-left: 3px solid var(--indigo); }
section.tour.claude { border-left-color: #3a8f9e; background: rgba(171, 243, 255, .035); }
section.tour p.qui { font: bold 13px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--titre); margin: .2rem 0 .6rem; }
section.tour.claude p.qui { color: var(--lien); }
section.tour p.qui .meta { text-transform: none; letter-spacing: 0; font-weight: normal; }
