/* Akwaba Meet — couleurs Akwabax (orange, violet) sur fond nuit */
:root { --nuit: #0b1020; --nuit2: #121a30; --nuit3: #1b2540; --orange: #f77f00; --rose: #e11d48; --violet: #7c3aed; --vert: #10b981; --texte: #e8ecf6; --gris: #8b95b2; }
* { box-sizing: border-box; }
html { background: var(--nuit); }
html, body { margin: 0; min-height: 100vh; color: var(--texte); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
.fond { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.vue { position: relative; z-index: 1; }
.fond span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .35; animation: flotte 18s ease-in-out infinite alternate; }
.fond span:nth-child(1) { background: var(--orange); top: -25vmax; left: -15vmax; }
.fond span:nth-child(2) { background: var(--violet); bottom: -30vmax; right: -20vmax; animation-delay: -6s; }
.fond span:nth-child(3) { background: var(--rose); top: 30%; left: 40%; width: 35vmax; height: 35vmax; opacity: .18; animation-delay: -12s; }
@keyframes flotte { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

.barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; }
.marque { display: flex; align-items: center; gap: 10px; font-size: 20px; text-decoration: none; }
.marque img { width: 36px; height: 36px; }
.marque b { color: var(--orange); }
.marque small { display: block; font-size: 11px; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.marque span b { color: var(--texte); font-size: 16px; }
.btn { border: 0; border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 700; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; transition: transform .15s, background .2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.18); }
.btn:active { transform: scale(.97); }
.btn-orange { background: linear-gradient(135deg, var(--orange), var(--rose)); box-shadow: 0 10px 30px -10px var(--orange); }
.btn-violet { background: linear-gradient(135deg, var(--violet), #db2777); box-shadow: 0 10px 30px -10px var(--violet); }
.btn-rouge { background: var(--rose); }
.btn-actif { background: var(--orange) !important; }
.btn-gros { padding: 13px 22px; font-size: 15px; }

.hero { max-width: 1100px; margin: 0 auto; padding: 4vh 22px 60px; text-align: center; animation: entree .7s ease both; }
@keyframes entree { from { opacity: 0; transform: translateY(18px); } }
.sur-titre { color: var(--orange); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
h1 { font-size: clamp(32px, 5.5vw, 62px); line-height: 1.05; margin: 10px 0 14px; font-weight: 900; }
.degrade { background: linear-gradient(90deg, var(--orange), #f472b6, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: brille 6s linear infinite; }
@keyframes brille { to { background-position: 200% center; } }
.chapo { color: #c4cbe0; max-width: 680px; margin: 0 auto 30px; font-size: 17px; }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; text-align: left; }
.carte { background: rgba(18,26,48,.75); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 24px; backdrop-filter: blur(14px); display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.carte:hover { transform: translateY(-4px); box-shadow: 0 25px 60px -25px rgba(0,0,0,.8); }
.carte h2 { margin: 0 0 4px; font-size: 20px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--gris); font-weight: 600; }
input, select { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: var(--texte); border-radius: 14px; padding: 12px 14px; font: inherit; outline: none; }
input:focus, select:focus { border-color: var(--orange); }
select option { background: var(--nuit2); }
.code { font-size: 26px; letter-spacing: .4em; text-transform: uppercase; text-align: center; font-weight: 800; }
.erreur { color: #fda4af; min-height: 1em; margin: 0; font-size: 13px; }
.atouts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; padding: 0; margin: 30px 0 0; color: #c4cbe0; font-size: 14px; }

/* salle */
#v-salle { height: 100dvh; display: flex; flex-direction: column; }
.barre-salle { padding: 10px 16px; background: rgba(11,16,32,.85); border-bottom: 1px solid rgba(255,255,255,.06); }
.actions-haut { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pastille { background: rgba(225,29,72,.2); color: #fecdd3; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pastille::before { content: "● "; color: var(--rose); animation: clignote 1.4s infinite; }
@keyframes clignote { 50% { opacity: .2; } }
.salle { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 340px; }
.scene { position: relative; background: #000; min-height: 0; display: grid; place-items: center; overflow: hidden; }
.scene video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.attente { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 18px; color: var(--gris); background: radial-gradient(circle at 50% 40%, #1b2540, #05070f); }
.anneaux { position: relative; width: 120px; height: 120px; margin: 0 auto; }
.anneaux span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: onde 2.4s ease-out infinite; }
.anneaux span:nth-child(2) { animation-delay: .8s; border-color: var(--violet); }
.anneaux span:nth-child(3) { animation-delay: 1.6s; border-color: var(--rose); }
@keyframes onde { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.plein { position: absolute; top: 12px; right: 12px; }
.sous-titres { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: 86%; text-align: center; font-size: clamp(15px, 2vw, 22px); font-weight: 600; text-shadow: 0 2px 6px #000; }
.sous-titres span { background: rgba(0,0,0,.65); padding: 4px 12px; border-radius: 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.7; }
.panneau { background: var(--nuit2); border-left: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; min-height: 0; }
.onglets { display: flex; gap: 4px; padding: 8px; }
.onglets button { flex: 1; border: 0; background: transparent; color: var(--gris); padding: 9px 6px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.onglets button.actif { background: rgba(247,127,0,.18); color: #fff; }
.o { flex: 1; overflow-y: auto; padding: 4px 12px 12px; min-height: 0; }
#gens { list-style: none; margin: 0; padding: 0; }
#gens li { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 14px; animation: entree .4s ease both; }
#gens li:hover { background: rgba(255,255,255,.05); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; flex: none; }
#gens .nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
#gens .role { font-size: 11px; color: var(--orange); font-weight: 800; }
#gens .main { font-size: 20px; animation: secoue 1s infinite; }
@keyframes secoue { 50% { transform: rotate(18deg); } }
#gens .retirer { border: 0; background: none; color: var(--gris); cursor: pointer; font-size: 13px; }
#texte, #chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#texte li, #chat li { background: rgba(255,255,255,.05); border-radius: 12px; padding: 8px 10px; font-size: 14px; animation: entree .3s ease both; }
#texte small, #chat small { color: var(--orange); font-weight: 700; display: block; font-size: 11px; }
#texte .tr { color: #a5b4fc; display: block; margin-top: 3px; }
.o-chat { display: flex; flex-direction: column; }
.o-chat ol { flex: 1; }
#f-chat { display: flex; gap: 6px; margin-top: 8px; }
#f-chat input { flex: 1; min-width: 0; }
.commandes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 12px; background: rgba(11,16,32,.92); border-top: 1px solid rgba(255,255,255,.06); }

/* compte-rendu */
.cr { max-width: 860px; margin: 10px auto 60px; background: #fff; color: #1f2937; border-radius: 22px; padding: 44px 52px; box-shadow: 0 30px 80px -30px #000; }
.cr h1 { color: #0b1020; font-size: 32px; margin-top: 0; }
.cr h2 { color: var(--orange); border-bottom: 2px solid #fde7d1; padding-bottom: 4px; margin-top: 28px; }
.cr h3 { color: #4c1d95; }
.cr .meta { color: #6b7280; font-size: 14px; }
.cr .ligne { padding: 4px 0; border-bottom: 1px dashed #e5e7eb; font-size: 14px; }
.cr .ligne b { color: #7c3aed; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%); background: var(--nuit3); border: 1px solid rgba(255,255,255,.12); padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: transform .35s; z-index: 99; max-width: 92vw; }
.toast.on { transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .salle { grid-template-columns: 1fr; grid-template-rows: minmax(220px, 1fr) 42%; }
  .panneau { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .barre-salle .actions-haut { gap: 6px; }
  #s-langue { max-width: 120px; }
  .cr { padding: 26px 20px; border-radius: 0; margin: 0; }
}
@media print { body { background: #fff; } .fond, .barre, .toast { display: none !important; } .cr { box-shadow: none; margin: 0; padding: 0; } }

/* accueil v2 : textes plus petits, responsive (27/10) */
html, body { font-size: 14px; }
.barre { padding: 10px 18px; }
.marque { font-size: 17px; }
.marque img { width: 30px; height: 30px; }
.hero { max-width: 980px; padding: 2.5vh 18px 40px; }
.sur-titre { font-size: 11px; }
h1 { font-size: clamp(24px, 4vw, 42px); margin: 6px 0 10px; }
.chapo { font-size: 14.5px; max-width: 600px; margin-bottom: 22px; }
.cartes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.carte { padding: 18px; border-radius: 18px; gap: 10px; }
.carte h2 { font-size: 16px; }
label { font-size: 12px; }
input, select { padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.code { font-size: 20px; letter-spacing: .3em; }
.btn { padding: 9px 16px; font-size: 13.5px; }
.carte .btn { justify-content: center; }
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; font-size: 12.5px; text-align: left; }
.atouts li { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 10px 12px; }
.atouts b { display: block; color: var(--texte); margin-bottom: 2px; }
@media (max-width: 700px) {
  .hero { padding: 8px 14px 28px; }
  h1 br { display: none; }
  h1 { font-size: 25px; }
  .chapo { font-size: 13.5px; margin-bottom: 16px; }
  .atouts { grid-template-columns: 1fr; }
  #b-installer { padding: 7px 12px; font-size: 12px; }
  .carte:hover { transform: none; }
  input { font-size: 16px; } /* évite le zoom auto iPhone */
}
