/* ===================================
   BatiScope Landing Page
   Dark Space Theme - Vertical Layout
   =================================== */

:root {
  /* Colors */
  --bg-dark: #0a0a0f;
  --bg-card: rgba(20, 20, 32, 0.78);
  --bg-card-hover: rgba(30, 30, 48, 0.88);
  
  --primary: #818cf8;
  --primary-light: #a5b4fc;
  --accent: #06b6d4;
  
  --indigo: #818cf8;
  --teal: #14b8a6;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --green: #22c55e;
  --purple: #a855f7;
  --cyan: #06b6d4;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border: rgba(148, 163, 184, 0.1);
  --border-glow: rgba(129, 140, 248, 0.4);
  
  --glow: 0 0 60px rgba(129, 140, 248, 0.3);
  
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container: 900px;
  --section-gap: 120px;
  
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 16px;
  --radius-sm: 10px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===================================
   STARS BACKGROUND
   =================================== */
.stars-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur) ease-in-out infinite var(--delay);
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: var(--opacity); transform: scale(1); }
}

/* ===================================
   LAYOUT
   =================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: var(--section-gap) 0;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-white {
  background: linear-gradient(90deg, 
    #ffffff 0%, 
    #c7d2fe 20%, 
    #a5b4fc 50%, 
    #c7d2fe 80%, 
    #ffffff 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerWhite 6s ease-in-out infinite;
}

@keyframes shimmerWhite {
  0% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}
.btn:hover .btn-icon { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow), 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--border-glow);
  background: rgba(129, 140, 248, 0.1);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(129, 140, 248, 0.1);
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 12px;
}

/* ===================================
   NAVBAR - Floating style, appears on scroll
   =================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(calc(-50% + 50px)); /* Décalé vers la droite pour compenser le logo */
  z-index: 2000;
  width: calc(100% - 48px);
  max-width: 850px; /* Un peu plus petit pour laisser la place au logo */
  padding: 12px 24px;
  background: rgba(15, 15, 25, 0.65);
  backdrop-filter: blur(20px);
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.visible {
  opacity: 1;
  pointer-events: auto;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  max-width: none;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  position: relative;
}
.logo-icon { 
  width: 70px; 
  height: 70px; 
  border-radius: 14px; 
  object-fit: contain;
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }

/* ===================================
   HERO
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(129, 140, 248, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 { margin-bottom: 24px; }

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 48px;
}

.hero-cta { margin-bottom: 80px; }

/* Demo Title */
.demo-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-align: center;
  margin-top: 20px;
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  width: 100%;
  max-width: 700px;
}

/* Hero Demo - Canvas */
.hero-demo {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 480px;
  padding: 40px;
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.03), rgba(6, 182, 212, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

#demo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.demo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}


/* ===================================
   STATS
   =================================== */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.02), transparent);
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.stat {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ===================================
   FEATURES - BENTO GRID
   =================================== */
.features { padding: var(--section-gap) 0; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Quinconce Layout: alternance large/petit */
/* Row 1: Interroger (large gauche) + Centraliser (petit droite) */
.bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
.bento-grid .bento-card:nth-child(2) { grid-column: 3; }
/* Row 2: Comparer (petit gauche) + Explorer (large droite) */
.bento-grid .bento-card:nth-child(3) { grid-column: 1; }
.bento-grid .bento-card:nth-child(4) { grid-column: 2 / 4; }
/* Row 3: Identifier (large gauche) + Manager (petit droite) */
.bento-grid .bento-card:nth-child(5) { grid-column: 1 / 3; }
.bento-grid .bento-card:nth-child(6) { grid-column: 3; }
/* Row 4: Analyser (petit gauche) + Envoyer (large droite) */
.bento-grid .bento-card:nth-child(7) { grid-column: 1; }
.bento-grid .bento-card:nth-child(8) { grid-column: 2 / 4; }

/* Bento Card */
.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


.bento-card .card-demo {
  flex: 1;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.bento-card.active {
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(129, 140, 248, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.bento-card:hover .card-glow { opacity: 1; }

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.card-icon svg { width: 22px; height: 22px; }

.card-icon.indigo { background: rgba(129, 140, 248, 0.15); color: var(--indigo); }
.card-icon.teal { background: rgba(20, 184, 166, 0.15); color: var(--teal); }
.card-icon.amber { background: rgba(245, 158, 11, 0.15); color: var(--amber); }
.card-icon.rose { background: rgba(244, 63, 94, 0.15); color: var(--rose); }
.card-icon.green { background: rgba(34, 197, 94, 0.15); color: var(--green); }
.card-icon.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.card-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan); }
.card-icon.sky { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }

.bento-card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 0 25px currentColor;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Card Demos */
.card-demo {
  height: 120px;
  background: transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Comparer - hauteur flexible pour remplir l'espace */
.bento-card[data-action="compare"] {
  display: flex;
  flex-direction: column;
}
.bento-card[data-action="compare"] .card-demo {
  height: auto;
  flex: 1;
  min-height: 180px;
}

.bento-card[data-action="manage"] {
  display: flex;
  flex-direction: column;
}
.bento-card[data-action="manage"] .card-demo {
  height: auto;
  flex: 1;
  min-height: 180px;
}

/* Send Demo - 2 users with docs flying between */
.send-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  position: relative;
}
.send-user {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.send-user svg {
  width: 24px;
  height: 24px;
  stroke: var(--indigo);
}
.send-docs-wrapper {
  flex: 1;
  position: relative;
  height: 40px;
  margin: 0 15px;
}
.send-doc {
  width: 20px;
  height: 26px;
  background: var(--indigo);
  border-radius: 3px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.bento-card[data-action="send"]:hover .send-doc {
  animation: flyToUser 1.8s ease-in-out infinite;
}
.send-doc.delay-1 { animation-delay: 0.4s !important; }
@keyframes flyToUser {
  0% { opacity: 1; left: 0; }
  80% { opacity: 1; }
  100% { opacity: 0; left: calc(100% - 20px); }
}
.send-target {
  position: absolute;
  right: 20px;
  width: 40px;
  height: 40px;
  color: var(--text-muted);
}

/* Receive Demo - 5 points in circle + 6th joining */
.receive-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.receive-circle {
  position: relative;
  width: 100px;
  height: 100px;
}
.receive-point {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--teal);
  border-radius: 50%;
  transition: all 0.6s ease-out;
  transform: translate(-50%, -50%);
}
/* Initial: 5 points in pentagon shape */
.receive-point[data-index="0"] { top: 10%; left: 50%; }
.receive-point[data-index="1"] { top: 38%; left: 88%; }
.receive-point[data-index="2"] { top: 82%; left: 73%; }
.receive-point[data-index="3"] { top: 82%; left: 27%; }
.receive-point[data-index="4"] { top: 38%; left: 12%; }
/* New point - starts outside to the right */
.receive-point.new {
  top: 60%;
  left: 160%;
  background: var(--purple);
  opacity: 0;
  transition: all 0.9s ease-out;
}
/* Hover: rearrange into hexagon (6 evenly spaced points) */
.bento-card[data-action="receive"]:hover .receive-point[data-index="0"] { top: 5%; left: 50%; }
.bento-card[data-action="receive"]:hover .receive-point[data-index="1"] { top: 28%; left: 93%; }
.bento-card[data-action="receive"]:hover .receive-point[data-index="2"] { top: 72%; left: 93%; }
.bento-card[data-action="receive"]:hover .receive-point[data-index="3"] { top: 95%; left: 50%; }
.bento-card[data-action="receive"]:hover .receive-point[data-index="4"] { top: 72%; left: 7%; }
/* New point joins at position 5 (top-left of hexagon) */
.bento-card[data-action="receive"]:hover .receive-point.new {
  top: 28%;
  left: 7%;
  opacity: 1;
}

/* Analyze Demo - Documents to Brief animation */
.analyze-demo {
  padding: 8px 12px;
  position: relative;
  display: block !important;
  height: auto !important;
  min-height: 140px;
  overflow: visible !important;
}

/* Phase 1: 4 text blocks in 2x2 grid */
.analyze-docs {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px 24px;
  width: 100%;
  transition: all 0.5s ease;
}
.analyze-doc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-line {
  display: block;
  height: 8px;
  min-height: 8px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  transition: all 0.4s ease;
}
.doc-line:nth-child(1) { width: 80%; }
.doc-line:nth-child(2) { width: 100%; }
.doc-line:nth-child(3) { width: 65%; }
.doc-line:nth-child(4) { width: 85%; }
.doc-line.placeholder {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Flying extracts - invisible by default, appear on hover */
.flying-extract {
  position: absolute;
  height: 8px;
  background-color: transparent;
  border-radius: 4px;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  opacity: 0;
}
/* Initial positions - matching placeholder widths:
   Doc 0 line 2 = 100% width, Doc 1 line 3 = 65% width
   Doc 2 line 1 = 80% width, Doc 3 line 4 = 85% width
   Each doc is ~45% of container width (50% - gap)
*/
.flying-extract[data-from="0"] { 
  top: 24px; 
  left: 12px; 
  width: calc(45% - 12px);
  /* Target positions calculées par JS */
  --target-top: 50%;
  --target-left: 50%;
  --target-width: 50px;
}
.flying-extract[data-from="1"] { 
  top: 40px; 
  left: calc(50% + 12px); 
  width: calc((45% - 12px) * 0.65);
  --target-top: 50%;
  --target-left: 50%;
  --target-width: 50px;
}
.flying-extract[data-from="2"] { 
  top: 84px; 
  left: 12px; 
  width: calc((45% - 12px) * 0.80);
  --target-top: 50%;
  --target-left: 50%;
  --target-width: 50px;
}
.flying-extract[data-from="3"] { 
  top: 132px; 
  left: calc(50% + 12px); 
  width: calc((45% - 12px) * 0.85);
  --target-top: 50%;
  --target-left: 50%;
  --target-width: 50px;
}

/* Phase 2: Result (hidden by default) */
.analyze-result {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  opacity: 0;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  width: 90%;
}
.analyze-star {
  font-size: 28px;
  color: var(--amber);
  opacity: 0;
  transform: rotate(-180deg) scale(0);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
}
.analyze-brief {
  position: relative;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.35);
  border-radius: 10px;
  padding: 16px 20px;
  width: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease 0.3s;
}
/* Brief lines with slots for flying extracts */
.brief-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.brief-line:last-child { margin-bottom: 0; }
.brief-text {
  height: 8px;
  background: rgba(251, 146, 60, 0.5);
  border-radius: 4px;
  flex-shrink: 0;
}
.brief-slot {
  height: 8px;
  background: transparent;
  border: 1px dashed rgba(129, 140, 248, 0.4);
  border-radius: 4px;
  flex-shrink: 0;
}

/* === HOVER ANIMATION EN 3 ÉTAPES === */

/* ÉTAPE 1 (0s-0.3s): Documents deviennent plus visibles (blanc clair) */
.bento-card[data-action="analyze"]:hover .doc-line {
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
.bento-card[data-action="analyze"]:hover .doc-line.placeholder {
  background-color: rgba(255, 255, 255, 0.6);
}

/* ÉTAPE 2 & 3: Flying extracts - animation avec variables CSS pour positions dynamiques */
@keyframes flyExtract {
  0% { 
    opacity: 0; 
  }
  15% { 
    opacity: 1; 
    background: var(--indigo); 
    box-shadow: 0 0 15px rgba(129, 140, 248, 0.9); 
  }
  45% { 
    opacity: 1; 
    background: var(--indigo); 
    box-shadow: 0 0 15px rgba(129, 140, 248, 0.9); 
  }
  100% { 
    opacity: 0; 
    top: var(--target-top, 50%); 
    left: var(--target-left, 50%); 
    width: var(--target-width, 50px);
    background: var(--indigo);
  }
}

.bento-card[data-action="analyze"]:hover .flying-extract[data-from="0"] { 
  animation: flyExtract 1.8s ease-in-out forwards;
}
.bento-card[data-action="analyze"]:hover .flying-extract[data-from="1"] { 
  animation: flyExtract 1.8s ease-in-out 0.1s forwards;
}
.bento-card[data-action="analyze"]:hover .flying-extract[data-from="2"] { 
  animation: flyExtract 1.8s ease-in-out 0.2s forwards;
}
.bento-card[data-action="analyze"]:hover .flying-extract[data-from="3"] { 
  animation: flyExtract 1.8s ease-in-out 0.3s forwards;
}

/* ÉTAPE 3 (0.8s+): Documents disparaissent */
.bento-card[data-action="analyze"]:hover .analyze-docs {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease 0.8s;
}

/* Brief apparaît après le vol des extraits */
.bento-card[data-action="analyze"]:hover .analyze-result {
  opacity: 1;
  transition: opacity 0.4s ease 0.8s;
}
.bento-card[data-action="analyze"]:hover .analyze-star {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s;
}
.bento-card[data-action="analyze"]:hover .analyze-brief {
  opacity: 1;
  transform: scale(1);
  transition: all 0.4s ease 1s;
}

/* Slots bleus apparaissent */
.brief-slot {
  opacity: 0;
}
.bento-card[data-action="analyze"]:hover .brief-slot {
  border-color: transparent;
  background: var(--indigo);
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
  opacity: 1;
  transition: all 0.4s ease 1.3s;
}

/* Textes oranges apparaissent en dernier - fondu du haut vers le bas */
.brief-text {
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease;
}
.bento-card[data-action="analyze"]:hover .brief-text {
  opacity: 1;
  transform: translateY(0);
}
/* Délais décalés pour effet cascade du haut vers le bas */
.bento-card[data-action="analyze"]:hover .brief-line:nth-child(1) .brief-text {
  transition: all 0.3s ease 1.5s;
}
.bento-card[data-action="analyze"]:hover .brief-line:nth-child(2) .brief-text {
  transition: all 0.3s ease 1.6s;
}
.bento-card[data-action="analyze"]:hover .brief-line:nth-child(3) .brief-text {
  transition: all 0.3s ease 1.7s;
}
.bento-card[data-action="analyze"]:hover .brief-line:nth-child(4) .brief-text {
  transition: all 0.3s ease 1.8s;
}

/* Explore Demo - Animated Arborescence / Typologie switch */
.explore-demo {
  padding: 8px 12px;
  height: auto;
  min-height: 130px;
}
.explore-modes {
  width: 100%;
}
.mode-label {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 500;
}
.mode-label span {
  padding: 3px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.mode-arbo {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
}
.mode-typo {
  background: transparent;
  color: var(--muted-foreground);
}
.bento-card[data-action="explore"]:hover .mode-arbo {
  background: transparent;
  color: var(--muted-foreground);
}
.bento-card[data-action="explore"]:hover .mode-typo {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
}

/* Container for animated elements */
.explore-container {
  position: relative;
  height: 170px;
  font-size: 11px;
}

/* Shared icon styles */
.exp-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.exp-icon.chevron {
  width: 12px;
  height: 12px;
  color: var(--muted-foreground);
  transform: rotate(90deg);
}
.exp-icon.folder {
  color: var(--amber);
}
.exp-icon.file {
  color: var(--muted-foreground);
}
.exp-file.doc .exp-icon.file { color: var(--indigo); }
.exp-file.sheet .exp-icon.file { color: var(--green); }

/* Folders - positioned in arbo mode, fade out on hover */
.exp-folder {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.9s ease;
  left: 0;
}
/* Folder positions - 24px spacing between each line */
.exp-folder[data-row="0"] { top: 0; }
.exp-folder[data-row="1"] { top: 72px; }
.exp-folder[data-row="2"] { top: 120px; }

.bento-card[data-action="explore"]:hover .exp-folder {
  opacity: 0;
  transform: translateX(-20px);
}

/* Files - animate between arbo and typo positions */
.exp-file {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 1.1s cubic-bezier(0.34, 1.56, 0.64, 1);
  left: 24px; /* Indented in arbo mode */
  font-size: 10px;
}
.exp-file:hover {
  background: rgba(6, 182, 212, 0.1);
}
/* Arbo positions - 24px between each element */
.exp-file[data-arbo-folder="0"][data-arbo-pos="0"] { top: 24px; }
.exp-file[data-arbo-folder="0"][data-arbo-pos="1"] { top: 48px; }
.exp-file[data-arbo-folder="1"][data-arbo-pos="0"] { top: 96px; }
.exp-file[data-arbo-folder="2"][data-arbo-pos="0"] { top: 144px; }

/* Typo positions (on hover) - 3 columns grid */
.bento-card[data-action="explore"]:hover .exp-file {
  border-color: rgba(255, 255, 255, 0.1);
  top: 22px;
}
.bento-card[data-action="explore"]:hover .exp-file[data-typo-col="0"] { left: 0; }
.bento-card[data-action="explore"]:hover .exp-file[data-typo-col="1"] { left: 33%; }
.bento-card[data-action="explore"]:hover .exp-file[data-typo-col="2"] { left: 66%; }
.bento-card[data-action="explore"]:hover .exp-file[data-typo-row="1"] { top: 44px; }

/* Category labels - hidden by default, appear on hover */
.exp-label {
  position: absolute;
  top: 0;
  font-weight: 600;
  font-size: 10px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.9s ease;
}
.exp-label[data-col="0"] { left: 0; }
.exp-label[data-col="1"] { left: 33%; }
.exp-label[data-col="2"] { left: 66%; }
.exp-label.doc { color: var(--indigo); }
.exp-label.plan { color: var(--amber); }
.exp-label.sheet { color: var(--green); }

.bento-card[data-action="explore"]:hover .exp-label {
  opacity: 1;
  transform: translateY(0);
}

/* Chat Demo */
.chat-demo {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 15px;
  height: 150px;
}
.chat-message {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  max-width: 85%;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.chat-message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  position: absolute;
  right: 15px;
  top: 10px;
}
.chat-message.ai {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.source-tag {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}
.source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--indigo);
  color: white;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 600;
  margin-left: 2px;
}
/* Chat message - 3 step sequence: question -> typing bubble -> response bubble */
.chat-demo {
  position: relative;
}
.chat-message.typing-bubble { 
  font-size: 14px;
  letter-spacing: 3px;
  position: absolute;
  left: 15px;
  bottom: 15px;
}
.chat-message.typing-bubble span {
  display: inline-block;
  animation: dotBounce 1.4s infinite ease-in-out both;
}
.chat-message.typing-bubble span:nth-child(1) { animation-delay: 0s; }
.chat-message.typing-bubble span:nth-child(2) { animation-delay: 0.2s; }
.chat-message.typing-bubble span:nth-child(3) { animation-delay: 0.4s; }

/* Response bubble - same position as typing */
.chat-message.response-bubble { 
  position: absolute;
  left: 15px;
  bottom: 10px;
  opacity: 0;
  max-width: calc(100% - 30px);
}

/* Step 1: Question appears first */
.bento-card[data-action="ask"]:hover .chat-message.user {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Step 2: Typing bubble appears after 0.4s */
.bento-card[data-action="ask"]:hover .chat-message.typing-bubble {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
  animation: typingBubbleSequence 2.5s forwards;
  animation-delay: 0.4s;
}

/* Step 3: Response bubble appears after typing disappears */
.bento-card[data-action="ask"]:hover .chat-message.response-bubble {
  animation: responseBubbleSequence 2.5s forwards;
  animation-delay: 0.4s;
}

@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 1; }
}
@keyframes typingBubbleSequence {
  0%, 50% { opacity: 1; }
  60%, 100% { opacity: 0; }
}
@keyframes responseBubbleSequence {
  0%, 55% { opacity: 0; }
  70%, 100% { opacity: 1; }
}

/* Compare Demo - Highlighter animé */
.compare-demo {
  gap: 12px;
  margin: 0 -8px;
  padding: 0;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  height: 100% !important;
  position: relative;
}
.compare-doc {
  flex: 1;
  position: relative;
  background: rgba(20, 20, 35, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 6px;
  padding: 10px 12px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.doc-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-align: center;
  flex-shrink: 0;
}
.doc-lines {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0;
}
.cmp-line {
  height: 9px;
  display: flex;
  gap: 5px;
  background: transparent;
}
/* Segments de ligne */
.cmp-line .seg {
  height: 100%;
  background: rgba(148, 163, 184, 0.35);
  border-radius: 4px;
  flex-shrink: 0;
}
/* Segments avec différences (invisibles par défaut) */
.cmp-line .seg.diff-red,
.cmp-line .seg.diff-green {
  background: rgba(148, 163, 184, 0.35);
}

/* Highlighter global (couvre les 2 docs) */
.highlighter-bar {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(251, 191, 36, 0.1) 15%, 
    rgba(251, 191, 36, 0.5) 50%, 
    rgba(251, 191, 36, 0.1) 85%, 
    transparent 100%
  );
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  box-shadow: 
    0 0 25px rgba(251, 191, 36, 0.7),
    0 0 50px rgba(251, 191, 36, 0.3);
}

/* Animation au survol */
.bento-card[data-action="compare"]:hover .highlighter-bar {
  animation: highlighterSweep 3.5s ease-in-out infinite;
}

/* Révéler les différences ROUGE */
.bento-card[data-action="compare"]:hover .doc-v2 .cmp-line:nth-child(1) .diff-red {
  animation: revealRed 3.5s ease-in-out infinite;
  animation-delay: 0.2s;
}
.bento-card[data-action="compare"]:hover .doc-v2 .cmp-line:nth-child(3) .diff-red {
  animation: revealRed 3.5s ease-in-out infinite;
  animation-delay: 0.55s;
}
.bento-card[data-action="compare"]:hover .doc-v2 .cmp-line:nth-child(6) .diff-red {
  animation: revealRed 3.5s ease-in-out infinite;
  animation-delay: 1.1s;
}

/* Révéler les différences VERT (2 verts) */
.bento-card[data-action="compare"]:hover .doc-v2 .cmp-line:nth-child(2) .diff-green {
  animation: revealGreen 3.5s ease-in-out infinite;
  animation-delay: 0.35s;
}
.bento-card[data-action="compare"]:hover .doc-v2 .cmp-line:nth-child(5) .diff-green {
  animation: revealGreen 3.5s ease-in-out infinite;
  animation-delay: 0.9s;
}

@keyframes highlighterSweep {
  0% {
    top: 28px;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  55% {
    top: calc(100% - 24px);
    opacity: 1;
  }
  62% {
    opacity: 0;
  }
  100% {
    top: 28px;
    opacity: 0;
  }
}

@keyframes revealRed {
  0%, 8% {
    background: rgba(148, 163, 184, 0.35);
    box-shadow: none;
  }
  18% {
    background: rgba(239, 68, 68, 0.85);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  }
  65% {
    background: rgba(239, 68, 68, 0.85);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  }
  80%, 100% {
    background: rgba(148, 163, 184, 0.35);
    box-shadow: none;
  }
}

@keyframes revealGreen {
  0%, 8% {
    background: rgba(148, 163, 184, 0.35);
    box-shadow: none;
  }
  18% {
    background: rgba(34, 197, 94, 0.85);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  }
  65% {
    background: rgba(34, 197, 94, 0.85);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  }
  80%, 100% {
    background: rgba(148, 163, 184, 0.35);
    box-shadow: none;
  }
}

/* ===================================
   IDENTIFY DEMO - Clic sur ligne → Docs liés
   =================================== */
.identify-demo {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  padding: 8px;
  height: 100%;
  overflow: visible !important;
}

.identify-grid {
  flex: 1;
  background: rgba(20, 20, 35, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.id-line {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.id-line .id-seg {
  height: 8px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

.id-line.clickable .id-seg:first-child {
  background: rgba(148, 163, 184, 0.2);
}

/* Curseur de clic */
.click-cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  color: white;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: opacity 0.3s ease;
}

/* Documents liés (cachés par défaut) */
.identify-docs {
  flex: 0.7;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(20px);
}

.id-doc {
  background: rgba(20, 20, 35, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(20px);
  opacity: 0;
}

.id-doc-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.id-doc-icon svg {
  width: 100%;
  height: 100%;
}
.id-doc:nth-child(1) .id-doc-icon { color: var(--indigo); }
.id-doc:nth-child(2) .id-doc-icon { color: var(--indigo); }
.id-doc:nth-child(3) .id-doc-icon { color: var(--green); }
.id-doc:nth-child(4) .id-doc-icon { color: var(--cyan); }

.id-doc-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.id-doc-lines span {
  height: 6px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

/* Animation au survol - SÉQUENCE : 1) Curseur 2) Surlignage 3) Docs */

/* Étape 1: Curseur apparaît et se déplace (0s - 1s) */
.bento-card[data-action="identify"]:hover .click-cursor {
  animation: cursorMove 4s ease-in-out infinite;
}

/* Étape 2: Ligne se surligne (1s - 2s) */
.bento-card[data-action="identify"]:hover .id-line.clickable:nth-child(2) {
  animation: lineHighlight 4s ease-in-out infinite;
}

.bento-card[data-action="identify"]:hover .id-line.clickable:nth-child(2) .id-seg {
  animation: segHighlight 4s ease-in-out infinite;
}

/* Étape 3: Documents apparaissent (2s+) */
.bento-card[data-action="identify"]:hover .identify-docs {
  animation: docsAppear 4s ease-in-out infinite;
}

.bento-card[data-action="identify"]:hover .id-doc:nth-child(1) {
  animation: docSlide 4s ease-in-out infinite;
  animation-delay: 0s;
}
.bento-card[data-action="identify"]:hover .id-doc:nth-child(2) {
  animation: docSlide 4s ease-in-out infinite;
  animation-delay: 0.12s;
}
.bento-card[data-action="identify"]:hover .id-doc:nth-child(3) {
  animation: docSlide 4s ease-in-out infinite;
  animation-delay: 0.24s;
}
.bento-card[data-action="identify"]:hover .id-doc:nth-child(4) {
  animation: docSlide 4s ease-in-out infinite;
  animation-delay: 0.36s;
}

@keyframes cursorMove {
  0%, 5% {
    top: 5px;
    left: 50%;
    opacity: 0;
  }
  15% {
    top: 5px;
    left: 50%;
    opacity: 1;
  }
  25% {
    top: 42px;
    left: 60%;
    opacity: 1;
  }
  30%, 35% {
    top: 42px;
    left: 60%;
    opacity: 1;
    transform: scale(0.8);
  }
  40% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes lineHighlight {
  0%, 28% {
    background: transparent;
  }
  35%, 85% {
    background: rgba(251, 191, 36, 0.2);
  }
  95%, 100% {
    background: transparent;
  }
}

@keyframes segHighlight {
  0%, 28% {
    background: rgba(148, 163, 184, 0.3);
  }
  35%, 85% {
    background: rgba(251, 191, 36, 0.6);
  }
  95%, 100% {
    background: rgba(148, 163, 184, 0.3);
  }
}

@keyframes docsAppear {
  0%, 40% {
    opacity: 0;
  }
  50%, 85% {
    opacity: 1;
  }
  95%, 100% {
    opacity: 0;
  }
}

@keyframes docSlide {
  0%, 40% {
    opacity: 0;
    transform: translateX(40px) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateX(-8px) scale(1.05);
  }
  58% {
    transform: translateX(4px) scale(0.98);
  }
  65%, 85% {
    opacity: 1;
    transform: translateX(0) scale(1);
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  }
  95%, 100% {
    opacity: 0;
    transform: translateX(40px) scale(0.8);
  }
}

/* ===================================
   MANAGE DEMO - Todo ↔ Notes
   =================================== */
.manage-demo {
  position: relative;
  height: 100%;
  min-height: 180px;
  padding: 8px;
}

.manage-todo, .manage-note {
  position: absolute;
  inset: 8px;
  background: rgba(20, 20, 35, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  padding: 14px;
  transition: all 0.4s ease;
}

.manage-todo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
}

.todo-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.todo-check {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(148, 163, 184, 0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.todo-check svg {
  width: 10px;
  height: 10px;
  opacity: 0;
}

.todo-item.done .todo-check {
  background: rgba(34, 197, 94, 0.3);
  border-color: rgba(34, 197, 94, 0.6);
}

.todo-item.done .todo-check svg {
  opacity: 1;
  color: #22c55e;
}

.todo-line {
  height: 8px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

.todo-item.done .todo-line {
  opacity: 0.5;
}

/* Note (cachée par défaut) */
.manage-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: rotateY(90deg);
}

.note-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-icon {
  width: 20px;
  height: 20px;
  color: rgba(251, 191, 36, 0.8);
}

.note-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-line {
  height: 7px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
  width: 0;
  transition: width 0.5s ease;
}

/* Animation d'écriture au survol */
.bento-card[data-action="manage"]:hover .note-line {
  width: var(--line-width);
}
.bento-card[data-action="manage"]:hover .note-line:nth-child(1) { transition-delay: 0.3s; }
.bento-card[data-action="manage"]:hover .note-line:nth-child(2) { transition-delay: 0.5s; }
.bento-card[data-action="manage"]:hover .note-line:nth-child(3) { transition-delay: 0.7s; }
.bento-card[data-action="manage"]:hover .note-line:nth-child(4) { transition-delay: 0.9s; }

/* Flip au survol */
.bento-card[data-action="manage"]:hover .manage-todo {
  opacity: 0;
  transform: rotateY(-90deg);
}

.bento-card[data-action="manage"]:hover .manage-note {
  opacity: 1;
  transform: rotateY(0);
  background: rgba(251, 191, 36, 0.05);
  border-color: rgba(251, 191, 36, 0.3);
}

/* ===================================
   STEPS
   =================================== */
.steps {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.03), transparent);
}

.steps-row {
  display: flex;
  align-items: stretch; /* Toutes les cartes ont la même hauteur */
  gap: 16px;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--primary);
}
.step-icon svg { width: 100%; height: 100%; }

.step-card h3 { margin-bottom: 10px; }
.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 0;
}

.step-visual {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.upload-zone {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.upload-file {
  padding: 8px 12px;
  background: rgba(129, 140, 248, 0.1);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.analysis-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.analysis-progress {
  height: 6px;
  background: rgba(129, 140, 248, 0.2);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.analysis-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  animation: progress 2s ease-in-out infinite;
}
@keyframes progress {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.analysis-result {
  font-size: 13px;
  color: var(--green);
}

.share-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.share-link {
  padding: 8px 14px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent);
}
.share-users {
  display: flex;
  gap: 4px;
  font-size: 16px;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  padding-top: 80px;
}
.step-arrow svg {
  width: 28px;
  height: 28px;
}

/* ===================================
   PRICING
   =================================== */
.pricing { padding: var(--section-gap) 0; }

.pricing-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: scale(1.05);
  z-index: 1;
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.price {
  margin-bottom: 28px;
}
.price .amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
}
.price .period {
  font-size: 15px;
  color: var(--text-muted);
}

.pricing-card ul {
  margin-bottom: 28px;
}
.pricing-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}
.pricing-card li:last-child { border-bottom: none; }

.pricing-card .btn { width: 100%; }

/* ===================================
   CTA FINAL
   =================================== */
.cta-final {
  padding: var(--section-gap) 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(129, 140, 248, 0.1), transparent 70%);
}
.cta-final h2 { margin-bottom: 16px; }
.cta-final p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  max-width: 250px;
}

.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===================================
   HAMBURGER MENU (mobile)
   =================================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: -13px;
  right: -13px;
  background: rgba(15, 15, 25, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 999;
  box-sizing: border-box;
}

/* Quand le menu est actif, arrondir seulement le haut de la navbar */
.navbar:has(.nav-mobile.active) {
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  color: var(--foreground);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  font-size: 15px;
}

.nav-mobile a:hover {
  background: rgba(129, 140, 248, 0.15);
}

.nav-mobile .btn {
  text-align: center;
  margin-top: 12px;
  padding: 14px 20px;
}

/* ===================================
   RESPONSIVE - TABLETTE (1024px)
   =================================== */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-grid .bento-card:nth-child(1),
  .bento-grid .bento-card:nth-child(2),
  .bento-grid .bento-card:nth-child(3),
  .bento-grid .bento-card:nth-child(4),
  .bento-grid .bento-card:nth-child(5),
  .bento-grid .bento-card:nth-child(6),
  .bento-grid .bento-card:nth-child(7),
  .bento-grid .bento-card:nth-child(8) {
    grid-column: auto;
  }
  
  .bento-card {
    padding: 24px;
  }
  
  .hero-demo {
    max-width: 100%;
    height: 400px;
  }
  
  .pricing-row {
    gap: 16px;
  }
  .pricing-card {
    padding: 28px 20px;
  }
}

/* ===================================
   RESPONSIVE - MOBILE (768px)
   =================================== */
@media (max-width: 768px) {
  :root { --section-gap: 80px; }
  
  /* Scroll normal - les animations sont déclenchées par Intersection Observer */
  
  /* Désactiver TOUS les hovers sur mobile - seul le scroll déclenche les animations */
  /* Utiliser pointer-events none mais permettre le scroll avec touch-action */
  .bento-card {
    pointer-events: none;
    touch-action: pan-y;
  }
  .bento-card * {
    pointer-events: none;
  }
  
  /* Le conteneur parent gère les événements pour le scroll */
  .bento-grid {
    pointer-events: auto;
  }
  .features-section {
    pointer-events: auto;
  }
  
  /* Surbrillance quand animation active (.in-view) */
  .bento-card.in-view {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  .bento-card.in-view .card-glow {
    opacity: 1;
  }
  .bento-card.in-view .card-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px currentColor;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Fix overflow horizontal */
  html, body {
    overflow-x: hidden !important;
  }
  
  
  /* Navbar mobile - FIXED positioning */
  .navbar {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    padding: 10px 12px;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
  }
  
  .navbar > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  
  .nav-hamburger { 
    display: flex !important;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
  }
  
  .nav-hamburger span {
    background: #ffffff !important;
    width: 22px !important;
    height: 2px !important;
  }
  
  .logo {
    flex-shrink: 0;
  }
  
  .logo span {
    font-size: 16px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    position: static;
    transform: none;
  }
  
  .nav-mobile {
    position: absolute;
    top: 100%;
    left: -13px;
    right: -13px;
    margin-top: 0;
  }
  
  /* Hero */
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: 16px;
    padding: 0 16px;
  }
  
  .hero-demo {
    max-width: 100%;
    height: 300px;
    padding: 20px;
  }
  
  .demo-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
  
  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid .bento-card {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  
  .bento-card {
    padding: 20px;
  }
  
  .bento-card p {
    font-size: 13px;
  }
  
  /* Card demos - hauteur flexible sur mobile */
  .card-demo {
    height: auto !important;
    min-height: 100px;
  }
  
  .chat-demo {
    height: auto !important;
    min-height: 120px;
  }
  
  /* ===================================
     ANIMATIONS MOBILE - Intersection Observer
     =================================== */
  
  /* INTERROGER - Animation en boucle avec 3 étapes */
  .bento-card[data-action="ask"] .chat-message {
    position: static !important;
    opacity: 0;
  }
  .bento-card[data-action="ask"] .chat-message.user {
    align-self: flex-end;
    margin-bottom: 8px;
  }
  .bento-card[data-action="ask"] .chat-message.typing-bubble {
    display: block !important;
    align-self: flex-start;
  }
  .bento-card[data-action="ask"] .chat-message.response-bubble {
    align-self: flex-start;
  }
  
  /* Animation en boucle quand visible - 6 secondes total */
  .bento-card[data-action="ask"].in-view .chat-message.user {
    animation: chatUserLoop 6s ease-in-out infinite;
  }
  .bento-card[data-action="ask"].in-view .chat-message.typing-bubble {
    animation: chatTypingLoop 6s ease-in-out infinite;
  }
  .bento-card[data-action="ask"].in-view .chat-message.response-bubble {
    animation: chatResponseLoop 6s ease-in-out infinite;
  }
  
  /* Étape 1: Question apparaît (0-15%) */
  @keyframes chatUserLoop {
    0%, 5% { opacity: 0; transform: translateY(10px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; transform: translateY(0); }
  }
  
  /* Étape 2: Typing "..." apparaît (20-45%) puis disparaît */
  @keyframes chatTypingLoop {
    0%, 15% { opacity: 0; transform: translateY(5px); }
    20%, 45% { opacity: 1; transform: translateY(0); }
    50%, 100% { opacity: 0; transform: translateY(0); }
  }
  
  /* Étape 3: Réponse apparaît (50-90%) */
  @keyframes chatResponseLoop {
    0%, 45% { opacity: 0; transform: translateY(10px); }
    55%, 90% { opacity: 1; transform: translateY(0); }
    95%, 100% { opacity: 0; transform: translateY(0); }
  }
  
  /* CENTRALISER - Animation au scroll avec fondu */
  .bento-card[data-action="receive"] .receive-point {
    transition: top 0.6s ease-out, left 0.6s ease-out, opacity 0.4s ease;
  }
  .bento-card[data-action="receive"].anim-active .receive-point[data-index="0"] { top: 5%; left: 50%; }
  .bento-card[data-action="receive"].anim-active .receive-point[data-index="1"] { top: 28%; left: 93%; }
  .bento-card[data-action="receive"].anim-active .receive-point[data-index="2"] { top: 72%; left: 93%; }
  .bento-card[data-action="receive"].anim-active .receive-point[data-index="3"] { top: 95%; left: 50%; }
  .bento-card[data-action="receive"].anim-active .receive-point[data-index="4"] { top: 72%; left: 7%; }
  .bento-card[data-action="receive"].anim-active .receive-point.new {
    top: 28%;
    left: 7%;
    opacity: 1;
  }
  
  /* Fondu pour le reset */
  .bento-card[data-action="receive"].fade-out .receive-point {
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
  }
  
  /* COMPARER - Désactiver le hover sur mobile */
  .bento-card[data-action="compare"]:hover .highlighter-bar,
  .bento-card[data-action="compare"]:hover .diff-red,
  .bento-card[data-action="compare"]:hover .diff-green {
    animation: none !important;
  }
  
  /* COMPARER - Animation au scroll avec fondu */
  .bento-card[data-action="compare"].in-view .highlighter-bar {
    animation: highlighterSweep 3.5s ease-in-out infinite;
  }
  .bento-card[data-action="compare"].in-view .doc-v2 .cmp-line:nth-child(1) .diff-red {
    animation: revealRed 3.5s ease-in-out infinite;
    animation-delay: 0.2s;
  }
  .bento-card[data-action="compare"].in-view .doc-v2 .cmp-line:nth-child(3) .diff-red {
    animation: revealRed 3.5s ease-in-out infinite;
    animation-delay: 0.55s;
  }
  .bento-card[data-action="compare"].in-view .doc-v2 .cmp-line:nth-child(6) .diff-red {
    animation: revealRed 3.5s ease-in-out infinite;
    animation-delay: 1.1s;
  }
  .bento-card[data-action="compare"].in-view .doc-v2 .cmp-line:nth-child(2) .diff-green {
    animation: revealGreen 3.5s ease-in-out infinite;
    animation-delay: 0.35s;
  }
  .bento-card[data-action="compare"].in-view .doc-v2 .cmp-line:nth-child(5) .diff-green {
    animation: revealGreen 3.5s ease-in-out infinite;
    animation-delay: 0.9s;
  }
  
  /* EXPLORER - Animation au scroll */
  /* Switch des boutons 0.1s avant le reste */
  .bento-card[data-action="explore"].switch-mode .mode-arbo {
    background: transparent;
    color: var(--muted-foreground);
  }
  .bento-card[data-action="explore"].switch-mode .mode-typo {
    background: rgba(6, 182, 212, 0.2);
    color: var(--cyan);
  }
  
  /* Mobile: Hauteur adaptée pour layout vertical */
  .bento-card[data-action="explore"] .explore-container {
    height: 180px;
  }
  
  .bento-card[data-action="explore"].anim-active .exp-folder {
    opacity: 0;
    transform: translateX(-20px);
  }
  
  /* Mobile: Labels = titres de section, colonne GAUCHE, texte aligné DROITE */
  .bento-card[data-action="explore"] .exp-label {
    left: 45% !important;
    right: auto;
    text-align: right;
    font-size: 10px;
    font-weight: 700;
  }
  .bento-card[data-action="explore"] .exp-label[data-col="0"] { top: 0; }
  .bento-card[data-action="explore"] .exp-label[data-col="1"] { top: 70px; }
  .bento-card[data-action="explore"] .exp-label[data-col="2"] { top: 115px; }
  
  /* Mobile: Fichiers se déplacent vers la DROITE */
  .bento-card[data-action="explore"].anim-active .exp-file {
    left: 50% !important;
    font-size: 10px;
  }
  /* CCTP/Notices : 2 fichiers */
  .bento-card[data-action="explore"].anim-active .exp-file[data-typo-col="0"] { top: 18px; }
  .bento-card[data-action="explore"].anim-active .exp-file[data-typo-col="0"][data-typo-row="1"] { top: 42px; }
  /* Plans : 1 fichier */
  .bento-card[data-action="explore"].anim-active .exp-file[data-typo-col="1"] { top: 88px; }
  /* DPGF : 1 fichier */
  .bento-card[data-action="explore"].anim-active .exp-file[data-typo-col="2"] { top: 133px; }
  
  .bento-card[data-action="explore"].anim-active .exp-label {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Fondu pour le reset - explore */
  .bento-card[data-action="explore"].fade-out .exp-file,
  .bento-card[data-action="explore"].fade-out .exp-folder,
  .bento-card[data-action="explore"].fade-out .exp-label {
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
  }
  
  /* IDENTIFIER - Désactiver le hover sur mobile */
  .bento-card[data-action="identify"]:hover .click-cursor,
  .bento-card[data-action="identify"]:hover .id-line,
  .bento-card[data-action="identify"]:hover .id-seg,
  .bento-card[data-action="identify"]:hover .identify-docs,
  .bento-card[data-action="identify"]:hover .id-doc {
    animation: none !important;
  }
  
  /* IDENTIFIER - Animation au scroll (même que hover, boucle infinite) */
  .bento-card[data-action="identify"].in-view .click-cursor {
    animation: cursorMove 4s ease-in-out infinite;
  }
  .bento-card[data-action="identify"].in-view .id-line.clickable:nth-child(2) {
    animation: lineHighlight 4s ease-in-out infinite;
  }
  .bento-card[data-action="identify"].in-view .id-line.clickable:nth-child(2) .id-seg {
    animation: segHighlight 4s ease-in-out infinite;
  }
  .bento-card[data-action="identify"].in-view .identify-docs {
    animation: docsAppear 4s ease-in-out infinite;
  }
  .bento-card[data-action="identify"].in-view .id-doc:nth-child(1) {
    animation: docSlide 4s ease-in-out infinite;
    animation-delay: 0s;
  }
  .bento-card[data-action="identify"].in-view .id-doc:nth-child(2) {
    animation: docSlide 4s ease-in-out infinite;
    animation-delay: 0.12s;
  }
  .bento-card[data-action="identify"].in-view .id-doc:nth-child(3) {
    animation: docSlide 4s ease-in-out infinite;
    animation-delay: 0.24s;
  }
  .bento-card[data-action="identify"].in-view .id-doc:nth-child(4) {
    animation: docSlide 4s ease-in-out infinite;
    animation-delay: 0.36s;
  }
  
  /* MANAGER - Animation au scroll (flip todo → notes) */
  .bento-card[data-action="manage"].anim-active .note-line {
    width: var(--line-width);
  }
  .bento-card[data-action="manage"].anim-active .note-line:nth-child(1) { transition-delay: 0.3s; }
  .bento-card[data-action="manage"].anim-active .note-line:nth-child(2) { transition-delay: 0.5s; }
  .bento-card[data-action="manage"].anim-active .note-line:nth-child(3) { transition-delay: 0.7s; }
  .bento-card[data-action="manage"].anim-active .note-line:nth-child(4) { transition-delay: 0.9s; }
  
  .bento-card[data-action="manage"].anim-active .manage-todo {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  .bento-card[data-action="manage"].anim-active .manage-note {
    opacity: 1;
    transform: rotateY(0);
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.3);
  }
  
  /* Fondu pour le reset */
  .bento-card[data-action="manage"].fade-out .manage-todo,
  .bento-card[data-action="manage"].fade-out .manage-note {
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
  }
  
  /* ANALYSER - Animation au scroll */
  .bento-card[data-action="analyze"] .analyze-result {
    opacity: 0;
    /* Garder le centrage translate + ajouter scale */
    transform: translate(-50%, -50%) scale(0.8);
  }
  .bento-card[data-action="analyze"] .analyze-star {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
  }
  .bento-card[data-action="analyze"] .analyze-brief {
    opacity: 0;
    transform: scale(0.9);
  }
  .bento-card[data-action="analyze"] .brief-slot {
    opacity: 0;
  }
  .bento-card[data-action="analyze"] .brief-text {
    opacity: 0;
    transform: translateY(-5px);
  }
  
  .bento-card[data-action="analyze"].anim-active .doc-line {
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
  }
  .bento-card[data-action="analyze"].anim-active .doc-line.placeholder {
    background-color: rgba(255, 255, 255, 0.6);
  }
  .bento-card[data-action="analyze"].anim-active .flying-extract[data-from="0"] { 
    animation: flyExtract 1.8s ease-in-out forwards;
  }
  .bento-card[data-action="analyze"].anim-active .flying-extract[data-from="1"] { 
    animation: flyExtract 1.8s ease-in-out 0.1s forwards;
  }
  .bento-card[data-action="analyze"].anim-active .flying-extract[data-from="2"] { 
    animation: flyExtract 1.8s ease-in-out 0.2s forwards;
  }
  .bento-card[data-action="analyze"].anim-active .flying-extract[data-from="3"] { 
    animation: flyExtract 1.8s ease-in-out 0.3s forwards;
  }
  .bento-card[data-action="analyze"].anim-active .analyze-docs {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease 0.8s;
  }
  .bento-card[data-action="analyze"].anim-active .analyze-result {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.4s ease 0.8s;
  }
  .bento-card[data-action="analyze"].anim-active .analyze-star {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s;
  }
  .bento-card[data-action="analyze"].anim-active .analyze-brief {
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease 1s;
  }
  .bento-card[data-action="analyze"].anim-active .brief-slot {
    border-color: transparent;
    background: var(--indigo);
    box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
    opacity: 1;
    transition: all 0.4s ease 1.3s;
  }
  .bento-card[data-action="analyze"].anim-active .brief-text {
    opacity: 1;
    transform: translateY(0);
  }
  .bento-card[data-action="analyze"].anim-active .brief-line:nth-child(1) .brief-text {
    transition: all 0.3s ease 1.5s;
  }
  .bento-card[data-action="analyze"].anim-active .brief-line:nth-child(2) .brief-text {
    transition: all 0.3s ease 1.6s;
  }
  .bento-card[data-action="analyze"].anim-active .brief-line:nth-child(3) .brief-text {
    transition: all 0.3s ease 1.7s;
  }
  .bento-card[data-action="analyze"].anim-active .brief-line:nth-child(4) .brief-text {
    transition: all 0.3s ease 1.8s;
  }
  
  /* Fondu pour le reset Analyser */
  .bento-card[data-action="analyze"].fade-out .analyze-docs,
  .bento-card[data-action="analyze"].fade-out .analyze-result,
  .bento-card[data-action="analyze"].fade-out .analyze-brief,
  .bento-card[data-action="analyze"].fade-out .flying-extract {
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
  }
  
  /* AUTRES CARTES - Toujours visible */
  .bento-card[data-action="compare"] .compare-doc {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* ENVOYER - Désactiver le hover sur mobile */
  .bento-card[data-action="send"]:hover .send-doc {
    animation: none !important;
  }
  
  /* ENVOYER - Animation au scroll */
  .bento-card[data-action="send"] .send-user {
    opacity: 1;
  }
  .bento-card[data-action="send"] .send-doc {
    opacity: 0;
  }
  .bento-card[data-action="send"].in-view .send-doc {
    animation: flyToUser 1.8s ease-in-out infinite;
  }
  .bento-card[data-action="send"].in-view .send-doc.delay-1 {
    animation-delay: 0.4s;
  }
  
  /* Steps */
  .steps-row {
    flex-direction: column;
  }
  .step-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }
  .step-card {
    padding: 24px 20px;
  }
  
  /* Pricing */
  .pricing-row {
    flex-direction: column;
  }
  .pricing-card.featured {
    transform: none;
  }
  
  /* Stats */
  .stats-row {
    flex-direction: column;
    gap: 24px;
  }
  .stat-divider {
    width: 50px;
    height: 1px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ===================================
   DISABLE ANIMATIONS ON TOUCH DEVICES
   =================================== */
@media (hover: none) and (pointer: coarse) {
  .bento-card:hover {
    transform: none;
  }
  
  .bento-card:hover .card-icon {
    transform: none;
    box-shadow: none;
  }
  
  /* Rendre les éléments visibles par défaut (pas de hover sur touch) */
  .chat-message {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  .chat-message.typing-bubble {
    display: none;
  }
  
  .send-doc,
  .receive-point,
  .id-doc {
    opacity: 1 !important;
  }
  
  .flying-extract,
  .click-cursor {
    display: none;
  }
  
  /* Simplifier les animations complexes */
  .receive-point,
  .flying-extract,
  .click-cursor,
  .id-doc {
    animation: none !important;
  }
}

