:root {
  --fond: #101820;
  --texte: #f4f1ea;
  --accent: #ffd166;
  --discret: #8d9aa8;
}

* {
  box-sizing: border-box;
}

/* L'attribut `hidden` vaut `display: none` via la feuille de style du
   navigateur, donc n'importe quel sélecteur de classe qui pose un `display` le
   bat en spécificité. Sans ça, un élément marqué `hidden` reste visible. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--texte);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.2;
}

.verdict {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  padding: 2em 1.5em;
  text-align: center;
}

.question {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--discret);
}

.phrase {
  margin: 0;
  max-width: 22em;
  font-size: clamp(2rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ferie {
  margin: 0;
  font-size: 1rem;
  color: var(--accent);
}

.prochaines {
  display: flex;
  align-items: center;
  gap: 1.25em;
  padding: 1.25em 1.5em;
  border-top: 0.0625em solid rgba(244, 241, 234, 0.12);
  background: rgba(0, 0, 0, 0.25);
}

.prochaines__photo {
  width: 6em;
  height: 6em;
  border-radius: 0.5em;
  object-fit: cover;
  flex: none;
}

.prochaines__texte {
  min-width: 0;
}

.prochaines__titre {
  margin: 0 0 0.35em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--discret);
}

.prochaines__nom {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.prochaines__date {
  margin: 0.2em 0 0;
  font-size: 1rem;
  color: var(--discret);
}

@media (max-width: 30em) {
  .prochaines {
    gap: 1em;
  }

  .prochaines__photo {
    width: 4.5em;
    height: 4.5em;
  }

  .prochaines__nom {
    font-size: 1.15rem;
  }
}
