/* ==========================================================================
   ELORK — Site commercial · Style Linear/Stripe dark
   ========================================================================== */

:root {
  --bg: #07080c;
  --bg-2: #0b0e15;
  --surface: #11151f;
  --surface-2: #161b27;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e7eaf0;
  --text-dim: #9aa3b2;
  --text-dimmer: #6b7280;
  --primary: #3a86ff;
  --primary-2: #8338ec;
  --orange: #ff7a00;
  --green: #06d6a0;
  --red: #ef4444;
  --gradient: linear-gradient(135deg, #3a86ff 0%, #8338ec 50%, #ff7a00 100%);
  --gradient-2: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 80px -10px rgba(58, 134, 255, 0.35);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === Global background mesh === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px circle at 10% 0%, rgba(58, 134, 255, 0.12), transparent 50%),
    radial-gradient(800px circle at 90% 20%, rgba(131, 56, 236, 0.10), transparent 50%),
    radial-gradient(600px circle at 50% 100%, rgba(255, 122, 0, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

main, section, header, footer { position: relative; z-index: 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === Typography === */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
p { color: var(--text-dim); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(58, 134, 255, 0.1);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(58, 134, 255, 0.25);
  margin-bottom: 20px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-block { display: flex; justify-content: center; width: 100%; margin-top: 24px; }

.btn-primary {
  background: var(--gradient-2);
  color: white;
  box-shadow: 0 8px 24px -8px rgba(58, 134, 255, 0.6);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px rgba(58, 134, 255, 0.8);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  background: rgba(7, 8, 12, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
}
.logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 1200px; height: 600px;
  background: radial-gradient(closest-side, rgba(58, 134, 255, 0.18), transparent);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin: 24px 0 36px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 40px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.hero-trust strong { color: var(--text); }
.avatars { display: flex; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem;
  color: white;
}
.avatars .avatar:first-child { margin-left: 0; }

/* === Hero mockup === */
.hero-mockup {
  position: relative;
  perspective: 1500px;
}

.window {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: rotateY(-6deg) rotateX(4deg) scale(0.96);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.window:hover { transform: rotateY(-2deg) rotateX(2deg) scale(1); }
.window-lg { min-height: 520px; }
.window-lg .window-body { min-height: 480px; }

.window-bar {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  gap: 6px;
}
.dot-red, .dot-yellow, .dot-green {
  width: 11px; height: 11px; border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.window-url {
  flex: 1; text-align: center;
  font-size: 0.78rem; color: var(--text-dimmer);
  font-family: 'SF Mono', Monaco, monospace;
}
.window-body { display: flex; min-height: 420px; }

/* Sidebar — style Elork */
.mockup-sidebar {
  width: 200px;
  background: #0a0d14;
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.side-society {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.side-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  padding: 2px 10px 4px;
  font-weight: 600;
}
.side-item {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 9px;
  cursor: pointer;
  transition: background 0.2s;
}
.side-item:hover { background: rgba(255, 255, 255, 0.04); }
.side-item.active {
  background: rgba(58, 134, 255, 0.18);
  color: #5ea3ff;
  font-weight: 600;
}
.side-item.active .ico { background: #5ea3ff; opacity: 1; }
.ico {
  width: 14px; height: 14px;
  display: inline-block;
  background: var(--text-dimmer);
  opacity: 0.6;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
}
.ico-home  { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 12l9-9 9 9'/><path d='M5 10v10h14V10'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 12l9-9 9 9'/><path d='M5 10v10h14V10'/></svg>"); }
.ico-users { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21a8 8 0 0116 0'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21a8 8 0 0116 0'/></svg>"); }
.ico-clip  { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='6' y='4' width='12' height='17' rx='2'/><path d='M9 4v3h6V4'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='6' y='4' width='12' height='17' rx='2'/><path d='M9 4v3h6V4'/></svg>"); }
.ico-cal   { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>"); }
.ico-box   { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 7l9-4 9 4v10l-9 4-9-4z'/><path d='M3 7l9 4 9-4M12 11v10'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 7l9-4 9 4v10l-9 4-9-4z'/><path d='M3 7l9 4 9-4M12 11v10'/></svg>"); }
.ico-doc   { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M14 3H6a2 2 0 00-2 2v14a2 2 0 002 2h12a2 2 0 002-2V9z'/><path d='M14 3v6h6M8 13h8M8 17h5'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M14 3H6a2 2 0 00-2 2v14a2 2 0 002 2h12a2 2 0 002-2V9z'/><path d='M14 3v6h6M8 13h8M8 17h5'/></svg>"); }
.ico-bill  { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 3v18l3-2 3 2 3-2 3 2 3-2V3z'/><path d='M8 9h8M8 13h5'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 3v18l3-2 3 2 3-2 3 2 3-2V3z'/><path d='M8 9h8M8 13h5'/></svg>"); }
.ico-chart { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 20V10M10 20V4M16 20v-6M22 20H2'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 20V10M10 20V4M16 20v-6M22 20H2'/></svg>"); }
.ico-map   { mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M2 6l7-3 6 3 7-3v15l-7 3-6-3-7 3z'/><path d='M9 3v15M15 6v15'/></svg>"); -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M2 6l7-3 6 3 7-3v15l-7 3-6-3-7 3z'/><path d='M9 3v15M15 6v15'/></svg>"); }
.ico { background-color: currentColor; }

/* Main */
.mockup-main {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  overflow: hidden;
}

/* Topbar style Elork */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}
.topbar-title { font-size: 0.85rem; font-weight: 600; }
.topbar-cta {
  display: flex; align-items: center; gap: 6px;
  background: #3a86ff;
  color: white;
  border: none;
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}

/* Greeting */
.greet {
  padding: 16px;
  background: radial-gradient(circle at top right, rgba(58, 134, 255, 0.08), transparent 60%);
}
.greet-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.greet h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

/* KPI row — style Elork */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 14px; }
.kpi {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.kpi-label {
  font-size: 0.58rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi-value {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kpi-sub { font-size: 0.62rem; color: var(--text-dimmer); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-success .kpi-value { color: #22c55e; }
.kpi-danger  .kpi-value { color: #ef4444; }

/* Old kpi-trend kept for backward compat (unused but harmless) */
.kpi-trend {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}
.kpi-trend.up { background: rgba(6, 214, 160, 0.15); color: var(--green); }

/* Mini planning — bloc Accueil */
.mini-planning {
  margin: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.mp-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.mp-head .mp-title { font-weight: 600; }
.mp-head .mp-link { color: #5ea3ff; font-size: 0.72rem; }
.mp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.mp-day {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-dim);
  text-align: center;
  padding-bottom: 4px;
}
.mp-cell {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  min-height: 28px;
  padding: 2px;
}
.mp-ev {
  border-radius: 3px;
  padding: 3px 5px;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.window-lg.in .mp-ev {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--d, 0) * 1s);
}

/* Chart */
.chart {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.chart-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-dim);
  margin-bottom: 10px;
}
.legend { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; background: var(--gradient-2); border-radius: 2px; display: inline-block; }
.bars {
  display: flex; align-items: flex-end;
  gap: 4px; height: 70px;
}
.bar {
  flex: 1;
  height: 0;
  background: var(--gradient-2);
  border-radius: 3px 3px 0 0;
  opacity: 0.85;
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.bars.in .bar { height: var(--h); }

/* Rows */
.rows {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.row-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-dim);
  margin-bottom: 8px;
}
.pill {
  background: rgba(255, 122, 0, 0.15);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}
.row-item {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 0.82rem;
  transition: background 0.2s;
}
.row-item:hover { background: rgba(255, 255, 255, 0.03); }
.status {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-ok { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-pending { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.row-tech { color: var(--text-dim); font-size: 0.75rem; }
.row-amt { font-weight: 600; }

/* Floating elements */
.float-notif {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-card);
  animation: floatY 4s ease-in-out infinite;
  z-index: 2;
}
.notif-icon {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.notif-body { display: flex; flex-direction: column; }
.notif-body strong { font-size: 0.85rem; }
.notif-body span { font-size: 0.75rem; color: var(--text-dim); }

.float-card {
  position: absolute;
  top: 30px; right: -30px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px;
  width: 200px;
  box-shadow: var(--shadow-card);
  animation: floatY 5s ease-in-out infinite reverse;
  z-index: 2;
}
.float-card-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.float-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
}
.float-card-row strong { font-size: 0.82rem; display: block; }
.float-card-row span { font-size: 0.72rem; color: var(--text-dim); }
.float-mini-map {
  height: 60px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(58, 134, 255, 0.4) 50%, transparent 51%),
    radial-gradient(circle at 30% 50%, var(--orange) 2px, transparent 3px),
    radial-gradient(circle at 70% 50%, var(--primary) 3px, transparent 4px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.06));
  border-radius: 6px;
  border: 1px solid var(--border);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-mockup { perspective: none; }
  .window { transform: none; }
  .float-card { right: -10px; }
  .float-notif { left: -10px; }
}

/* ==========================================================================
   LOGOS STRIP
   ========================================================================== */
.logos-strip {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
}
.logos-title {
  text-align: center;
  color: var(--text-dimmer);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.logos {
  display: flex; justify-content: space-around; align-items: center;
  flex-wrap: wrap; gap: 30px;
  opacity: 0.6;
}
.logo-item {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-dim);
}
.logo-item span {
  display: inline-block;
  margin-left: 4px;
  color: var(--primary);
}

/* ==========================================================================
   SECTIONS GENERIC
   ========================================================================== */
section { padding: 100px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 1.1rem; }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}
.feature-block.reverse .feature-text { order: 2; }
.feature-block:last-child { margin-bottom: 0; }

.feature-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.feature-text h3 { margin-bottom: 16px; }
.feature-text h3 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-text p { font-size: 1.05rem; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(6, 214, 160, 0.15);
  border-radius: 50%;
  position: relative;
}
.check::after {
  content: '';
  position: absolute;
  top: 5px; left: 6px;
  width: 4px; height: 8px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.feature-visual { position: relative; }

@media (max-width: 900px) {
  .feature-block { grid-template-columns: 1fr; gap: 40px; margin-bottom: 100px; }
  .feature-block.reverse .feature-text { order: 0; }
}

/* === PLANNING mockup === */
.planning {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
  min-height: 360px;
}
.planning-head, .planning-grid {
  display: grid;
  grid-template-columns: 50px repeat(4, 1fr);
  gap: 6px;
}
.planning-head span {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-align: center;
  padding-bottom: 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.planning-head span strong { font-size: 0.68rem; letter-spacing: 0.05em; }
.planning-head span em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.planning-grid { grid-auto-rows: 64px; margin-top: 4px; }
.hour {
  font-size: 0.72rem;
  color: var(--text-dimmer);
  display: flex; align-items: center;
  padding-right: 8px;
}
.slot {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 4px;
  position: relative;
}
.event {
  position: absolute;
  inset: 4px;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.event .ev-meta {
  font-size: 0.6rem;
  letter-spacing: 0.02em;
}
.event .ev-meta strong { letter-spacing: 0.05em; }
.event .ev-cat {
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  opacity: 0.95;
}
.planning.in .event {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: calc(var(--d, 0) * 1s);
}
.ev-blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.ev-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.ev-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.ev-green  { background: linear-gradient(135deg, #10b981, #047857); }
.ev-pink   { background: linear-gradient(135deg, #ec4899, #be185d); }
.ev-red    { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.event { cursor: pointer; }
.event:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* === Event popover (style Elork) === */
.event-pop {
  position: absolute;
  width: 240px;
  background: rgba(15, 18, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 400;
  text-shadow: none;
  letter-spacing: 0;
  transform: scale(0.95);
}
.event-pop.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.pop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  gap: 8px;
}
.pop-head strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.pop-badge {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}
.pop-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 3px 0;
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.35;
}
.pop-row span:last-child { color: var(--text-dim); }
.pop-ico {
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  filter: grayscale(0.2);
}
.pop-row strong { color: var(--text); font-weight: 700; }
.pop-row.pop-amt strong { color: #4ade80; font-weight: 800; font-size: 0.95rem; }
.event-pop hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
.pop-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-dimmer);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-style: italic;
}

/* === DEVIS mockup === */
.devis {
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 360px;
}
.devis-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.devis-head strong { display: block; font-size: 0.95rem; }
.devis-client { font-size: 0.8rem; color: var(--text-dim); }
.badge-status {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  transition: all 0.5s;
}
.badge-status.signed {
  background: rgba(6, 214, 160, 0.15);
  color: var(--green);
}
.devis-lines { display: flex; flex-direction: column; gap: 8px; }
.devis-line {
  display: flex; justify-content: space-between;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.devis-line .amt { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.devis-total {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px;
}
.line-mini {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-dim);
}
.line-total {
  display: flex; justify-content: space-between;
  font-size: 0.95rem; font-weight: 700;
  margin-top: 4px;
}
.line-total .big {
  font-size: 1.3rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.devis-btn {
  margin-top: 8px;
  background: var(--gradient-2);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.3s;
}
.devis-btn:hover { transform: translateY(-1px); }
.devis-btn.sent {
  background: rgba(6, 214, 160, 0.2);
  color: var(--green);
  pointer-events: none;
}

/* === DEVIS APP (style PDF preview) === */
.devis-app {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  background: #0d1019;
}
.devis-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
}
.devis-back { color: var(--text-dim); cursor: pointer; }
.devis-toolbar strong { font-weight: 700; }
.devis-client-tag { color: #5ea3ff; font-weight: 600; }
.devis-tools { margin-left: auto; display: flex; gap: 6px; }
.devis-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.devis-tool-btn.primary {
  background: #3a86ff;
  border-color: #3a86ff;
  color: white;
}
.devis-pdf {
  background: white;
  color: #1f2937;
  margin: 18px;
  padding: 22px 24px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  font-size: 0.7rem;
  flex: 1;
}
.pdf-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}
.pdf-logo img { width: 56px; height: 56px; object-fit: contain; }
.pdf-id {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.65rem;
  color: #6b7280;
}
.pdf-id strong {
  background: #3a86ff;
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.75rem;
  align-self: flex-end;
  margin-bottom: 4px;
}
.pdf-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.pdf-parties strong { display: block; margin-bottom: 2px; font-size: 0.78rem; }
.pdf-parties span { display: block; color: #6b7280; line-height: 1.4; }
.pdf-blue { color: #3a86ff; }
.pdf-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #9ca3af !important;
  margin-bottom: 2px;
}
.pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 0.66rem;
}
.pdf-table th {
  background: #3a86ff;
  color: white;
  padding: 6px 8px;
  text-align: left;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}
.pdf-table th:nth-child(n+2) { text-align: right; }
.pdf-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #f3f4f6;
}
.pdf-table td:nth-child(n+2) { text-align: right; color: #4b5563; }
.pdf-total {
  margin-left: auto;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pdf-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #4b5563;
}
.pdf-total-line.big {
  background: #3a86ff;
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 4px;
  font-size: 0.78rem;
}
.badge-status {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.badge-status.signed {
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
}

/* === STATS BLOCK (chart + map combined) === */
.stats-block {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.stats-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.kpi-mini {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kpi-mini span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.kpi-mini strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.stats-chart {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.bars-real {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 110px;
  margin-top: 8px;
}
.bar-pair {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.bar-pair .bar {
  width: 100%;
  height: 0;
  border-radius: 3px 3px 0 0;
  transition: height 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-end;
  margin-top: auto;
}
.bars-real.in .bar { height: var(--h); }
.bar.b-blue { background: linear-gradient(180deg, #60a5fa, #3b82f6); }
.bar.b-red  { background: linear-gradient(180deg, #f87171, #ef4444); }
.bar-pair span {
  font-size: 0.58rem;
  color: var(--text-dimmer);
  font-weight: 600;
}

/* Mini map under stats — Leaflet */
.map-mini { height: 280px; position: relative; overflow: hidden; }

#elork-map.leaflet-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0a0d14;
  z-index: 1;
}

/* Leaflet defaults overrides pour fondre dans la deco */
.leaflet-container {
  background: #0a0d14 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  outline: none !important;
}
.leaflet-tile { filter: saturate(0.9) brightness(0.95); }

.leaflet-control-attribution {
  background: rgba(11, 14, 21, 0.7) !important;
  color: var(--text-dimmer) !important;
  font-size: 9px !important;
  padding: 1px 5px !important;
  border-radius: 3px !important;
  margin: 4px !important;
  border: 1px solid var(--border) !important;
}
.leaflet-control-attribution a {
  color: var(--text-dim) !important;
  text-decoration: none !important;
}

/* Marqueurs personnalisés */
.leaflet-pin {
  position: relative;
  width: 14px !important;
  height: 14px !important;
  pointer-events: none;
}
.leaflet-pin .pin-dot {
  position: absolute;
  inset: 0;
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.leaflet-pin::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.5);
  animation: pinHalo 2.2s ease-out infinite;
  z-index: 1;
}
.leaflet-marker-icon:nth-of-type(3n)::before { animation-delay: 0.4s; }
.leaflet-marker-icon:nth-of-type(3n+1)::before { animation-delay: 0.9s; }
.leaflet-marker-icon:nth-of-type(3n+2)::before { animation-delay: 1.4s; }
@keyframes pinHalo {
  0%   { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

/* Overlays au-dessus de Leaflet (qui utilise z-index ~400-700) */
.map-mini .map-overlay,
.map-mini .map-toggle {
  z-index: 800 !important;
}

.map-mini .map-overlay {
  bottom: 12px;
  left: 12px;
  background: rgba(11, 14, 21, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 170px;
  z-index: 4;
}
.map-overlay-title {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 6px;
}
.map-mini .map-stat {
  font-size: 0.72rem;
  padding: 2px 0;
}

.map-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  background: rgba(11, 14, 21, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 3px;
  z-index: 4;
}
.map-tog {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
}
.map-tog.active {
  background: rgba(58, 134, 255, 0.18);
  color: #5ea3ff;
}

/* === PHONES mockup === */
.phones {
  position: relative;
  height: 540px;
  display: flex; justify-content: center; align-items: center;
}
.phone {
  position: absolute;
  width: 240px; height: 480px;
  background: #0a0a0f;
  border: 8px solid #1a1d28;
  border-radius: 36px;
  padding: 18px 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-strong);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone-back {
  transform: rotate(-10deg) translateX(-60px) translateY(20px);
  z-index: 1;
}
.phone-front {
  transform: rotate(8deg) translateX(60px);
  z-index: 2;
}
.phones:hover .phone-back { transform: rotate(-6deg) translateX(-70px) translateY(10px); }
.phones:hover .phone-front { transform: rotate(4deg) translateX(70px) translateY(-10px); }
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #0d1019, #060810);
  border-radius: 24px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.phone-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; font-weight: 600;
  color: var(--text);
}
.phone-bat {
  width: 24px; height: 12px;
  border: 1.5px solid var(--text);
  border-radius: 3px;
  position: relative;
}
.phone-bat::after {
  content: '';
  position: absolute;
  inset: 1px;
  width: 75%;
  background: var(--green);
  border-radius: 1px;
}
.phone-title { font-size: 0.95rem; font-weight: 700; margin-top: 6px; }
.phone-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.phone-card-head {
  display: flex; justify-content: space-between; align-items: center;
}
.phone-card-head strong { font-size: 0.9rem; }
.badge-pill {
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.phone-card p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
}
.phone-client { color: var(--text-dimmer) !important; font-size: 0.72rem !important; }

.phone-btn-primary, .phone-btn-ghost {
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.phone-btn-primary {
  background: var(--gradient-2);
  color: white;
  margin-top: auto;
}
.phone-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.phone-sig-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.sig { width: 100%; height: 100%; }
.sig path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 2s ease;
}
.phones.in .sig path { stroke-dashoffset: 0; }
.phone-recap {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 12px;
}
.phone-recap div {
  display: flex; justify-content: space-between;
  font-size: 0.82rem;
  padding: 4px 0;
}
.phone-recap span { color: var(--text-dim); }
.phone-recap .ok { color: var(--green); }

/* === WEBAPP (Safari elork.fr) === */
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone-screen.webapp {
  padding: 0;
  background: #f5f6f8;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.webapp-status {
  background: #0a0a0f;
  color: white;
  padding: 8px 16px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.webapp-status .phone-bat::after { background: white; }
.wa-header {
  background: #0a0a0f;
  color: white;
  padding: 10px 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.wa-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wa-eyebrow {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}
.wa-id { font-size: 0.85rem; font-weight: 800; letter-spacing: -0.01em; }
.wa-header-right {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.wa-amount {
  font-size: 0.95rem;
  font-weight: 800;
  color: #d4a849;
  letter-spacing: -0.01em;
}
.wa-header-right span {
  font-size: 0.55rem;
  color: #94a3b8;
  letter-spacing: 0.05em;
}
.wa-body {
  flex: 1;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-back {
  font-size: 0.62rem;
  color: #6b7280;
  padding: 2px 0 4px;
}
.wa-section {
  background: white;
  border-radius: 10px;
  padding: 9px 11px;
  border: 1px solid #e5e7eb;
}
.wa-section-title {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 6px;
}
.wa-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  padding: 3px 0;
  color: #4b5563;
}
.wa-row strong { color: #111827; font-weight: 600; }
.wa-row-big {
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
  padding-top: 6px;
  font-size: 0.72rem;
}
.wa-row-big strong { font-weight: 800; font-size: 0.78rem; }
.wa-presta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa-presta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
}
.wa-presta-row strong { font-weight: 700; color: #111827; }
.wa-presta-row span { color: #1f2937; font-weight: 600; }
.wa-presta-sub {
  font-size: 0.6rem;
  color: #6b7280;
}
.wa-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.62rem;
  color: #374151;
  padding: 4px 0;
  line-height: 1.35;
}
.wa-check strong { color: #111827; font-weight: 700; }
.wa-box {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 3px;
  margin-top: 1px;
  position: relative;
}
.wa-box.checked {
  background: #3a86ff;
  border-color: #3a86ff;
}
.wa-box.checked::after {
  content: '';
  position: absolute;
  top: 1px; left: 3px;
  width: 3px; height: 6px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.wa-sig {
  background: #f9fafb;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  height: 60px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.wa-sig .sig { width: 100%; height: 100%; }
.wa-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
  width: 100%;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.wa-safari {
  background: #ddd;
  padding: 6px 14px 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #c5c5c5;
}
.wa-safari-url {
  background: white;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.62rem;
  color: #1f2937;
  flex: 1;
  text-align: center;
  font-weight: 500;
}
.wa-safari-arrow {
  font-size: 1rem;
  color: #007aff;
  font-weight: 300;
}

/* Inline URL code in feature text */
.inline-url {
  background: rgba(58, 134, 255, 0.15);
  color: #5ea3ff;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.9em;
  font-weight: 600;
  border: 1px solid rgba(58, 134, 255, 0.25);
}

/* === MAP mockup === */
.map {
  position: relative;
  height: 420px;
  background:
    radial-gradient(circle at 20% 30%, rgba(58, 134, 255, 0.1), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(131, 56, 236, 0.08), transparent 40%),
    linear-gradient(180deg, #0a0d15, #0f131e);
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-routes {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.map.in .map-routes path {
  animation: dashflow 2s linear infinite;
}
@keyframes dashflow {
  to { stroke-dashoffset: -24; }
}
.pin {
  position: absolute;
  width: 16px; height: 16px;
  background: var(--c);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 0 var(--c), 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  animation: pinPulse 2s ease-in-out infinite;
}
.pin:nth-child(3) { animation-delay: 0.3s; }
.pin:nth-child(4) { animation-delay: 0.6s; }
.pin:nth-child(5) { animation-delay: 0.9s; }
.pin:nth-child(6) { animation-delay: 1.2s; }
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--c), 0 4px 12px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 0 10px transparent, 0 4px 12px rgba(0, 0, 0, 0.4); }
}
.map-overlay {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(11, 14, 21, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  min-width: 200px;
}
.map-stat {
  display: flex; justify-content: space-between;
  font-size: 0.82rem;
}
.map-stat span { color: var(--text-dim); }
.map-stat strong { color: var(--text); }

/* ==========================================================================
   SCREENSHOT CAROUSEL
   ========================================================================== */
.demo-section { background: rgba(255, 255, 255, 0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.car-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-card), 0 0 100px -20px rgba(58, 134, 255, 0.2);
}
.car-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.slide figcaption {
  position: absolute;
  bottom: 16px; left: 16px;
  padding: 8px 14px;
  background: rgba(7, 8, 12, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
}
.slide.placeholder::before {
  content: 'Capture en attente — dépose ' attr(data-name) ' ici';
  display: block;
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-dimmer);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02) 10px, transparent 10px, transparent 20px),
    linear-gradient(135deg, var(--surface), var(--surface-2));
  padding: 40px;
  text-align: center;
}

.car-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.car-arrow:hover {
  background: var(--surface-2);
  border-color: var(--primary);
  color: var(--primary);
}

.car-dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.car-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.3s;
}
.car-dots button.active {
  background: var(--primary);
  width: 24px;
  border-radius: 100px;
}

.screenshot-tip {
  text-align: center;
  margin-top: 60px;
  color: var(--text-dimmer);
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.screenshot-tip code {
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.82rem;
  color: var(--primary);
}

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band {
  padding: 60px 0;
  background:
    radial-gradient(800px circle at 50% 50%, rgba(58, 134, 255, 0.08), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--text-dim); font-size: 0.92rem; }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 24px;
  transition: all 0.3s;
}
.testi:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.testi p { color: var(--text); font-size: 0.98rem; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author strong { display: block; font-size: 0.9rem; }
.testi-author span { font-size: 0.78rem; color: var(--text-dim); }

@media (max-width: 800px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all 0.3s;
}
.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-dim);
  font-weight: 600;
}
.price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 8px;
}
.price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price .period { color: var(--text-dim); font-size: 0.9rem; }
.price-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.price-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.price-card ul li .check { width: 18px; height: 18px; }
.price-card ul li .check::after { top: 4px; left: 5px; }

.price-featured {
  background: linear-gradient(180deg, rgba(58, 134, 255, 0.08), rgba(131, 56, 236, 0.04));
  border-color: rgba(58, 134, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(58, 134, 255, 0.2);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-2);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 24px 20px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final { padding: 100px 0 140px; }
.cta-box {
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.06), rgba(131, 56, 236, 0.04));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(closest-side, rgba(58, 134, 255, 0.25), transparent);
  pointer-events: none;
}
.cta-box h2 { margin-bottom: 16px; position: relative; }
.cta-box > p { font-size: 1.1rem; margin-bottom: 40px; position: relative; }
.cta-form {
  display: flex; gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}
.cta-form input {
  flex: 1; min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input:focus { border-color: var(--primary); }
.cta-form input::placeholder { color: var(--text-dimmer); }
.cta-form button { flex-shrink: 0; }
.cta-small {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid strong {
  font-size: 0.85rem;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-grid a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--text); }
.footer-tag { color: var(--text-dim); font-size: 0.9rem; max-width: 280px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dimmer);
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================================
   ANIMATIONS - reveal on scroll
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].in {
  opacity: 1;
  transform: translateY(0);
}
