/* =========================================================
   BILLED — design commun (accueil + recrutement)
   ========================================================= */
:root {
  --bg: #07070d;
  --bg-2: #0e0e18;
  --carte: rgba(18, 18, 32, .72);
  --ink: #f2f3ff;
  --muted: #a6a9c8;
  --dim: #6a6e92;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --blurple: #5865f2;
  --violet: #9b6bff;
  --rose: #ff5fa2;
  --menthe: #3ee6b5;
  --rouge: #ff5c6c;
  --grad: linear-gradient(120deg, #5865f2 0%, #9b6bff 50%, #ff5fa2 100%);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(16px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
::selection { background: var(--blurple); color: #fff; }

/* ---------- Fond : lueurs + grille (dégradés simples, aucun flou coûteux) ---------- */
.fond { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fond::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.fond i { position: absolute; border-radius: 50%; will-change: transform; animation: flotte 22s ease-in-out infinite alternate; }
.fond i:nth-child(1) { width: 70vmax; height: 70vmax; left: -25vmax; top: -35vmax; background: radial-gradient(circle, rgba(88, 101, 242, .45), transparent 62%); }
.fond i:nth-child(2) { width: 55vmax; height: 55vmax; right: -22vmax; top: 10vh; background: radial-gradient(circle, rgba(155, 107, 255, .3), transparent 62%); animation-duration: 28s; }
.fond i:nth-child(3) { width: 50vmax; height: 50vmax; left: 25vw; bottom: -30vmax; background: radial-gradient(circle, rgba(255, 95, 162, .2), transparent 62%); animation-duration: 34s; }
@keyframes flotte { to { transform: translate3d(5vw, 6vh, 0) scale(1.1); } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 14px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, opacity .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-discord { background: var(--blurple); color: #fff; box-shadow: 0 12px 40px -12px rgba(88, 101, 242, .8); }
.btn-discord:hover { box-shadow: 0 18px 50px -12px rgba(88, 101, 242, 1); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 40px -14px rgba(155, 107, 255, .9); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-petit { padding: 10px 16px; font-size: 14px; border-radius: 12px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--pad); background: rgba(7, 7, 13, .8); border-bottom: 1px solid var(--line);
}
.marque { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); letter-spacing: -.02em; }
.marque .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; font-size: 17px; box-shadow: 0 6px 20px -6px rgba(155, 107, 255, .8); overflow: hidden; }
.marque .logo img { width: 100%; height: 100%; object-fit: cover; }
.marque .logo:has(img) { background: #fff; box-shadow: 0 6px 20px -6px rgba(155, 107, 255, .6); }
.nav-liens { display: flex; align-items: center; gap: 6px; }
.nav-liens a:not(.btn) { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 14px; transition: color .2s, background .2s; }
.nav-liens a:not(.btn):hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
@media (max-width: 720px) { .nav-liens a:not(.btn) { display: none; } }

/* ---------- Accueil ---------- */
.hero { position: relative; padding: clamp(70px, 12vw, 140px) var(--pad) clamp(60px, 9vw, 110px); max-width: 1180px; margin: 0 auto; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13px; }
.badge .pt { width: 8px; height: 8px; border-radius: 50%; background: var(--menthe); box-shadow: 0 0 0 0 rgba(62, 230, 181, .6); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(62, 230, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 181, 0); } }
.titre-geant { margin: 26px 0 0; font: 800 clamp(64px, 17vw, 210px)/.9 var(--display); letter-spacing: -.06em; }
.titre-geant span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slogan { margin: 20px auto 0; font: 600 clamp(20px, 3vw, 28px)/1.3 var(--display); letter-spacing: -.02em; max-width: 720px; }
.description { margin: 18px auto 0; color: var(--muted); font-size: 17px; max-width: 620px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.stat { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--carte); }
.stat b { font: 700 20px var(--display); }
.stat small { color: var(--muted); font-size: 13px; }
.stat .pt { width: 9px; height: 9px; border-radius: 50%; }

.section { max-width: 1180px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--pad) 0; }
.section-titre { display: flex; align-items: baseline; gap: 14px; margin: 0 0 36px; }
.section-titre small { font: 500 12px var(--mono); color: var(--violet); letter-spacing: .15em; text-transform: uppercase; }
.section-titre h2 { margin: 0; font: 800 clamp(34px, 6vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.carte {
  position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--carte);
  transition: transform .45s var(--ease), border-color .3s, background .3s;
}
.carte:hover { transform: translateY(-4px); border-color: rgba(155, 107, 255, .45); background: rgba(24, 22, 44, .8); }
.carte .ico { font-size: 30px; line-height: 1; }
.carte h3 { margin: 16px 0 8px; font: 700 19px var(--display); letter-spacing: -.02em; }
.carte p { margin: 0; color: var(--muted); font-size: 15px; }

.recrute {
  position: relative; overflow: hidden; padding: clamp(30px, 5vw, 56px); border-radius: 30px; border: 1px solid rgba(155, 107, 255, .35);
  background: radial-gradient(ellipse at 100% 0%, rgba(155, 107, 255, .25), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(88, 101, 242, .25), transparent 55%), var(--bg-2);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center;
}
.recrute h2 { margin: 0 0 14px; font: 800 clamp(30px, 5vw, 52px)/1.05 var(--display); letter-spacing: -.04em; }
.recrute h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.recrute p { color: var(--muted); margin: 0 0 26px; }
.etapes { display: grid; gap: 12px; }
.etape { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.etape b { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); font: 700 15px var(--display); }
.etape span { display: block; font-weight: 600; }
.etape small { color: var(--muted); font-size: 14px; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.roles span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .recrute { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: var(--carte); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--display); color: var(--violet); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--muted); }

.pied { max-width: 1180px; margin: clamp(70px, 10vw, 120px) auto 0; padding: 26px var(--pad) 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; }
.pied a { color: var(--muted); }
.pied a:hover { color: var(--ink); }

/* apparition au défilement */
.apparait { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.apparait.vu { opacity: 1; transform: none; }

/* =========================================================
   RECRUTEMENT (façon Typeform)
   ========================================================= */
.recrutement { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.progression { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 30; background: rgba(255, 255, 255, .06); }
.progression i { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s var(--ease); box-shadow: 0 0 14px rgba(155, 107, 255, .8); }
.scene { flex: 1; display: grid; place-items: center; padding: 30px var(--pad) 110px; position: relative; overflow: hidden; }
.ecran { width: min(680px, 100%); }
.ecran.entre { animation: entre .6s var(--ease) both; }
.ecran.entre-arriere { animation: entreArriere .6s var(--ease) both; }
.ecran.sort { animation: sort .35s ease-in both; }
.ecran.sort-arriere { animation: sortArriere .35s ease-in both; }
@keyframes entre { from { opacity: 0; transform: translateY(50px); } }
@keyframes entreArriere { from { opacity: 0; transform: translateY(-50px); } }
@keyframes sort { to { opacity: 0; transform: translateY(-40px); } }
@keyframes sortArriere { to { opacity: 0; transform: translateY(40px); } }

.kicker { display: flex; align-items: center; gap: 10px; color: var(--violet); font: 500 13px var(--mono); letter-spacing: .08em; }
.kicker .fl { color: var(--dim); }
.ecran h1 { margin: 14px 0 12px; font: 700 clamp(26px, 4.4vw, 40px)/1.2 var(--display); letter-spacing: -.03em; }
.ecran .aide { color: var(--muted); margin: 0 0 26px; font-size: 16px; }
.ecran .requis { color: var(--rose); }

.champ {
  width: 100%; border: 0; border-bottom: 2px solid var(--line-2); background: transparent; color: var(--ink);
  font: 500 clamp(20px, 3vw, 26px)/1.4 var(--sans); padding: 10px 2px; outline: none; transition: border-color .3s; resize: none;
}
.champ::placeholder { color: var(--dim); }
.champ:focus { border-color: var(--violet); }
textarea.champ { min-height: 120px; font-size: 19px; }
.compteur { text-align: right; font: 12px var(--mono); color: var(--dim); margin-top: 6px; }

.options { display: grid; gap: 10px; }
.option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 17px; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.option:hover { border-color: rgba(155, 107, 255, .6); background: rgba(155, 107, 255, .08); }
.option kbd { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; font: 600 12px var(--mono); color: var(--muted); }
.option.choisi { border-color: var(--violet); background: rgba(155, 107, 255, .16); }
.option.choisi kbd { background: var(--violet); border-color: var(--violet); color: #fff; }
.option.choisi::after { content: "✓"; margin-left: auto; color: var(--violet); font-weight: 700; }
.option.clic { animation: clic .35s var(--ease); }
@keyframes clic { 40% { transform: scale(.97); } }

.actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.astuce { color: var(--dim); font-size: 13px; }
.astuce kbd { font: 12px var(--mono); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); }
.erreur { margin-top: 14px; color: var(--rouge); font-size: 15px; min-height: 1.2em; }
.erreur.secoue { animation: secoue .4s; }
@keyframes secoue { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.bas {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px var(--pad); background: linear-gradient(transparent, rgba(7, 7, 13, .95) 40%);
}
.nav-q { display: flex; gap: 6px; }
.nav-q button { width: 44px; height: 44px; border-radius: 12px; background: var(--blurple); color: #fff; font-size: 18px; transition: opacity .2s, transform .2s var(--ease); }
.nav-q button:disabled { opacity: .3; }
.nav-q button:not(:disabled):hover { transform: translateY(-2px); }
.bas .etat { color: var(--dim); font: 13px var(--mono); }

.profil { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--carte); margin: 22px 0 26px; }
.profil img { width: 52px; height: 52px; border-radius: 50%; }
.profil b { display: block; font-size: 17px; }
.profil small { color: var(--muted); }
.note { color: var(--dim); font-size: 13px; margin-top: 18px; }

.recap { display: grid; gap: 10px; margin: 20px 0 28px; max-height: 52vh; overflow-y: auto; padding-right: 6px; }
.recap div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--carte); }
.recap small { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.recap small button { color: var(--violet); font-size: 13px; }
.recap p { margin: 6px 0 0; white-space: pre-wrap; word-break: break-word; }

.succes-ico { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; background: var(--grad); box-shadow: 0 20px 60px -15px rgba(155, 107, 255, .9); animation: pop .7s var(--ease) both; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: tombe linear forwards; }
@keyframes tombe { to { transform: translate3d(var(--x), 110vh, 0) rotate(var(--r)); } }

.chargement { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--violet); animation: tourne .8s linear infinite; margin: 0 auto; }
@keyframes tourne { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* ---------- L'équipe (remplie par le bot Discord) ---------- */
.equipe-bloc + .equipe-bloc { margin-top: 34px; }
.equipe-nom { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 15px var(--display); letter-spacing: .02em; }
.equipe-nom i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.equipe-nom small { color: var(--muted); font: 500 12px var(--mono); }
.membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.membre { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--carte); transition: transform .3s var(--ease), border-color .3s; }
.membre:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.membre img { width: 44px; height: 44px; border-radius: 50%; flex: none; background: #1a1830; box-shadow: 0 0 0 2px var(--c); }
.membre div { min-width: 0; }
.membre b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.membre small { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* encart confidentialité */
.confiance { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(62, 230, 181, .25); background: rgba(62, 230, 181, .06); color: var(--muted); font-size: 13.5px; line-height: 1.5; text-align: left; }
.confiance b { color: var(--menthe); font-weight: 600; }

/* ---------- pages légales ---------- */
.legal { position: relative; max-width: 780px; margin: 0 auto; padding: 120px var(--pad) 40px; line-height: 1.7; }
.legal-kicker { font: 500 12px var(--mono); color: var(--violet); letter-spacing: .15em; text-transform: uppercase; }
.legal h1 { margin: 10px 0 6px; font: 800 clamp(26px, 7.4vw, 54px)/1.08 var(--display); letter-spacing: -.04em; overflow-wrap: break-word; hyphens: auto; }
.legal-maj { margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 42px 0 10px; font: 700 21px var(--display); letter-spacing: -.02em; }
.legal h3 { margin: 22px 0 6px; font-size: 16px; color: var(--ink); }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal b { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--violet); }
.legal a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font: 500 13px var(--mono); padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--ink); }
.legal-resume { padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(62, 230, 181, .25); background: rgba(62, 230, 181, .06); }
.legal-resume > b { color: var(--menthe); }
.legal-liens { margin-top: 44px; }
.pied a { color: var(--muted); }
.pied a:hover { color: var(--ink); }
/* compteur « sur le site en ce moment » */
.stat[hidden] { display: none; }
.pt-live { background: var(--rose); box-shadow: 0 0 0 0 rgba(255, 95, 162, .7); animation: pouls-rose 1.8s infinite; }
@keyframes pouls-rose { 0% { box-shadow: 0 0 0 0 rgba(255, 95, 162, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 95, 162, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 95, 162, 0); } }
#surSite.bump { animation: bump .5s var(--ease); display: inline-block; }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.3); color: var(--rose); } 100% { transform: scale(1); } }
/* postes du recrutement (boutons « Postuler ») */
.roles-titre { margin: 22px 0 10px; font-weight: 600; color: var(--ink); }
.postes { display: grid; gap: 10px; margin-bottom: 22px; }
.poste { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: transform .3s var(--ease), border-color .25s, background .25s; }
.poste:hover { transform: translateX(4px); border-color: rgba(155, 107, 255, .6); background: rgba(155, 107, 255, .08); }
.poste-ico { font-size: 26px; line-height: 1; flex: none; }
.poste-txt { flex: 1; min-width: 0; }
.poste-txt b { display: block; font: 700 16px var(--display); letter-spacing: -.01em; }
.poste-txt small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.poste-go { flex: none; font-size: 13px; font-weight: 600; color: var(--violet); white-space: nowrap; }
@media (max-width: 520px) { .poste-go { display: none; } }
/* les liens #ancre ne passent pas sous la barre du haut */
.section { scroll-margin-top: 76px; }

/* petit message (mode testeur) */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 99; padding: 11px 18px; border-radius: 12px; background: rgba(18, 18, 32, .95); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .7); animation: entre .4s var(--ease) both; }

/* téléphone : le bloc « Le staff recrute » tient en entier à l'écran */
@media (max-width: 600px) {
  .recrute h2 { font-size: 30px; margin-bottom: 10px; }
  .recrute p { font-size: 14.5px; line-height: 1.5; margin: 0 0 8px; }
  .roles-titre { margin: 12px 0 8px; }
  .postes { gap: 7px; margin-bottom: 14px; }
  .poste { padding: 10px 12px; gap: 11px; border-radius: 13px; }
  .poste-ico { font-size: 21px; }
  .poste-txt b { font-size: 14.5px; }
  .poste-txt small { display: none; }
}
/* ---------- compte Discord (barre du haut) ---------- */
.compte { position: relative; display: inline-flex; }
.compte-puce { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.compte-puce img { width: 28px; height: 28px; border-radius: 50%; }
.compte-puce span { max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compte-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 220px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(14, 14, 26, .97); box-shadow: 0 16px 50px -12px rgba(0, 0, 0, .8); }
.compte-menu small { display: block; color: var(--muted); margin-bottom: 10px; }
.compte-menu button { width: 100%; padding: 9px 12px; border-radius: 10px; background: rgba(255, 95, 126, .12); color: #ff8fa3; font-weight: 600; cursor: pointer; }
@media (max-width: 600px) { .compte-puce span { display: none; } .compte-puce { padding: 4px; } }

/* ---------- postes (connecté / pas connecté) ---------- */
.postes-info { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.postes-info b { color: var(--ink); }
.poste-off { opacity: .55; }
.poste-off:hover { transform: none; }
a.poste-off { opacity: .7; }
a.poste-off:hover { opacity: 1; }
.badge-promo { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(62, 230, 181, .14); color: var(--menthe); font: 600 11px var(--mono); font-style: normal; vertical-align: 2px; }
/* téléphone : la barre du haut ne déborde pas (« Rejoindre » est déjà en grand dans la page) */
@media (max-width: 600px) { .nav-liens .rejoindre { display: none; } .compte .btn-petit { padding: 8px 12px; font-size: 13px; } }

/* fenêtre « poste d'entrée ou responsable ? » (accueil) */
.choix-poste { width: min(520px, calc(100vw - 32px)); padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); }
.choix-poste::backdrop { background: rgba(4, 4, 10, .7); backdrop-filter: blur(6px); }
.choix-poste h3 { margin: 0 0 8px; font: 700 20px var(--display); }
.choix-poste p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.choix-poste p b { color: var(--ink); }
.choix-poste .postes { margin-bottom: 16px; }
.choix-poste .choix-sous { display: block !important; color: var(--dim); font-size: 12.5px; margin-top: 4px; }
