/* Lab Comme Prévu — barre latérale noire, espace de travail clair, carte d'accueil noire à lueur orange (esprit lab.bonjourprenom.fr, DA du studio) */
:root {
  --ink: #0b0b0b; --ink-2: #151515; --ink-3: #1f1f1f; --ink-line: #262626; --ink-muted: #8d8d88;
  --bg: #f3f2ef; --card: #ffffff; --line: #e7e5e0; --line-2: #d9d6cf; --text: #141414; --muted: #6f6d68; --soft: #a3a09a;
  --orange: #ff5f19; --orange-2: #ff8a4f; --orange-soft: #fff0e8; --orange-line: #ffd2bc;
  --green: #18a058; --green-soft: #e7f6ee; --red: #e5484d; --red-soft: #fdecec; --blue: #2f6fed; --blue-soft: #eaf1ff;
  --radius: 22px; --radius-s: 14px;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px -12px rgba(20,20,20,.12);
  --font: 'Satoshi', ui-sans-serif, system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--orange); color: #fff; }
img { display: block; }

/* ---------- structure ---------- */
.shell { display: grid; grid-template-columns: 272px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px 16px; color: #e9e9e6;
  background: radial-gradient(120% 50% at 0% 0%, rgba(255,95,25,.16), transparent 60%), var(--ink); overflow-y: auto; scrollbar-width: none; }
.brand { display: block; padding: 4px 8px 22px; }
.brand img { height: 46px; width: auto; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink-line); background: var(--ink-2); border-radius: 12px; padding: 9px 12px; color: var(--ink-muted); margin-bottom: 10px; }
.search input { background: none; border: 0; outline: none; color: #fff; flex: 1; min-width: 0; font-size: 14px; }
.search kbd { font: 500 11px var(--font); border: 1px solid var(--ink-line); border-radius: 6px; padding: 1px 6px; }
.side h6 { margin: 20px 10px 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #6c6c68; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: #cfcfcb; font-weight: 500; transition: background .2s, color .2s; position: relative; }
.nav:hover { background: var(--ink-2); color: #fff; }
.nav.on { background: var(--ink-3); color: #fff; }
.nav.on::before { content: ''; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--orange); }
.nav .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--ink-line); flex: none; }
.nav .ico svg { width: 16px; height: 16px; }
.nav .logo-s { width: 30px; height: 30px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; flex: none; padding: 4px; }
.nav .logo-s img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nav .logo-s.txt { font-weight: 900; font-size: 12px; color: #fff; }
.nav .count { margin-left: auto; font-size: 11.5px; color: #fff; background: var(--orange); border-radius: 99px; padding: 0 7px; font-weight: 700; line-height: 19px; }
.nav .count.muted { background: var(--ink-3); color: var(--ink-muted); }
.nav .live { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62,207,142,.18); }
.side .foot { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; }
.side .foot a, .side .foot button { color: #6c6c68; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; } .side .foot a:hover, .side .foot button:hover { color: #fff; background: var(--ink-2); }

.main { min-width: 0; padding: 22px clamp(18px, 3.2vw, 44px) 80px; max-width: 1440px; width: 100%; }
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 20px; }
.me-pill { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 5px 14px 5px 5px; box-shadow: var(--shadow); font-weight: 500; }
.me-pill .tag { font-size: 12px; color: var(--orange); background: var(--orange-soft); border-radius: 6px; padding: 1px 7px; font-weight: 700; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; }
.avatar.s { width: 24px; height: 24px; font-size: 10px; } .avatar.l { width: 44px; height: 44px; }
.stack { display: flex; } .stack .avatar { border: 2px solid var(--card); margin-left: -8px; } .stack .avatar:first-child { margin-left: 0; }

/* ---------- carte d'accueil ---------- */
.hero { position: relative; border-radius: 30px; color: #fff; padding: clamp(26px, 3.4vw, 44px); overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 90% at 100% 0%, rgba(255,95,25,.38), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(255,95,25,.12), transparent 60%), #0d0d0d;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; padding-bottom: 96px; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(80% 80% at 70% 30%, #000, transparent); }
.eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); font-weight: 700; }
.hero h1 { font-size: clamp(56px, 7.4vw, 104px); line-height: .88; letter-spacing: -.05em; font-weight: 900; margin: 16px 0 30px; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--orange), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); overflow: hidden; }
.stats > * { padding: 16px 18px; border-left: 1px solid rgba(255,255,255,.1); } .stats > *:first-child { border-left: 0; }
.stats b { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.stats span { color: #b4b4ae; font-size: 13px; }
.stats .hot b { color: var(--orange); } .stats .ok b { color: #3ecf8e; }
.panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 20px 20px 10px; backdrop-filter: blur(8px); display: flex; flex-direction: column; min-height: 0; max-height: 360px; }
.panel h3 { margin: 0 0 6px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.panel h3 a { color: var(--orange); font-size: 13px; font-weight: 500; }
.panel .scroll { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.panel .empty { color: #a3a39d; text-align: left; }

/* bandeau clients */
.logos { position: relative; margin: -64px clamp(14px, 2vw, 28px) 0; background: var(--card); border-radius: 22px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.35);
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; overflow-x: auto; scrollbar-width: none; z-index: 2; }
.logos .lbl { font-size: 11px; letter-spacing: .2em; color: var(--soft); font-weight: 700; padding: 0 10px 0 6px; white-space: nowrap; }
.logo-tile { position: relative; flex: 1 0 160px; height: 76px; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px 20px; transition: transform .25s, box-shadow .25s; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(0,0,0,.4); }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; }
.logo-tile .txt { font-weight: 900; font-size: 18px; letter-spacing: -.02em; }
.logo-tile .badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; border-radius: 99px; padding: 1px 8px; white-space: nowrap; }

/* ---------- cartes ---------- */
.section { margin-top: 26px; }
.grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }
.card + .card { margin-top: 18px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h2 { font-size: 21px; letter-spacing: -.025em; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
h2 .n { font-size: 13px; color: var(--soft); font-weight: 500; }
.link { color: var(--muted); font-size: 13.5px; font-weight: 500; } .link:hover { color: var(--orange); }
.empty { color: var(--soft); padding: 14px 0 8px; text-align: center; font-size: 14px; }
.sub { color: var(--muted); margin: 6px 0 0; }

/* champs */
.add { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.add input[type=text] { flex: 1 1 220px; }
.field, .add input, .add select { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; outline: none; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.field:focus, .add input:focus, .add select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.add select, .add input[type=date] { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-weight: 700; border-radius: 12px; padding: 10px 16px; white-space: nowrap; transition: transform .15s, background .2s; }
.btn:hover { background: #262626; } .btn:active { transform: scale(.98); }
.btn.orange { background: var(--orange); } .btn.orange:hover { background: #ff7333; }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line-2); font-weight: 500; } .btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.seg { display: inline-flex; background: var(--bg); border-radius: 10px; padding: 3px; } .seg button { padding: 5px 12px; border-radius: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* tâches */
.task { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 2px; border-top: 1px solid var(--line); }
.task:first-child { border-top: 0; }
.panel .task { border-color: rgba(255,255,255,.08); }
.task .t { min-width: 0; } .task .t > div:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.task .meta { display: flex; gap: 6px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.task.done .t > div:first-child { color: var(--soft); text-decoration: line-through; }
.task .x { opacity: 0; color: var(--soft); font-size: 18px; padding: 0 6px; } .task:hover .x { opacity: 1; } .task .x:hover { color: var(--red); }
.check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .2s; flex: none; background: var(--card); }
.panel .check { background: transparent; border-color: rgba(255,255,255,.3); }
.check:hover { border-color: var(--orange); }
.check.on { background: var(--orange); border-color: var(--orange); }
.check.on::after { content: ''; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check.green.on { background: var(--green); border-color: var(--green); }
.check:disabled { opacity: .3; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; border-radius: 99px; padding: 1px 9px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; background: var(--card); font-weight: 500; }
.panel .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #c9c9c4; }
.chip i { width: 7px; height: 7px; border-radius: 2px; }
.chip.late { color: var(--red); border-color: #f6c7c8; background: var(--red-soft); }
.chip.today { color: var(--orange); border-color: var(--orange-line); background: var(--orange-soft); }
.chip.ok { color: var(--green); border-color: #bfe6d0; background: var(--green-soft); }
.chip.blue { color: var(--blue); border-color: #c9dafc; background: var(--blue-soft); }

/* listes */
.row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .t { flex: 1; min-width: 0; } .row .t div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.row .t small { color: var(--muted); }
.act { display: flex; gap: 10px; align-items: center; padding: 9px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.act:first-child { border-top: 0; } .act b { color: var(--text); font-weight: 500; } .act time { margin-left: auto; color: var(--soft); font-size: 12px; white-space: nowrap; }

/* clients */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.client { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; box-shadow: var(--shadow); }
.client:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -24px rgba(0,0,0,.35); }
.client .cover { height: 104px; display: grid; place-items: center; padding: 20px 30px; position: relative; }
.client .cover img { max-height: 100%; max-width: 80%; object-fit: contain; }
.client .cover .txt { font-weight: 900; font-size: 30px; letter-spacing: -.03em; color: #fff; }
.client .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.client h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.client .next { margin-top: auto; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; gap: 8px; }
.client .next b { color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.client.add-c { border-style: dashed; align-items: center; justify-content: center; color: var(--muted); min-height: 220px; font-weight: 500; box-shadow: none; background: transparent; }
.client.add-c:hover { color: var(--orange); border-color: var(--orange-line); }

/* graphiques */
.chart { width: 100%; height: 140px; display: block; }
.big-num { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; } .big-num b { font-size: 34px; font-weight: 900; letter-spacing: -.04em; }
.ga-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
.ga-rows h4 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--soft); }
.bar-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; padding: 6px 8px; position: relative; margin: 0 -8px; }
.bar-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 1; } .bar-row b { z-index: 1; font-weight: 700; }
.bar-row::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: var(--w); background: var(--orange-soft); border-radius: 8px; }

/* ---------- prospection ---------- */
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.page-h h1 { font-size: clamp(40px, 5vw, 64px); line-height: .95; letter-spacing: -.045em; font-weight: 900; margin: 10px 0 0; }
.page-h h1 span { color: var(--orange); }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 500; color: var(--muted); background: var(--card); display: flex; gap: 8px; align-items: center; }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a small { font-size: 12px; opacity: .7; }
.pipe { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.stage { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px; text-align: left; transition: border-color .2s, transform .2s; box-shadow: var(--shadow); }
.stage:hover { transform: translateY(-2px); } .stage.on { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.stage .v { font-size: 28px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.stage .l { color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; } .toolbar .field { flex: 1 1 260px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); font-weight: 700; padding: 14px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fbfaf8; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fcfbf9; }
td.c, th.c { text-align: center; } td.c .check { margin: 0 auto; }
.p-name { font-weight: 700; } .p-name small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.p-name a:hover { color: var(--orange); }
.prio { width: 24px; height: 24px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bg); color: var(--muted); }
.prio.p1 { background: var(--orange-soft); color: var(--orange); }
.status { font-size: 12.5px; border-radius: 99px; padding: 4px 24px 4px 10px; white-space: nowrap; border: 1px solid var(--line-2); color: var(--muted); font-weight: 500; appearance: none; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a3a09a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center; }
.status[data-s="Envoyé"], .status[data-s="Relancé"] { color: var(--blue); border-color: #c9dafc; background-color: var(--blue-soft); }
.status[data-s="A répondu"] { color: #fff; border-color: var(--orange); background-color: var(--orange); }
.status[data-s="Intéressé"], .status[data-s="Gagné"] { color: var(--green); border-color: #bfe6d0; background-color: var(--green-soft); }
.status[data-s="Pas intéressé"] { color: var(--soft); background-color: var(--bg); }
.status[data-s="À rappeler"], .status[data-s="Brouillon prêt"] { color: var(--orange); border-color: var(--orange-line); background-color: var(--orange-soft); }
.due { font-size: 12.5px; color: var(--muted); white-space: nowrap; margin-top: 3px; } .due.late { color: var(--red); font-weight: 500; } .due.today { color: var(--orange); font-weight: 500; }
.note-in { background: transparent; border: 1px solid transparent; border-radius: 9px; padding: 6px 8px; width: 100%; min-width: 170px; color: var(--muted); font-size: 13px; }
.note-in:hover { border-color: var(--line-2); } .note-in:focus { border-color: var(--orange); outline: none; color: var(--text); background: var(--card); }
.banner { display: flex; gap: 14px; align-items: center; border-radius: var(--radius-s); padding: 12px 16px; background: var(--orange-soft); border: 1px solid var(--orange-line); margin-bottom: 14px; font-size: 14px; }
.banner.ok { background: var(--green-soft); border-color: #bfe6d0; }
.banner b { font-weight: 700; } .banner .btn { margin-left: auto; }

/* ---------- fiche client ---------- */
.back { color: var(--muted); font-size: 14px; display: inline-flex; gap: 6px; margin-bottom: 14px; font-weight: 500; } .back:hover { color: var(--orange); }
.c-hero { border-radius: 28px; overflow: hidden; position: relative; display: flex; align-items: center; gap: 24px; padding: 30px; margin-bottom: 22px; flex-wrap: wrap; color: #fff; background: var(--ink); }
.c-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 65%); pointer-events: none; }
.c-hero .lg { width: 150px; height: 84px; border-radius: 18px; display: grid; place-items: center; padding: 14px 18px; z-index: 1; }
.c-hero .lg img { max-width: 100%; max-height: 100%; object-fit: contain; } .c-hero .lg .txt { font-size: 30px; font-weight: 900; }
.c-hero h1 { margin: 6px 0 0; font-size: 44px; letter-spacing: -.04em; line-height: 1; font-weight: 900; }
.c-hero > * { z-index: 1; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.form label.full { grid-column: 1 / -1; }
.form .field { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; color: var(--text); }
textarea.field { min-height: 140px; resize: vertical; line-height: 1.5; }
.saved { color: var(--green); font-size: 13px; opacity: 0; transition: opacity .3s; } .saved.on { opacity: 1; }

/* ---------- connexion ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; color: #fff;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255,95,25,.22), transparent 70%), var(--ink); }
.auth form, .auth > div { width: min(400px, 100%); display: flex; flex-direction: column; gap: 12px; }
.auth img.logo { height: 60px; width: auto; align-self: flex-start; margin-bottom: 10px; }
.auth h1 { font-size: 46px; margin: 0 0 14px; letter-spacing: -.04em; font-weight: 900; line-height: 1; }
.auth h1 span { color: var(--orange); }
.auth .field { background: var(--ink-2); border-color: var(--ink-line); color: #fff; }
.auth .sub { color: #a3a39d; }
.auth .err { color: #ff7b7b; font-size: 14px; min-height: 20px; }
.auth .btn { background: var(--orange); justify-content: center; padding: 12px; }

/* ---------- modale / toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(10,10,10,.45); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .2s; }
.modal .card { width: min(640px, 100%); max-height: 90vh; overflow-y: auto; }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 99px; font-weight: 500; z-index: 60; animation: fade .2s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.rise { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ---------- idées ---------- */
.idea { border: 1px dashed var(--line-2); border-radius: var(--radius-s); padding: 14px 16px; }
.idea b { display: block; margin-bottom: 4px; } .idea span { color: var(--muted); font-size: 13.5px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) { .hero { grid-template-columns: 1fr; } .panel { max-height: none; } .pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; flex-direction: row; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    z-index: 40; justify-content: space-around; overflow: visible; background: rgba(11,11,11,.94); backdrop-filter: blur(12px); }
  .side > :not(.mnav) { display: none; }
  .side .mnav { display: flex !important; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; padding: 6px 10px; color: #a3a39d; position: relative; }
  .side .mnav.on { color: var(--orange); background: none; } .side .mnav.on::before { display: none; }
  .side .mnav .ico { background: none; border: 0; width: 24px; height: 24px; }
  .side .mnav .count { position: absolute; top: 0; right: 4px; margin: 0; font-size: 10px; line-height: 16px; }
  .main { padding: 14px 14px 110px; }
  .topbar { margin-bottom: 12px; }
  .hero { padding: 24px 20px 90px; border-radius: 24px; gap: 20px; }
  .stats b { font-size: 26px; } .stats > * { padding: 12px; }
  .logos { margin: -56px 10px 0; }
  .logo-tile { flex: 0 0 130px; height: 64px; }
  .grid, .grid3 { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
  .ga-rows { grid-template-columns: 1fr; }
}
.side .mnav { display: none; }
