/*
 * Pluie de Sable — identité de la page d'accueil. Le reste (hero-jeu, hero-flex,
 * cartes de modes) vient du CSS partagé chargé avant ; la FAQ est dessinée ici.
 */
.deco-grain-ocre { background: #f0b429; border-radius: 3px; }
.deco-grain-bleu { background: #4285f4; border-radius: 3px; }
.deco-grain-vert { background: #4caf50; border-radius: 3px; }

.rules { --rules-symbole: '\25A0'; }

.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(240, 180, 41, 0.2); color: #ffd99a; }
.badge-defi          { background: rgba(232, 93, 74, 0.18); color: #ffb4a8; }
.badge-multi         { background: rgba(66, 133, 244, 0.2); color: #b6d0ff; }
.badge-entrainement  { background: rgba(76, 175, 80, 0.18); color: #b9e6bb; }

a.mode-card { text-decoration: none; display: block; }
/* Cartes de modes en H3 sous le H2 « Choisis ton mode » : même rendu que les H2 du socle. */
a.mode-card h3 { margin: 6px 0 4px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #f0f3f6; }
h2.modes-header { font-family: inherit; font-size: 0.76rem; line-height: 1.4; margin: 16px 0 12px; }
@media (max-width: 480px) {
  a.mode-card h3 { font-size: 0.85rem; }
}

.lien-classement-accueil { text-align: center; margin: 14px 0 26px; }
.lien-classement-accueil a {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(244, 194, 122, 0.4);
  border-radius: 999px;
  background: rgba(180, 106, 36, 0.14);
  color: #fff3df;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.lien-classement-accueil a:hover,
.lien-classement-accueil a:focus-visible { border-color: #f4c27a; color: #ffffff; }

/* 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(244, 194, 122, 0.2); border-radius: 10px; background: rgba(180, 106, 36, 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: #f4c27a; }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-question:focus-visible { outline: 2px solid #f4c27a; outline-offset: -2px; }
.faq-answer { padding: 0 14px 14px; line-height: 1.6; }
.faq-answer[hidden] { display: none; }

.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(244, 194, 122, 0.2); vertical-align: top; }
.table-regles thead th { color: #f4c27a; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.table-regles td:last-child { font-variant-numeric: tabular-nums; }
