/* Quiz en direct — La Bridgerie. Charte : vert sapin #0E3B2E, or #C9A227, bordeaux #7A1F2B, crème #F7F3E9. */
* { box-sizing: border-box; }
body { margin: 0; color: #2A2A2A; font-family: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: 0.6; }
[hidden] { display: none !important; }
#hors-ligne { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; z-index: 10;
  background: #7A1F2B; color: #F7F3E9; padding: 8px 18px; border-radius: 999px; font-size: 16px; }

/* ---------- Animateur ---------- */
.page-animateur { background: #F7F3E9 url(fond.svg); }
.bandeau { background: #0E3B2E; color: #F7F3E9; border-bottom: 4px solid #C9A227; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bandeau form { margin: 0; }
.marque { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.marque b { font-family: Georgia, serif; font-weight: 400; font-size: 26px; }
.marque span { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: #D9D2BF; }
.contenu { max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; }
.carte { background: #FFFFFF; border: 1px solid #D8CCAE; border-radius: 12px; padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.carte h1 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: 30px; color: #0E3B2E; }
.carte p { margin: 0; font-size: 17px; }
.connexion { max-width: 420px; margin: 40px auto; }
.connexion label { font-size: 18px; font-weight: 600; }
input[type=text], input[type=password], input[type=number], input:not([type]) { height: 44px; border: 1px solid #B9AE90;
  border-radius: 8px; padding: 0 12px; font: inherit; font-size: 17px; background: #FFFFFF; }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px;
  border: 1px solid transparent; font: 700 17px 'Source Sans 3', sans-serif; text-decoration: none; }
.bouton.or { background: #C9A227; color: #1B1B1B; }
.bouton.vert { background: #0E3B2E; color: #F7F3E9; }
.bouton.bordeaux { background: #FFFFFF; color: #7A1F2B; border-color: #7A1F2B; }
.bouton.discret { background: transparent; color: #F7F3E9; border-color: #8FA79C; }
.bouton.grand { min-height: 54px; font-size: 20px; align-self: flex-start; padding: 0 32px; }
.ligne-boutons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ligne-boutons form { margin: 0; }
.alerte { background: #FBE9E7; border: 1px solid #9E2A2B; color: #7A1F2B; border-radius: 8px; padding: 12px 16px; font-size: 17px; margin: 0 0 18px; }
.aide { color: #5A5A5A; font-size: 15px; }
.reglages { display: flex; flex-wrap: wrap; gap: 20px; }
.reglages label, .ligne-boutons label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; }
.reglages input[name=titre] { width: 360px; max-width: 100%; }
.filtres { border: 1px solid #E2D8BF; border-radius: 8px; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.filtres legend { font-weight: 700; color: #0E3B2E; padding: 0 6px; }
.filtres label { font-size: 17px; display: flex; align-items: center; gap: 6px; }
.filtres .nombre-questions { color: #6B6256; }
.liste { width: 100%; border-collapse: collapse; font-size: 16px; }
.liste th { text-align: left; color: #0E3B2E; border-bottom: 2px solid #C9A227; padding: 8px 6px; }
.liste td { border-bottom: 1px solid #E2D8BF; padding: 8px 6px; vertical-align: top; }
.liste input[type=checkbox], .filtres input[type=checkbox] { width: 20px; height: 20px; accent-color: #0E3B2E; }

/* ---------- Grand écran ---------- */
.page-projection { margin: 0; overflow: hidden; background: #0E3B2E; }
#cadre { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#scene { width: 1280px; height: 720px; flex: none; transform-origin: center center; }
.dq-pied .pied-gauche { display: flex; align-items: center; gap: 22px; }
.dq-pied .pied-boutons { display: flex; gap: 10px; }
.dq-pied button { border-radius: 8px; padding: 9px 18px; font: 700 16px 'Source Sans 3', sans-serif; }
.dq-pied button.principal { background: #C9A227; color: #1B1B1B; border: 0; }
.dq-pied button.secondaire { background: transparent; color: #F7F3E9; border: 1px solid #8FA79C; font-weight: 600; }
.minuteur { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: #F7F3E9; }
.minuteur .fini { color: #C9A227; }
.ecran .dq-infos { font-size: 18px; }
.accueil { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; min-height: 0; }
.accueil h1 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: 56px; color: #0E3B2E; }
.accueil .etapes { display: flex; gap: 28px; font-size: 22px; }
.accueil .etapes strong { color: #7A1F2B; }
.accueil .adresse { margin: 0; font-size: 20px; color: #444444; }
.accueil .adresse strong { color: #0E3B2E; font-size: 26px; letter-spacing: 1px; }
.accueil .adresse a { color: #0E3B2E; font-size: 24px; }
.inscrits { margin-top: 14px; width: 1000px; background: rgba(255, 255, 255, 0.85); border: 1px solid #C9A227; border-radius: 12px;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; font-size: 20px; color: #444444; max-height: 300px; overflow: hidden; }
.inscrits strong { font-size: 30px; color: #7A1F2B; }
.noms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.noms span { background: #0E3B2E; color: #F7F3E9; border-radius: 999px; padding: 6px 16px; font-size: 20px; font-weight: 700; }
.noms.serre span { font-size: 16px; padding: 4px 12px; }
.titre-classement { margin: 0; text-align: center; font-family: Georgia, serif; font-weight: 400; font-size: 44px; color: #0E3B2E; }
.classement { flex: 1; display: flex; gap: 48px; align-items: flex-end; min-height: 0; }
.podium { display: flex; align-items: flex-end; gap: 14px; padding-bottom: 6px; }
.marche { width: 170px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.marche.premier { width: 190px; }
.marche .nom { font-size: 26px; font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.marche.premier .nom { font-size: 30px; }
.marche .pts { font-size: 20px; color: #7A5E00; font-weight: 700; }
.marche .socle { width: 100%; border-radius: 8px 8px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 14px;
  font-family: Georgia, serif; font-size: 48px; }
.marche.premier .socle { background: #C9A227; color: #1B1B1B; font-size: 60px; }
.marche.deuxieme .socle { background: #1B4D3E; color: #D9D2BF; border: 1px solid rgba(201, 162, 39, 0.5); }
.marche.troisieme .socle { background: #7A1F2B; color: #F7F3E9; font-size: 44px; }
.tableau-final { flex: 1; align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; gap: 0 28px;
  max-height: 100%; overflow: hidden; }
.rang-final { display: grid; grid-template-columns: 44px 1fr 90px; align-items: center; padding: 7px 4px;
  border-bottom: 1px solid rgba(14, 59, 46, 0.2); font-size: 20px; }
.rang-final span:first-child { color: #7A5E00; font-weight: 700; }
.rang-final span:nth-child(2) { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rang-final span:last-child { text-align: right; color: #444444; }
.tableau-final.serre .rang-final { font-size: 16px; padding: 3px 4px; }

/* ---------- Téléphone ---------- */
.page-telephone { background: #F7F3E9 url(fond.svg); min-height: 100vh; min-height: 100dvh; }
.telephone { min-height: 100vh; min-height: 100dvh; max-width: 480px; margin: 0 auto; padding: 22px 20px 26px;
  display: flex; flex-direction: column; gap: 16px; }
.tel-marque { text-align: center; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; }
.tel-marque b { font-family: Georgia, serif; font-weight: 400; font-size: 30px; color: #0E3B2E; }
.tel-marque span { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: #5A5A5A; }
.tel-vide { flex: 1; }
.tel-centre { margin: 0; text-align: center; font-size: 20px; line-height: 1.45; color: #2A2A2A; }
.tel-formulaire { display: flex; flex-direction: column; gap: 14px; }
.tel-formulaire label { font-size: 20px; font-weight: 600; }
.tel-formulaire input { height: 56px; border-radius: 10px; border: 2px solid #C9A227; font: 600 22px 'Source Sans 3', sans-serif; padding: 0 16px; }
.tel-bouton { height: 60px; border: 0; border-radius: 10px; background: #C9A227; color: #1B1B1B; font: 800 22px 'Source Sans 3', sans-serif; }
.tel-erreur { margin: 0; min-height: 22px; color: #7A1F2B; font-size: 17px; }
.tel-note { margin: 0; text-align: center; font-size: 16px; color: #5A5A5A; }
.tel-haut { display: flex; justify-content: space-between; align-items: center; font-size: 18px; color: #444444; }
.tel-haut strong { color: #0E3B2E; }
.tel-minuteur { text-align: center; font-size: 44px; font-weight: 800; color: #0E3B2E; }
.tel-minuteur.fini { font-size: 28px; color: #7A5E00; padding: 8px 0; }
.tel-consigne { margin: 0; text-align: center; font-size: 17px; color: #444444; }
.tel-choix-liste { display: flex; flex-direction: column; gap: 14px; }
.tel-choix { min-height: 84px; border-radius: 12px; border: 4px solid #D8CCAE; background: #FFFFFF; color: #2A2A2A;
  display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; padding: 0; text-align: left;
  font-family: 'Source Sans 3', sans-serif; -webkit-tap-highlight-color: transparent; }
.tel-choix.choisi { background: #FFF1C2; border-color: #C9A227; }
.tel-choix .num { font-size: 24px; font-weight: 700; color: #6B5B2E; text-align: center; }
.tel-choix .txt { font-size: 34px; font-weight: 800; line-height: 1.15; padding: 8px 0; overflow-wrap: anywhere; }
.tel-choix .txt.long { font-size: 22px; }
.tel-choix .coche { font-size: 26px; color: #0E3B2E; }
.tel-etat { margin: 0; text-align: center; font-size: 16px; color: #444444; line-height: 1.4; }
.tel-titre { margin: 0; text-align: center; font-family: Georgia, serif; font-size: 30px; color: #0E3B2E; }
.tel-gris { margin: 0; text-align: center; font-size: 20px; color: #444444; }
.tel-gris strong { color: #0E3B2E; }
.tel-grand { margin: 0; text-align: center; font-size: 52px; font-weight: 800; }
.tel-pastille { margin: 0; align-self: center; background: #C9A227; color: #1B1B1B; border-radius: 999px; padding: 10px 30px; font-size: 34px; font-weight: 800; }
