/* Un tueur dans Paris — site QR. Polices auto-hébergées. */

@font-face { font-family: 'Playfair Display'; src: url('fonts/Playfair.ttf') format('truetype-variations'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/Playfair-Italic.ttf') format('truetype-variations'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Crimson Text'; src: url('fonts/Crimson.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Crimson Text'; src: url('fonts/Crimson-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Crimson Text'; src: url('fonts/Crimson-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 17px; line-height: 1.55; color: #1a1a1a;
  background: #faf8f4; padding: 24px 18px 60px;
}
.page { max-width: 640px; margin: 0 auto; }

.surtitre {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  color: #666; text-align: center; margin: 8px 0 4px;
}
h1.titre {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 900;
  font-size: 34px; text-align: center; margin: 0 0 4px; line-height: 1.1;
}
.victime {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  font-size: 20px; text-align: center; color: #333; margin: 0 0 20px;
}
.filet { width: 40px; height: 1px; background: #333; margin: 0 auto 24px; }

section.bloc {
  background: #fff; border: 1px solid #e5e0d5;
  padding: 20px 22px; margin: 18px 0; border-radius: 2px;
}
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  margin: 0 0 14px; color: #333;
  border-bottom: 0.5px solid #ccc; padding-bottom: 8px;
}
p { margin: 8px 0; }
p.consigne { color: #555; font-size: 15px; }

label { display: block; font-size: 14px; color: #555; margin: 12px 0 4px; }
select, input[type=text] {
  width: 100%; padding: 10px 12px;
  font-family: 'Crimson Text', Georgia, serif; font-size: 16px;
  border: 1px solid #c8c0b0; border-radius: 2px;
  background: #fefdfb; color: #1a1a1a;
}
input[type=text] { text-transform: uppercase; }
button {
  display: inline-block; margin: 16px 0 4px;
  padding: 12px 22px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  background: #1a1a1a; color: #faf8f4; border: none;
  border-radius: 2px; cursor: pointer;
}
button:hover { background: #333; }
button.secondaire { background: #fff; color: #1a1a1a; border: 1px solid #1a1a1a; }
button:disabled { opacity: 0.4; cursor: not-allowed; }

.reponse-juste {
  background: #f0ebe0; border-left: 3px solid #1a1a1a;
  padding: 16px 20px; margin: 18px 0;
}
.reponse-juste h2 { border-bottom: none; padding-bottom: 0; margin-bottom: 8px; }
.reponse-fausse {
  background: #f7f2eb; border-left: 3px solid #a53b3b;
  padding: 16px 20px; margin: 18px 0;
}

.aide-etat { font-family: 'Crimson Text', Georgia, serif; font-size: 15px; margin-top: 12px; }
.aide-etat table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.aide-etat th, .aide-etat td {
  padding: 6px 8px; border-bottom: 0.5px solid #e0dbcf;
  text-align: left; font-size: 14px;
}
.aide-etat th { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; color: #444; }
.aide-etat td.nb { text-align: right; font-variant-numeric: tabular-nums; }
.aide-etat td.elim { color: #999; font-style: italic; }
.aide-etat td.cases { color: #555; font-size: 13px; letter-spacing: 0.5px; }

.epigraphe {
  font-family: 'Playfair Display', Georgia, serif; font-style: italic;
  text-align: center; color: #666; margin: 30px 0 10px; font-size: 16px;
}

ul.enquetes { list-style: none; padding: 0; margin: 20px 0; }
ul.enquetes li { padding: 14px 0; border-bottom: 0.5px solid #ddd; }
ul.enquetes a {
  color: #1a1a1a; text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif; font-size: 16px;
}
ul.enquetes a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  body { padding: 16px 12px 40px; font-size: 16px; }
  h1.titre { font-size: 28px; }
  section.bloc { padding: 16px 14px; }
}
