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

:root {
  --v: #8b5cf6;
  --v2: #a78bfa;
  --v3: #6d28d9;
  --bg: #16162a;
  --bg2: #1e1e38;
  --bg3: #282846;
  --txt: #f4f2ff;
  --muted: rgba(240,238,255,0.52);
  --border: rgba(139,92,246,0.22);
  --site-nav-h: 64px; /* 10 + logo 44 + 10 — safe-area en plus via padding nav */
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--txt);
  overflow-x: clip;
  cursor: none;
  width: 100%;
  max-width: 100%;
}

/* CURSOR */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--v2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(139,92,246,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}

/* PROGRESS */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #7c3aed, #c4b5fd);
  z-index: 9001;
  width: 0%;
  transition: width 0.05s linear;
}

/* HEADER / NAV */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 60px 10px;
  gap: 16px;
  min-height: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px));
  box-sizing: border-box;
  background: transparent;
  border-bottom: 0.5px solid rgba(139,92,246,0.1);
  isolation: isolate;
}
/* Blur sur ::before — évite que backdrop-filter ne clippe le menu fixed enfant */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22,22,42,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: none;
}
nav,
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  min-height: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  max-width: min(220px, 40vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--txt); }

/* =====================
   SECTIONS — structure commune
   ===================== */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 60px 80px;
  position: relative;
  overflow: hidden;
}

.stars-wrap { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle linear infinite;
}
@keyframes twinkle {
  0%,100% { opacity: 0; } 50% { opacity: 0.55; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.orb-main {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(109,40,217,0.22) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v2);
  background: rgba(139,92,246,0.1);
  border: 0.5px solid rgba(139,92,246,0.3);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--v2);
  animation: pulse 2s infinite;
}
.hero-badge-flag {
  display: inline-flex;
  flex-shrink: 0;
  margin-left: 4px;
}
.hero-badge-flag svg {
  display: block;
  width: 15px;
  height: 10px;
  border-radius: 2px;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.12);
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.7); }
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}
.hero-logo {
  width: min(480px, 88vw);
  height: auto;
  display: block;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 50%, #ddd6fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: min(36ch, 92vw);
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint span {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(139,92,246,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* =====================
   FEATURE SECTIONS
   ===================== */
.feat-section {
  padding: 120px 60px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,2fr);
  gap: 100px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.feat-section.reverse { direction: rtl; }
.feat-section.reverse > * { direction: ltr; }

.feat-text { position: relative; }
.feat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 100px;
  font-weight: 800;
  color: rgba(139,92,246,0.1);
  position: absolute;
  top: -36px; left: -16px;
  letter-spacing: -5px;
  user-select: none;
  pointer-events: none;
}
.feat-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--v2);
  margin-bottom: 14px;
  display: block;
}
.feat-title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  max-width: 460px;
  --feat-badge-indent: 68px;
}
.feat-text:has(.feat-title-row) .feat-body,
.feat-text:has(.feat-title-row) .feat-highlights,
.feat-text:has(.feat-title-row) .feat-module-labels {
  margin-left: var(--feat-badge-indent);
}
.feat-title-stack {
  flex: 1;
  min-width: 0;
}
.feat-title-stack .feat-h2 {
  margin-bottom: 0;
}
.feat-title-sep {
  width: 36px;
  height: 1px;
  margin: 11px 0 10px;
  background: linear-gradient(90deg, rgba(139,92,246,0.55), rgba(139,92,246,0.08));
  border: none;
}
.feat-h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: rgba(240,238,255,0.68);
  margin: 0;
  max-width: 420px;
}
.feat-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 5.5vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  max-width: 420px;
  width: fit-content;
}
.feat-app-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(255,255,255,0.1);
  background: var(--app-bg);
  margin-top: 4px;
}
.feat-app-badge svg {
  width: 26px;
  height: 26px;
  color: var(--app-color);
}
.feat-app-badge--nextcloud { --app-color: #00a5a3; --app-bg: rgba(0,165,163,0.10); }
.feat-app-badge--gestion { --app-color: #4a9eff; --app-bg: rgba(74,158,255,0.10); }
.feat-app-badge--net { --app-color: #7c3aed; --app-bg: rgba(124,58,237,0.10); }
.feat-app-badge--net svg { filter: brightness(1.5) saturate(0.6); opacity: 0.9; }
.feat-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
}
.feat-highlights {
  list-style: none;
  margin: 0;
  max-width: 380px;
}
.feat-highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
  color: rgba(240,238,255,0.78);
  padding: 5px 0;
  line-height: 1.45;
}
.feat-highlights li::before {
  content: '·';
  color: var(--v2);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -1px;
}
.feat-module-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  max-width: 380px;
}
.feat-module-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15px;
  padding: 7px 11px 7px 9px;
  border-radius: 8px;
  border: 0.5px solid rgba(139,92,246,0.28);
  background: rgba(139,92,246,0.08);
  color: #c4b5fd;
  line-height: 1.3;
  max-width: 100%;
}
.feat-module-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.92;
  margin-top: 1px;
}
.feat-module-label-name {
  display: block;
  color: #ddd6fe;
}
.feat-module-label-hint {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(240,238,255,0.48);
  margin-top: 2px;
}
/* =====================
   WINDOW — macOS style vide
   ===================== */
.mac-win {
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px rgba(139,92,246,0.15),
    0 32px 80px rgba(0,0,0,0.7);
}
.mac-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mac-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mac-dot.red   { background: #ef5350; }
.mac-dot.amber { background: #f59e0b; }
.mac-dot.green { background: #22c55e; }
.mac-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  margin-right: 33px; /* compense les dots à gauche */
  letter-spacing: 0.3px;
}
.mac-body {
  min-height: 420px;
}
.mac-shot {
  padding: 0;
  min-height: 420px;
  background: linear-gradient(145deg, rgba(139,92,246,0.1), var(--bg2));
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.mac-shot img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mac-shot--pending::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: rgba(196,181,253,0.45);
}
.desk-shot-wrap {
  padding: 0 !important;
  overflow: hidden;
}
.desk-shot {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: linear-gradient(160deg, rgba(139,92,246,0.08), var(--bg2));
}

/* Hub — apps complémentaires */
.hub-wrap {
  padding: 100px 60px 120px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 820px;
  margin: 32px auto 0;
}
.hub-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 0.5px solid rgba(139,92,246,0.28);
  background: rgba(139,92,246,0.06);
  color: rgba(240,238,255,0.72);
  letter-spacing: 0.2px;
}
.hub-chip strong { color: #c4b5fd; font-weight: 600; }
.hub-chip.muted {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.35);
}

/* Hub showcase */
.hub-intro {
  padding: 40px 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hub-intro-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.hub-intro-lead {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}
.hub-device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.hub-device-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  border: 0.5px solid rgba(255,255,255,0.1);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
.hub-device-tag.active {
  border-color: rgba(139,92,246,0.45);
  color: #c4b5fd;
  background: rgba(139,92,246,0.1);
}
.hub-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.hub-pillar {
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: left;
}
.hub-pillar-icon {
  font-size: 20px;
  margin-bottom: 10px;
  line-height: 1;
}
.hub-pillar h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--txt);
}
.hub-pillar p {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
}
.hub-slide-caption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  min-height: 1.4em;
}
.hub-slide-edition {
  position: relative;
}
.hub-slide-edition::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(167,139,250,0.55);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
}
.hub-edit-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(32,32,54,0.92);
  border-bottom: 0.5px solid rgba(139,92,246,0.35);
  font-size: 11px;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.3px;
}
.hub-edit-bar span:last-child {
  padding: 4px 12px;
  border-radius: 6px;
  background: linear-gradient(135deg,#7c3aed,#6d28d9);
  color: #fff;
  font-weight: 500;
}

/* Slider édition bureau (section personnalisation) */
.mac-body.edition-mac-body {
  min-height: 0;
}
.edition-mac-body {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.edition-slider {
  flex: 0 0 auto;
  overflow: hidden;
  width: 100%;
}
.edition-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.edition-slide {
  flex: 0 0 100%;
  width: 100%;
}
.edition-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(139,92,246,0.1), #12122a);
}
.edition-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.edition-frame--zoomable {
  cursor: zoom-in;
}
.edition-frame--zoomable:focus-visible {
  outline: 2px solid rgba(167,139,250,0.85);
  outline-offset: 2px;
}

/* Lightbox captures */
.screen-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.screen-lightbox[hidden] { display: none; }
body.screen-lightbox-open #cursor { z-index: 10002; }
body.screen-lightbox-open #cursor-ring { z-index: 10001; }
.screen-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 36, 0.88);
  backdrop-filter: blur(10px);
}
.screen-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1280px, 96vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.screen-lightbox-close {
  position: absolute;
  top: -4px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0.5px solid rgba(139,92,246,0.35);
  border-radius: 50%;
  background: rgba(139,92,246,0.12);
  color: #e9d5ff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}
.screen-lightbox-close:hover {
  background: rgba(139,92,246,0.28);
  border-color: rgba(167,139,250,0.7);
  color: #fff;
}
.screen-lightbox-stage {
  display: flex;
  align-items: center;
  gap: 12px;
}
.screen-lightbox-figure {
  margin: 0;
  flex: 1;
  min-width: 0;
  text-align: center;
}
.screen-lightbox-figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: calc(94vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0,0,0,0.55);
  background: linear-gradient(145deg, rgba(139,92,246,0.1), #12122a);
}
.screen-lightbox-meta {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.screen-lightbox-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #a78bfa;
}
.screen-lightbox-caption {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}
.screen-lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.screen-lightbox-nav {
  flex-shrink: 0;
}
.screen-lightbox--single .screen-lightbox-nav,
.screen-lightbox--single .screen-lightbox-dots {
  display: none;
}
@media (max-width: 720px) {
  .screen-lightbox { padding: 12px; }
  .screen-lightbox-stage { gap: 6px; }
  .screen-lightbox-nav { width: 36px; height: 36px; font-size: 18px; }
  .screen-lightbox-figure img { max-height: calc(94vh - 150px); }
}
.edition-frame--pending {
  background: linear-gradient(145deg, rgba(139,92,246,0.1), var(--bg2));
}
.edition-frame--pending::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: rgba(196,181,253,0.45);
  text-align: center;
  padding: 0 16px;
}
.feat-app-slider:not(.feat-app-slider--ready) .edition-controls {
  opacity: 0.85;
}
.edition-frame--edit::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(167,139,250,0.5);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
}
.edition-frame--magnet::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 3px dashed #c4b5fd;
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
  box-shadow:
    0 0 24px rgba(139,92,246,0.45),
    inset 0 0 0 1px rgba(167,139,250,0.35);
  animation: editionDashPulse 2.2s ease-in-out infinite;
}
.edition-frame--magnet::after {
  content: '';
  position: absolute;
  inset: 8px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(rgba(196,181,253,0.9), rgba(196,181,253,0.9)) 50% 0 / 2px 100% no-repeat,
    linear-gradient(90deg, rgba(196,181,253,0.9), rgba(196,181,253,0.9)) 0 50% / 100% 2px no-repeat;
}
@keyframes editionDashPulse {
  0%, 100% { border-color: rgba(196,181,253,0.75); }
  50% { border-color: #ede9fe; }
}
.edition-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 12px 12px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  background: rgba(32,32,54,0.65);
}
.edition-caption {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  min-width: 140px;
}
.hub-lock-mock {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(165deg, #e8e4f8 0%, #c4b5fd 45%, #8b5cf6 100%);
  color: #1e1b4b;
  padding: 40px 24px;
}
.hub-lock-time {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hub-lock-date {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.65;
  text-transform: capitalize;
}
.hub-lock-icon {
  width: 56px; height: 56px;
  margin-top: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 32px rgba(30,27,75,0.15);
}
.hub-lock-hint {
  font-size: 12px;
  opacity: 0.55;
  margin-top: 8px;
}
/* Bureau hub — desktop + mobile */
.hub-bureau-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.hub-mobile-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 0.5px solid rgba(139,92,246,0.22);
  background: linear-gradient(135deg, rgba(139,92,246,0.06), rgba(32,32,54,0.5));
}
.hub-mobile-note {
  flex: 1;
  min-width: 0;
}
.hub-mobile-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v2);
  margin-bottom: 8px;
}
.hub-mobile-note p {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.hub-mobile-note strong {
  color: rgba(240,238,255,0.88);
  font-weight: 600;
}
.hub-mobile-row .hub-phone {
  width: min(120px, 28vw);
  border-radius: 18px;
  border-width: 2px;
  flex-shrink: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.hub-mobile-row .hub-phone img {
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}
.edition-frame--phone {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.1), var(--bg2));
  padding: 24px 16px;
}
.edition-frame--phone img {
  width: auto;
  max-width: min(280px, 42%);
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.hub-phone-wrap {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.12), transparent 70%), var(--bg2);
  padding: 32px;
}
.hub-phone {
  width: min(280px, 72vw);
  border-radius: 28px;
  border: 3px solid rgba(255,255,255,0.12);
  background: var(--bg2);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.hub-phone-notch {
  height: 22px;
  background: var(--bg2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}
.hub-phone-notch span {
  width: 72px; height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.12);
}
.hub-phone img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  min-height: 420px;
  background: linear-gradient(180deg, #2e2a5c, var(--bg2));
}
.apps-chapter {
  padding: 80px 60px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.apps-chapter .section-h { margin-bottom: 10px; }
.apps-chapter-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: rgba(196,181,253,0.82);
  letter-spacing: 0.15px;
  margin: 0 0 20px;
}
.apps-chapter-lead {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}
.apps-future {
  padding: 56px 60px 64px;
  max-width: 980px;
  margin: 0 auto;
}
.apps-future-head {
  text-align: center;
  margin-bottom: 22px;
}
.apps-future-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.apps-future-lead {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto;
}
.apps-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.roadmap-card {
  text-align: left;
  padding: 16px 18px 15px;
  border-radius: 12px;
  border: 0.5px solid rgba(139,92,246,0.18);
  background: rgba(139,92,246,0.04);
}
.roadmap-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a78bfa;
  background: rgba(139,92,246,0.12);
  border: 0.5px solid rgba(139,92,246,0.28);
  padding: 2px 7px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.roadmap-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ede9fe;
  margin-bottom: 6px;
  line-height: 1.25;
}
.roadmap-card p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(240,238,255,0.55);
  line-height: 1.5;
  margin: 0;
}
.apps-future-custom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: start;
  text-align: left;
  padding: 20px 22px;
  border-radius: 14px;
  border: 0.5px solid rgba(139,92,246,0.22);
  background: linear-gradient(165deg, rgba(109,40,217,0.08), rgba(30,30,52,0.65));
}
.apps-future-custom-h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.apps-future-custom-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 8px;
}
.apps-future-custom-foot {
  font-size: 12px;
  font-weight: 300;
  color: rgba(196,181,253,0.5);
  line-height: 1.45;
  margin: 0;
}
.apps-future-chips {
  margin: 0;
  max-width: none;
  justify-content: flex-start;
  gap: 8px;
}
.apps-future-chips .hub-chip {
  font-size: 11px;
  padding: 6px 12px;
}
@media (max-width: 860px) {
  .apps-future { padding: 48px 24px 52px; }
  .apps-roadmap-grid { grid-template-columns: 1fr; }
  .apps-future-custom { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .hub-pillars { grid-template-columns: repeat(2, 1fr); }
  .hub-intro { padding: 32px 24px 60px; }
  .nav-logo img { height: 38px; max-width: 46vw; }
  .hero { padding-top: 100px; }
  .hero-logo { width: min(380px, 92vw); }
}
@media (max-width: 560px) {
  .hub-pillars { grid-template-columns: 1fr; }
  .nav-logo img { height: 32px; }
  .pricing-wrap { padding: 72px 20px 60px; }
  .pricing-main { grid-template-columns: 1fr; }
  .pricing-anchor { padding: 24px 20px 20px; }
  .pricing-bricks { padding: 20px 18px 18px; }
  .pricing-bricks-grid { grid-template-columns: 1fr; }
  .pricing-ctas { flex-direction: column; }
  .pricing-cta { width: 100%; text-align: center; }
}

/* Tilt 3D wrapper */
.tilt-wrap {
  perspective: 900px;
}
.tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}

/* =====================
   PRICING
   ===================== */
.pricing-wrap {
  padding: 88px 60px 72px;
  text-align: center;
  position: relative;
}
.pricing-orb {
  position: absolute;
  width: 700px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(109,40,217,0.1) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--v2);
  margin-bottom: 14px;
  display: block;
}
.section-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 60px;
  line-height: 1.05;
}
.pricing-wrap .section-h { margin-bottom: 36px; }
.pricing-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto 24px;
  align-items: stretch;
  text-align: left;
  position: relative;
  z-index: 1;
}
.pricing-anchor {
  max-width: none;
  margin: 0;
  padding: 28px 26px 24px;
  background: linear-gradient(160deg, rgba(109,40,217,0.12), var(--bg3));
  border: 0.5px solid rgba(139,92,246,0.35);
  border-radius: 20px;
  position: relative;
  z-index: 1;
}
.pricing-from {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--v2);
  margin-bottom: 10px;
}
.pricing-hero-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
}
.pricing-amount {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(44px, 8vw, 58px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, #ede9fe 0%, #c4b5fd 45%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-unit {
  font-size: 14px;
  font-weight: 400;
  color: rgba(240,238,255,0.62);
  letter-spacing: 0.2px;
}
.pricing-base-lead {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: none;
}
.pricing-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
.pricing-cta {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 10px;
  border: 0.5px solid transparent;
  box-sizing: border-box;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  line-height: 1.2;
}
.pricing-wrap .demo-btn.pricing-cta {
  padding: 13px 24px;
  font-size: 14px;
  border-radius: 10px;
  min-height: 46px;
  background: transparent;
  color: rgba(240,238,255,0.75);
  border: 0.5px solid rgba(255,255,255,0.14);
  display: flex;
  width: 100%;
}
.pricing-wrap .demo-btn.pricing-cta::before { display: none; }
.pricing-cta:hover { transform: translateY(-2px); }
.pricing-cta-primary {
  background: linear-gradient(135deg,#7c3aed,#6d28d9);
  color: #fff;
  border-color: transparent;
}
.pricing-cta-secondary {
  background: transparent;
  color: rgba(240,238,255,0.75);
  border-color: rgba(255,255,255,0.14);
}
.pricing-cta-secondary:hover { border-color: rgba(255,255,255,0.28); color: var(--txt); }
.pricing-bricks {
  max-width: none;
  margin: 0;
  padding: 24px 22px 20px;
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}
.pricing-bricks-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.pricing-bricks-hint {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.pricing-bricks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pricing-brick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.06);
  font-size: 12px;
}
.pricing-brick-name { color: rgba(240,238,255,0.88); font-weight: 500; }
.pricing-brick-price {
  font-size: 12px;
  font-weight: 600;
  color: #c4b5fd;
  white-space: nowrap;
}
.pricing-bricks-cta {
  margin-top: 14px;
}
.pricing-enterprise {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pricing-enterprise-card {
  text-align: left;
  padding: 20px 24px;
}
.pricing-enterprise-card .p-price {
  font-size: 28px;
  letter-spacing: -0.5px;
  padding-top: 4px;
}
.pricing-enterprise-card .p-features {
  text-align: left;
  margin-bottom: 0;
}
.pricing-enterprise-split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 28px 32px;
  align-items: start;
}
.pricing-enterprise-info .p-sep { margin-bottom: 16px; }
.pricing-enterprise-phone {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 500;
  color: #c4b5fd;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.pricing-enterprise-phone:hover { color: #ede9fe; }
.pricing-enterprise-form {
  text-align: left;
}
.pe-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pe-form-group {
  margin-bottom: 10px;
}
.pe-form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(240,238,255,0.55);
  margin-bottom: 5px;
}
.pe-form-input,
.pe-form-textarea {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--txt);
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
}
.pe-form-input:focus,
.pe-form-textarea:focus {
  border-color: rgba(139,92,246,0.45);
}
.pe-form-textarea {
  resize: vertical;
  min-height: 88px;
}
.pe-form-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 14px;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(240,238,255,0.48);
}
.pe-form-rgpd input {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--v);
}
.pe-form-submit {
  margin-top: 0;
}
.pe-form-message {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 8px;
}
.pe-form-message--success {
  color: #86efac;
  background: rgba(34,197,94,0.1);
  border: 0.5px solid rgba(34,197,94,0.25);
}
.pe-form-message--error {
  color: #fca5a5;
  background: rgba(239,68,68,0.1);
  border: 0.5px solid rgba(239,68,68,0.25);
}
@media (max-width: 860px) {
  .pricing-main { grid-template-columns: 1fr; }
  .pricing-enterprise-split { grid-template-columns: 1fr; }
  .pe-form-row { grid-template-columns: 1fr; }
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 0;
}
.p-card {
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: left;
  position: relative;
  transition: transform 0.3s;
}
.p-card:hover { transform: translateY(-4px); }
.p-card.featured { border-color: rgba(139,92,246,0.45); background: linear-gradient(160deg, rgba(109,40,217,0.1), var(--bg3)); }
.p-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 600;
  color: #c4b5fd;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.p-name {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.p-price {
  font-family: 'Poppins', sans-serif;
  font-size: 48px; font-weight: 800;
  letter-spacing: -2px; margin-bottom: 4px;
}
.p-price sup { font-size: 22px; vertical-align: super; margin-right: 2px; }
.p-period { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.p-sep { height: 0.5px; background: rgba(255,255,255,0.06); margin-bottom: 20px; }
.p-features { list-style: none; }
.p-features li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; color: var(--muted);
  padding: 5px 0; line-height: 1.4;
}
.p-features li::before { content:'✓'; color: var(--v2); font-size: 12px; margin-top: 1px; flex-shrink: 0; }
.p-btn {
  width: 100%; margin-top: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 500;
  padding: 12px; border-radius: 9px;
  cursor: none; transition: all 0.2s;
}
.p-btn-ghost { background: transparent; border: 0.5px solid rgba(255,255,255,0.1); color: var(--muted); }
.p-btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--txt); }
.p-btn-fill { background: linear-gradient(135deg,#7c3aed,#6d28d9); border: none; color: white; }
.p-btn-fill:hover { opacity: 0.88; }

/* =====================
   DEMO CTA
   ===================== */
.demo-section {
  padding: 80px 60px 120px;
  text-align: center;
}
.demo-line {
  width: 0.5px; height: 70px;
  background: linear-gradient(to bottom, transparent, rgba(139,92,246,0.4));
  margin: 0 auto 40px;
}
.demo-h {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 6.5vw, 52px); font-weight: 800;
  letter-spacing: -2px; margin-bottom: 14px;
  scroll-margin-top: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px) + 12px);
}
.demo-sub { font-size: 16px; font-weight: 300; color: var(--muted); margin-bottom: 36px; }
.demo-embed {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid rgba(139,92,246,0.28);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.5),
    0 0 0 1px rgba(139,92,246,0.1);
  background: rgba(32,32,54,0.8);
}
.demo-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  max-width: 100%;
  border: 0;
  background: var(--bg2);
}
.demo-powered {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: rgba(255,255,255,0.38);
  border-top: 0.5px solid rgba(139,92,246,0.22);
  background: rgba(22,22,42,0.92);
}
.demo-powered strong {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
}
.demo-embed-fallback {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
}
.demo-embed-fallback a {
  color: #c4b5fd;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(196,181,253,0.35);
  transition: color 0.2s;
}
.demo-embed-fallback a:hover { color: #ede9fe; }
@media (max-width: 720px) {
  .demo-section { padding: 60px 20px 80px; }
}
.demo-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 500;
  padding: 16px 44px;
  border-radius: 12px;
  background: linear-gradient(135deg,#7c3aed,#6d28d9);
  border: none; color: white; cursor: none;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: transform 0.2s;
  position: relative; overflow: hidden;
}
.demo-btn:hover { transform: translateY(-2px); }
.demo-btn--nav {
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 9px;
}
.demo-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 0%{left:-100%} 100%{left:200%} }

/* FOOTER */
footer {
  border-top: 0.5px solid rgba(255,255,255,0.05);
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.footer-copy::-webkit-scrollbar { display: none; }

/* Badge reCAPTCHA v3 — infos dans mentions légales */
.grecaptcha-badge {
  visibility: hidden !important;
}
.footer-copy small { font-size: inherit; opacity: 0.9; }
.footer-legal-link {
  color: rgba(196,181,253,0.55);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(196,181,253,0.25);
  transition: color 0.2s;
}
.footer-legal-link:hover { color: #c4b5fd; }


/* Full-width app preview */
.app-preview-wrap {
  padding: 0 60px 100px;
  max-width: 1300px;
  margin: 0 auto;
}
.app-preview-win {
  width: 100%;
  box-shadow:
    0 0 0 0.5px rgba(139,92,246,0.2),
    0 40px 120px rgba(0,0,0,0.8),
    0 0 80px rgba(109,40,217,0.12);
}
.app-preview-body {
  min-height: 560px;
}
/* REVEAL animations */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.23,1,0.32,1), transform 0.85s cubic-bezier(0.23,1,0.32,1);
}
.reveal.from-left  { transform: translateX(-50px) rotateY(12deg); }
.reveal.from-right { transform: translateX(50px)  rotateY(-12deg); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.22s; }
.reveal.d3 { transition-delay: 0.34s; }

/* Separator between feature sections */
.feat-sep {
  height: 0.5px;
  background: linear-gradient(to right, transparent, rgba(139,92,246,0.2), transparent);
  margin: 0 60px;
}


/* =====================
   DESK SLIDER
   ===================== */
.desk-slider {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 560px;
  border-radius: 0 0 14px 14px;
}
.desk-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}
.desk-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr;
  height: 100%;
  min-height: 560px;
}
.desk-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 6px;
}
.ds-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.ds-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: none;
  transition: all 0.2s;
}
.desk-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.desk-topbar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  flex-shrink: 0;
  gap: 8px;
}
.desk-content {
  flex: 1;
  overflow: hidden;
  padding: 16px;
}
.tb-pill {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: none;
  white-space: nowrap;
}

/* Kanban mini */
.kb-mini-cols {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  height: 100%;
}
.kb-mini-col { display: flex; flex-direction: column; gap: 6px; }
.kmc-h {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.kmc-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 11px;
  color: rgba(240,238,255,0.8);
  line-height: 1.4;
  border-left-width: 2px;
}
.kmc-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 5px;
}

/* Light bureau */
.light-card {
  background: #fff;
  border: 0.5px solid #e8e8e3;
  border-radius: 10px;
  padding: 18px;
}
.lc-n {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
}
.lc-l {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

/* Calendar */
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(240,238,255,0.6);
  border-radius: 6px;
  position: relative;
}
.cal-day.muted { color: rgba(240,238,255,0.2); }
.cal-day.has-ev::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ev);
}

/* Chat */
.chat-chan {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  padding: 5px 8px;
  border-radius: 6px;
  margin-bottom: 2px;
  cursor: none;
}
.active-chan { color: inherit; }
.msg-row { display: flex; gap: 10px; align-items: flex-start; }
.msg-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.msg-name { font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.msg-txt { font-size: 12px; color: rgba(255,255,255,0.5); }

/* Drive */
.file-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(251,146,60,0.1);
  border-radius: 9px;
  padding: 14px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.file-card:hover { background: rgba(251,146,60,0.05); border-color: rgba(251,146,60,0.25); }
.fc-name { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.75); margin-bottom: 3px; }
.fc-meta { font-size: 10px; color: rgba(255,255,255,0.3); }

/* Slider controls */
.desk-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0 4px;
}
.desk-prev, .desk-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(139,92,246,0.08);
  border: 0.5px solid rgba(139,92,246,0.35);
  color: #c4b5fd;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.2s;
  flex-shrink: 0;
  padding-bottom: 2px;
}
.desk-prev:hover, .desk-next:hover {
  background: rgba(139,92,246,0.22);
  border-color: rgba(139,92,246,0.7);
  color: #fff;
}

/* Dots */
.desk-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.desk-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: none;
  transition: all 0.3s;
  padding: 0;
}
.desk-dot.active {
  background: var(--v2);
  width: 24px;
  border-radius: 4px;
}

/* Labels */
.desk-labels {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.desk-label {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: #c4b5fd;
  letter-spacing: 0.3px;
  white-space: nowrap;
  pointer-events: none;
}
.desk-label.active {
  display: inline;
}

/* =====================
   RESPONSIVE — mobile & tablette
   ===================== */

/* Tactile : curseur natif, pas de curseur custom */
@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  #cursor, #cursor-ring {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .desk-prev, .desk-next, .desk-dot, .demo-btn, .p-btn, .chat-chan,
  .nav-toggle, .nav-panel--drawer a { cursor: pointer; }
}
body.is-touch { cursor: auto; }
body.is-touch #cursor,
body.is-touch #cursor-ring { display: none !important; }

/* Menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0.5px solid rgba(139,92,246,0.28);
  border-radius: 10px;
  background: rgba(139,92,246,0.08);
  color: var(--txt);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #c4b5fd;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Desktop : liens dans le header */
.nav-panel--drawer { display: none; }
.nav-panel--desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
  justify-content: flex-end;
}
.nav-backdrop {
  position: fixed;
  top: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1190;
  background: rgba(8,8,18,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  touch-action: manipulation;
  cursor: pointer;
}
body.nav-open {
  overflow: hidden;
  /* pas de touch-action: none ici — bloque les taps sur le tiroir (Chrome Android) */
}

/* Ancres — compensation nav fixe */
#hub, #apps, #pricing, #demo,
.apps-chapter, .pricing-wrap > .section-h {
  scroll-margin-top: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px) + 12px);
}

/* Tablette large */
@media (max-width: 1024px) {
  .site-header { padding-left: 24px; padding-right: 24px; }

  .feat-section {
    gap: 56px;
    padding: 88px 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .hub-wrap { padding: 80px 24px 100px; }
  .app-preview-wrap { padding: 0 24px 80px; }
  .pricing-wrap { padding: 72px 24px 64px; }
  .demo-section { padding: 64px 24px 100px; }
  footer { padding: 24px 24px; }
  .feat-sep { margin: 0 24px; }
  .hero { padding-left: 24px; padding-right: 24px; }
}

/* Tablette — menu burger + sections apps en colonne */
@media (max-width: 900px) {
  :root { --site-nav-h: 56px; }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-nav { flex: 1; }

  .nav-panel--desktop { display: none !important; }

  .site-header { z-index: 1210; }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 3;
    margin-left: auto;
    touch-action: manipulation;
    cursor: pointer;
  }
  .nav-panel--drawer {
    display: flex;
    position: fixed;
    top: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 100vw);
    max-width: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    background: rgba(18,18,36,0.98);
    border-left: 0.5px solid rgba(139,92,246,0.2);
    box-shadow: -12px 0 48px rgba(0,0,0,0.45);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
    touch-action: manipulation;
  }
  .nav-panel--drawer[hidden] { display: none !important; }
  .nav-panel--drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    touch-action: manipulation;
  }
  .nav-panel--drawer .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 20px;
    list-style: none;
  }
  .nav-panel--drawer .nav-links li {
    width: 100%;
  }
  .nav-panel--drawer .nav-links a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: rgba(240,238,255,0.88);
    padding: 14px 4px;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    min-height: 48px;
    line-height: 1.3;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(139,92,246,0.2);
  }
  .nav-panel--drawer .demo-btn--nav {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 13px 18px;
    min-height: 48px;
    touch-action: manipulation;
    cursor: pointer;
  }

  .reveal.from-left,
  .reveal.from-right {
    transform: translateY(24px);
  }

  .hero {
    padding: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px) + 28px) 20px 64px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .feat-section,
  .feat-section.reverse {
    direction: ltr;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .feat-section .feat-text {
    order: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .feat-section .tilt-wrap {
    order: 2;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .feat-num {
    font-size: clamp(48px, 14vw, 72px);
    top: -20px;
    left: -6px;
    letter-spacing: -3px;
  }
  .feat-h3 { font-size: clamp(17px, 4vw, 22px); }
  .feat-title-row {
    --feat-badge-indent: 56px;
    gap: 12px;
    max-width: none;
  }
  .feat-app-badge {
    width: 44px;
    height: 44px;
    margin-top: 2px;
  }
  .feat-app-badge svg { width: 22px; height: 22px; }
  .feat-body,
  .feat-highlights,
  .feat-module-labels { max-width: none; }
  .feat-h2, .feat-h3 { max-width: none; }
  .mac-win {
    box-shadow:
      0 0 0 0.5px rgba(139,92,246,0.12),
      0 16px 48px rgba(0,0,0,0.55);
  }
  .tilt-inner { transform: none !important; }
  .mac-win,
  .edition-mac-body,
  .app-preview-win {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hub-mobile-row {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 14px;
  }
  .hub-mobile-row .hub-phone { width: min(140px, 40vw); }
  .edition-frame--phone img { max-width: min(220px, 55vw); }
  .apps-chapter { padding: 56px 20px 32px; }
  .hub-wrap { padding: 64px 20px 80px; }
  .pricing-main,
  .pricing-enterprise-split {
    width: 100%;
    max-width: 100%;
  }
}

/* Smartphone */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    padding: calc(var(--site-nav-h) + env(safe-area-inset-top, 0px) + 20px) 16px 48px;
  }
  .hero-sub {
    font-size: 15px;
    max-width: none;
    margin-bottom: 28px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .hero-ctas .demo-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 14px 24px;
    min-height: 48px;
  }
  .scroll-hint { display: none; }
  .orb-main { width: 100%; height: 320px; filter: blur(60px); }

  .hub-intro { padding: 24px 20px 48px; }
  .hub-intro-lead { font-size: 15px; }
  .hub-pillars { margin-top: 36px; gap: 10px; }
  .hub-pillar { padding: 18px 16px; }
  .hub-device-row { gap: 8px; }
  .hub-device-tag { font-size: 11px; padding: 6px 12px; }

  .feat-section { padding: 56px 16px; gap: 28px; }
  .feat-sep { margin: 0 16px; }
  .feat-highlights li { font-size: 14px; padding: 7px 0; }
  .feat-module-labels { gap: 8px; }
  .feat-module-label { padding: 10px 12px; }
  .feat-module-label-name { font-size: 12px; }
  .feat-module-label-hint { font-size: 10px; }

  .edition-controls {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }
  .edition-caption {
    flex: 1 1 100%;
    order: 3;
    min-width: 0;
    font-size: 10px;
    line-height: 1.4;
    padding: 0 4px;
  }
  .desk-prev, .desk-next {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .apps-chapter-sub { font-size: 15px; }
  .apps-chapter-lead { font-size: 14px; }
  .apps-future { padding: 40px 20px 44px; }
  .apps-future-h2 { font-size: clamp(22px, 5.5vw, 28px); }

  .pricing-wrap { padding: 56px 20px 48px; }
  .pricing-wrap .section-h { margin-bottom: 28px; }
  .pricing-amount { font-size: clamp(36px, 10vw, 48px); }
  .pricing-hero-price { flex-wrap: wrap; gap: 4px; }
  .pricing-brick { padding: 12px 14px; }
  .pricing-enterprise { margin-top: 16px; }
  .pricing-enterprise-card { padding: 24px 20px; }

  .demo-section {
    padding: 40px 12px 32px;
  }
  .demo-h { font-size: clamp(24px, 7vw, 32px); margin-bottom: 10px; }
  .demo-sub { font-size: 14px; margin-bottom: 20px; }
  .demo-embed {
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .demo-embed iframe {
    height: min(720px, 88svh);
    min-height: 560px;
  }

  .app-preview-wrap { padding: 0 16px 56px; }
  .app-preview-body { min-height: 360px; }
  .desk-slider, .desk-slide { min-height: 400px; }

  footer {
    padding: 24px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .footer-copy {
    white-space: normal;
    line-height: 1.55;
    font-size: 11px;
    overflow-x: visible;
  }

  .hub-wrap,
  .hub-intro,
  .apps-chapter,
  .apps-future,
  .pricing-wrap,
  .app-preview-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .screen-lightbox-panel {
    width: 100%;
    max-height: 100svh;
    border-radius: 12px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .nav-logo img { height: 30px; max-width: 52vw; }
  .feat-section { padding: 48px 16px; }
  .feat-title-row { --feat-badge-indent: 52px; gap: 10px; }
  .feat-app-badge { width: 40px; height: 40px; }
  .feat-app-badge svg { width: 20px; height: 20px; }
  .hero-logo { width: min(300px, 90vw); }
  .hero-badge { font-size: 10px; padding: 5px 12px; margin-bottom: 24px; }
  .pricing-bricks-grid { gap: 8px; }
  .pe-form-row input,
  .pe-form-row textarea { font-size: 16px; }
  .demo-embed iframe {
    height: min(760px, 90svh);
    min-height: 600px;
  }
}

/* SEO — texte accessible */
.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;
}

.feat-plain {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(196, 181, 253, 0.88);
  margin: 0 0 14px;
  max-width: 42ch;
}

/* FAQ */
.faq-section {
  padding: 80px 24px 96px;
  border-top: 0.5px solid rgba(139, 92, 246, 0.14);
}
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.faq-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted, rgba(240, 238, 255, 0.52));
  margin: 0 auto 40px;
  max-width: 52ch;
}
.faq-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 0.5px solid rgba(139, 92, 246, 0.22);
  border-radius: 14px;
  background: rgba(30, 30, 56, 0.55);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt, #f4f2ff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.14);
  color: #c4b5fd;
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 22px 18px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 238, 255, 0.68);
}
.faq-item a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item a:hover {
  color: #e9d5ff;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 56px 16px 72px;
  }
  .faq-item summary {
    padding: 16px 18px;
    font-size: 14px;
  }
  .faq-item p {
    padding: 0 18px 16px;
  }
}

/* noise */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 8000;
  opacity: 0.18;
}
