/* Barre commune (css/games.css) aux couleurs de Dunder Mifflin */
.office-jeu {
  --mg-jeu-largeur: 1200px;
  --mgb-fond: radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(120deg, #1a2330, #2d64b0);
  --mgb-accent: #ffd54f;
  --mgb-titre: linear-gradient(100deg, #ffffff, #cfe0ff);
  --mg-fs-fond: #eef2f7;
  --mg-bulle-fond: #1a2330;
}
.office-jeu .office-container {
  width: 100%;
  margin: 0 auto;
}

.question-titre {
  margin-top: 0em;
  margin-bottom: 0.5em;
}
.office-logo {
  display: block;
  margin: 0 auto 20px auto;
  width: 220px;
  height: auto;
}

.criteres-resultats-title {
  text-align: center;
  font-size: 1.13em;
  font-weight: bold;
  margin-bottom: 14px;
  color: #222;
}
.criteres-resultats ul {
  list-style: none;
  padding: 0;
  max-width: 350px;
  margin: 0 auto 0 auto;
}
.criteres-resultats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 1.08em;
}
.criteres-resultats .critere-nom {
  font-weight: 600;
  color: #2a5c7c;
}
.criteres-resultats .critere-score {
  color: #222;
  min-width: 70px;
  text-align: right;
  font-weight: 600;
}
.photo-personnage {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 12px;
  border: 3px solid #000;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.45), 0 1.5px 8px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}
.office-container {
  max-width: 640px;
  min-height: 350px;
  margin: 30px auto;
  padding: 45px 20px 45px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px #ccc;
  /* text-align: center; */
  box-sizing: border-box;
}
.office-question {
  margin: 32px 0 32px 0;
  font-size: 1.15em;
}

.office-result {
  background: #e6ffe6;
}

.office-container button {
  display: block;
  width: 100%;
  margin: 16px 0;
  padding: 18px 24px;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid #7a8fa6;
  background: #f4f8ff;
  color: #1a2330;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 1px 4px #e0e6ed;
  text-align: left;
}
.office-container button:hover,
.office-container button:focus {
  background: #3a7bd5;
  color: #fff;
  box-shadow: 0 2px 8px #b3c6ff;
  outline: none;
}

/* Introduction du test (avant la première question) */
.office-intro {
  line-height: 1.5;
}
.office-intro h2 {
  margin: 24px 0 8px 0;
  font-size: 1.2em;
  color: #2a5c7c;
}
.office-intro ul {
  margin: 0;
  padding-left: 20px;
}
.office-intro li {
  margin: 6px 0;
}
.office-intro-accroche {
  margin-top: 0;
  font-size: 1.15em;
}
.office-intro-persos {
  margin: 18px 0 8px 0;
  color: #555;
  font-style: italic;
}
.office-intro-note {
  margin: 0;
  color: #555;
  font-size: 0.95em;
}
.office-container button.office-start {
  width: auto;
  margin: 28px auto 0 auto;
  padding: 14px 44px;
  background: #3a7bd5;
  color: #fff;
  border-color: #2d64b0;
  text-align: center;
  font-weight: 600;
}
.office-container button.office-start:hover,
.office-container button.office-start:focus {
  background: #2d64b0;
}
/* Cadre plus large pour l'introduction (les questions gardent 640 px) */
.office-container:has(.office-intro) {
  max-width: 1200px;
  padding-top: 20px; /* le logo ouvre le pavé */
  padding-bottom: 24px; /* le bouton « C'est parti ! » le ferme */
  padding-left: 36px;
  padding-right: 36px;
}
