/* ───────────── Tokens ───────────── */
:root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text-2: #cccccc;
  --muted: #8a8f98;
  --dim: #5c6068;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-3: #efe7ff;
  --accent-glow: rgba(139, 92, 246, 0.45);
  --ok: #3ecf8e;
  --warn: #f5b84a;
  --bad: #ef5d5d;
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 35% -12%, rgba(139, 92, 246, 0.17), transparent 62%),
    radial-gradient(900px 600px at 100% 0%, rgba(139, 92, 246, 0.09), transparent 60%),
    radial-gradient(1300px 760px at 55% 118%, rgba(139, 92, 246, 0.07), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(139, 92, 246, 0.4); }

/* ───────────── Header ───────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 36px;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 600; letter-spacing: 0.32em; font-size: 15px; }
.brand-mark { font-size: 14px; color: var(--text-2); letter-spacing: 0; transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-link { font-size: 13px; color: var(--muted); transition: color .2s; }
.nav-link:hover { color: var(--text); }

/* ───────────── Buttons ───────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 9999px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  border: 1px solid var(--accent-glow);
  background: linear-gradient(#141418, #070709);
  box-shadow: 0 0 22px -4px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow .25s, border-color .25s, transform .15s, opacity .2s;
}
.btn:hover { border-color: rgba(139, 92, 246, 0.8); box-shadow: 0 0 30px -2px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255,255,255,.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-primary {
  background: linear-gradient(135deg, #9d6bff, #6a3de0);
  border-color: rgba(200, 175, 255, 0.6);
  box-shadow: 0 0 30px -4px rgba(139, 92, 246, 0.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 0 40px -2px rgba(139, 92, 246, 0.85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: transparent; border-color: var(--line-strong); box-shadow: none; color: var(--text-2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); box-shadow: none; color: var(--text); }
.btn-danger { border-color: rgba(239, 93, 93, .45); box-shadow: 0 0 18px -6px rgba(239, 93, 93, .5); }
.btn-danger:hover { border-color: rgba(239, 93, 93, .8); box-shadow: 0 0 24px -4px rgba(239, 93, 93, .6); }
.btn-rec { background: radial-gradient(circle at 50% 40%, #ff6b6b, #c52f2f); border-color: rgba(255, 140, 140, .6); box-shadow: 0 0 30px -4px rgba(239, 93, 93, .7); }

/* ───────────── Typo helpers ───────────── */
.grad {
  background: linear-gradient(120deg, var(--accent-3), var(--accent-2) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ───────────── Landing ───────────── */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 130px 16px 150px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: -1px;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .46; translate: var(--px, 0) var(--py, 0); transition: translate .6s ease-out; }
.orb-1 { width: 520px; height: 520px; left: 50%; top: 8%; margin-left: -420px; background: radial-gradient(circle, #7c3aed, transparent 65%); animation: drift1 16s ease-in-out infinite alternate; }
.orb-2 { width: 460px; height: 460px; left: 50%; top: 18%; margin-left: 20px; background: radial-gradient(circle, #a855f7, transparent 65%); opacity: .33; animation: drift2 19s ease-in-out infinite alternate; }
.orb-3 { width: 340px; height: 340px; left: 50%; top: 46%; margin-left: -170px; background: radial-gradient(circle, #c084fc, transparent 65%); opacity: .23; animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-70px, 30px) scale(.9); } }

/* Horizon lumineux (bord d'une planète) */
.horizon {
  position: absolute; left: 50%; top: calc(100% - 130px); width: max(1500px, 140vw); aspect-ratio: 1 / 1; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(closest-side, #050505 96%, transparent);
  box-shadow:
    0 -1px 0 0 rgba(221, 206, 255, .68),
    0 -8px 28px -4px rgba(167, 139, 250, .55),
    0 -60px 160px -10px rgba(139, 92, 246, .45),
    inset 0 30px 60px -30px rgba(167, 139, 250, .45);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 12px; border-radius: 99px;
  font-size: 13px; color: var(--text-2); background: rgba(139, 92, 246, .1);
  border: 1px solid rgba(167, 139, 250, .3); backdrop-filter: blur(8px); transition: border-color .25s, background .25s;
}
.hero-badge:hover { border-color: rgba(167, 139, 250, .6); background: rgba(139, 92, 246, .16); }
.hero-badge b { color: #fff; font-weight: 600; }
.hero-badge .arr { color: var(--accent-2); transition: transform .25s; }
.hero-badge:hover .arr, .btn:hover .arr { transform: translateX(3px); }
.btn .arr { display: inline-block; transition: transform .25s; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(62, 207, 142, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(62, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); } }

.hero-title {
  margin-top: 30px; font-size: clamp(64px, 13vw, 168px); font-weight: 700; line-height: .95;
  letter-spacing: .14em; margin-right: -.14em;
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 38%, #e4d9ff 46%, #b69cff 50%, #e4d9ff 54%, #ffffff 62%, #f1ecff 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: titleIn .9s cubic-bezier(.2,.7,.2,1) both, sheen 7s ease-in-out 1.2s infinite;
  animation-delay: var(--d, 0ms), 1.2s;
}
/* Pas de filter sur le titre : sur mobile, filter + texte en dégradé = rendu flou.
   La lueur est un halo séparé, placé derrière. */
.hero-inner::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 40px; width: min(720px, 110vw); height: 260px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .26), transparent);
}
@keyframes titleIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes sheen { 0% { background-position: 100% 0; } 45%, 100% { background-position: -50% 0; } }
.hero .lead { margin-top: 26px; font-size: clamp(17px, 2.3vw, 22px); color: var(--text-2); max-width: 620px; }
.hero .cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* Cartes flottantes */
.float-card {
  position: absolute; z-index: 1; width: 230px; padding: 14px 16px; border-radius: 16px; text-align: left;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
  translate: var(--px, 0) var(--py, 0); transition: translate .6s ease-out;
  animation: floaty 7s ease-in-out infinite, fadein 1.2s .6s both;
}
.fc-typing { left: max(3vw, calc(50% - 640px)); top: 28%; }
.fc-voice { right: max(3vw, calc(50% - 640px)); top: 22%; animation-delay: -2.5s, .75s; }
.fc-pay { right: max(5vw, calc(50% - 600px)); top: 62%; width: 190px; animation-delay: -4s, .9s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes fadein { from { opacity: 0; } }
.fc-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.fc-ico { font-size: 14px; }
.fc-pill { margin-left: auto; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(139,92,246,.2); color: var(--accent-2); }
.fc-rec { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--bad); animation: pulse 1.4s infinite; }
.fc-typing-line { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.t-ok { color: #ece6ff; } .t-rest { color: var(--dim); }
.t-cur { display: inline-block; width: 2px; height: 1.05em; margin: 0 1px -2px; background: var(--accent-2); animation: blink 1s steps(1) infinite; }
.fc-bars { margin-top: 12px; height: 34px; display: flex; align-items: center; gap: 3px; }
.fc-bars i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(#e4d9ff, #7c3aed); transform-origin: center; animation: bar 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -97ms); }
@keyframes bar { 0% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
.fc-bars i:nth-child(3n) { animation-duration: .8s; } .fc-bars i:nth-child(4n+1) { animation-duration: 1.4s; }
.fc-big { margin-top: 6px; font-size: 22px; font-weight: 600; }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 14px; z-index: 2;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent-2); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1180px) { .float-card { display: none; } }
@media (max-width: 720px) {
  .hero { padding: 110px 16px 130px; }
  .hero-title { letter-spacing: .1em; margin-right: -.1em; }
            .horizon { top: calc(100% - 90px); }
  .orb-1 { margin-left: -300px; } .orb-2 { margin-left: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .float-card, .hero-title, .rise, .fc-bars i, .live, .scroll-hint span { animation: none !important; }
}

.section { max-width: 1120px; margin: 0 auto; padding: 100px 24px; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -.01em; margin-top: 12px; }
.section-head p { margin-top: 12px; color: var(--muted); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: rgba(139, 92, 246, .35); background: var(--panel-strong); }
.role-card h3 { font-size: 18px; font-weight: 600; }
.role-card p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--text-2); }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step-card { position: relative; padding-top: 64px; }
.step-card::before {
  counter-increment: s; content: '0' counter(s);
  position: absolute; top: 22px; left: 26px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--accent-2);
}
.step-card h3 { font-size: 17px; font-weight: 600; }
.step-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.final-cta { text-align: center; padding: 120px 24px 140px; }
.final-cta h2 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 600; }
.final-cta p { color: var(--muted); margin: 14px 0 34px; }

.footer { border-top: 1px solid var(--line); padding: 28px 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--dim); font-size: 12.5px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ───────────── Application form ───────────── */
.apply-wrap { max-width: 820px; margin: 0 auto; padding: 120px 20px 80px; }
.apply-head { text-align: center; margin-bottom: 36px; }
.apply-head h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 600; margin-top: 10px; }
.apply-head p { color: var(--muted); margin-top: 10px; }

.progress { display: flex; gap: 8px; margin-bottom: 26px; }
.progress .seg { flex: 1; }
.progress .bar { height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .5s ease; }
.progress .seg.done .bar i, .progress .seg.active .bar i { width: 100%; }
.progress .lbl { font-size: 11.5px; color: var(--dim); margin-top: 8px; letter-spacing: .04em; }
.progress .seg.active .lbl { color: var(--text); }
.progress .seg.done .lbl { color: var(--accent-2); }

.panel {
  background: rgba(12, 13, 16, 0.72); border: 1px solid var(--line); border-radius: 20px;
  padding: 34px; backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.panel h2 { font-size: 21px; font-weight: 600; }
.panel .sub { color: var(--muted); font-size: 14px; margin-top: 6px; }
.panel-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.field label .req { color: var(--accent-2); }
.field .hint { font-size: 12px; color: var(--dim); }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong);
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-size: 14.5px;
}
textarea.input { resize: vertical; min-height: 96px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select.input option { background: #111; }
.input:focus { border-color: rgba(139, 92, 246, .7); box-shadow: 0 0 0 3px rgba(139, 92, 246, .15); background: rgba(255,255,255,.045); }
.field.invalid .input, .field.invalid .chips { border-color: rgba(239, 93, 93, .7); }
.field .err { font-size: 12px; color: var(--bad); display: none; }
.field.invalid .err { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid transparent; border-radius: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 8px 14px; border-radius: 99px; font-size: 13.5px; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--text-2); transition: all .2s; user-select: none;
}
.chip span:hover { border-color: rgba(255,255,255,.3); }
.chip input:checked + span { border-color: var(--accent); color: #fff; background: rgba(139, 92, 246, .16); box-shadow: 0 0 16px -6px var(--accent-glow); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }

/* ───────────── Typing test ───────────── */
.tt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat .k { font-size: 11.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.stat .v { font-size: 26px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.stat.hl .v { color: var(--accent-2); }

.tt-lang { display: flex; gap: 8px; margin-top: 20px; align-items: center; }
.tt-box {
  position: relative; margin-top: 16px; padding: 22px 24px; border-radius: 14px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--line-strong);
  font-family: var(--mono); font-size: 19px; line-height: 1.75; letter-spacing: .01em;
  height: calc(1.75em * 4 + 44px); overflow: hidden; cursor: text;
  user-select: none; -webkit-user-select: none;
}
.tt-box.focused { border-color: rgba(139, 92, 246, .6); box-shadow: 0 0 0 3px rgba(139, 92, 246, .12); }
.tt-text { position: relative; transition: transform .2s ease; color: var(--dim); white-space: pre-wrap; word-break: break-word; }
.tt-text .c { position: relative; }
.tt-text .ok { color: #e9eef5; }
.tt-text .ko { color: var(--bad); background: rgba(239, 93, 93, .12); border-radius: 2px; }
.tt-text .cur::before {
  content: ''; position: absolute; left: -1px; top: .2em; bottom: .2em; width: 2px; background: var(--accent-2);
  animation: blink 1s steps(1) infinite;
}
.tt-box.running .tt-text .cur::before { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.tt-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  background: rgba(5, 5, 5, .72); backdrop-filter: blur(3px); font-family: var(--font); font-size: 15px; color: var(--text-2); text-align: center; padding: 20px;
}
.tt-overlay strong { color: #fff; font-size: 17px; }
.tt-input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; left: 0; top: 0; }
.tt-timer { height: 3px; border-radius: 3px; background: var(--line); margin-top: 14px; overflow: hidden; }
.tt-timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; }
.tt-result { margin-top: 18px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(139,92,246,.35); background: rgba(139,92,246,.07); font-size: 14px; color: var(--text-2); display: none; }
.tt-result.show { display: block; }

/* ───────────── Voice ───────────── */
.voice-stage { margin-top: 24px; display: grid; gap: 18px; }
.prompt-card {
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 20px 22px; background: rgba(0,0,0,.3);
  min-height: 140px;
}
.prompt-card .q { font-size: 17px; line-height: 1.6; color: #fff; }
.prompt-card .q + .q { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.prompt-card .q .n { color: var(--accent-2); font-weight: 600; margin-right: 6px; }
.prompt-card .locked { color: var(--muted); font-size: 14.5px; display: flex; align-items: center; gap: 10px; height: 100%; }
.viz-wrap { position: relative; height: 110px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.35); overflow: hidden; }
.viz-wrap canvas { width: 100%; height: 100%; display: block; }
.viz-meta { position: absolute; top: 10px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--bad); font-weight: 600; letter-spacing: .1em; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 10px var(--bad); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.voice-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.countdown { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 600; background: rgba(5,5,5,.6); }
audio { width: 100%; height: 40px; filter: invert(1) hue-rotate(180deg) brightness(.9); }

/* ───────────── Notices ───────────── */
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; font-size: 13.5px; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text-2); margin-top: 18px; }
.notice.warn { border-color: rgba(245, 184, 74, .4); background: rgba(245, 184, 74, .06); }
.notice.bad { border-color: rgba(239, 93, 93, .4); background: rgba(239, 93, 93, .06); }
.notice.ok { border-color: rgba(62, 207, 142, .4); background: rgba(62, 207, 142, .06); }
.notice b { color: #fff; }

.recap { margin-top: 22px; display: grid; gap: 10px; }
.recap-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap-row span:first-child { color: var(--muted); }
.recap-row span:last-child { text-align: right; }

.gate, .done-panel { text-align: center; padding: 50px 30px; }
.gate .ico, .done-panel .ico { font-size: 40px; margin-bottom: 16px; }
.gate h2, .done-panel h2 { font-size: 24px; }
.gate p, .done-panel p { color: var(--muted); margin-top: 12px; }

.hidden { display: none !important; }

/* ───────────── Admin ───────────── */
.admin-wrap { max-width: 1280px; margin: 0 auto; padding: 100px 24px 60px; }
.login-card { max-width: 400px; margin: 18vh auto 0; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 26px 0 18px; }
.toolbar .input { width: auto; min-width: 180px; padding: 10px 14px; }
.toolbar .grow { flex: 1; min-width: 220px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.table-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: auto; background: rgba(12,13,16,.6); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
th:hover { color: var(--text); }
td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr { cursor: pointer; transition: background .15s; }
tbody tr:hover { background: rgba(139,92,246,.06); }
tbody tr:last-child td { border-bottom: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; border: 1px solid var(--line-strong); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-new { color: var(--accent-2); border-color: rgba(139,92,246,.4); }
.st-shortlist { color: var(--warn); border-color: rgba(245,184,74,.4); }
.st-interview { color: #5ec8e5; border-color: rgba(94,200,229,.4); }
.st-hired { color: var(--ok); border-color: rgba(62,207,142,.4); }
.st-rejected { color: var(--dim); border-color: var(--line-strong); }
.flag { color: var(--warn); font-size: 12px; }
.wpm { font-weight: 600; font-variant-numeric: tabular-nums; }
.wpm.good { color: var(--ok); } .wpm.mid { color: var(--warn); } .wpm.low { color: var(--bad); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); z-index: 90;
  background: #0b0c0f; border-left: 1px solid var(--line-strong); overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; padding: 28px;
}
.drawer.open { transform: none; }
.drawer h3 { font-size: 22px; font-weight: 600; }
.drawer .sec { margin-top: 26px; }
.drawer .sec-t { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { word-break: break-word; }
.close-x { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; cursor: pointer; color: var(--muted); }
.close-x:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.stars { display: flex; gap: 4px; }
.stars button { background: none; border: none; cursor: pointer; font-size: 20px; color: var(--dim); padding: 0 2px; }
.stars button.on { color: var(--warn); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; z-index: 100; background: #15171c; border: 1px solid var(--line-strong); padding: 10px 18px; border-radius: 99px; font-size: 13.5px; transition: all .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ───────────── Responsive ───────────── */
@media (max-width: 720px) {
  .nav { padding: 16px; }
  .brand { font-size: 13px; letter-spacing: .26em; }
  .nav-link { display: none; }
  .section { padding: 70px 16px; }
  .apply-wrap { padding: 96px 16px 60px; }
  .panel { padding: 22px 18px; }
  .fields { grid-template-columns: 1fr; }
  .tt-stats { grid-template-columns: repeat(2, 1fr); }
  .progress .lbl { display: none; }
  .footer { padding: 24px 16px; }
  .admin-wrap { padding: 90px 16px 40px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
}

/* Carte rémunération chatter */
.pay-card { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(139, 92, 246, .45); background: rgba(139, 92, 246, .08); box-shadow: 0 0 24px -10px var(--accent-glow); }
.pay-big { font-size: 26px; font-weight: 700; color: var(--accent-2); }
