:root {
  --primary: #f97316; --primary-dark: #ea580c; --pink: #ec4899;
  --bg: #faf7f5; --card: #fff; --text: #1c1917; --muted: #78716c;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif;
       background: var(--bg); color: var(--text); margin: 0; line-height: 1.5; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding: 40px 20px; }

.nav { background: #fff; border-bottom: 1px solid #f3e8e0; position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; justify-content: space-between; align-items: center;
             height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; font-size: 20px; text-decoration: none; color: var(--text); }
.logo span { color: var(--primary); }
.join-form { display: flex; gap: 8px; align-items: center; }
.join-form input { padding: 8px 12px; }

.hero { background: linear-gradient(135deg, #7c3aed, #ec4899, #f97316);
        color: #fff; padding: 80px 0; }
.hero h1 { font-size: 44px; margin: 0 0 16px; }
.hero h1 em { color: #fde047; font-style: normal; }
.lead { font-size: 18px; opacity: .9; }
.hero-ctas { margin-top: 32px; display: flex; flex-direction: column;
             gap: 12px; align-items: center; }
.join-hero { display: flex; gap: 8px; justify-content: center; }
.join-hero input { padding: 14px 20px; border-radius: 999px; border: 0;
                   font-size: 18px; font-weight: 700; text-transform: uppercase;
                   letter-spacing: .2em; width: 220px; text-align: center; }

.btn { display: inline-block; padding: 10px 20px; border-radius: 999px;
       border: 0; cursor: pointer; font-weight: 700; font-size: 15px;
       text-decoration: none; transition: transform .1s; color: var(--text);
       background: none; }
.btn.primary { background: linear-gradient(90deg, var(--primary), var(--pink));
               color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.35); }
.btn.primary:hover { transform: translateY(-2px); }
.btn.outline { background: #fff; border: 2px solid #e7e5e4; }
.btn.ghost { color: var(--muted); }
.btn.lg { padding: 16px 32px; font-size: 18px; }
.btn.sm { padding: 6px 14px; font-size: 13px; }

.card { background: var(--card); border: 1px solid #eee5df;
        border-radius: var(--radius); padding: 18px; margin: 8px 0;
        text-decoration: none; color: inherit; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.badge { background: #fff3e8; color: var(--primary-dark); border-radius: 999px;
         padding: 3px 12px; font-size: 12px; font-weight: 700; }
.badge.playing { background: #dcfce7; color: #166534; }
.badge.accepted { background: #dbeafe; color: #1e40af; }
.badge.pending { background: #fef3c7; color: #92400e; }
.badge.lg { font-size: 16px; padding: 6px 16px; }

.full { width: 100%; padding: 12px 16px; border-radius: 999px;
        border: 1.5px solid #e7e5e4; font-size: 16px; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, select { padding: 10px 14px; border-radius: 10px;
                border: 1.5px solid #e7e5e4; font-size: 15px; }
.error-msg { background: #fee2e2; color: #991b1b; padding: 10px 16px;
             border-radius: 10px; }
.ok-msg { background: #ecfdf5; color: #065f46; padding: 12px 16px;
          border-radius: 10px; border: 1px solid #a7f3d0; margin: 12px 0; }

.stats-grid { display: grid; grid-template-columns:
              repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 20px 0; }
.stat { background: #fff; border: 1px solid #eee5df; border-radius: var(--radius);
        padding: 20px; text-align: center; }
.stat b { font-size: 28px; display: block; color: var(--primary-dark); }
.stat span { font-size: 12px; text-transform: uppercase;
             letter-spacing: .08em; color: var(--muted); }

.table { width: 100%; border-collapse: collapse; background: #fff;
         border-radius: var(--radius); overflow: hidden; margin-top: 12px; }
.table th { text-align: left; padding: 10px 14px; background: #fdf4ef; font-size: 13px; }
.table td { padding: 10px 14px; border-top: 1px solid #f5ebe4; }

/* Écran public */
.stage { display: flex; flex-direction: column; align-items: center;
         justify-content: center; min-height: 100vh; }
.stage-inner { text-align: center; padding: 40px; }
.stage-annonce { text-transform: uppercase; letter-spacing: .3em; color: #a78bfa; }
.stage-title, .stage-next-singer { font-size: 56px; margin: 12px 0; }
.stage-artist { color: #fbbf24; font-size: 20px; margin: 0; }
.stage-song { font-size: 26px; color: #fde047; }
.stage-singer { font-size: 26px; }
.stage-next { margin-top: 40px; display: flex; gap: 10px;
              justify-content: center; flex-wrap: wrap; }
.stage-next span { background: rgba(255,255,255,.1); border-radius: 999px;
                   padding: 6px 18px; }
.stage-idle { font-size: 28px; line-height: 1.6; }

.guest { max-width: 560px; margin: 0 auto; }
.guest .container { max-width: 560px; }
.footer { background: #1c1917; color: #a8a29e; padding: 24px 0; text-align: center; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
         background: #1c1917; color: #fff; padding: 10px 22px;
         border-radius: 999px; font-size: 14px; z-index: 99; }