/* ==========================================================================
   NJINGA — REBRANDING LUXE MINIMALISTE V3.1
   Charte : Beige chaud (#FFF8F2, #F9ECD8), Noir d'encre (#12100C), Jaune or/ambre (#F5A623, #D98207)
   Inspiration : Monaco, Rox, Linear, Stripe
   ========================================================================== */
:root {
  /* PALETTE BEIGE / CRÈME (FOND PRINCIPAL & SURFACES) */
  --bg: #FFF8F2;
  --surface: #FFFFFF;
  --warm: #F9ECD8;
  --warm-soft: #F4EAD9;

  /* PALETTE NOIR D'ENCRE PROFOND */
  --ink: #12100C;
  --ink2: #403A31;
  --faint: #6B6358;
  --line: rgba(18, 16, 12, 0.10);
  --line-heavy: rgba(18, 16, 12, 0.22);
  
  /* PALETTE JAUNE AMBRÉ / OR ÉLECTRIQUE */
  --yellow: #F5A623;
  --yellow-hover: #E09516;
  --yellow-amber: #D98207;
  --yellow-glow: rgba(245, 166, 35, 0.16);
  --yellow-bg: rgba(245, 166, 35, 0.10);
  --amber-text: #7A4D05; /* texte ambre >= 4,5:1 sur creme ; #F5A623 reste pour fonds et traits */

  /* PANNEAUX SOMBRES (CONTRASTE ÉDITORIAL) */
  --panel: #12100C;
  --panel-ink: #FFF8F2;
  --panel-mute: #C2B9A9;

  /* FONCTIONNEL */
  --ok: #2F6F4A;
  --ok-bg: rgba(47, 111, 74, 0.12);

  /* APPLICATION WINDOW */
  --app-bg: #FAF5EE;
  --app-surface: #FFFFFF;
  --app-ink: #12100C;
  --app-mute: #696255;
  --app-line: rgba(18, 16, 12, 0.10);
  --app-side: #EFE6D7;

  /* TYPOGRAPHIES */
  --f-display: 'Fraunces', Georgia, serif;
  --f-text: 'Source Serif 4', Georgia, serif;
  --f-ui: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad-x: clamp(20px, 5vw, 64px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}
::selection {
  background: var(--yellow);
  color: #12100C;
}
a { color: inherit; text-decoration: none; }
img,
svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-display);
  font-weight: 640;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.serif-italic {
  font-style: italic;
  font-weight: 400;
}
.inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.inner-narrow { max-width: 960px; }
.center { text-align: center; }
/* REVEAL ON SCROLL */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
/* TYPOGRAPHIE UTILITIES */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 18px;
  font-weight: 600;
}
.eyebrow-light { color: var(--yellow); }
.h-md { font-size: clamp(30px, 4vw, 44px); }
.h-lg { font-size: clamp(36px, 5.2vw, 60px); }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink2); margin-top: 20px; line-height: 1.55; }
.lede-dark { font-size: clamp(18px, 2vw, 21px); color: var(--panel-mute); margin-top: 18px; max-width: 58ch; margin-inline: auto; }
.lede-sub { font-size: 18px; color: var(--ink2); margin-top: 12px; max-width: 62ch; }
/* BUTTONS MINIMALISTES HAUT DE GAMME */

.btn-primary {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--yellow);
  color: #12100C;
  border-color: var(--yellow);
  box-shadow: 0 4px 16px var(--yellow-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-weight: 500;
  border: 1px solid var(--line-heavy);
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: var(--warm);
  border-color: var(--ink);
}
.btn-small { padding: 10px 18px; font-size: 11px; }
.btn-block { display: block; text-align: center; width: 100%; }
/* ================= HEADER NAVIGATION ================= */

.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  transition: background 0.3s ease;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { height: 26px; width: auto; }
/* Logo : variante encre sur fond clair, variante crème sur fond sombre */

.navlinks {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
}
.navlinks a:hover { color: var(--amber-text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }


@media (max-width: 900px) {.navlinks { display: none; }

}
/* ================= 1. HERO ================= */

.hero-section {
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.20fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 980px) {.hero-grid { grid-template-columns: 1fr; }

}
.hero-copy h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.micro-note {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
  margin-top: 16px;
}
/* MAQUETTE PRODUIT DANS LE HERO */

.hero-product-wrap { min-width: 0; }
.app-window {
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 72px -20px rgba(18, 16, 12, 0.25);
  overflow: hidden;
  font-family: var(--f-ui);
  color: var(--app-ink);
  font-size: 13px;
  position: relative;
}
.app-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--app-side);
  border-bottom: 1px solid var(--app-line);
}
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-heavy); }
.app-url { font-family: var(--f-mono); font-size: 11px; color: var(--app-mute); }
.app-status-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 600;
}
.app-body {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  min-height: 380px;
}

@media (max-width: 600px) {.app-body { grid-template-columns: 1fr; }
.app-sidebar { display: none; }

}
.app-sidebar {
  background: var(--app-side);
  padding: 14px 10px;
  border-right: 1px solid var(--app-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-sidebar b {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-mute);
  margin: 10px 6px 4px;
}
.app-sidebar b:first-child { margin-top: 0; }
.app-sidebar a {
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  color: var(--app-ink);
  font-size: 12px;
  cursor: pointer;
}
.app-sidebar a.active {
  background: var(--app-surface);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.app-main-view {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.app-view-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.app-view-header h5 { font-size: 18px; margin: 0; }
.app-company-tag { font-size: 11px; color: var(--app-mute); }
.mono-time { font-family: var(--f-mono); font-size: 11px; color: var(--faint); }
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 500px) {.kpi-strip { grid-template-columns: repeat(2, 1fr); }

}
.kpi-box {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 10px;
}
.kpi-box small { display: block; font-size: 11px; color: var(--app-mute); }
.kpi-box strong { font-family: var(--f-display); font-size: 20px; font-weight: 640; display: block; margin: 2px 0; }
.kpi-trend { font-size: 11px; color: var(--app-mute); }
.trend-up { color: var(--ok); font-weight: 600; }
.chart-container {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}
.chart-label { font-size: 11px; color: var(--app-mute); margin-bottom: 6px; }
.chart-svg { width: 100%; height: 50px; display: block; }
.approval-queue {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.approval-title { font-size: 11.5px; font-weight: 600; color: var(--amber-text); }
.approval-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--app-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--app-line);
}
.approval-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.approval-info { flex: 1; min-width: 0; }
.approval-subject { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.approval-info small { color: var(--app-mute); font-size: 11px; }
.btn-approve {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.2s;
}
.btn-approve:hover { background: var(--yellow); color: #12100C; }
.hero-caption {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--faint);
  margin-top: 12px;
  letter-spacing: 0.04em;
}
/* BANDEAU DE CONFIANCE */

.trust-strip {
  margin-top: clamp(40px, 6vw, 64px);
  padding-block: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink2);
}
/* ================= SECTIONS GLOBALES ================= */

section { padding-block: clamp(64px, 8vw, 110px); }
.section-surface { background: var(--bg); }
.panel-ink { background: var(--panel); color: var(--panel-ink); }
.panel-warm { background: var(--warm); border-block: 1px solid var(--line); }
.section-header { margin-bottom: clamp(36px, 5vw, 60px); }
/* ================= 2. LE PRODUIT AU TRAVAIL ================= */

.product-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.tab-trigger {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 18px;
  color: var(--ink2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tab-trigger.active {
  color: var(--amber-text);
  border-bottom-color: var(--yellow);
  font-weight: 600;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.tab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 860px) {.tab-grid { grid-template-columns: 1fr; }

}
.tab-text h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin-bottom: 14px; }
.tab-text p { color: var(--ink2); font-size: 16.5px; margin-bottom: 20px; }
.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: 14.5px;
}
.feature-check-list li::before {
  content: "✓";
  color: var(--amber-text);
  margin-right: 10px;
  font-weight: 700;
}
.tab-metric-badge {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-family: var(--f-mono);
  font-size: 12px;
}
.tab-metric-badge strong { color: var(--amber-text); font-size: 16px; margin-right: 4px; }
.tab-preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 16px 40px -12px rgba(18, 16, 12, 0.10);
}
.preview-header {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
/* MINI TABLES */

.mini-table { font-family: var(--f-ui); font-size: 13px; }
.mini-table-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr 0.8fr;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mini-table-row:last-child { border-bottom: 0; }
.mini-table-head { font-family: var(--f-mono); font-size: 10.5px; color: var(--faint); text-transform: uppercase; }
.tag-score { font-family: var(--f-mono); font-weight: 600; color: var(--amber-text); }
.badge-status {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ok-bg);
  color: var(--ok);
  text-align: center;
  font-weight: 500;
}
/* CARROUSEL PREVIEW */

.carousel-mockup {
  background: var(--panel);
  color: var(--panel-ink);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.slide-tag { font-family: var(--f-mono); font-size: 11px; color: var(--yellow); text-transform: uppercase; font-weight: 600; }
.carousel-slide-inner h4 { font-size: 22px; margin: 12px 0 10px; color: var(--panel-ink); }
.carousel-slide-inner p { font-size: 15px; color: var(--panel-mute); }
.slide-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--faint);
}
/* SEQUENCE PREVIEW */

.sequence-canvas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 13px;
}
.seq-node {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.seq-highlight { border-color: var(--yellow); background: var(--yellow-bg); font-weight: 600; }
.seq-line { font-family: var(--f-mono); font-size: 11px; color: var(--faint); text-align: center; }
/* KANBAN PREVIEW */

.deal-kanban { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kanban-col h5 { font-family: var(--f-ui); font-size: 12px; color: var(--faint); margin-bottom: 8px; text-transform: uppercase; }
.deal-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--f-ui);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.deal-active { border-color: var(--yellow); background: var(--surface); }
.badge-confirmed { font-family: var(--f-mono); font-size: 10px; color: var(--ok); text-transform: uppercase; margin-top: 4px; font-weight: 600; }
/* ================= 3. TROIS VERBES ================= */

.verbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

@media (max-width: 820px) {.verbs-grid { grid-template-columns: 1fr; }

}
.verb-card {
  background: rgba(255, 248, 242, 0.03);
  border: 1px solid rgba(255, 248, 242, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, border-color 0.2s;
}
.verb-card:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}
.verb-agent-header { display: flex; align-items: center; gap: 12px; }
.verb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); }
.verb-agent-header h4 { font-size: 24px; color: var(--panel-ink); }
.verb-agent-name { font-family: var(--f-mono); font-size: 11px; color: var(--yellow); text-transform: uppercase; font-weight: 600; }
.verb-desc { font-size: 16px; color: var(--panel-mute); line-height: 1.5; }
.verb-stat-box {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 248, 242, 0.10);
}
.verb-stat-box strong { font-family: var(--f-display); font-size: 28px; color: var(--yellow); display: block; }
.verb-stat-box span { font-family: var(--f-ui); font-size: 12.5px; color: var(--panel-mute); }
/* ================= 4. L'ÉQUIPE ================= */

.team-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink2);
  font-weight: 500;
}
.filter-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 20px;
}
.agent-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.agent-card:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}
.agent-header { display: flex; gap: 12px; align-items: center; }
.agent-av-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.agent-av-wrap img,
.agent-av-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.agent-av-fallback {
  background: var(--warm);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 14px;
}
.agent-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--surface);
}
.dot-active { background: var(--ok); }
.dot-waiting { background: var(--yellow); }
.dot-idle { background: var(--faint); }
.agent-names h4 { font-size: 18px; }
.agent-role { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; color: var(--faint); letter-spacing: 0.05em; }
.agent-mission { font-family: var(--f-ui); font-size: 13.5px; color: var(--ink2); line-height: 1.45; }
.agent-kpi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--ink2);
}
.agent-kpi strong { font-family: var(--f-display); font-size: 22px; color: var(--ink); }
.agent-last-action {
  font-family: var(--f-ui);
  font-size: 12px;
  color: var(--ink2);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.team-footer-note {
  margin-top: 32px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}
/* ================= 5. CONFIANCE & SECURITE ================= */

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}
.sec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sec-icon { font-size: 28px; margin-bottom: 14px; }
.sec-card h4 { font-size: 18px; margin-bottom: 10px; }
.sec-card p { font-size: 14.5px; color: var(--ink2); line-height: 1.5; margin: 0; }
/* ================= 6. PRICING ================= */

.pricing-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.toggle-group {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.toggle-opt {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 16px;
  color: var(--ink2);
}
.toggle-opt.active {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {.plans-grid { grid-template-columns: 1fr; }

}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.plan-featured {
  background: var(--panel);
  color: var(--panel-ink);
  border: 1.5px solid var(--yellow);
  box-shadow: 0 20px 48px -12px var(--yellow-glow);
}
.featured-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--yellow);
  color: #12100C;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.plan-header h4 { font-size: 22px; margin-bottom: 8px; }
.plan-featured .plan-header h4 { color: var(--panel-ink); }
.plan-header p { font-size: 14px; color: var(--ink2); margin: 0; }
.plan-featured .plan-header p { color: var(--panel-mute); }
.plan-price,
.plan-price-custom {
  font-family: var(--f-display);
  font-weight: 640;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan-price small {
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink2);
}
.plan-featured .plan-price { color: var(--yellow); }
.plan-featured .plan-price small { color: var(--panel-mute); }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--ink2);
  flex-grow: 1;
}
.plan-featured .plan-features { color: var(--panel-mute); }
.plan-features li::before {
  content: "✓";
  color: var(--amber-text);
  margin-right: 8px;
  font-weight: 700;
}
.plan-featured .plan-features li::before { color: var(--yellow); }
.plan-featured .btn-primary {
  background: var(--yellow);
  color: #12100C;
  border-color: var(--yellow);
}
.plan-featured .btn-primary:hover {
  background: #FFFFFF;
  color: #12100C;
  border-color: #FFFFFF;
}
.pricing-guarantee {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  margin-top: 32px;
}
/* ================= 7. FAQ ================= */

.faq-accordion {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.faq-item summary {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { font-family: var(--f-mono); font-size: 20px; color: var(--amber-text); font-weight: 400; }
.faq-item p { margin: 14px 0 0; font-size: 15.5px; color: var(--ink2); line-height: 1.6; }
.faq-item[open] summary span { transform: rotate(45deg); display: inline-block; }
/* ================= 8. ACCÈS FINAL ================= */

.signup-box {
  display: flex;
  max-width: 520px;
  margin: 32px auto 16px;
  gap: 8px;
}

@media (max-width: 540px) {.signup-box { flex-direction: column; }

}
.signup-input {
  flex: 1;
  font-family: var(--f-ui);
  font-size: 15px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 248, 242, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 248, 242, 0.08);
  color: var(--panel-ink);
  outline: none;
}
.signup-input:focus { border-color: var(--yellow); }
.btn-signup {
  background: var(--yellow);
  color: #12100C;
  border-color: var(--yellow);
  white-space: nowrap;
}
.btn-signup:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }
.signup-micro-note {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--panel-mute);
  letter-spacing: 0.04em;
}
/* ================= FOOTER ================= */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {.footer-grid { grid-template-columns: 1fr; }

}
.footer-tagline { font-size: 14px; color: var(--ink2); margin-top: 12px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink2);
}
.footer-nav a:hover { color: var(--amber-text); }
.footer-copy { font-family: var(--f-ui); font-size: 13px; color: var(--faint); }
/* ==========================================================================
   NOUVEAUX COMPOSANTS VISUELS & ILLUSTRATIFS (WAALAXY & HEYREACH INSPIRATION)
   ========================================================================== */

/* --- HERO CENTERED HEADER & BADGE --- */

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-header-center {
  max-width: 860px;
  margin: 0 auto;
}
.hero-header-center h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 14px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--warm);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber-text);
  font-weight: 600;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7);
  animation: pulse-yellow 1.8s infinite;
}

@keyframes pulse-yellow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 166, 35, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
}
.cta-row-center {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-large {
  padding: 18px 36px;
  font-size: 13px;
}
/* --- HERO CANVAS MOCKUP (DASHBOARD GRID) --- */

.hero-canvas-mockup {
  width: 100%;
  max-width: 1140px;
  margin: 48px auto 0;
  text-align: left;
}
.app-chrome-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ok);
  font-weight: 600;
}
.pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
.hero-dashboard-grid {
  display: grid;
  grid-template-columns: 290px 1.4fr 310px;
  gap: 16px;
  padding: 20px;
  background: var(--app-bg);
}

@media (max-width: 980px) {.hero-dashboard-grid {
    grid-template-columns: 1fr;
  }

}
.hero-widget-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-mini-panel {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.highlight-border {
  border: 1.5px solid var(--yellow);
  box-shadow: 0 8px 24px -6px var(--yellow-glow);
}
.mini-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.label-tiny {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--app-mute);
  font-weight: 600;
}
.badge-accent {
  font-family: var(--f-mono);
  font-size: 10px;
  background: var(--yellow-bg);
  color: var(--amber-text);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.badge-growth {
  font-family: var(--f-mono);
  font-size: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.senders-stack {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar-group {
  display: flex;
  align-items: center;
}
.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--app-surface);
  object-fit: cover;
  margin-left: -10px;
}
.avatar-circle:first-child {
  margin-left: 0;
}
.senders-text strong {
  display: block;
  font-size: 12.5px;
}
.senders-text small {
  font-size: 11px;
  color: var(--app-mute);
}
.kpi-hero-num {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 640;
  line-height: 1;
  margin: 4px 0;
}
.mini-progress-bar {
  height: 6px;
  background: var(--warm);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 99px;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--app-mute);
  font-family: var(--f-ui);
}
/* FLOW NODES ROW */

.canvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.status-pill-ok {
  font-family: var(--f-mono);
  font-size: 10px;
  background: var(--ok-bg);
  color: var(--ok);
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-widget-center {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 16px;
}
.flow-nodes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--app-bg);
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--app-line);
}
.flow-node {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--app-surface);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--app-line);
  flex: 1;
  min-width: 0;
}
.flow-node-featured {
  border-color: var(--yellow);
  background: #FFFDF8;
}
.node-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.linkedin-bg { background: #0A66C2; color: #FFF; }
.timer-bg { background: var(--warm); }
.email-bg { background: var(--yellow); color: #12100C; }
.node-content strong { display: block; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-content small { display: block; font-size: 10px; color: var(--app-mute); }
.flow-connector { font-size: 14px; color: var(--app-mute); font-weight: bold; }
/* LIVE CHAT SNIPPET */

.live-chat-snippet {
  margin-top: 14px;
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.chat-snippet-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.chat-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.chat-snippet-author strong { font-size: 12px; display: block; }
.chat-snippet-author small { font-size: 10px; color: var(--app-mute); display: block; }
.sentiment-pill {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.sentiment-pill.positive { background: var(--ok-bg); color: var(--ok); }
.chat-bubble {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--app-ink);
  background: var(--app-surface);
  padding: 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--yellow);
  margin: 0;
}
/* APPROVAL HERO CARD */

.tag-review {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--amber-text);
  background: var(--yellow-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.approval-card-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.approval-hero-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.approval-hero-header strong { font-size: 13px; display: block; }
.approval-hero-header small { font-size: 11px; color: var(--ok); font-weight: 600; display: block; }
.approval-text { font-size: 12px; color: var(--app-ink); line-height: 1.4; margin: 0; }
.approval-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.btn-approve-hero {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}
.btn-approve-hero:hover,
.btn-approve-hero.approved {
  background: var(--yellow);
  color: #12100C;
}
.btn-edit-hero {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 9px 12px;
  border: 1px solid var(--app-line);
  border-radius: var(--radius-sm);
  color: var(--app-mute);
}
.trust-mini-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--faint);
  padding: 6px 4px;
}
/* TRUST BAR SIMPLE */

.trust-bar-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding: 18px 24px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--f-ui);
  font-size: 13px;
}
.trust-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink2);
}
.trust-check {
  color: var(--ok);
  font-weight: 800;
  font-size: 15px;
}
/* --- 2. BENTO GRID ILLUSTRIF --- */

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}
.bento-grid-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {.bento-grid-visual { grid-template-columns: 1fr; }

}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: 0 16px 40px -12px rgba(18, 16, 12, 0.08);
}
.bento-badge {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 8px;
  font-weight: 600;
}
.bento-content h3 { font-size: 24px; margin-bottom: 8px; }
.bento-content p { font-size: 15px; color: var(--ink2); margin: 0; }
.bento-visual {
  background: var(--app-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
}
.search-bar-fake {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 12px;
}
.search-input-text { flex: 1; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-count { font-family: var(--f-mono); font-size: 10.5px; color: var(--amber-text); font-weight: 600; }
.ui-prospect-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.prospect-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 12px;
}
.chip-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--warm);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: bold;
}
.chip-status { margin-left: auto; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; }
.tag-green { color: var(--ok); }
/* BENTO MAIL */

.mail-header-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
}
.mail-badge-tag { color: var(--ok); font-weight: 600; }
.mail-domain { color: var(--faint); }
.mail-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.mail-subject { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.mail-preview-body { font-size: 12px; color: var(--ink2); line-height: 1.4; }
/* BENTO INBOX */

.ui-inbox-widget {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inbox-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.inbox-item.hot { border-left: 3px solid var(--yellow); }
.inbox-left { display: flex; align-items: center; gap: 8px; }
.badge-intent {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.badge-intent.hot { background: var(--ok-bg); color: var(--ok); }
.badge-intent.warm { background: var(--yellow-bg); color: var(--amber-text); }
.inbox-left strong { font-size: 12.5px; }
.inbox-time { font-family: var(--f-mono); font-size: 10.5px; color: var(--faint); }
/* BENTO SCORING */

.ui-scoring-card {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
}
.gauge-container { display: flex; align-items: center; }
.gauge-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 6px solid var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}
.gauge-number { font-family: var(--f-display); font-size: 24px; font-weight: 640; color: var(--ink); line-height: 1; }
.gauge-label { font-family: var(--f-mono); font-size: 9px; text-transform: uppercase; color: var(--faint); margin-top: 2px; }
.gauge-tags { display: flex; flex-direction: column; gap: 6px; }
.gtag {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--ok);
  font-weight: 600;
}
/* --- 3. WORKFLOW STEPPER EN 4 ÉTAPES --- */

.section-workflow {
  background: var(--panel);
  color: var(--panel-ink);
  padding-block: clamp(64px, 8vw, 110px);
}
.light-title { color: var(--panel-ink); }
.workflow-stepper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.workflow-step-card {
  background: rgba(255, 248, 242, 0.04);
  border: 1px solid rgba(255, 248, 242, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  grid-template-columns: 50px 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
}
.workflow-step-card.reverse {
  grid-template-columns: 50px 1.2fr 1fr;
}

@media (max-width: 768px) {.workflow-step-card,
.workflow-step-card.reverse {
    grid-template-columns: 1fr;
  }

}
.step-badge-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: #12100C;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 700;
}
.step-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.step-text-col h3 { font-size: 24px; color: var(--panel-ink); margin-bottom: 8px; }
.step-text-col p { font-size: 15px; color: var(--panel-mute); line-height: 1.5; margin-bottom: 12px; }
.step-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: var(--panel-mute);
}
.step-bullets li::before {
  content: "→";
  color: var(--yellow);
  margin-right: 8px;
  font-weight: bold;
}
.step-visual-col {
  background: rgba(18, 16, 12, 0.6);
  border: 1px solid rgba(255, 248, 242, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
}
.mockup-step-box { width: 100%; }
.mockup-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--panel-mute);
  border-bottom: 1px solid rgba(255, 248, 242, 0.1);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.badge-tag-mini { color: var(--yellow); font-weight: 600; }
.mockup-list-items { display: flex; flex-direction: column; gap: 8px; }
.m-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 248, 242, 0.05);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.m-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.m-item strong { color: var(--panel-ink); font-size: 12px; }
.m-item small { color: var(--panel-mute); font-size: 10.5px; }
.btn-import-tag {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 10px;
  background: var(--yellow);
  color: #12100C;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 600;
}
/* LADDER STEP 2 */

.sequence-ladder { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.ladder-step {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 248, 242, 0.05);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--panel-ink);
}
.ladder-active {
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid var(--yellow);
}
.ladder-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 248, 242, 0.2);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: bold;
}
.dot-yellow { background: var(--yellow); color: #12100C; }
.ladder-delay {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--panel-mute);
  text-align: center;
  margin: 2px 0;
}
/* CAROUSEL PREVIEW STEP 3 */

.carousel-preview-mini {
  background: rgba(255, 248, 242, 0.03);
  border: 1px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.slide-banner {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--yellow);
  font-weight: 600;
  margin-bottom: 6px;
}
.carousel-preview-mini h4 { font-size: 15px; color: var(--panel-ink); margin-bottom: 6px; }
.carousel-preview-mini p { font-size: 12px; color: var(--panel-mute); margin-bottom: 8px; }
.slide-meta { font-family: var(--f-mono); font-size: 10px; color: var(--panel-mute); }
/* CALENDAR BOOKING STEP 4 */

.calendar-booking-card {
  background: rgba(255, 248, 242, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cal-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 600;
}
.cal-details strong { display: block; font-size: 13px; color: var(--panel-ink); }
.cal-details span { display: block; font-size: 12px; color: var(--panel-mute); }
.cal-details small { display: block; font-size: 11px; color: var(--panel-mute); }
.cal-status { font-family: var(--f-mono); font-size: 10.5px; color: var(--ok); font-weight: 600; margin-top: 4px; }
/* STEP CONNECTORS */

.step-connector-svg {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--yellow);
}
.step-connector-svg svg { width: 30px; height: 100%; }
/* --- 4. SECTION ÉQUIPE & MULTI-COMPTES --- */

.team-showcase-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 16px 40px -12px rgba(18, 16, 12, 0.08);
}
.team-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.perk-badge {
  font-family: var(--f-mono);
  font-size: 11.5px;
  background: var(--warm);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
}
.team-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.team-dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-ui);
  font-size: 13px;
  text-align: left;
}
.team-dashboard-table th {
  background: var(--warm);
  padding: 12px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--faint);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}
.team-dashboard-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.team-dashboard-table tr:last-child td { border-bottom: none; }
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.user-cell strong { display: block; font-size: 13px; }
.user-cell small { display: block; font-size: 11px; color: var(--faint); }
.rate-badge {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.rate-badge.high { background: var(--ok-bg); color: var(--ok); }
.status-indicator-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ok);
  font-weight: 600;
}
.status-indicator-green::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
/* ==========================================================================
   VRAIE SÉQUENCE FICTIVE ET RÉALISTE DU SAAS (HERO COCKPIT CENTER)
   ========================================================================== */

.sequence-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.sequence-title-row h4 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
  color: var(--app-ink);
}
.dot-blink {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}
.sequence-stats-mini {
  display: flex;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--app-bg);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--app-line);
}
.seq-stat strong { color: var(--app-ink); font-weight: 700; }
.seq-stat.highlight strong { color: var(--amber-text); }
.seq-stat.ok strong { color: var(--ok); }
/* SEQUENCE GRAPH CONTAINER */

.sequence-graph-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 14px;
}
.seq-step-card {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seq-step-card.completed {
  border-left: 3px solid var(--ok);
}
.seq-step-card.active-step {
  border: 1.5px solid var(--yellow);
  background: #FFFDF8;
  box-shadow: 0 4px 14px -4px var(--yellow-glow);
}
.seq-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.seq-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.message-bg { background: var(--yellow-bg); color: var(--amber-text); }
.seq-step-meta {
  flex: 1;
  min-width: 0;
}
.step-num {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--app-mute);
  letter-spacing: 0.05em;
}
.seq-step-meta strong {
  font-size: 12.5px;
  color: var(--app-ink);
  display: block;
}
.step-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.step-badge.done { background: var(--ok-bg); color: var(--ok); }
.step-badge.current { background: var(--yellow-bg); color: var(--amber-text); }
.seq-step-desc {
  font-size: 11px;
  color: var(--app-mute);
  padding-left: 36px;
}
.seq-step-snippet {
  font-size: 11px;
  color: var(--app-ink);
  background: var(--app-bg);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-style: italic;
  border-left: 2px solid var(--yellow);
  margin-left: 36px;
}
/* CONNECTOR & EMBRANCHEMENTS */

.seq-branch-connector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  padding-left: 12px;
}
.connector-line {
  flex: 1;
  height: 1px;
  background: var(--app-line);
}
.connector-badge {
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--app-mute);
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  padding: 2px 8px;
  border-radius: 99px;
}
.seq-fork-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}
.fork-branch {
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fork-condition {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.text-ok { color: var(--ok); }
.text-wait { color: var(--amber-text); }
.fork-pill {
  font-size: 11px;
  line-height: 1.3;
  color: var(--app-ink);
}
.pill-green { color: var(--ok); font-weight: 600; }
.pill-amber { color: var(--app-mute); }
/* LIVE CONVERSATION THREAD */

.live-thread-box {
  margin-top: 14px;
  background: var(--app-surface);
  border: 1px solid var(--app-line);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thread-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--app-line);
  padding-bottom: 8px;
}
.thread-prospect {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar-circle-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--warm);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
}
.thread-prospect strong { font-size: 12.5px; color: var(--app-ink); }
.thread-prospect small { font-size: 11px; color: var(--app-mute); }
.thread-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg-bubble {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
}
.msg-author {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--app-mute);
  margin-bottom: 3px;
}
.msg-out {
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  align-self: flex-start;
  max-width: 90%;
}
.msg-out p { margin: 0; color: var(--app-mute); }
.msg-in {
  background: #FFFDF8;
  border: 1px solid var(--yellow);
  border-left: 3px solid var(--yellow);
  align-self: flex-end;
  max-width: 92%;
}
.msg-in p { margin: 0; color: var(--app-ink); font-weight: 500; }
.thread-quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--warm);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-top: 2px;
}
.adama-notice {
  font-size: 11px;
  color: var(--ink);
}
.btn-book-oneclick {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--yellow);
  color: #12100C;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-book-oneclick:hover {
  background: var(--yellow-hover);
}
/* ==========================================================================
   NJX — ILLUSTRATIONS PRODUIT : verre (glassmorphism), morph filaire, clay
   Deux plans max : fond flou (.njx-blob) + verre (.njx-glass).
   Repli opaque : @supports et prefers-reduced-transparency.
   ========================================================================== */

.njx {
  --njx-glass: rgba(255, 255, 255, 0.66);
  --njx-node: rgba(255, 255, 255, 0.86);
  --njx-solid: #FFFBF6;
  --njx-edge: rgba(255, 255, 255, 0.8);
  --njx-ring: rgba(120, 80, 20, 0.16);
  --njx-hi: rgba(255, 255, 255, 0.9);
  --njx-shadow: rgba(120, 80, 20, 0.38);
  --njx-rule: rgba(18, 16, 12, 0.10);
  --njx-wire: rgba(18, 16, 12, 0.42);
  --njx-wirefill: rgba(18, 16, 12, 0.14);
  --njx-dot: rgba(18, 16, 12, 0.2);
  --njx-chip: rgba(245, 166, 35, 0.2);
  --njx-grid: rgba(18, 16, 12, 0.16);
  --njx-line: #D98207;
  --njx-blob1: rgba(245, 166, 35, 0.5);
  --njx-blob2: rgba(255, 205, 140, 0.6);
  --njx-blob3: rgba(217, 131, 7, 0.28);
  --njx-ok: #2F7A4B; --njx-oksoft: #D9EFDF; --njx-oktx: #1F5A37;
  --njx-wait: #E8941A; --njx-waitsoft: #FCE6B8; --njx-waittx: #7A4D05;
  --njx-idle: #A39A88; --njx-idlesoft: #ECE6DA; --njx-idletx: #4A4236;
  --njx-think: #8A78CC; --njx-thinksoft: #E6E0F6; --njx-thinktx: #4B3F86;
  --clay1: #FFE6B5; --clay2: #F5A623; --clay3: #C47A0C; --clayink: #3A2200;
  font-family: var(--f-ui);
  color: var(--ink);
}
.njx *,
.njx *::before,
.njx *::after { box-sizing: border-box; }
.njx-i { width: 1em; height: 1em; fill: currentColor; display: inline-block; flex: none; }
.search-icon .njx-i { width: 18px; height: 18px; }
.trust-check .njx-i { width: 18px; height: 18px; }
.njx-stage {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(14px, 3.5vw, 44px); padding-bottom: clamp(22px, 4vw, 48px);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--bg), var(--warm));
  border: 1px solid var(--line);
}
.njx-blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.njx-blob.b1 { left: -140px; top: -120px; width: 520px; height: 440px; background: var(--njx-blob1); filter: blur(90px); }
.njx-blob.b2 { right: -120px; top: 120px; width: 480px; height: 480px; background: var(--njx-blob2); filter: blur(100px); }
.njx-blob.b3 { left: 30%; bottom: -200px; width: 600px; height: 340px; background: var(--njx-blob3); filter: blur(100px); }
.njx-glass,
.njx-node,
.njx-panel,
.njx-row {
  position: relative;
  background: var(--njx-glass);
  border: 1px solid var(--njx-edge);
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--njx-ring), 0 24px 48px -28px var(--njx-shadow), inset 0 1px 0 var(--njx-hi);
  transition: background .8s ease, border-color .8s ease, box-shadow .8s ease, backdrop-filter .8s ease;
}
.njx-glass { backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); }
.njx-node,
.njx-panel,
.njx-row { background: var(--njx-node); border-radius: 8px; box-shadow: 0 0 0 1px var(--njx-ring), 0 12px 24px -18px var(--njx-shadow), inset 0 1px 0 var(--njx-hi); }
.njx-clay { position: absolute; transition: opacity .8s ease, transform .8s ease; filter: drop-shadow(0 16px 14px var(--njx-shadow)); pointer-events: none; }
/* barre d'écran */

.njx-titlebar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid var(--njx-rule); }
.njx-dots { display: flex; gap: 7px; }
.njx-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--njx-dot); }
.njx-url,
.njx-demo,
.njx-live,
.njx-lab,
.njx-k,
.njx-pill,
.njx-leg,
.njx-oui,
.njx-btn,
.njx-note,
.njx-axis {
  font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .04em;
}
.njx-url { font-size: 12px; color: var(--ink2); padding: 5px 10px; border: 1px solid var(--njx-rule); border-radius: 6px; }
.njx-demo { margin-left: auto; font-size: 11px; color: var(--ink2); }
.njx-live { font-size: 12px; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.njx-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--njx-ok); }
.njx-lab { font-size: 11px; color: var(--ink2); display: block; }
.njx-lab2 { margin-top: 14px; }
.njx-body { padding: 16px; display: grid; gap: 14px; }
.njx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.njx-kpi { padding: 12px 16px; min-height: 92px; }
.njx-kpi strong { display: block; font: 600 clamp(24px, 3vw, 32px)/1.15 var(--f-display); margin-top: 4px; }
.njx-kpi small { font: 500 12px var(--f-ui); color: var(--ink2); }
.njx-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 14px; }
.njx-stack { display: grid; gap: 14px; align-content: start; }
.njx-chart { padding: 16px 18px; }
.njx-chart svg { width: 100%; height: 200px; margin-top: 8px; }
.njx-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink2); }
.njx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.njx-head h4 { font-size: 16px; }
/* mini-séquence */

.njx-mini { padding: 14px 16px; container-type: inline-size; }
.njx-mseq { display: flex; align-items: center; margin-top: 12px; }
.njx-mn { flex: 1.25; min-width: 0; display: grid; gap: 5px; justify-items: start; padding: 10px; border: 1px solid var(--njx-rule); border-radius: 6px; background: var(--njx-node); position: relative; }
.njx-mn-sm { flex: .7; }
.njx-mn b,
.njx-t { font: 600 13px/1.25 var(--f-ui); }
.njx-ic,
.njx-chip { width: 24px; height: 24px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; background: var(--njx-chip); color: var(--ink); font-size: 16px; flex: none; }
.njx-ln { flex: 0 0 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--njx-line) 0 6px, transparent 6px 12px); }
.njx-dia { position: relative; width: 100px; height: 100px; flex: none; margin: 0 -6px; }
.njx-dia i,
.njx-dia2 i { position: absolute; border-radius: 6px; transform: rotate(45deg); background: var(--njx-node); border: 1px solid var(--njx-edge); box-shadow: 0 0 0 1px var(--njx-ring), 0 12px 22px -16px var(--njx-shadow), inset 0 1px 0 var(--njx-hi); transition: background .8s ease, border-color .8s ease, box-shadow .8s ease; }
.njx-dia i { left: 16px; top: 16px; width: 68px; height: 68px; }
.njx-dia-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; font-size: 18px; }
.njx-dia-in em { font: 600 10.5px/1.1 var(--f-mono); font-style: normal; text-transform: uppercase; letter-spacing: .02em; }
.njx-oui { position: absolute; top: -9px; left: 8px; font-size: 10.5px; font-weight: 600; background: var(--njx-oksoft); color: var(--njx-oktx); padding: 1px 7px; border-radius: 99px; }

@container (max-width: 520px) {
  .njx-mseq { flex-direction: column; align-items: stretch; }
  .njx-mn, .njx-mn-sm { flex: none; }
  .njx-ln { flex: 0 0 14px; width: 2px; height: 14px; align-self: center; background: repeating-linear-gradient(180deg, var(--njx-line) 0 6px, transparent 6px 12px); }
  .njx-dia { align-self: center; margin: -8px 0; }
}
/* pastilles d'état et barres de segments */

.njx-pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.p-ok { background: var(--njx-oksoft); color: var(--njx-oktx); }
.p-wait { background: var(--njx-waitsoft); color: var(--njx-waittx); }
.p-idle { background: var(--njx-idlesoft); color: var(--njx-idletx); }
.p-think { background: var(--njx-thinksoft); color: var(--njx-thinktx); }
.njx-bar2 { display: flex; height: 6px; gap: 2px; margin-top: 8px; border-radius: 3px; overflow: hidden; }
.s-ok { background: var(--njx-ok); }
.s-wait { background: var(--njx-wait); }
.s-idle { background: var(--njx-idle); }
.s-think { background: var(--njx-think); }
.njx-leg { display: flex; flex-wrap: wrap; gap: 3px 9px; margin-top: 5px; font-size: 10.5px; font-weight: 600; color: var(--ink2); }
/* carte de validation */

.njx-valid { padding: 16px 18px; }
.njx-who { display: flex; align-items: center; gap: 12px; }
.njx-who small { display: block; font: 500 13px/1.4 var(--f-ui); color: var(--ink2); margin-top: 3px; }
.njx-av { width: 40px; height: 40px; border-radius: 50%; flex: none; padding: 2px; background: var(--njx-solid); box-shadow: 0 0 0 2px var(--njx-wait); transition: box-shadow .4s ease; }
.njx-av[data-state="ok"] { box-shadow: 0 0 0 2px var(--njx-ok); }
.njx-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.njx-msg { font: 400 15px/1.5 var(--f-ui); margin: 12px 0 14px; color: var(--ink); max-width: 62ch; }
.njx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.njx-btn { font-size: 12px; font-weight: 600; letter-spacing: .06em; min-height: 44px; padding: 0 16px; border-radius: 4px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.njx-btn-main { background: var(--ink); color: var(--bg); }
.njx-btn:disabled { opacity: .85; cursor: default; }
.njx-btn:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; }
.njx-promise { font: 600 13px var(--f-ui); }
.njx-when { font: 400 14px/1.5 var(--f-ui); color: var(--ink2); margin: 0 0 14px; }
/* commandes filaire / verre */

.njx-clay-shield { right: -14px; bottom: -34px; width: 124px; height: 134px; z-index: 2; }
.njx-win { overflow: visible; }
/* canevas de séquence */

.njx-fit { padding: 16px; overflow: hidden; position: relative; }
.njx-board { display: flex; gap: 16px; width: 1152px; transform-origin: top left; }
.njx-board.no-lib { width: 928px; }
.njx-board.no-lib .njx-lib { display: none; }
.njx-lib { width: 208px; flex: none; padding: 14px 12px; border-radius: 10px; }
.njx-lib .njx-real { display: block; }
.njx-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-top: 8px; }
.njx-row b { font: 600 13px var(--f-ui); display: block; }
.njx-row small { font: 500 11.5px var(--f-ui); color: var(--ink2); }
.njx-canvas {
  position: relative; width: 928px; height: 592px; flex: none; overflow: hidden;
  border: 1px solid var(--njx-edge); border-radius: 10px; box-shadow: 0 0 0 1px var(--njx-ring);
  background-color: var(--njx-node); background-image: radial-gradient(var(--njx-grid) 1px, transparent 1px); background-size: 22px 22px;
}
.njx-edges { position: absolute; left: 0; top: 0; }
.njx-edges path { fill: none; stroke: var(--njx-line); stroke-width: 2; stroke-dasharray: 6 6; animation: njxFlow 1.6s linear infinite; transition: stroke .8s ease; }
.njx-edges .ok { fill: var(--njx-ok); }
.njx-edges .idle { fill: var(--njx-idle); }

@keyframes njxFlow { to { stroke-dashoffset: -24; } }
.njx-canvas > .njx-node,
.njx-canvas > .njx-dia2,
.njx-canvas > .njx-note,
.njx-canvas > .njx-counts,
.njx-canvas > .njx-branch { position: absolute; }
.njx-step { padding: 10px 12px; }
.njx-step .njx-real { display: block; }
.njx-sh { display: flex; align-items: center; gap: 7px; }
.njx-k { font-size: 10.5px; font-weight: 600; color: var(--ink2); }
.njx-t { display: block; margin-top: 7px; }
.njx-s { display: block; font: 500 11.5px/1.4 var(--f-ui); color: var(--ink2); margin-top: 2px; }
.njx-waitn { display: flex; align-items: center; justify-content: center; padding: 0; font: 600 11.5px var(--f-mono); text-transform: uppercase; }
.njx-dia2 { width: 120px; height: 120px; }
.njx-dia2 i { left: 17px; top: 17px; width: 86px; height: 86px; }
.njx-dia2 .njx-dia-in em { font-size: 10.5px; }
.njx-note { font-size: 11px; color: var(--ink2); }
.njx-counts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.njx-clay-cal { left: 812px; top: 134px; width: 84px; height: 90px; }
.njx-vseq { display: none; list-style: none; margin: 0; padding: 14px; gap: 10px; }
.njx-vseq .njx-node { display: flex; align-items: center; gap: 10px; padding: 12px; flex-wrap: wrap; }
.njx-vseq b { font: 600 14px var(--f-ui); display: block; }
.njx-vseq small { font: 500 12px var(--f-ui); color: var(--ink2); }
.njx-vseq .njx-pill:last-child { margin-left: auto; }
.njx-vcounts { margin-left: auto; display: flex; gap: 6px; }
.njx-vyes,
.njx-vno { margin-left: 18px; }

@media (max-width: 760px) {.njx-fit { display: none; }
.njx-vseq { display: grid; }

}
/* section « Vous validez ce qui compte » */

.njx-valgrid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.njx-card { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 340px; }
.njx-card-main { overflow: visible; }
.njx-clay-corner { right: -10px; bottom: -26px; width: 96px; height: 104px; }
.njx-rules,
.njx-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.njx-rules li { display: flex; gap: 12px; align-items: flex-start; }
.njx-rules b { font: 600 14px/1.35 var(--f-ui); display: block; }
.njx-rules small { font: 400 13px/1.45 var(--f-ui); color: var(--ink2); }
.njx-log li { display: flex; gap: 12px; padding-left: 12px; border-left: 2px solid var(--njx-line); }
.njx-log time { font: 600 12px var(--f-mono); color: var(--ink2); min-width: 84px; padding-top: 2px; }
.njx-log span { font: 400 14px/1.45 var(--f-ui); }
.njx-free { text-align: center; font: 500 14px var(--f-ui); margin: 0 0 20px; color: var(--ink2); }
.njx-free mark { background: var(--njx-waitsoft); color: var(--njx-waittx); padding: 2px 8px; border-radius: 4px; font: 600 12px var(--f-mono); }
.t-init { display: inline-flex; align-items: center; justify-content: center; background: var(--yellow-bg); color: var(--ink); font: 600 12px var(--f-mono); border: 1px solid var(--line-heavy); }


@supports not (backdrop-filter: blur(1px)) {.njx-glass { background: var(--njx-solid); }
 }

@media (prefers-reduced-transparency: reduce) {.njx-glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--njx-solid); }
.njx-blob { filter: none; opacity: .4; }

}

@media (prefers-reduced-motion: reduce) {.njx-glass,
.njx-node,
.njx-panel,
.njx-row,
.njx-clay,
.njx-dia i,
.njx-dia2 i,
.njx-edges path { transition: none; }
.njx-edges path { animation: none; }

}

@media (max-width: 980px) {.njx-cols { grid-template-columns: minmax(0, 1fr); }
.njx-valgrid { grid-template-columns: minmax(0, 1fr); }
.njx-card { min-height: 0; }

}

@media (max-width: 700px) {.njx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.njx-demo { margin-left: 0; }
.njx-url { font-size: 11px; }
.njx-body { padding: 12px; }
.njx-clay-shield { width: 84px; height: 91px; right: -8px; bottom: -22px; }
.njx-chart svg { height: 150px; }

}
/* ---- NJX v2 : canevas de séquence réel (3 zones), KPI réels, pastilles d'icône ---- */

.ic-amber { background: var(--njx-waitsoft); color: var(--njx-waittx); }
.ic-green { background: var(--njx-oksoft); color: var(--njx-oktx); }
.ic-violet { background: var(--njx-thinksoft); color: var(--njx-thinktx); }
.ic-grey { background: var(--njx-idlesoft); color: var(--njx-idletx); }
.ic-accent { background: var(--njx-chip); color: var(--ink); }
.njx-pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.njx-pagehead h3 { font-size: clamp(20px, 2.4vw, 26px); margin-top: 4px; }
.njx-range { display: inline-flex; gap: 4px; font: 600 11px var(--f-mono); }
.njx-range i { font-style: normal; padding: 4px 9px; border: 1px solid var(--njx-rule); border-radius: 99px; color: var(--ink2); }
.njx-range i.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.njx-series { display: flex; gap: 14px; flex-wrap: wrap; font: 500 12px var(--f-ui); color: var(--ink2); margin-top: 6px; }
.njx-series i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.njx-series i.amber { background: var(--njx-line); }
.njx-series i.green { background: var(--njx-ok); }
.njx-chart svg { height: 170px; }
/* mini-séquence du hero : 3 nœuds, lien étiqueté */

.njx-mn { display: flex; flex-direction: row; align-items: center; gap: 8px; justify-items: initial; }
.njx-mn > div { min-width: 0; }
.njx-mn small { display: block; font: 500 11.5px/1.35 var(--f-ui); color: var(--ink2); margin-top: 2px; }
.njx-ln-lab { flex: 0 0 92px; position: relative; background: repeating-linear-gradient(90deg, var(--njx-ink-soft, rgba(18,16,12,.4)) 0 1px, transparent 1px 0); height: 1px; }
.njx-ln,
.njx-ln-lab { background: var(--njx-wire); height: 1.5px; flex-basis: 14px; }
.njx-ln-lab { flex: 0 0 90px; }
.njx-ln-lab em { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); white-space: nowrap; font: 600 10px var(--f-mono); font-style: normal; text-transform: uppercase; background: var(--njx-oksoft); color: var(--njx-oktx); padding: 2px 7px; border-radius: 99px; }

@container (max-width: 520px) {
  .njx-ln { background: var(--njx-wire); width: 1.5px; height: 14px; flex: 0 0 14px; }
  .njx-ln-lab { flex: none; width: auto; height: auto; background: none; display: flex; justify-content: center; align-self: center; padding: 6px 0; }
  .njx-ln-lab em { position: static; transform: none; }
}
/* canevas 640 x 740 */

.njx-board { width: 1104px; }
.njx-board.no-lib { width: 640px; }
.njx-board.no-lib .njx-lib,
.njx-board.no-lib .njx-set { display: none; }
.njx-lib { width: 200px; }
.njx-set { width: 232px; flex: none; padding: 14px 14px; border-radius: 10px; }
.njx-lib .njx-real,
.njx-set .njx-real { display: block; }
.njx-lib h4,
.njx-set h4 { font-size: 18px; }
.njx-sub { font: 400 12px/1.4 var(--f-ui); color: var(--ink2); margin: 4px 0 6px; }
.njx-lib .njx-row { padding: 6px 8px; margin-top: 6px; }
.njx-lib .njx-row b { font-size: 12.5px; }
.njx-lib .njx-lab2 { margin-top: 12px; }
.njx-canvas { width: 640px; height: 850px; }
.njx-edges path { stroke: var(--njx-wire); stroke-width: 1.5; stroke-dasharray: none; animation: none; }
.njx-wn { padding: 10px 12px; }
.njx-wn .njx-real { display: block; }
.njx-wn-row { display: flex; gap: 10px; align-items: flex-start; }
.njx-wn-row .njx-ic { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; }
.njx-wn-txt b { font: 600 13.5px/1.25 var(--f-ui); display: block; }
.njx-wn-txt small { font: 500 12px/1.35 var(--f-ui); color: var(--ink2); display: block; margin-top: 2px; }
.njx-exec { display: flex; align-items: center; gap: 6px; margin-top: 8px; font: 500 11px var(--f-mono); color: var(--ink2); }
.njx-exec .njx-i { font-size: 13px; }
.njx-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.njx-plus { position: absolute; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--njx-solid); border: 1px solid var(--njx-wire); font-size: 12px; color: var(--ink); }
.njx-lk { position: absolute; transform: translate(-50%, -50%); font: 600 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .02em; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.lk-ok { background: var(--njx-oksoft); color: var(--njx-oktx); }
.lk-idle { background: var(--njx-idlesoft); color: var(--njx-idletx); }
.njx-add { position: absolute; width: 124px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font: 500 11.5px var(--f-ui); color: var(--ink); background: var(--njx-solid); border: 1px solid var(--njx-rule); border-radius: 99px; padding: 4px 8px; }
.njx-fin { position: absolute; width: 110px; text-align: center; font: 600 10px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.njx-canvas > .njx-plus,
.njx-canvas > .njx-lk,
.njx-canvas > .njx-add,
.njx-canvas > .njx-fin { position: absolute; }
.njx-clay-cal { left: 500px; top: 22px; width: 84px; height: 90px; }
/* réglages */

.njx-field { font: 400 13px/1.45 var(--f-ui); border: 1px solid var(--njx-rule); border-radius: 6px; padding: 8px 10px; background: var(--njx-solid); margin-top: 6px; }
.njx-tog { display: flex; gap: 10px; margin-top: 14px; align-items: flex-start; }
.njx-tog b { font: 600 13px/1.3 var(--f-ui); display: block; }
.njx-tog small { font: 400 12px/1.4 var(--f-ui); color: var(--ink2); display: block; margin-top: 2px; }
.njx-tog-inline { margin: 4px 0 8px; }
.njx-sw { flex: none; width: 34px; height: 20px; border-radius: 99px; background: var(--njx-idle); position: relative; margin-top: 1px; }
.njx-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s ease; }
.njx-sw.on { background: var(--njx-ok); }
.njx-sw.on::after { left: 16px; }
.njx-days { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.njx-days i { font: 600 11px var(--f-mono); font-style: normal; padding: 5px 8px; border-radius: 4px; border: 1px solid var(--njx-rule); color: var(--ink2); }
.njx-days i.on { background: var(--njx-waittx); border-color: var(--njx-waittx); color: #FFF8F2; }
.njx-hours { margin-top: 6px; font: 500 13px var(--f-ui); display: flex; align-items: center; gap: 6px; }
.njx-hours span { border: 1px solid var(--njx-rule); border-radius: 4px; padding: 4px 10px; background: var(--njx-solid); min-width: 40px; text-align: center; }
/* version verticale mobile */

.njx-vseq { gap: 8px; }
.njx-vlk { display: flex; justify-content: center; list-style: none; }
.njx-vlk .njx-lk { position: static; transform: none; }
.njx-vseq .njx-node { gap: 10px; }
.njx-vseq .njx-ic { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; }

@media (prefers-reduced-motion: reduce) {.njx-sw::after { transition: none; }
 }
.njx-chart { display: flex; flex-direction: column; }
.njx-chart .njx-real { display: flex; flex-direction: column; flex: 1; }
.njx-chart svg { flex: 1; min-height: 170px; height: auto; }
/* ---- NJX v3 : lisibilité, morph sans texte barré, bouclier qui ne couvre rien ---- */

.njx-titlebar { background: var(--njx-node); border-radius: 12px 12px 0 0; }
.njx-lab,
.njx-url,
.njx-demo,
.njx-live,
.njx-axis,
.njx-k { color: var(--ink); }
.njx-pagehead { background: var(--njx-node); border-radius: 8px; padding: 10px 14px; }
/* verre -> filaire : le contenu part vite, les barres arrivent ensuite ; filaire -> verre : l'inverse */

.njx-actions { padding-right: 104px; }
.njx-card-main .njx-actions { padding-right: 100px; }
.njx-clay-shield { bottom: -50px; }

@media (max-width: 700px) {.njx-body { padding-bottom: 52px; }
.njx-clay-shield { bottom: -40px; }
.njx-actions { padding-right: 76px; }
.njx-card-main .njx-actions { padding-right: 70px; }

}
/* ---- NJX v4 : exemple de rapport de veille ---- */

.njx-report { max-width: 860px; margin: 0 auto; padding: clamp(18px, 3vw, 30px); display: grid; gap: 18px; }
.njx-rhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.njx-rhead > div { flex: 1; min-width: 200px; }
.njx-rhead b { font: 600 18px var(--f-display); display: block; }
.njx-rhead small { font: 500 13px var(--f-ui); color: var(--ink2); }
.njx-sigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.njx-sig { display: flex; gap: 14px; padding: 14px 16px; background: var(--njx-node); border: 1px solid var(--njx-rule); border-radius: 8px; }
.njx-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 13px var(--f-mono); display: inline-flex; align-items: center; justify-content: center; }
.njx-sig b { display: block; font: 600 15px/1.35 var(--f-ui); margin-top: 6px; }
.njx-sig p { font: 400 14px/1.5 var(--f-ui); color: var(--ink2); margin: 3px 0 4px; }
.njx-sig small { font: 500 12px var(--f-mono); color: var(--ink2); }
.njx-idea { padding: 16px 18px; background: var(--njx-node); border: 1px solid var(--njx-rule); border-radius: 8px; border-left: 4px solid var(--njx-line); }
.njx-idea p { font: 500 15px/1.5 var(--f-ui); margin: 6px 0 12px; }
.njx-vsec .njx-actions { padding-right: 0; }
/* ---- NJX v5 : aperçu Contacts / Opportunités / Équipe (onglets) ---- */

.njx-tablist { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 0 18px; }
.njx-tablist button { font: 600 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; min-height: 44px; padding: 0 18px; border-radius: 4px; border: 1px solid var(--line-heavy); background: transparent; color: var(--ink); }
.njx-tablist button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.njx-tablist button:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; }
[data-panel][hidden] { display: none; }
.njx-chips { display: inline-flex; gap: 5px; flex-wrap: wrap; font: 600 10.5px var(--f-mono); text-transform: uppercase; }
.njx-chips i { font-style: normal; padding: 4px 9px; border: 1px solid var(--njx-rule); border-radius: 99px; color: var(--ink2); background: var(--njx-solid); }
.njx-chips i.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* contacts */

.njx-contacts { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.njx-table { padding: 16px; }
.njx-table .njx-head h4 small { margin-left: 8px; display: inline; }
.njx-trow { display: grid; grid-template-columns: .9fr 1.2fr 1fr 104px 108px; gap: 10px; align-items: center; padding: 9px 8px; font: 500 13px var(--f-ui); border-bottom: 1px solid var(--njx-rule); }
.njx-thead { font: 600 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink2); border-bottom: 1px solid var(--njx-wire); margin-top: 12px; }
.njx-tbody { list-style: none; margin: 0; padding: 0; }
.njx-trow.sel { background: var(--njx-chip); border-radius: 6px; }
.njx-trow b { font-weight: 600; }
.njx-score { position: relative; height: 18px; background: var(--njx-idlesoft); border-radius: 99px; overflow: hidden; }
.njx-score i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--njx-wait); border-radius: 99px; opacity: .55; }
.njx-score.hot i { background: var(--njx-ok); opacity: .45; }
.njx-score em { position: relative; font: 600 11px/18px var(--f-mono); font-style: normal; padding-left: 8px; color: var(--ink); }
.njx-detail { padding: 16px 18px; }
.njx-sub2 { font: 500 13px var(--f-ui); color: var(--ink2); margin: 4px 0 12px; }
.njx-mini2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.njx-mini2 > div { border: 1px solid var(--njx-rule); border-radius: 6px; padding: 8px 10px; background: var(--njx-solid); }
.njx-mini2 strong { display: block; font: 600 22px var(--f-display); }
.njx-hist { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 8px; font: 500 13px var(--f-ui); }
.njx-hist li { padding-left: 12px; border-left: 2px solid var(--njx-line); }
.njx-hist small { display: block; font: 500 11px var(--f-mono); color: var(--ink2); }
.njx-gen { border: 1px solid var(--njx-rule); border-radius: 6px; padding: 12px; background: var(--njx-solid); }
.njx-gen p { font: 400 14px/1.5 var(--f-ui); margin: 6px 0 10px; }
.njx-gen .njx-actions { padding-right: 0; gap: 8px; }
.njx-gen .njx-btn { padding: 0 12px; min-height: 40px; }
/* kanban */

.njx-kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; align-items: start; }
.njx-col { padding: 12px; }
.njx-col.won { box-shadow: 0 0 0 1px var(--njx-ok), 0 12px 24px -18px var(--njx-shadow); }
.njx-colhead { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 8px; }
.njx-colhead em { font-style: normal; color: var(--ink2); }
.njx-colhead .d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.d1 { background: var(--njx-think); }
.d2 { background: var(--njx-wait); }
.d3 { background: #B4532A; }
.d4 { background: var(--njx-line); }
.d5 { background: var(--njx-ok); }
.njx-deal { background: var(--njx-solid); border: 1px solid var(--njx-rule); border-radius: 6px; padding: 10px 12px; margin-top: 8px; }
.njx-deal b { font: 600 14px var(--f-ui); display: block; }
.njx-deal small { font: 500 12px var(--f-ui); color: var(--ink2); display: block; }
.njx-dfoot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--njx-rule); font: 500 11px var(--f-mono); color: var(--ink2); }
.njx-dfoot a { font: 600 12px var(--f-ui); color: var(--ink); }
.njx-dfoot .stale { color: var(--njx-waittx); display: inline-flex; align-items: center; gap: 4px; }
/* équipe */

.njx-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.njx-agent { padding: 12px; }
.njx-port { position: relative; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #EFE9E1, #DCD7E0); aspect-ratio: 4 / 3; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 10px; }
.njx-port img { height: 100%; width: auto; object-fit: contain; }
.njx-st { position: absolute; top: 8px; right: 8px; font: 600 10.5px var(--f-mono); text-transform: uppercase; background: #FFFFFF; color: #12100C; padding: 3px 9px 3px 8px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; }
.njx-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #A39A88; }
.st-on::before { background: #2F7A4B; }
.st-think::before { background: #D98207; }
.st-wait::before { background: #6F5BC0; }
.njx-agent h4 { font-size: 17px; margin: 2px 0 4px; }
.njx-agent p { font: 400 13.5px/1.45 var(--f-ui); color: var(--ink2); margin: 0 0 8px; }
.njx-agent small { font: 500 12px var(--f-ui); color: var(--ink2); }


@media (max-width: 980px) {.njx-contacts { grid-template-columns: minmax(0, 1fr); }
.njx-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 760px) {.njx-trow { grid-template-columns: 1fr 1fr 96px; }
.njx-trow .c-sec,
.njx-trow .c-st { display: none; }

}

@media (max-width: 560px) {.njx-team { grid-template-columns: minmax(0, 1fr); }

}


@media (max-width: 1180px) {.njx-trow { grid-template-columns: .9fr 1.2fr 104px 108px; }
.njx-trow .c-sec { display: none; }
 }


@media (max-width: 760px) {.njx-trow { grid-template-columns: 1fr 1fr 96px; }
.njx-trow .c-st { display: none; }
 }
.njx-kanban { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.njx-col { padding: 10px; }
.njx-dfoot { flex-wrap: wrap; gap: 4px 8px; }
.njx-dfoot span { white-space: nowrap; }

@media (max-width: 1000px) {.njx-kanban { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
 }
.njx-dfoot { flex-direction: column; align-items: flex-start; }

@media (max-width: 1000px) {.njx-kanban { grid-template-columns: repeat(5, minmax(0, 1fr)); }
 }

@media (max-width: 760px) {.njx-kanban { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
 }
/* ---- NJX v6 : canevas recalé sur la vraie séquence (bande KPI, Radar, compteurs de nœud) ---- */

.njx-board { display: grid; grid-template-columns: 200px 640px 232px; gap: 16px; width: 1104px; align-items: start; }
.njx-board.no-lib { grid-template-columns: 640px; width: 640px; }
.njx-seqtop { grid-column: 1 / -1; position: relative; border: 1px solid var(--njx-edge); border-radius: 10px; background: var(--njx-node); box-shadow: 0 0 0 1px var(--njx-ring); padding: 12px 14px; transition: background .8s ease, border-color .8s ease; }
.njx-seqhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.njx-seqhead b { font: 600 18px var(--f-display); }
.njx-crumb { font: 500 13px var(--f-ui); color: var(--ink2); }
.njx-skpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 0; margin: 10px 0; border-top: 1px solid var(--njx-rule); border-bottom: 1px solid var(--njx-rule); }
.njx-sk { padding: 10px 10px 8px; border-right: 1px solid var(--njx-rule); min-width: 0; }
.njx-sk:last-child { border-right: 0; }
.njx-sk .njx-lab { font-size: 10px; letter-spacing: .02em; }
.njx-sk strong { display: block; font: 600 20px var(--f-mono); margin-top: 2px; }
.njx-sk small { font: 500 11px var(--f-ui); color: var(--ink2); }
.njx-prog { display: block; height: 3px; background: var(--njx-idlesoft); border-radius: 2px; margin-top: 4px; }
.njx-prog i { display: block; height: 100%; background: var(--njx-line); border-radius: 2px; }
.njx-radar { display: flex; gap: 10px; align-items: flex-start; background: var(--njx-oksoft); border: 1px solid var(--njx-ok); border-radius: 8px; padding: 10px 12px; color: var(--njx-oktx); }
.njx-radar b { font: 600 13px var(--f-ui); display: block; }
.njx-radar p { font: 400 12.5px/1.45 var(--f-ui); margin: 2px 0 8px; }
.njx-radar .njx-chip { background: transparent; font-size: 20px; color: var(--njx-oktx); }
.njx-btn-s { display: inline-block; font: 600 12px var(--f-ui); padding: 5px 10px; border: 1px solid currentColor; border-radius: 4px; background: var(--njx-solid); color: var(--ink); }
.njx-exec { justify-content: space-between; }
.njx-ex { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.njx-cnt { display: inline-flex; align-items: center; gap: 4px; font: 600 11px var(--f-mono); color: var(--ink); white-space: nowrap; }
.njx-cnt i { width: 5px; height: 5px; border-radius: 50%; background: var(--njx-wait); margin-right: 2px; }
.njx-cnt .njx-i { color: var(--njx-ok); }
.njx-badge { display: inline-block; font: 600 10px var(--f-mono); text-transform: uppercase; letter-spacing: .04em; background: #8A5C0E; color: #FFF8F2; padding: 3px 8px; border-radius: 4px; margin-bottom: 6px; }
/* ---- NJX v7 : navigation compacte ---- */

.navlinks a { white-space: nowrap; }
.njx-menu { display: none; position: relative; }
.njx-menu summary { list-style: none; cursor: pointer; font: 600 11px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line-heavy); border-radius: 4px; }
.njx-menu summary::-webkit-details-marker { display: none; }
.njx-menu summary:focus-visible { outline: 2px solid var(--amber-text); outline-offset: 2px; }
.njx-menu nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surface); border: 1px solid var(--line-heavy); border-radius: 8px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .4); padding: 8px; display: grid; z-index: 120; }
.njx-menu nav a { font: 600 12px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: 12px; border-radius: 4px; white-space: nowrap; }
.njx-menu nav a:hover { background: var(--yellow-bg); color: var(--amber-text); }

@media (max-width: 1320px) {.navlinks { display: none; }
.njx-menu { display: block; }

}

@media (max-width: 520px) {.nav-actions { gap: 8px; }
.nav-actions .btn-small { padding-inline: 10px; font-size: 11px; }

}
/* ---- NJX v8 : onglets Calendrier et Contenu ---- */

.njx-cal { padding: 14px; }
.njx-calgrid { display: grid; grid-template-columns: 48px repeat(5, minmax(0, 1fr)); gap: 0; }
.njx-hours-col { display: grid; grid-template-rows: repeat(10, 48px); margin-top: 52px; font: 500 10.5px var(--f-mono); color: var(--ink2); }
.njx-day { border-left: 1px solid var(--njx-rule); min-width: 0; }
.njx-dayh { height: 52px; text-align: center; padding-top: 6px; border-bottom: 1px solid var(--njx-rule); }
.njx-dayh small { display: block; font: 600 10.5px var(--f-mono); text-transform: uppercase; color: var(--ink2); }
.njx-dayh b { font: 600 20px var(--f-display); }
.njx-dcol { position: relative; height: 480px; background: repeating-linear-gradient(180deg, transparent 0 47px, var(--njx-rule) 47px 48px); }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 4px; padding: 3px 6px; font: 600 11.5px/1.25 var(--f-ui); overflow: hidden; border-left: 3px solid; color: var(--ink); }
.ev b { font: 600 10.5px var(--f-mono); margin-right: 4px; }
.ev small { display: block; font: 500 10.5px var(--f-ui); color: var(--ink2); }
.ev.rdv { background: var(--njx-oksoft); border-color: var(--njx-ok); }
.ev.post { background: var(--njx-thinksoft); border-color: var(--njx-think); }
.njx-legend { display: flex; gap: 16px; margin-top: 10px; font: 500 12px var(--f-ui); color: var(--ink2); }
.njx-legend .k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; border-left: 3px solid; }
.njx-legend .k.rdv { background: var(--njx-oksoft); border-color: var(--njx-ok); }
.njx-legend .k.post { background: var(--njx-thinksoft); border-color: var(--njx-think); }
.njx-contentwrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.njx-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.njx-post { padding: 12px; }
.njx-post:first-child { grid-column: 1 / -1; }
.njx-ph2 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.njx-ph2 small,
.njx-meta { font: 500 11px var(--f-mono); color: var(--ink2); }
.njx-meta { display: block; margin-top: 8px; }
.njx-slide { position: relative; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 6px; aspect-ratio: 16 / 9; justify-content: space-between; overflow: hidden; }
.njx-slide em { font: 600 10px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; opacity: .85; }
.njx-slide b { font: 500 clamp(15px, 1.8vw, 20px)/1.2 var(--f-display); }
.njx-slide span { font: 600 10.5px var(--f-mono); }
.njx-slide.navy { background: #0F2A3F; color: #FFF8F2; }
.njx-slide.cream { background: #F4EAD9; color: #12100C; }
.njx-slide.quote { background: #FFFBF6; color: #12100C; border: 1px solid var(--njx-rule); }
.njx-slide.amber { background: #F5A623; color: #12100C; }
.njx-carousel { padding: 14px 16px; }
.njx-slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.njx-slide.sm { aspect-ratio: 1 / 1; padding: 10px; }
.njx-slide.sm strong { font: 600 44px/1 var(--f-display); }
.njx-slide.sm b { font-size: 15px; }
.njx-slide .bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; }
.njx-slide .bars i { flex: 1; background: #F5A623; border-radius: 2px 2px 0 0; }
.njx-slide .funnel { display: grid; gap: 3px; }
.njx-slide .funnel i { display: block; background: #F5A623; color: #12100C; font: 600 10.5px var(--f-mono); font-style: normal; padding: 3px 6px; border-radius: 2px; }

@media (max-width: 980px) {.njx-contentwrap { grid-template-columns: minmax(0, 1fr); }
 }

@media (max-width: 600px) {.njx-cards { grid-template-columns: minmax(0, 1fr); }
.njx-calgrid { grid-template-columns: 38px repeat(5, minmax(96px, 1fr)); min-width: 560px; }
.njx-cal .njx-real { overflow-x: auto; }

}
.njx-exec { font-size: 10.5px; }
.njx-exec .njx-ex { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
/* carte de rendez-vous sombre dans les deux thèmes : vert clair lisible */

.cal-status { color: #6FBF93; }


/* ---- NJX v9 : un seul thème (clair), langue FR/EN, accessibilité ---- */
:root { color-scheme: light; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.i18n-pending body { visibility: hidden; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-heavy); border-radius: 4px; overflow: hidden; }
.lang-switch button { font: 600 11px var(--f-mono); letter-spacing: .05em; padding: 0 11px; min-height: 44px; min-width: 44px; background: transparent; color: var(--ink); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang-switch button:focus-visible { outline: 2px solid var(--amber-text); outline-offset: -2px; }
.lang-switch-menu { margin: 8px 12px 6px; align-self: start; }
.njx-pagetitle { font: 640 clamp(20px, 2.4vw, 26px)/1.15 var(--f-display); letter-spacing: -.015em; margin: 4px 0 0; }
.njx-h4 { font: 640 16px/1.2 var(--f-display); margin: 0; }
.njx-states { margin: 16px 0 0; font: 400 13px/1.8 var(--f-ui); color: var(--ink2); }
.njx-states .njx-pill { margin-left: 2px; }
.signup-feedback-err { color: #8A1F11; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 520px) { .nav-actions .lang-switch button { padding: 0 8px; min-width: 40px; } }
.serif-italic { padding-inline-end: .06em; }
.njx-body, .njx-body > * { min-width: 0; }
.njx-cal { max-width: 100%; }
.njx-pagehead { min-width: 0; }
@media (max-width: 520px) { .nav-actions .btn-small { display: none; } .top { gap: 8px; } }

.cal-status { color: #6FBF93; }

/* T5 focus global : anneau visible au clavier sur tous les contrôles */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--amber-text);
  outline-offset: 2px;
}
.panel-ink a:focus-visible, .panel-ink button:focus-visible, .panel-ink input:focus-visible, .signup-input:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
