/*
 * Saute-Lune — identité de la page d'accueil. Le reste (hero-jeu, hero-flex,
 * cartes de modes) vient du CSS partagé chargé avant ; la FAQ, elle, n'y est
 * pas : chaque jeu la dessine (sans ce bloc, ses questions restaient des
 * boutons gris du navigateur).
 */
.deco-lune   { background: #ffd43b; border-radius: 50%; box-shadow: inset -7px -3px 0 0 #3b3a8a; }
.deco-etoile { background: #fff3bf; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.deco-nuit   { background: #5c6ff0; }

.rules { --rules-symbole: '\2605'; }

.mode-card .mode-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-solo          { background: rgba(92, 111, 240, 0.22); color: #c5cdfb; }
.badge-defi          { background: rgba(255, 212, 59, 0.18); color: #ffe066; }
.badge-entrainement  { background: rgba(99, 230, 190, 0.16); color: #96f2d7; }

a.mode-card { text-decoration: none; display: block; }
a.mode-card h2 { margin: 6px 0 4px; }

.lien-classement-accueil { text-align: center; margin: 14px 0 26px; }
.lien-classement-accueil a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(197, 205, 251, 0.35);
  border-radius: 999px;
  background: rgba(92, 111, 240, 0.14);
  color: #e5e9ff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.lien-classement-accueil a:hover,
.lien-classement-accueil a:focus-visible { border-color: #ffd43b; color: #fff3bf; }

/* Questions fréquentes : accordéon (js/faq-accordeon.js partagé). */
.faq-section { display: grid; gap: 8px; margin-top: 10px; }
.faq-item { border: 1px solid rgba(197, 205, 251, 0.18); border-radius: 10px; background: rgba(92, 111, 240, 0.08); overflow: hidden; }
.faq-question {
  display: block; width: 100%; min-height: 48px; padding: 12px 40px 12px 14px; position: relative;
  background: none; border: 0; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.faq-question::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: #ffe066; }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-question:focus-visible { outline: 2px solid #ffd43b; outline-offset: -2px; }
.faq-answer { padding: 0 14px 14px; line-height: 1.6; }
.faq-answer[hidden] { display: none; }

/* « En bref » et tableau du barème : réponses courtes, faciles à citer. */
.en-bref {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 4px solid #ffd43b;
  border-radius: 8px;
  background: rgba(255, 212, 59, 0.07);
  line-height: 1.6;
}
.table-defilante { overflow-x: auto; margin: 10px 0 14px; }
.table-regles { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table-regles th, .table-regles td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(197, 205, 251, 0.18); vertical-align: top; }
.table-regles thead th { color: #ffe066; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table-regles td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
